/* =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:60%;
  height:10%;
  padding:8px 12px;       /* más chico */
  margin:10px 0 6px;      /* menos espacio arriba */
  border:1px solid #e6b678;
  background:#3a2a20;
  color:#f6ead2;
  font-family:'Cormorant Garamond', serif;
  font-size:15px;         /* texto proporcional */
  font-weight:700;
  letter-spacing:.5px;
  border-radius:8px;      /* un poco más discreto */
  cursor:pointer;
  box-shadow:
    0 1px 0 rgba(0,0,0,.35) inset,
    0 4px 12px rgba(0,0,0,.20);
  transition:transform .08s ease, box-shadow .18s ease, filter .18s ease, background .18s ease, border-color .18s ease;
  margin:10px auto;
}

.login-button:hover{
  background:#493527;
  border-color:#f1c57a;
  box-shadow:
    0 1px 0 rgba(0,0,0,.35) inset,
    0 8px 22px rgba(0,0,0,.30),
    0 0 18px rgba(241,197,122,.20);
}

.login-button:active{
  transform: translateY(1px);
  filter:saturate(1.05);
}

.login-button:focus-visible{
  outline:2px solid #f1c57a;
  outline-offset:2px;
}

.login-button[disabled],
.login-button.is-loading{
  opacity:.65;
  cursor:default;
  filter:grayscale(.15);
}

/* Opcional: alinear el link “Recuperar contraseña” */
.login-row--links{
  margin-top:6px;
  text-align:right;
}

/* Modo Logeado */
/* ===== Estado de sesión iniciada en el login-card ===== */
.login-card__body.session-active {
  text-align: center;
  padding: 16px 12px;
}

.login-card__body.session-active p {
  margin: 0 0 12px;
  font-size: 15px;
  color: #f5f5f5; /* texto claro */
}

.login-card__body.session-active .username {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: #ffd700; /* dorado */
  margin: 4px 0 12px;
}

.login-card__body.session-active .login-button {
  display: inline-block;
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 600;
  background: transparent;
  color: #ffd700;
  border: 1px solid #ffd700;
  border-radius: 6px;
  text-decoration: none;
  transition: all .2s ease-in-out;
}

.login-card__body.session-active .login-button:hover {
  background: #ffd700;
  color: #1b1e27; /* fondo oscuro contraste */
}

.login-card__body.session-active .login-link {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  color: #ccc;
}

.login-card__body.session-active .login-link:hover {
  color: #fff;
}


/* =/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;
  }
}


/* Botón Registrarse - estado normal */
.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, filter .2s ease, background .2s ease;
  overflow: hidden;
  z-index: 1;
  text-decoration: none;
  display: inline-block;
}

.btn-register:hover:not(:disabled) {
  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);
}

/* Botón Registrarse - estado deshabilitado */
.btn-register:disabled {
  background: #777; /* gris apagado */
  border-color: #aaa;
  color: #ddd;
  cursor: not-allowed;
  box-shadow: none;
  opacity: .7;
  filter: grayscale(.25) brightness(.9);
}

/* Quitar animación de aura cuando está deshabilitado */
.btn-register:disabled::before {
  display: none;
}

