/* ==========================================================================
   ALEX 'EL GENIO' LUCAS - LANDING WEB
   Diseño Creativo Redondeado & Fondo Oficial MediaKit Intro
   ========================================================================== */

/* Bloqueo de scroll mientras el preloader está activo */
body.preloader-active {
  overflow: hidden !important;
}

/* ==========================================================================
   FONDO AMBIENTAL OFICIAL ESTÁTICO EN TODA LA WEB (fondo-portada.png)
   ========================================================================== */
body {
  background-color: #14014f !important;
  background-image: 
    linear-gradient(180deg, rgba(14, 1, 38, 0.22) 0%, rgba(14, 1, 38, 0.36) 100%),
    url('../images/fondo-portada.png') !important;
  background-attachment: fixed !important;
  background-size: cover !important;
  background-position: center top !important;
  background-repeat: no-repeat !important;
  color: #f8effe;
  font-family: 'Outfit', system-ui, sans-serif;
  min-height: 100vh;
}

/* ==========================================================================
   HERO / SECCIÓN #INICIO TRANSPARENTE (El fondo fijo global permanece estático)
   ========================================================================== */
#inicio {
  position: relative;
  background: transparent !important;
}

/* Lienzo Cosmos Animado Fijo en Toda la Ventana (Sin cortes ni bordes cuadrados) */
#hero-cosmos-canvas {
  display: block !important;
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  pointer-events: none !important;
  z-index: 1 !important;
}

section, header, footer, aside {
  position: relative;
  z-index: 5;
}

.live-disc-container {
  border-radius: 9999px;
}

#live-disc-canvas {
  border-radius: 9999px;
  mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 1) 42%, rgba(0, 0, 0, 0.72) 53%, rgba(0, 0, 0, 0.22) 63%, rgba(0, 0, 0, 0) 70%);
  -webkit-mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 1) 42%, rgba(0, 0, 0, 0.72) 53%, rgba(0, 0, 0, 0.22) 63%, rgba(0, 0, 0, 0) 70%);
}

/* ==========================================================================
   PRELOADER / INTRO FULLSCREEN (2 SEGUNDOS)
   ========================================================================== */
/* ==========================================================================
   PRELOADER CON DESVANECIMIENTO POR PARTES EN 0.5 SEGUNDOS (500ms)
   ========================================================================== */
.preloader-overlay {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  z-index: 999999;
  background-color: #14014f;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: opacity 0.22s cubic-bezier(0.22, 1, 0.36, 1) 0.28s,
              visibility 0.22s linear 0.28s;
  will-change: opacity, transform;
}

/* Transiciones individuales por cada capa/parte del preloader (Total: 0.5s / 500ms) */
.preloader-header,
.preloader-progress-track,
.preloader-skip-btn,
.preloader-logo-wrap,
.preloader-title-alex,
.preloader-title-genio,
.preloader-title-lucas,
.preloader-tagline,
.preloader-character-col,
.preloader-bg-layer {
  transition-property: opacity, transform, filter;
  transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform, filter;
}

.preloader-overlay.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Parte 1 (0ms -> 170ms): Barra superior, progreso e indicadores */
.preloader-overlay.fade-out .preloader-header {
  opacity: 0;
  transform: translateY(-20px);
  transition-duration: 0.17s;
  transition-delay: 0s;
}
.preloader-overlay.fade-out .preloader-progress-track,
.preloader-overlay.fade-out .preloader-skip-btn {
  opacity: 0;
  transform: translateY(15px);
  transition-duration: 0.16s;
  transition-delay: 0s;
}

