* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scrollbar-gutter: stable;
}

body {
  background:#000000;;
  min-height: 100vh;
  min-height: 100svh;
  font-family: "BBH Bartle", sans-serif;
}

/* Punto fijo, misma posición que en las otras páginas */
.boton-menu {
  display: block;   /* antes: none */
  position: fixed;
  top: 28px;
  right: 28px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ef0808;
  text-decoration: none;
  z-index: 10;
}

/* Enlaces repartidos en toda la pantalla, escalonados como en tu diseño */
.menu {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 90px;
  padding: 4rem 0;
}


.menu a {
  position: relative;
  display: flex;
  flex-direction: column;
  align-self: flex-start;
  color: #ff2a00;
  text-decoration: none;
  font-size: clamp(0.8rem, 2vw, 1.1rem);
  letter-spacing: 3px;
  padding-bottom: 12px;
  border-bottom: 1px solid #ff2a00;
  width: 70%;
  transition: width 0.4s ease, color 0.4s ease;
}

.menu a:hover,
.menu a:focus-visible {
  color: #fff;
  width: 82%;
}


/* Posición horizontal de cada enlace (cámbialas a tu gusto) */
.menu a:nth-child(1) { margin-left: 6%; }
.menu a:nth-child(2) { margin-left: 19%; }
.menu a:nth-child(3) { margin-left: 6%; }
.menu a:nth-child(4) { margin-left: 25%; }
.menu a:nth-child(5) { margin-left: 10%;}
.menu a:nth-child(5) { margin-top: -20px;}

/* Los enlaces aparecen uno tras otro cuando termina de abrirse el círculo */
@media (prefers-reduced-motion: no-preference) {
  .menu a {
    opacity: 0;
    animation: entrar 0.6s ease forwards;
  }
  .menu a:nth-child(1) { animation-delay: 0.45s; }
  .menu a:nth-child(2) { animation-delay: 0.55s; }
  .menu a:nth-child(3) { animation-delay: 0.65s; }
  .menu a:nth-child(4) { animation-delay: 0.75s; }
  .menu a:nth-child(5) { animation-delay: 0.85s; }
}

@keyframes entrar {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

@media (min-width: 1024px) {
  .boton-menu {
    top: 50px;
    right: 56px;
    width: 80px;
    height: 80px;
    margin: 0;
  }

  .menu {
    gap: 10vh;
    padding: 1rem 0;
  }

  /* Mismo diseño que móvil, más grande */
  .menu a {
    font-size: 1rem;
    letter-spacing: 4px;
    padding-bottom: 30px;
    width: min(55%, calc(96% - var(--m)));
  }

  .menu a:hover,
  .menu a:focus-visible {
    width: min(65%, calc(96% - var(--m)));
  }

  /* Mismas posiciones que en móvil */
  .menu a:nth-child(1) { --m: 6%;  margin-left: var(--m); }
  .menu a:nth-child(2) { --m: 12%; margin-left: var(--m); }
  .menu a:nth-child(3) { --m: 23%;  margin-left: var(--m); }
  .menu a:nth-child(4) { --m: 35%; margin-left: var(--m); }
  .menu a:nth-child(5) { --m: 45%; margin-left: var(--m); margin-top: -20px; }
}