/* Global responsive helpers */
:root{
  /* Tipografía */
  --font-sans: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --font-fine: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  /* Colores base */
  --bg-dark-900: #0b1b22;
  --bg-dark-800: #0f2430;
  --text-light: #eaf4ff;
  --accent-teal: #2EC4B6;
  --accent-blue: #60A5FA;
  --footer-bg: rgba(10, 14, 18, 0.88);
  --footer-text: #eaf4ff;
  /* Espaciado */
  --space-1: 0.75rem;
  --space-2: 2rem; /* mínimo solicitado */
  --footer-h: 68px; /* altura base para reservar espacio */
}
html, body {
  max-width: 100%;
  overflow-x: hidden;
}

/* ===== Sticky footer y barra de control en todas las pantallas ===== */
/* Footer fijo al borde inferior en móvil, tablet y escritorio, con grilla responsiva */
footer {
  position: fixed !important;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 900;
  background: var(--footer-bg);
  color: var(--footer-text);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  align-items: center;
  justify-items: center;
  text-align: center;
  padding: clamp(1rem, 3vw, var(--space-2));
  font-family: var(--font-sans);
}
footer a{
  color: var(--text-light);
  text-decoration: none;
}
footer a:hover{ text-decoration: underline; }
footer > * { margin: 0; }
/* Reservar espacio bajo el contenido para no tapar nada */
main {
  padding-bottom: calc(var(--footer-h) + 16px) !important;
}
/* Barra flotante de audio, centrada y por encima del footer */
.floating-mini {
  position: fixed !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  bottom: calc(var(--footer-h) + 12px) !important; /* margen anterior sobre el footer */
  z-index: 1000 !important;
}

/* Desktop (>=1024px): reservar espacio extra para barra y footer */
@media (min-width: 1024px) {
  main { padding-bottom: calc(var(--footer-h) + 72px) !important; }
  .tracks-section { margin-bottom: 72px !important; }
}

/* Fluid media */
img, video {
  max-width: 100%;
  height: auto;
}

/* === Redes sociales: alineación global + neón azul moderno === */
.redes{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
/* Botón circular contenedor para SVG inline */
.redes a{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  box-shadow:
    0 0 0 2px rgba(255,255,255,0.22),
    0 0 8px rgba(96,165,250,0.38),
    0 0 16px rgba(96,165,250,0.26);
  color: #0F172A; /* color base del símbolo */
  transition: transform 180ms ease, box-shadow 220ms ease, color 180ms ease;
}
.redes a svg{
  width: 24px;
  height: 24px;
}
.redes a img{
  width: 40px;
  display: inline-block;
  margin: 15px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  padding: 6px;
  transition: transform 180ms ease, filter 180ms ease, box-shadow 220ms ease;
  box-shadow:
    0 0 0 2px rgba(255,255,255,0.22),
    0 0 8px rgba(96,165,250,0.38),
    0 0 16px rgba(96,165,250,0.26);
  filter: saturate(1.05);
}
.redes a:hover img{
  transform: translateY(-2px) scale(1.08);
  filter: brightness(1.08) saturate(1.20);
  box-shadow:
    0 0 0 2.5px rgba(96,165,250,0.55),
    0 0 14px rgba(96,165,250,0.70),
    0 0 26px rgba(96,165,250,0.48);
  animation: iconNeonPulse 3.8s ease-in-out infinite;
}
/* Hover/focus para SVG inline (color del símbolo) */
.redes a:hover{
  transform: translateY(-2px) scale(1.06);
  box-shadow:
    0 0 0 2.5px rgba(96,165,250,0.55),
    0 0 14px rgba(96,165,250,0.70),
    0 0 26px rgba(96,165,250,0.48);
  color: #1C4ED8; /* azul ligeramente más vivo */
  animation: iconNeonPulse 3.8s ease-in-out infinite;
}
.redes a:focus-visible img{
  outline: none;
  transform: translateY(-1px) scale(1.04);
  box-shadow:
    0 0 0 2.5px rgba(96,165,250,0.75),
    0 0 14px rgba(96,165,250,0.70),
    0 0 26px rgba(96,165,250,0.48);
  animation: iconNeonPulse 3.8s ease-in-out infinite;
}
.redes a:focus-visible{
  outline: none;
  transform: translateY(-1px) scale(1.04);
  box-shadow:
    0 0 0 2.5px rgba(96,165,250,0.75),
    0 0 14px rgba(96,165,250,0.70),
    0 0 26px rgba(96,165,250,0.48);
  color: #1C4ED8;
  animation: iconNeonPulse 3.8s ease-in-out infinite;
}

/* ===== Botones de acción unificados (Abrir, JUGAR, etc.) ===== */
/* Evita afectar el botón hamburguesa y el toggle del reloj */
/* Excluimos los controles de audio (.pp-btn) para que no hereden el ancho 140px */
button:not(.menu-toggle):not(#toggle-theme):not(.pp-btn) {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 44px !important;
  height: 44px !important; /* alto uniforme */
  padding: 10px 16px !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  font-family: "Merienda", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif !important; /* tipografía uniforme */
  letter-spacing: 0.4px !important;
  color: #ffffff !important;
  background: rgba(0, 0, 0, 0.38) !important; /* mayor contraste para legibilidad */
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  border-radius: 12px !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25) !important;
  backdrop-filter: saturate(1.2) blur(4px) !important;
  cursor: pointer;
  width: auto !important; /* se adapta al contenido */
  min-width: 140px !important; /* ancho mínimo táctil */
  max-width: 90vw !important; /* evitar desbordes en pantallas pequeñas */
  box-sizing: border-box !important;
  text-align: center !important;
  white-space: nowrap !important;
  overflow: hidden !important; /* evita desbordes visibles */
  text-overflow: ellipsis !important; /* recorta con puntos si es demasiado largo */
  text-shadow: 0 1px 2px rgba(0,0,0,0.6) !important; /* refuerzo de contraste del texto */
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease !important;
  text-transform: uppercase !important; /* todo en MAYÚSCULAS */
}
/* Eliminado ::first-letter; toda la palabra va en mayúsculas */