/* Parte 2 (40ms -> 310ms): Logo y Títulos escalonados uno por uno */
.preloader-overlay.fade-out .preloader-logo-wrap {
  opacity: 0;
  transform: translateX(-28px) scale(0.94);
  filter: blur(4px);
  transition-duration: 0.20s;
  transition-delay: 0.04s;
}
.preloader-overlay.fade-out .preloader-title-alex {
  opacity: 0;
  transform: translateX(-34px);
  filter: blur(4px);
  transition-duration: 0.20s;
  transition-delay: 0.08s;
}
.preloader-overlay.fade-out .preloader-title-genio {
  opacity: 0;
  transform: translateX(-34px);
  filter: blur(4px);
  transition-duration: 0.20s;
  transition-delay: 0.12s;
}
.preloader-overlay.fade-out .preloader-title-lucas {
  opacity: 0;
  transform: translateX(-34px);
  filter: blur(4px);
  transition-duration: 0.20s;
  transition-delay: 0.16s;
}
.preloader-overlay.fade-out .preloader-tagline {
  opacity: 0;
  transform: translateY(16px);
  filter: blur(3px);
  transition-duration: 0.18s;
  transition-delay: 0.20s;
}

/* Parte 3 (150ms -> 390ms): Retrato de Alex Lucas */
.preloader-overlay.fade-out .preloader-character-col {
  opacity: 0;
  transform: translateY(22px) scale(1.04);
  filter: blur(6px);
  transition-duration: 0.24s;
  transition-delay: 0.15s;
}

/* Parte 4 (220ms -> 500ms): Fondo cósmico final */
.preloader-overlay.fade-out .preloader-bg-layer {
  opacity: 0;
  transform: scale(1.05);
  filter: blur(8px);
  transition-duration: 0.28s;
  transition-delay: 0.22s;
}

/* Capa de fondo exacto con gradiente y textura */
.preloader-bg-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/fondo-portada.png');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  z-index: 1;
  pointer-events: none;
}

/* Header superior del Preloader */
.preloader-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: clamp(70px, 10vh, 110px);
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(2rem, 5.5vw, 6rem);
}

.preloader-spacer {
  width: clamp(100px, 11vw, 160px);
}

.preloader-header-center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.preloader-live-tag {
  font-family: 'Montserrat', system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(0.75rem, 1.25vw, 1.05rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ffffff;
  white-space: nowrap;
}

.preloader-header-logo {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-left: auto;
}

.preloader-nn-logo {
  width: clamp(110px, 11.5vw, 165px);
  height: auto;
  object-fit: contain;
}

/* Escenario central del Preloader */
.preloader-stage {
  position: relative;
  z-index: 10;
  width: 100%;
  height: 100%;
  max-width: 1680px;
  margin: 0 auto;
}

.preloader-info-col {
  position: absolute;
  left: clamp(8%, 18vw, 22.5%);
  bottom: clamp(6%, 12vh, 16%);
  display: flex;
  flex-direction: column;
  z-index: 20;
  user-select: none;
}

.preloader-logo-wrap {
  width: clamp(260px, 26vw, 400px);
  margin-bottom: clamp(-1rem, -1.8vh, -1.6rem);
  margin-left: clamp(-1.2rem, -1vw, -0.5rem);
  z-index: 25;
}

.preloader-logo-img {
  width: 100%;
  height: auto;
  display: block;
}

.preloader-titles {
  display: flex;
  flex-direction: column;
  margin-bottom: clamp(1.2rem, 2.6vh, 2.4rem);
}

.preloader-titles h1,
.preloader-titles h2,
.preloader-titles h3 {
  font-family: 'Montserrat', system-ui, sans-serif;
  font-weight: 900;
  color: #ffffff;
  line-height: 0.86;
  text-transform: uppercase;
  margin: 0;
  padding: 0;
}

.preloader-title-alex {
  font-size: clamp(4.8rem, 9.7vw, 10.2rem);
  letter-spacing: -0.015em;
}

.preloader-title-genio {
  font-size: clamp(2.7rem, 5.5vw, 5.8rem);
  letter-spacing: -0.01em;
}

.preloader-title-lucas {
  font-size: clamp(3.9rem, 7.95vw, 8.4rem);
  letter-spacing: -0.01em;
}

.preloader-tagline {
  display: flex;
  flex-direction: column;
  gap: 0.04em;
}

.preloader-tagline p {
  font-family: 'Montserrat', system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(1.4rem, 2.92vw, 3.05rem);
  line-height: 1.0;
  letter-spacing: 0.015em;
  text-transform: uppercase;
  color: #d04ce4;
  margin: 0;
}

.preloader-character-col {
  position: absolute;
  left: clamp(38%, 42vw, 44%);
  bottom: 0;
  height: 92vh;
  max-height: 980px;
  display: flex;
  align-items: flex-end;
  z-index: 15;
  pointer-events: none;
}

.preloader-character-wrap {
  height: 100%;
  display: flex;
  align-items: flex-end;
}

.preloader-alex-photo {
  height: 100%;
  width: auto;
  object-fit: contain;
  object-position: bottom left;
  filter: drop-shadow(0 14px 30px rgba(0, 0, 0, 0.45));
  mask-image: linear-gradient(to bottom, transparent 0%, black 18px, black 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 18px, black 100%);
}

/* Barra de progreso inferior de 2 segundos */
.preloader-progress-track {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.12);
  z-index: 40;
  overflow: hidden;
}

