/* ==========================================================================
   LA 99.5 FM — CINEMATIC GLASS v2 (Fixed Background + Section Overlays)
   Reemplaza todo tu Custom CSS de WordPress con este archivo.
   --------------------------------------------------------------------------
   COLORES DE MARCA:
     Azul real ........ #1B4480
     Rojo carmín ...... #AC2317
     Dorado ........... #C9BB76
   --------------------------------------------------------------------------
   NOVEDADES vs v1:
     ✓ Background 100% fijado durante scroll (refuerzo anti-tema-WP)
     ✓ Sistema de overlays por sección (8 variantes de color)
     ✓ Variante radial para spotlight central
     ✓ Overlay por defecto en cualquier <section> sin clase
   ========================================================================== */


/* --------------------------------------------------------------------------
   1) TIPOGRAFÍAS
   -------------------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600&family=Bebas+Neue&display=swap');


/* --------------------------------------------------------------------------
   2) VARIABLES GLOBALES
   -------------------------------------------------------------------------- */
:root {
  --la-blue:        #1B4480;
  --la-blue-deep:   #0A1A35;
  --la-red:         #AC2317;
  --la-red-bright:  #E53929;
  --la-gold:        #C9BB76;
  --la-gold-bright: #F4E9B8;
  --la-gold-deep:   #8C7A3D;
  --la-ink:         #050810;
  --la-cream:       #F5EFE0;
}


/* --------------------------------------------------------------------------
   3) FONDO CINEMÁTICO FIJO (REFORZADO)
   Los orbes quedan 100% fijos durante el scroll. El !important en
   background-attachment evita que el tema de WordPress lo sobrescriba.
   -------------------------------------------------------------------------- */
html, body {
  background-attachment: fixed !important;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
  color: var(--la-cream);
  background-color: var(--la-ink) !important;
  position: relative;
  min-height: 100vh;
}

/* Capa 1: orbe azul (esquina superior izquierda) — FIJO */
body::before {
  content: "";
  position: fixed !important;
  top: -250px;
  left: -250px;
  width: 900px;
  height: 900px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--la-blue) 0%, transparent 70%);
  filter: blur(120px);
  opacity: 0.6;
  z-index: -2;
  pointer-events: none;
}

/* Capa 2: orbe rojo (esquina inferior derecha) — FIJO */
body::after {
  content: "";
  position: fixed !important;
  bottom: -250px;
  right: -250px;
  width: 900px;
  height: 900px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--la-red) 0%, transparent 70%);
  filter: blur(120px);
  opacity: 0.55;
  z-index: -2;
  pointer-events: none;
}

/* Orbe dorado central — agrégalo con <div class="la-mesh-orb"></div> */
.la-mesh-orb {
  position: fixed !important;
  top: 40%;
  left: 50%;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--la-gold) 0%, transparent 70%);
  filter: blur(100px);
  opacity: 0.35;
  transform: translate(-50%, -50%);
  z-index: -2;
  pointer-events: none;
}

/* Capa de grano cinematográfico */
.la-grain {
  position: fixed !important;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.3;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}


/* --------------------------------------------------------------------------
   4) NAVBAR FLOTANTE TIPO PÍLDORA DE VIDRIO
   -------------------------------------------------------------------------- */
.la-glass-nav {
  position: sticky;
  top: 20px;
  z-index: 100;
  margin: 20px auto 0;
  max-width: 1300px;
  padding: 1rem 2rem;
  background: rgba(11,14,20,.5);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(201,187,118,.25);
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 10px 40px rgba(0,0,0,.3);
}
.la-glass-nav .la-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -.5px;
  background: linear-gradient(135deg, var(--la-gold-bright), var(--la-gold));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.la-glass-nav .la-logo .dot {
  color: var(--la-red-bright);
  -webkit-text-fill-color: var(--la-red-bright);
}
.la-glass-nav .la-nav-links { display: flex; gap: 2rem; }
.la-glass-nav .la-nav-links a {
  color: var(--la-cream);
  text-decoration: none;
  font-size: .9rem;
  font-weight: 500;
  transition: color .25s;
}
.la-glass-nav .la-nav-links a:hover { color: var(--la-gold); }

.la-listen-btn {
  background: linear-gradient(135deg, var(--la-red), var(--la-red-bright));
  color: #fff;
  border: none;
  padding: .65rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .9rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  box-shadow: 0 4px 20px rgba(172,35,23,.5);
  transition: transform .25s;
}
.la-listen-btn:hover { transform: scale(1.05); }
.la-pulse-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #fff;
  animation: la-pulse 1.4s infinite;
}
@keyframes la-pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: .3; }
}


/* --------------------------------------------------------------------------
   5) HERO PRINCIPAL
   -------------------------------------------------------------------------- */