/* Clase común para enlaces que actúan como botones (CTA) */
.btn,
a.btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 44px !important;
  height: 44px !important;
  padding: 10px 16px !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  font-family: "Merienda", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif !important;
  letter-spacing: 0.4px !important;
  color: #ffffff !important;
  background: rgba(0, 0, 0, 0.38) !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  border-radius: 12px !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25) !important;
  backdrop-filter: saturate(1.2) blur(4px) !important;
  cursor: pointer !important;
  width: auto !important; /* se adapta al contenido */
  min-width: 140px !important; /* ancho mínimo táctil */
  max-width: 90vw !important; /* evitar desbordes en pantallas pequeñas */
  box-sizing: border-box !important;
  text-align: center !important;
  white-space: nowrap !important;
  overflow: hidden !important; /* evita desbordes visibles */
  text-overflow: ellipsis !important; /* recorta con puntos si es demasiado largo */
  text-shadow: 0 1px 2px rgba(0,0,0,0.6) !important;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease !important;
  text-decoration: none !important; /* evitar subrayado en <a> */
  text-transform: uppercase !important;
}
/* Sin ::first-letter; todo el texto en mayúsculas */

.btn:hover,
a.btn:hover {
  background: rgba(46, 196, 182, 0.28) !important;
  border-color: rgba(46, 196, 182, 0.6) !important;
  color: #ffffff !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35) !important;
}

.btn:active,
a.btn:active {
  transform: scale(0.98) !important;
}

.btn:focus-visible,
a.btn:focus-visible {
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(46, 196, 182, 0.65), 0 4px 12px rgba(0,0,0,0.35) !important;
}
button:not(.menu-toggle):not(#toggle-theme):not(.pp-btn):hover {
  background: rgba(46, 196, 182, 0.28) !important; /* teal ligeramente más intenso */
  border-color: rgba(46, 196, 182, 0.6) !important;
  color: #ffffff !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35) !important;
}
button:not(.menu-toggle):not(#toggle-theme):not(.pp-btn):active {
  transform: scale(0.98) !important;
}
button:not(.menu-toggle):not(#toggle-theme):focus-visible {
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(46, 196, 182, 0.65), 0 4px 12px rgba(0,0,0,0.35) !important; /* anillo teal accesible */
}
button:not(.menu-toggle):not(#toggle-theme)[disabled],
button:not(.menu-toggle):not(#toggle-theme).is-disabled {
  opacity: 0.6 !important;
  cursor: not-allowed !important;
}

/* Uniform nav button sizing (desktop/tablet) */
nav ul li a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  width: 130px !important;  /* ancho fijo en escritorio/tablet */
  min-height: 44px !important; /* altura táctil consistente */
  white-space: nowrap !important; /* evitar saltos en títulos largos */
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  box-sizing: border-box !important;
  text-transform: uppercase !important; /* menú en MAYÚSCULAS */
}

