/* =BOTON NAVEGACION= */
.btn {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  padding: 8px 14px;
  border-radius: 0;
  cursor: pointer;
  text-decoration: none;
}

.btn.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff
}

.btn.small {
  padding: 6px 10px;
  font-size: .95rem
}

.btn:hover {
  border-color: var(--accent)
}

/* =/BOTON NAVEGACION= */


/* =BOTON LOGIN= */
.login-button {
  display: block;
  width: 220px;
  /* ancho visible del botón en la web */
  height: 70px;
  /* alto visible del botón en la web */
  margin: 15px auto;
  border: none;
  cursor: pointer;

  background: url('../assets/img/login.png') no-repeat center;
  background-size: contain;
  /* se ajusta dentro de width/height */
  background-color: transparent;

  transition: filter 0.3s ease;
}

.login-button {
  width: 200px;
  /* tamaño del botón */
  height: 60px;
  background: url('../assets/img/login.png') no-repeat center;
  background-size: 80% auto;
  /* la imagen ocupa 80% del ancho */
  opacity: 0.9;
}

.login-button:hover {
  filter: brightness(1.25);
}

/* =/BOTON LOGIN= */

/* =BOTON REGISTRARSE= */
.btn-register {
  position: relative;
  background: radial-gradient(circle at 30% 30%, #9e1b1b, #4d0e0e 80%);
  color: #fff;
  font-size: 14px;
  font-family: 'Cormorant Garamond', serif;
  border: 2px solid #e6b678;
  border-radius: 10px;
  padding: 10px 24px;
  box-shadow: 0 0 18px rgba(255, 60, 60, 0.35), inset 0 0 10px rgba(255, 120, 120, 0.25);
  cursor: pointer;
  transition: transform .2s ease, box-shadow .3s ease;
  overflow: hidden;
  z-index: 1;
  text-decoration: none;
  display: inline-block;
}

.btn-register::before {
  content: "";
  position: absolute;
  top: -40%;
  left: -40%;
  width: 180%;
  height: 180%;
  background: conic-gradient(from 0deg, rgba(255, 80, 80, 0.08), rgba(255, 140, 140, 0.12), rgba(255, 200, 200, 0.10), rgba(255, 80, 80, 0.08));
  animation: rotateAura 10s linear infinite;
  border-radius: 50%;
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 0;
}

.btn-register:hover {
  transform: scale(1.03);
  box-shadow: 0 0 22px rgba(255, 100, 100, 0.5), inset 0 0 12px rgba(255, 160, 160, 0.3)
}

@keyframes rotateAura {
  from {
    transform: rotate(0deg)
  }

  to {
    transform: rotate(360deg)
  }
}

@keyframes gemShine {
  0% {
    left: -75%
  }

  100% {
    left: 125%
  }
}

/* =/BOTON REGISTRARSE= */

/* ====== TOPBAR BUTTONS con barra luminosa ====== */
.menu {
  list-style: none;
  display: flex;
  gap: 24px;
  margin: 0;
  padding: 0;
}

.menu li a {
  position: relative;
  display: flex;
  flex-direction: column;
  /* ícono arriba, texto abajo */
  align-items: center;
  gap: 6px;
  padding: 10px 14px 18px;
  /* un poco más de base para la barra */
  text-decoration: none;
  letter-spacing: .6px;
  font-weight: 600;

  /* Dorado-base del texto (como la referencia) */
  color: #d6b06a;

  /* Sutil relieve */
  text-shadow: 0 1px 0 rgba(0, 0, 0, .45);

  /* Transiciones suaves */
  transition: color .25s ease, filter .25s ease, transform .2s ease;
}

/* Ícono (símbolo) */
.menu li a .menu-icon {
  width: 28px;
  /* ajusta a gusto */
  height: auto;
  display: block;
  filter: brightness(1) contrast(1);
  transition: filter .25s ease, transform .2s ease;
}

/* Barra luminosa dorada (aparece en hover/focus) */
.menu li a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0px;
  transform: translateX(-50%) scaleX(.0);
  transform-origin: center;
  width: 64%;
  height: 4px;
  border-radius: 999px;

  /* “láser” amarillo-dorado con glow */
  background: linear-gradient(90deg,
      rgba(255, 208, 90, 0) 0%,
      rgba(255, 220, 120, .95) 50%,
      rgba(255, 208, 90, 0) 100%);
  box-shadow:
    0 0 10px rgba(255, 220, 120, .75),
    0 0 20px rgba(255, 210, 110, .45),
    0 0 34px rgba(255, 200, 90, .30);

  transition: transform .28s ease;
  pointer-events: none;
}

/* Hover/Focus: la barra se despliega y “ilumina” texto + icono */
.menu li a:hover,
.menu li a:focus-visible {
  color: #ffe6b2;
  /* texto más claro, como iluminado */
  text-shadow:
    0 1px 0 rgba(0, 0, 0, .45),
    0 0 8px rgba(255, 220, 120, .35);
  /* leve glow */
}

.menu li a:hover .menu-icon,
.menu li a:focus-visible .menu-icon {
  filter: brightness(1.18) contrast(1.08) drop-shadow(0 0 8px rgba(255, 220, 120, .55)) drop-shadow(0 0 14px rgba(255, 210, 110, .35));
}

.menu li a:hover::after,
.menu li a:focus-visible::after {
  transform: translateX(-50%) scaleX(1);
}

/* Estado activo (si quieres que uno quede “encendido” fijo) */
.menu li a.is-active {
  color: #ffe6b2;
}

.menu li a.is-active::after {
  transform: translateX(-50%) scaleX(1);
}

/* Respeta accesibilidad: reduce animaciones si el usuario lo pide */
@media (prefers-reduced-motion: reduce) {

  .menu li a,
  .menu li a .menu-icon,
  .menu li a::after {
    transition: none !important;
  }
}