.preloader-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #d04ce4, #ffbe00, #ff4500);
  box-shadow: 0 0 16px rgba(208, 76, 228, 0.85);
  animation: preloaderProgressAnim 0.45s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes preloaderProgressAnim {
  0% { width: 0%; }
  100% { width: 100%; }
}

/* Botón Saltar Intro */
.preloader-skip-btn {
  position: absolute;
  bottom: 1.5rem;
  right: 2rem;
  z-index: 50;
  background: rgba(20, 1, 79, 0.65);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.85);
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.5rem 1.15rem;
  border-radius: 999px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.25s ease;
}

.preloader-skip-btn:hover {
  background: #d04ce4;
  color: #ffffff;
  border-color: #d04ce4;
  transform: translateY(-2px);
  box-shadow: 0 4px 18px rgba(208, 76, 228, 0.45);
}

.preloader-skip-arrow {
  transition: transform 0.2s ease;
}

.preloader-skip-btn:hover .preloader-skip-arrow {
  transform: translateX(3px);
}

/* ==========================================================================
   ESTILOS VISUALES REDONDEADOS & CREATIVOS
   ========================================================================== */

/* Glass Cards con curvatura orgánica de 28px - 36px */
.bg-surface-card {
  background: linear-gradient(170deg, rgba(35, 7, 78, 0.75) 0%, rgba(18, 2, 48, 0.88) 100%) !important;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  border: 1px solid rgba(208, 76, 228, 0.22) !important;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.45);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.bg-surface-card:hover {
  border-color: rgba(208, 76, 228, 0.5) !important;
  box-shadow: 0 20px 55px -5px rgba(208, 76, 228, 0.3), 0 0 25px rgba(255, 190, 0, 0.12);
}