/* Ocultar botón hamburguesa por defecto (escritorio/tablet) */
.menu-toggle { display: none; }

/* Suaviza el scroll en contenedores con overflow en iOS/Android */
.scroll-touch,
.video-list {
  -webkit-overflow-scrolling: touch;
}

iframe {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
}

/* Navigation and header adjustments on small screens */
@media (max-width: 600px) {
  /* Permitir que la página crezca más allá del alto del viewport */
  html { height: auto !important; }
  body { min-height: 100% !important; overflow-y: auto !important; }

  /* Evitar fondos fijos que provocan saltos en móvil */
  body {
    background-attachment: scroll !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-size: cover !important; /* mantiene proporción y cubre viewport */
  }

  header {
    padding: 15px !important;
    position: relative; /* para posicionar el menú desplegable */
  }
  /* Botón hamburguesa visible en móvil */
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    font-size: 0; /* oculta el carácter ☰ manteniendo accesibilidad */
    color: #fff;
    background: rgba(10, 58, 58, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35), 0 0 0 2px rgba(255,255,255,0.05) inset;
    cursor: pointer;
    margin-right: 12px;
    position: relative;
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
    /* 3 barras limpias via múltiples fondos */
    background-image:
      linear-gradient(#fff, #fff),
      linear-gradient(#fff, #fff),
      linear-gradient(#fff, #fff);
    background-size: 22px 2px, 22px 2px, 22px 2px;
    background-repeat: no-repeat;
    background-position:
      50% calc(50% - 6px),
      50% 50%,
      50% calc(50% + 6px);
  }
  .menu-toggle:hover { transform: scale(1.06); }
  .menu-toggle:active { transform: scale(0.98); }
  .menu-toggle:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 255, 255, 0.65), 0 4px 12px rgba(0,0,0,0.35);
  }

  /* Ocultar menú por defecto en móvil */
  nav ul {
    display: none !important;
    gap: 16px !important;
    justify-content: center;
    flex-wrap: wrap;
  }
  /* Mostrar menú cuando está abierto */
  body.menu-open nav ul {
    display: flex !important;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 12px;
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(2px);
    border-radius: 12px;
  }
  /* Cambia el icono a una "X" al abrir el menú */
  body.menu-open .menu-toggle {
    background-image: none; /* oculta las barras */
  }
  body.menu-open .menu-toggle::before,
  body.menu-open .menu-toggle::after {
    content: "";
    position: absolute;
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    left: 50%;
    top: 50%;
  }
  body.menu-open .menu-toggle::before { transform: translate(-50%, -50%) rotate(45deg); }
  body.menu-open .menu-toggle::after { transform: translate(-50%, -50%) rotate(-45deg); }
  nav ul li a {
    font-size: 14px !important;
    padding: 8px 12px !important;
    min-height: 44px; /* tamaño objetivo para accesibilidad táctil */
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    width: 120px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    box-sizing: border-box !important;
  }
}

/* Video gallery grid stacking on narrow screens */
@media (max-width: 768px) {
  .container {
    display: grid;
    grid-template-columns: 1fr !important;
  }
  .container .video-list {
    height: auto !important;
    max-height: none !important;
  }
  /* Redes más compactas en móvil */
  .redes{ gap: 12px; }
  .redes a{ width: 36px; height: 36px; }
  .redes a img{ width: 36px; margin: 10px; padding: 5px; }
  .redes a svg{ width: 22px; height: 22px; }
  .redes a:hover img{
    transform: translateY(-1px) scale(1.05);
    box-shadow:
      0 0 0 2px rgba(96,165,250,0.45),
      0 0 12px rgba(96,165,250,0.55),
      0 0 20px rgba(96,165,250,0.38);
    animation: iconNeonPulse 3.8s ease-in-out infinite;
  }
  .redes a:hover{
    transform: translateY(-1px) scale(1.04);
    box-shadow:
      0 0 0 2px rgba(96,165,250,0.45),
      0 0 12px rgba(96,165,250,0.55),
      0 0 20px rgba(96,165,250,0.38);
    color: #1C4ED8;
    animation: iconNeonPulse 3.8s ease-in-out infinite;
  }
}