.la-hero {
  min-height: 90vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 6rem 2rem 4rem;
  position: relative;
}
.la-badge {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .5rem 1.2rem;
  border-radius: 999px;
  background: rgba(201,187,118,.1);
  border: 1px solid rgba(201,187,118,.3);
  backdrop-filter: blur(10px);
  font-size: .8rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--la-gold);
  margin-bottom: 2rem;
  font-family: 'Bebas Neue', sans-serif;
}
.la-h1 {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(3rem, 9vw, 8rem);
  line-height: .95;
  letter-spacing: -3px;
  margin: 0 auto 1.5rem;
  max-width: 1100px;
}
.la-h1 .grad {
  background: linear-gradient(135deg, #FFFFFF 0%, var(--la-gold-bright) 50%, var(--la-gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.la-h1 .accent {
  background: linear-gradient(135deg, var(--la-red-bright), var(--la-red));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-style: italic;
}
.la-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  color: rgba(245,239,224,.7);
  max-width: 600px;
  margin: 0 auto 3rem;
  line-height: 1.6;
}
.la-cta-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}


/* --------------------------------------------------------------------------
   6) BOTONES
   -------------------------------------------------------------------------- */
.la-btn {
  padding: 1rem 2.5rem;
  border-radius: 999px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  transition: all .3s ease;
  text-decoration: none;
}
.la-btn-primary {
  background: linear-gradient(135deg, var(--la-gold-bright), var(--la-gold));
  color: var(--la-ink);
  box-shadow: 0 10px 30px rgba(201,187,118,.4);
}
.la-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(201,187,118,.6);
}
.la-btn-glass {
  background: rgba(255,255,255,.08);
  color: var(--la-cream);
  border: 1px solid rgba(255,255,255,.15);
  backdrop-filter: blur(10px);
}
.la-btn-glass:hover { background: rgba(255,255,255,.15); }
.la99-play-button .elementor-button {
  background-color: #C91414 !important;
  border: 2px solid #D4A43A !important;
  color: #FFFFFF !important;
}

.la99-play-button .elementor-button:hover,
.la99-play-button .elementor-button:focus,
.la99-play-button .elementor-button:active {
  background-color: #C91414 !important;
  border-color: #D4A43A !important;
  color: #FFFFFF !important;
}

.la99-play-button.is-playing .elementor-button {
  background-color: #003D73 !important;
  border: 2px solid #D4A43A !important;
  color: #FFFFFF !important;
}

.la99-play-button.is-playing .elementor-button:hover,
.la99-play-button.is-playing .elementor-button:focus,
.la99-play-button.is-playing .elementor-button:active {
  background-color: #003D73 !important;
  border-color: #D4A43A !important;
  color: #FFFFFF !important;
}


/* --------------------------------------------------------------------------
   7) ESTADÍSTICAS FLOTANTES
   -------------------------------------------------------------------------- */
.la-stats {
  margin-top: 4rem;
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}
.la-stat { text-align: center; }
.la-stat .num {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 2.5rem;
  line-height: 1;
  background: linear-gradient(135deg, var(--la-gold-bright), var(--la-gold));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.la-stat .label {
  font-size: .75rem;
  color: rgba(245,239,224,.6);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-top: .3rem;
}


/* --------------------------------------------------------------------------
   8) TÍTULOS DE SECCIÓN
   -------------------------------------------------------------------------- */
.la-section-tag {
  display: inline-block;
  padding: .4rem 1rem;
  border-radius: 999px;
  background: rgba(172,35,23,.15);
  border: 1px solid rgba(172,35,23,.4);
  color: var(--la-red-bright);
  font-size: .8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  font-family: 'Bebas Neue', sans-serif;
}
.la-section-h2 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  letter-spacing: -1.5px;
  line-height: 1;
  margin: 0 0 1.5rem;
  background: linear-gradient(135deg, #fff, rgba(255,255,255,.6));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.la-section-intro {
  max-width: 600px;
  color: rgba(245,239,224,.65);
  font-size: 1.05rem;
  margin-bottom: 4rem;
}


/* --------------------------------------------------------------------------
   9) TARJETAS DE VIDRIO (glassmorphism)
   -------------------------------------------------------------------------- */
.la-glass-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.la-glass-card {
  position: relative;
  padding: 2rem;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 24px;
  overflow: hidden;
  transition: all .4s cubic-bezier(.4, 0, .2, 1);
}
.la-glass-card:hover {
  transform: translateY(-6px);
  border-color: rgba(201,187,118,.4);
  background: rgba(255,255,255,.06);
  box-shadow: 0 20px 40px rgba(0,0,0,.3);
}
.la-glass-card .card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--la-gold), var(--la-gold-bright));
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  color: var(--la-ink);
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 24px rgba(201,187,118,.3);
}
.la-glass-card .card-time {
  display: inline-block;
  padding: .3rem .8rem;
  border-radius: 6px;
  background: rgba(172,35,23,.2);
  border: 1px solid rgba(172,35,23,.3);
  color: var(--la-red-bright);
  font-size: .75rem;
  letter-spacing: 2px;
  font-family: 'Bebas Neue', sans-serif;
  margin-bottom: 1.5rem;
}
.la-glass-card h3 {
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 1.5rem;
  margin: 0 0 .8rem;
  background: linear-gradient(135deg, #fff, var(--la-gold-bright));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.la-glass-card p {
  color: rgba(245,239,224,.7);
  font-size: .95rem;
  line-height: 1.65;
  margin: 0;
}


/* --------------------------------------------------------------------------
   10) BANNER CTA
   -------------------------------------------------------------------------- */
.la-cta-banner {
  margin: 4rem auto;
  max-width: 1100px;
  padding: 4rem 2rem;
  text-align: center;
  border-radius: 32px;
  position: relative;
  background: linear-gradient(135deg, rgba(27,68,128,.3), rgba(172,35,23,.3));
  border: 1px solid rgba(201,187,118,.3);
  backdrop-filter: blur(20px);
  overflow: hidden;
}


/* --------------------------------------------------------------------------
   11) REPRODUCTOR FLOTANTE "EN VIVO"
   -------------------------------------------------------------------------- */
.la-player {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(11,14,20,.7);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(201,187,118,.3);
  border-radius: 999px;
  padding: .8rem 1.5rem .8rem .8rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 90;
  max-width: 500px;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
}
.la-player-cover {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--la-blue), var(--la-red));
  flex-shrink: 0;
  box-shadow: 0 0 20px rgba(201,187,118,.4);
}
.la-player-info { min-width: 0; flex: 1; }
.la-player-info .live-tag {
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 2px;
  font-size: .7rem;
  color: var(--la-red-bright);
}
.la-player-info .song {
  font-size: .9rem;
  color: var(--la-cream);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.la-player button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--la-gold);
  border: none;
  cursor: pointer;
  color: var(--la-ink);
  font-size: .9rem;
}