/* Contenedores Interiores */
.bg-surface-container {
  background: rgba(36, 8, 78, 0.65) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.bg-surface-container-high {
  background: rgba(48, 11, 102, 0.7) !important;
}

.bg-surface-container-lowest {
  background: rgba(18, 3, 46, 0.75) !important;
}

/* Botones con Resplandor (Glow) */
.play-glow {
  background: linear-gradient(135deg, #d04ce4 0%, #b22301 100%) !important;
  box-shadow: 0 6px 25px rgba(208, 76, 228, 0.55), 0 0 15px rgba(255, 190, 0, 0.35) !important;
  color: #ffffff !important;
}

.play-glow:hover {
  box-shadow: 0 8px 32px rgba(208, 76, 228, 0.75), 0 0 22px rgba(255, 190, 0, 0.5) !important;
}

/* Tipografía de Encabezados */
h1:not(.material-symbols-outlined), 
h2:not(.material-symbols-outlined), 
h3:not(.material-symbols-outlined), 
h4:not(.material-symbols-outlined),
.text-display-hero:not(.material-symbols-outlined),
.text-headline-lg:not(.material-symbols-outlined),
.text-headline-md:not(.material-symbols-outlined),
.text-headline-sm:not(.material-symbols-outlined),
.text-title-card:not(.material-symbols-outlined) {
  font-family: 'Montserrat', system-ui, sans-serif !important;
  letter-spacing: -0.015em;
}

.text-display-hero {
  font-weight: 900 !important;
  letter-spacing: -0.025em !important;
}

/* Etiquetas y Badges estilo MediaKit (Oswald) */
.text-label-badge {
  font-family: 'Oswald', sans-serif !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
}

/* Botón CTA Secundario / Suscribirse */
a.bg-secondary-container {
  background: linear-gradient(135deg, #d04ce4 0%, #7c008e 100%) !important;
  box-shadow: 0 4px 18px rgba(208, 76, 228, 0.4);
}

a.bg-secondary-container:hover {
  box-shadow: 0 6px 24px rgba(208, 76, 228, 0.6);
  transform: translateY(-1px);
}

/* Separadores de Sección */
.border-subtle {
  border-color: rgba(208, 76, 228, 0.15) !important;
}

/* Barra Flotante Inferior de Audio (Pill Flotante) */
#sticky-audio-bar {
  border: 1px solid rgba(208, 76, 228, 0.35) !important;
}

/* Barra de scrubber en el reproductor sticky y destacado */
.bg-tertiary {
  background: linear-gradient(90deg, #d04ce4 0%, #ffbe00 100%) !important;
}

/* Pestañas de Filtros Activas */
button.filter-tab.bg-secondary-container {
  background: linear-gradient(135deg, #d04ce4 0%, #9900aa 100%) !important;
  box-shadow: 0 4px 16px rgba(208, 76, 228, 0.5) !important;
}

/* Animación de Onda Sonora (Audio Equalizer Mini) */
.audio-wave-mini {
  display: inline-flex;
  align-items: flex-end;
  gap: 2.5px;
  height: 14px;
}

.audio-wave-mini span {
  width: 3px;
  background: #ffbe00;
  border-radius: 999px;
  animation: waveAnim 1s ease-in-out infinite alternate;
}

.audio-wave-mini span:nth-child(1) { height: 40%; animation-delay: 0.1s; }
.audio-wave-mini span:nth-child(2) { height: 90%; animation-delay: 0.3s; }
.audio-wave-mini span:nth-child(3) { height: 60%; animation-delay: 0.2s; }
.audio-wave-mini span:nth-child(4) { height: 100%; animation-delay: 0.4s; }

@keyframes waveAnim {
  0% { height: 25%; }
  100% { height: 100%; }
}

/* Iconos de Material Symbols alineación estricta */
.material-symbols-outlined,
span.material-symbols-outlined {
  font-family: 'Material Symbols Outlined' !important;
  font-weight: normal !important;
  font-style: normal !important;
  line-height: 1 !important;
  letter-spacing: normal !important;
  text-transform: none !important;
  display: inline-block !important;
  white-space: nowrap !important;
  word-wrap: normal !important;
  direction: ltr !important;
  -webkit-font-feature-settings: 'liga' !important;
  -webkit-font-smoothing: antialiased !important;
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

span.material-symbols-outlined[style*="'FILL' 1"] {
  font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* Scrollbar personalizada para todo el sitio */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #0b011d;
}

::-webkit-scrollbar-thumb {
  background: rgba(208, 76, 228, 0.4);
  border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
  background: #d04ce4;
}

/* ==========================================================================
   RESPONSIVIDAD
   ========================================================================== */
@media (max-width: 1080px) {
  .preloader-header {
    padding: 0 2rem;
  }
  .preloader-spacer {
    display: none;
  }
  .preloader-header-center {
    position: static;
    transform: none;
    text-align: left;
  }
  .preloader-info-col {
    left: 8%;
  }
  .preloader-character-col {
    left: 45%;
    height: 75vh;
  }
}

@media (max-width: 768px) {
  .preloader-header {
    height: auto;
    padding: 1.5rem 1.2rem;
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 0.8rem;
  }
  .preloader-header-logo {
    width: 100%;
    justify-content: flex-end;
  }
  .preloader-nn-logo {
    width: 105px;
  }
  .preloader-live-tag {
    font-size: 0.65rem;
    letter-spacing: 0.08em;
  }
  .preloader-info-col {
    left: 1.2rem;
    right: 1.2rem;
    bottom: 3.5rem;
  }
  .preloader-logo-wrap {
    margin-left: 0;
    width: 220px;
  }
  .preloader-title-alex {
    font-size: 3.8rem;
  }
  .preloader-title-genio {
    font-size: 2.1rem;
  }
  .preloader-title-lucas {
    font-size: 3.1rem;
  }
  .preloader-tagline p {
    font-size: 1.25rem;
  }
  .preloader-character-col {
    left: auto;
    right: -15%;
    bottom: 0;
    height: 55vh;
    opacity: 0.45;
  }
  .preloader-skip-btn {
    bottom: 1.2rem;
    right: 1.2rem;
    padding: 0.4rem 0.85rem;
    font-size: 0.72rem;
  }
}


/* ==========================================================================
   INSIGNIAS FLOTANTES INTERACTIVAS DE EMOCIONES (HERO EMOTION BADGES)
   Extraídas de alexelgenio-web con Levitación Orgánica & Hover Expandible
   ========================================================================== */
.emotion-badge {
  position: absolute;
  z-index: 25;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: 9999px;
  background: rgba(10, 1, 28, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.15);
  cursor: pointer;
  user-select: none;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  animation: badgeLevitate 3.8s ease-in-out infinite alternate;
  pointer-events: auto;
}

.emotion-badge:hover {
  background: rgba(18, 2, 48, 0.94);
  border-color: var(--badge-color);
  box-shadow: 0 0 25px var(--badge-glow), 0 8px 30px rgba(0, 0, 0, 0.65);
  transform: scale(1.06);
  z-index: 35;
}

.emotion-badge .badge-icon {
  font-size: 15px;
  line-height: 1;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.emotion-badge:hover .badge-icon {
  transform: scale(1.18);
}

.emotion-badge .badge-label {
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: 11.5px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.emotion-badge .badge-detail {
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  white-space: nowrap;
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  display: inline-block;
  transition: max-width 0.38s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.28s ease-out, margin 0.3s ease;
  margin-left: 0;
}

.emotion-badge:hover .badge-detail {
  max-width: 260px;
  opacity: 1;
  margin-left: 3px;
}

@keyframes badgeLevitate {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-8px); }
}

/* Posiciones relativas a la silueta de Alex en Desktop */
.emotion-badge-familia {
  top: 14%;
  left: -24px;
  animation-delay: 0s;
}

.emotion-badge-motivacion {
  top: 44%;
  left: -48px;
  animation-delay: 1.1s;
}

.emotion-badge-inspiracion {
  top: 12%;
  right: 15px;
  animation-delay: 0.55s;
}

.emotion-badge-positividad {
  top: 33%;
  right: -25px;
  animation-delay: 1.7s;
}

/* Tablet & Pantallas Medianas */
@media (max-width: 1024px) {
  .emotion-badge {
    padding: 6px 12px;
  }
  .emotion-badge-familia {
    top: 10%;
    left: 8px;
  }
  .emotion-badge-motivacion {
    top: 42%;
    left: 4px;
  }
  .emotion-badge-inspiracion {
    top: 10%;
    right: 10px;
  }
  .emotion-badge-positividad {
    top: 44%;
    right: 10px;
  }
}

/* Móvil */
@media (max-width: 640px) {
  .emotion-badge {
    padding: 5px 9px;
    gap: 4px;
  }
  .emotion-badge .badge-icon {
    font-size: 12.5px;
  }
  .emotion-badge .badge-label {
    font-size: 10px;
  }
  .emotion-badge-familia {
    top: 10%;
    left: auto;
    right: calc(50% + 48px);
  }
  .emotion-badge-motivacion {
    top: 40%;
    left: auto;
    right: calc(50% + 42px);
  }
  .emotion-badge-inspiracion {
    top: 10%;
    left: calc(50% + 48px);
    right: auto;
  }
  .emotion-badge-positividad {
    top: 40%;
    left: calc(50% + 42px);
    right: auto;
  }
  .emotion-badge .badge-detail {
    font-size: 10px;
  }
  .emotion-badge:hover .badge-detail {
    max-width: 140px;
  }
}


/* ==========================================================================
   ELENCO Y PERSONALIDADES - DISEÑO BENTO / PILL CARDS COLORIDAS
   ========================================================================== */
.elenco-bento-row {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  gap: 0.9rem;
  padding-bottom: 0.5rem;
  scrollbar-width: none;
}
.elenco-bento-row::-webkit-scrollbar {
  display: none;
}

.elenco-bento-row > .elenco-card {
  flex: 0 0 74vw;
  max-width: 280px;
  scroll-snap-align: center;
  height: 365px;
}

.elenco-bento-row > .elenco-card-featured {
  flex: 0 0 85vw;
  max-width: 340px;
}

@media (min-width: 1024px) {
  .elenco-bento-row {
    display: grid;
    grid-template-columns: 1.95fr 1fr 1fr 1fr 1fr;
    gap: 1.15rem;
    align-items: stretch;
    overflow-x: visible;
    padding-bottom: 0;
  }
  .elenco-bento-row > .elenco-card,
  .elenco-bento-row > .elenco-card-featured {
    flex: initial;
    max-width: none;
    height: 450px;
  }
}

.elenco-card {
  position: relative;
  border-radius: 38px;
  overflow: hidden;
  transition: transform 0.35s ease-out, box-shadow 0.35s ease-out;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.42);
  cursor: pointer;
  user-select: none;
}

.elenco-card:hover {
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.52);
}

.elenco-card .elenco-portrait {
  transform-origin: bottom center;
  transition: transform 0.35s ease-out;
}

.elenco-card:hover .elenco-portrait {
  transform: scale(1.045);
}

/* ==========================================================================
   LOS 4 PILARES DEL SHOW - ESTILO ESCÉNICO CON FILIGRANA NUMÉRICA
   ========================================================================== */
.pilar-creative-card {
  transition: transform 0.3s ease-out, border-color 0.3s ease-out, box-shadow 0.3s ease-out;
}

.pilar-creative-card:hover {
  transform: translateY(-3px);
}

.pilar-watermark-num {
  position: absolute;
  right: 1.25rem;
  bottom: -0.75rem;
  font-family: 'Montserrat', system-ui, sans-serif;
  font-weight: 900;
  font-size: 5.5rem;
  line-height: 1;
  opacity: 0.08;
  pointer-events: none;
  user-select: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.pilar-creative-card:hover .pilar-watermark-num {
  opacity: 0.15;
  transform: scale(1.04);
}

/* ==========================================================================
   PLAYER FLOTANTE HÍBRIDO CON DISCO ANIMADO & ESPECTRO (#sticky-audio-bar)
   ========================================================================== */
#sticky-disc-canvas {
  border-radius: 9999px;
  mask-image: radial-gradient(circle at center, rgba(0,0,0,1) 48%, rgba(0,0,0,0.5) 62%, rgba(0,0,0,0) 74%);
  -webkit-mask-image: radial-gradient(circle at center, rgba(0,0,0,1) 48%, rgba(0,0,0,0.5) 62%, rgba(0,0,0,0) 74%);
}

@keyframes stickyVinylSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

#sticky-Vinyl-wrap.is-spinning {
  animation: stickyVinylSpin 10s linear infinite;
}

#sticky-audio-bar.is-playing {
  border-color: rgba(255, 190, 0, 0.55) !important;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.92), 0 0 38px rgba(208, 76, 228, 0.35) !important;
}