/* Typography and spacing harmonization on mobile */
@media (max-width: 600px) {
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.25rem; }
  h3 { font-size: 1rem; }
  /* Ajuste móvil para barra informativa */
  .info {
    font-size: 0.92rem;
    padding: 10px 12px;
    line-height: 1.35;
    gap: 8px;
  }
  main { margin-top: 3.5em !important; padding: 1em !important; }

  /* Index hero title */
  .laNasaMusical {
    font-size: clamp(26px, 7.5vw, 36px) !important;
    line-height: 1.12 !important;
    padding-top: 24px !important;
    margin: 0 12px !important;
    width: 100% !important;
    max-width: 100% !important;
    text-wrap: balance;
    overflow-wrap: anywhere;
  }

  /* Image gallery adjustments: pegada al header con margen mínimo */
  .img-gallery { width: 100% !important; margin: 8px auto 28px !important; grid-gap: 16px !important; padding-top: 0 !important; }
  .img-gallery img { width: 100% !important; height: auto !important; padding: 8px !important; }

  /* PDF songs gallery */
  .pdfsongsgallery { padding-top: 120px !important; margin: 4px !important; }
  .pdfsongsgallery img { width: 100% !important; height: auto !important; max-width: 420px; }

  /* Pistas embeds: pegado al header en móvil con margen mínimo */
  .pistas { padding-top: 8px !important; gap: 8px !important; }
  .pistas > div { margin: 8px !important; }

  /* Piano page */
  .heading { font-size: 1.5rem !important; }

  /* Miniaturas del listado de videos */
  .container .video-list .vid { gap: 12px !important; padding: 10px !important; }
  .container .video-list .vid video { width: 96px !important; flex-shrink: 0; }

  /* Mini‑control de pistas: tamaño táctil accesible en móvil */
  .tracks-section .floating-mini {
    position: fixed;
    left: 50%;
    /* Ubicamos la barra por encima del footer fijo con margen anterior */
    bottom: calc(var(--footer-h) + max(8px, env(safe-area-inset-bottom)));
    transform: translateX(-50%);
    z-index: 20; /* valor anterior por encima del contenido */
    gap: 4px;
    padding: 6px 8px;
    margin: 0 auto;
    border-radius: 12px;
    backdrop-filter: saturate(1.2) blur(6px);
    -webkit-backdrop-filter: saturate(1.2) blur(6px);
    max-width: min(82vw, 360px);
    width: auto;
    box-sizing: border-box;
  }
  .floating-mini .pp-btn {
    font-size: 13px;
    min-width: 34px;
    min-height: 34px; /* tamaño táctil anterior */
    padding: 4px 6px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.32);
    color: #eaf4ff;
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 4px 12px rgba(0,0,0,0.28);
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    flex: 0 0 auto; /* evita que se estiren y provoquen cortes */
  }
  .floating-mini .pp-btn i { font-size: 13px; }
  .floating-mini .thumb { width: 22px; height: 22px; }
  .floating-mini .title {
    font-size: 0.85rem;
    max-width: 46vw;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .floating-mini .pp-btn:hover { transform: translateY(-1px); }

  /* Ocultar título en pantallas pequeñas para priorizar controles */
  @media (max-width: 430px) {
    .floating-mini .title { display: none; }
  }

  /* Evitar recorte y centrar solo el contenido superior del hero */
  .hero {
    min-height: auto !important;
    justify-content: flex-start !important;
    align-items: center !important;
    gap: 12px !important;
    padding-top: 8px !important;
  }

  /* Grilla de tarjetas: 2 columnas estables y sin desbordes en pantallas pequeñas */
  .tracks-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  /* Modo micro en móvil: tarjetas de 60x60px */
  .tracks-grid {
    grid-template-columns: repeat(auto-fill, 60px) !important;
    gap: 6px !important;
    justify-content: center;
    justify-items: center !important;
    align-content: start !important;
    grid-auto-rows: 60px !important;
  }
  /* Igualar alturas de tarjetas dentro de cada fila */
  .tracks-grid > .track-card { height: 100% !important; }
  /* Eliminado: mantener mosaico 60x60 uniforme en todo ≤600px */
  /* Ajuste de padding lateral para evitar corte de la segunda columna */
  .tracks-section { padding: 0 12px !important; margin-top: 8px !important; }
  .tracks-container { width: 100% !important; max-width: 100% !important; }

  /* Evitar desbordes horizontales del contenedor en móvil manteniendo sombras visibles */
  .tracks-container {
    overflow: visible !important;
    max-width: 100vw !important;
    height: auto !important;
    box-sizing: border-box !important;
    /* Mobile-friendly: contenedor liviano y sin marco pesado */
    padding: 6px 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
  }
  .track-card {
    overflow: visible !important;
    padding: 0 !important;
    border-radius: 4px !important;
    width: 60px !important;
    height: 60px !important;
    /* Eliminar espacio interno: la imagen ocupa el 100% */
    display: block !important;
    gap: 0 !important;
    grid-template-rows: none !important;
  }

  /* Espacio extra bajo la sección de música para evitar cortes junto al footer */
  .tracks-section { margin-bottom: max(24px, calc(env(safe-area-inset-bottom) + 12px)) !important; }
  .tracks-container { padding-bottom: max(20px, env(safe-area-inset-bottom)) !important; }
  .track-card { padding-bottom: 0px !important; }
  .tracks-container { padding-right: max(10px, calc(env(safe-area-inset-right) + 10px)) !important; }
  .track-thumb {
    margin-bottom: 0 !important;
    border-radius: 4px !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important; /* evita espacio superior por inline baseline */
  }

  /* Títulos de tarjetas: permitir 2 líneas en móvil */
  .track-card h4 {
    display: none !important; /* ocultar título en modo micro 20x20 */
  }

  /* Quitar etiqueta "Reproduciendo" en móvil para evitar solapes */
  .track-card.playing::after {
    display: none !important;
    content: none !important;
  }

  /* Botón LET'S PLAY: evitar desbordes y permitir salto de línea si es necesario */
  .actions .btn {
    max-width: 92vw !important;
    box-sizing: border-box !important;
    white-space: normal !important;
  }

  /* Evitar solapes con barras del sistema y pie */
  /* Reservamos espacio para el footer fijo + safe area */
  main { padding-bottom: calc(var(--footer-h) + max(16px, env(safe-area-inset-bottom))); }
  footer {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 900;
    font-size: 0.85rem;
    padding: clamp(1rem, 4vw, var(--space-2));
    text-align: center;
    background: var(--footer-bg);
    color: var(--footer-text);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.75rem;
    align-items: center;
    justify-items: center;
  }
}