/* --------------------------------------------------------------------------
   12) CONTENEDOR GENÉRICO
   -------------------------------------------------------------------------- */
.la-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}


/* --------------------------------------------------------------------------
   13) RESPONSIVE — Ajustes para móvil
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
  .la-glass-nav { margin: 12px; padding: .8rem 1.2rem; }
  .la-glass-nav .la-nav-links { display: none; }
  .la-hero { padding: 4rem 1.5rem; min-height: 75vh; }
  .la-stats { gap: 1.5rem; }
  .la-cta-banner { padding: 3rem 1.5rem; }
}


/* ============================================================================
   ★ ★ ★  NUEVO EN v2  ★ ★ ★
   ============================================================================ */


/* --------------------------------------------------------------------------
   14) SISTEMA DE OVERLAYS POR SECCIÓN

   ¿Cómo se usa en WordPress?
   En Elementor / Gutenberg / Divi → edita la sección → busca el campo
   "CSS Classes" o "Clase CSS adicional" y pega UNA de estas:

     la-overlay-blue     →  Azul profundo (institucional)
     la-overlay-red      →  Rojo carmín (urgencia, CTAs)
     la-overlay-gold     →  Dorado sutil (premium, equipo)
     la-overlay-dark     →  Negro neutro (texto largo)
     la-overlay-flag     →  Azul → Rojo (eventos)
     la-overlay-sunset   →  Rojo → Dorado (tarde)
     la-overlay-night    →  Casi negro (máximo contraste)
     la-overlay-clear    →  Velo ligero (deja ver más el background)

   También puedes combinarlo con "la-overlay-radial" para spotlight central.
   -------------------------------------------------------------------------- */

/* Base: cualquier elemento con clase que empiece con "la-overlay" */
[class*="la-overlay"] {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

[class*="la-overlay"]::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

/* Variantes de color */
.la-overlay-blue::before {
  background: linear-gradient(180deg,
    rgba(27, 68, 128, 0.55) 0%,
    rgba(10, 15, 28, 0.75) 100%);
}

.la-overlay-red::before {
  background: linear-gradient(180deg,
    rgba(172, 35, 23, 0.45) 0%,
    rgba(10, 15, 28, 0.80) 100%);
}

.la-overlay-gold::before {
  background: linear-gradient(180deg,
    rgba(201, 187, 118, 0.15) 0%,
    rgba(10, 15, 28, 0.85) 100%);
}

.la-overlay-dark::before {
  background: linear-gradient(180deg,
    rgba(10, 15, 28, 0.65) 0%,
    rgba(10, 15, 28, 0.90) 100%);
}

.la-overlay-flag::before {
  background: linear-gradient(135deg,
    rgba(27, 68, 128, 0.55) 0%,
    rgba(172, 35, 23, 0.55) 100%);
}

.la-overlay-sunset::before {
  background: linear-gradient(135deg,
    rgba(172, 35, 23, 0.45) 0%,
    rgba(201, 187, 118, 0.35) 100%);
}

.la-overlay-night::before {
  background: linear-gradient(180deg,
    rgba(5, 8, 16, 0.85) 0%,
    rgba(5, 8, 16, 0.95) 100%);
}

.la-overlay-clear::before {
  background: linear-gradient(180deg,
    rgba(10, 15, 28, 0.25) 0%,
    rgba(10, 15, 28, 0.45) 100%);
}

/* Modificador radial — combínalo con cualquier color */
/* Ejemplo: <section class="la-overlay-blue la-overlay-radial"> */
.la-overlay-radial::before {
  background: radial-gradient(ellipse at center,
    transparent 0%,
    rgba(10, 15, 28, 0.7) 80%) !important;
}