/* ==========================================================================
   HEADER STICKY GLOBAL Y DESPLEGABLE POR CAPAS (ACORDEÓN ESENCIAL)
   ========================================================================== */
#main-sticky-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 1000 !important;
  width: 100%;
  transition: padding 0.25s ease, filter 0.25s ease;
}

#main-sticky-header.is-scrolled .header-pill-bar {
  background: rgba(14, 1, 36, 0.92) !important;
  border-color: rgba(208, 76, 228, 0.45) !important;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.78), 0 0 25px rgba(208, 76, 228, 0.2) !important;
}

.ep-layer-card {
  border-radius: 20px;
  background: rgba(14, 2, 36, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: border-color 0.25s ease, background 0.25s ease;
  overflow: hidden;
}

.ep-layer-card[open] {
  background: rgba(26, 5, 62, 0.82);
  border-color: rgba(255, 190, 0, 0.4);
}

.ep-layer-card summary::-webkit-details-marker {
  display: none;
}

.ep-layer-card summary {
  list-style: none;
}


/* ==========================================================================
   BOTONES FLOTANTES EXPANDIBLES DE PLATAFORMAS (ESQUINA INFERIOR DERECHA)
   ========================================================================== */
.floating-platform-pill {
  transition: all 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.floating-platform-pill .floating-platform-text {
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  margin-left: 0;
  transition: max-width 0.32s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.25s ease, margin-left 0.28s ease;
}

.floating-platform-pill:hover .floating-platform-text,
.floating-platform-pill:focus-visible .floating-platform-text {
  max-width: 145px;
  opacity: 1;
  margin-left: 0.65rem;
  padding-right: 0.35rem;
}


/* ==========================================================================
   OPTIMIZACIÓN MÓVIL: CARRUSELES TÁCTILES (SNAP SCROLL) & CONTENT-VISIBILITY
   ========================================================================== */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

@media (max-width: 1023px) {
  .cv-auto-section {
    content-visibility: auto;
    contain-intrinsic-size: 1px 460px;
  }

  /* Carrusel horizontal genérico en móvil (<1024px): Capítulos y Trayectoria */
  .mobile-snap-carousel {
    display: flex !important;
    flex-direction: row !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 0.85rem;
    padding-bottom: 0.5rem;
    scrollbar-width: none;
  }
  .mobile-snap-carousel::-webkit-scrollbar {
    display: none;
  }
  .mobile-snap-carousel > * {
    flex: 0 0 84vw;
    max-width: 340px;
    scroll-snap-align: center;
    margin-top: 0 !important;
  }

  /* Los 4 Pilares del Show: 3 Slides en Móvil (Slide 1: Familiar+Motivador, Slide 2: Alex Sentado, Slide 3: Inspirador+Positivo) */
  .pilares-responsive-track {
    display: flex !important;
    flex-direction: row !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 0.95rem;
    padding-bottom: 0.5rem;
    scrollbar-width: none;
    align-items: stretch;
  }
  .pilares-responsive-track::-webkit-scrollbar {
    display: none;
  }
  .pilares-col-group {
    flex: 0 0 86vw !important;
    max-width: 350px !important;
    scroll-snap-align: center;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.75rem !important;
  }
}

/* Catálogo de Episodios: Carrusel Horizontal Deslizable en Móvil (<768px) */
@media (max-width: 767px) {
  .episodes-mobile-carousel {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 0.85rem;
    padding-bottom: 0.5rem;
    scrollbar-width: none;
  }
  .episodes-mobile-carousel::-webkit-scrollbar {
    display: none;
  }
  .episodes-mobile-carousel > .episode-card:not(.hidden) {
    flex: 0 0 86vw;
    max-width: 350px;
    scroll-snap-align: center;
    margin-top: 0 !important;
  }

  /* Compactar dock flotante de plataformas en móvil para no tapar contenido */
  #floating-platforms-dock {
    bottom: 5.5rem;
    right: 0.65rem;
    gap: 0.45rem;
    transform: scale(0.9);
    transform-origin: bottom right;
  }
}