/* Densidad extra en pantallas muy pequeñas (≤400px) */
@media (max-width: 400px) {
  .tracks-grid { gap: 6px !important; }
}

/* === Auth modal (reemplazo de prompt) === */
.auth-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(2px);
  display: flex; /* visible por defecto para evitar flash de contenido */
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
.auth-card {
  background: #111;
  color: #fff;
  width: min(92%, 360px);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  text-align: center;
}
.auth-card h2 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}
.auth-card p {
  font-size: 0.95rem;
  margin: 6px 0 12px;
}
.auth-card input[type="password"] {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #444;
  background: #1a1a1a;
  color: #fff;
  /* Evitar zoom automático de iOS al enfocar inputs (<16px) */
  font-size: 16px;
  line-height: 1.4;
}
.auth-card button[type="submit"] {
  width: 100%;
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  border: none;
  font-weight: 600;
  background: #2ecc71;
  color: #111;
  cursor: pointer;
}
.auth-card button[type="submit"]:hover {
  filter: brightness(1.1);
}
.auth-error {
  color: #ff7675;
  min-height: 1.2em;
}
/* Pulso de neón para íconos sociales (compartido) */
@keyframes iconNeonPulse{
  0%{ filter: brightness(1.06) saturate(1.15); }
  50%{ filter: brightness(1.12) saturate(1.25); }
  100%{ filter: brightness(1.06) saturate(1.15); }
}