:root {
  --bg: #000;
  --fg: #fff;
  --mute: #b5b5b5;
  --line: #fff;
  color-scheme: dark;
}

body {
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      gap: 30px;
      padding: 24px;
    }

    h1 {
      animation: home-enter 820ms cubic-bezier(.22, 1, .36, 1) both;
    }

    #startBtn {
      animation: home-enter 820ms 130ms cubic-bezier(.22, 1, .36, 1) both;
    }

    a[href="guitarra.html"] {
      animation: home-enter 820ms 260ms cubic-bezier(.22, 1, .36, 1) both;
    }

    a[href="mixmaster.html"] {
      animation: home-enter 820ms 390ms cubic-bezier(.22, 1, .36, 1) both;
    }

    a[href="https://github.com/nichodevs/nichodev.com/releases/latest"] {
      animation: home-enter 820ms 520ms cubic-bezier(.22, 1, .36, 1) both;
    }

    .repository-qr-card {
      animation: home-enter 820ms 650ms cubic-bezier(.22, 1, .36, 1) both;
    }

    .site-footer {
      animation: home-enter 820ms 780ms cubic-bezier(.22, 1, .36, 1) both;
    }

    @keyframes home-enter {
      from {
        opacity: 0;
        transform: translateY(10px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    h1 {
      font-size: clamp(16px, 4vw, 32px);
      font-weight: 400;
      text-align: center;
    }

    .btn {
      font-size: clamp(9px, 2vw, 11px);
      border-width: 2px;
      padding: 14px 18px;
    }
.site-footer {
  position: static;
  bottom: auto;
  left: auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-family: "Press Start 2P", monospace;
  font-size: 9px;
  text-align: center;
}

.site-footer a {
  color: var(--fg);
  text-decoration: none;
  border-bottom: 2px solid currentColor;
  padding-bottom: 5px;
}

.site-footer a:hover {
  background: var(--fg);
  color: var(--bg);
}

.site-footer p {
  font-size: 7px;
  margin: 0;
}


.repository-qr-card {
  margin-bottom: 1em;
  display: grid;
  justify-items: center;
  gap: 5px;
  padding: 7px 10px;
  border: 2px solid var(--fg);
  background: var(--bg);
  text-align: center;
  font-family: "Press Start 2P", monospace;
}

.repository-qr-card h2,
.repository-qr-card p {
  margin: 0;
  font-size: 7px;
  line-height: 1.6;
}

.repository-qr-card a {
  position: relative;
  z-index: 1;
  display: block;
  width: 64px;
  height: 64px;
  padding: 3px;
  border: 2px solid var(--fg);
  background: #fff;
  image-rendering: pixelated;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.repository-qr-card a:hover,
.repository-qr-card a:focus-visible {
  z-index: 2;
  transform: scale(1.4);
  box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--fg);
}

.repository-qr-card .repository-qr { display: block; width: 100%; height: 100%; }

@media (prefers-reduced-motion: reduce) {
  h1,
  #startBtn,
  a[href="guitarra.html"],
  a[href="mixmaster.html"],
  a[href="https://github.com/nichodevs/nichodev.com/releases/latest"],
  .repository-qr-card,
  .site-footer {
    animation: none;
  }
  .repository-qr-card a { transition: none; }
}


/* Leitura mais confortável em orientações e informações auxiliares. */
.site-footer p{font-size:9px;line-height:1.7}
.repository-qr-card h2{font-size:9px;line-height:1.7}
.repository-qr-card p{font-size:9px;line-height:1.7}


/* Mantém a fonte retrô em todo o texto da página inicial. */
body{font-family:"Press Start 2P",monospace!important}
body *{font-family:inherit!important}


/* A onda do rodapé também é a entrada discreta para a surpresa sonora. */
.site-footer .sound-wave-link{display:inline-flex;align-items:center;justify-content:center;padding:4px;border:0;background:transparent;color:var(--fg);text-decoration:none;transition:transform 180ms ease,filter 180ms ease}
.site-footer .sound-wave-link:hover{background:transparent;color:var(--fg);transform:scale(1.1);filter:drop-shadow(0 0 7px currentColor)}
.site-footer .sound-wave-link:focus-visible{outline:3px dashed var(--fg);outline-offset:5px}
@media(prefers-reduced-motion:reduce){.site-footer .sound-wave-link{transition:none}.site-footer .sound-wave-link:hover{transform:none}}

.site-footer .social-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  font-size: clamp(6px, 2vw, 9px);
}

.site-footer .social-links-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}


