/* ==========================================================================
   CÁPSULA DIGITAL · El podcast de Explora — Hoja de estilos v2
   --------------------------------------------------------------------------
   Sistema visual «Órbita»: hereda la paleta de la página del libro
   (exploramkt.com/exploradespegaconquista) y la capa HUD de videojuego.

   v2 · Legibilidad primero
   · Superficies sólidas (sin vidrio): el texto nunca se apoya sobre estrellas.
   · Contraste AA o superior en todo el texto (cuerpo ≥ 7:1, metadatos ≥ 4.5:1).
   · Tamaño mínimo de texto: 13 px. Radios de tarjeta ≤ 16 px.
   · Sin bordes laterales de acento, sin rayas, sin sombras difusas con borde.

   Movimiento (Emil Kowalski / impeccable): ease-out exponencial, interfaz
   < 300 ms, pulsado scale(.97), hovers solo con puntero fino. El scroll
   cinematográfico vive en assets/js/anim.js (GSAP + Lenis) y el contenido
   es visible aunque ese archivo no cargue.
   ========================================================================== */

/* ---------------------------------------------------------------- TOKENS */
:root {
  /* Paleta Explora */
  --ink-950: #09071f; --ink-900: #0f0c33; --ink-800: #141243; --ink-700: #1d1a5c; --ink-600: #272276;
  --violet-700: #3d0ea3; --violet-600: #4c11c4; --violet-500: #5e17eb; --violet-400: #a78bfa; --violet-300: #c9bcff;
  --yellow: #f3d913; --yellow-hi: #fff500; --red: #f21049; --red-aa: #d10d3a; --rose: #ff5c7a; --magenta: #b0168f; --green: #5be38d;

  /* Texto (medido sobre --bg y --surface) */
  --text: #ffffff;        /* 17.5:1 */
  --text-2: #e2e5f3;      /* 14.0:1 · cuerpo */
  --text-3: #b9c1da;      /*  9.8:1 · metadatos */
  --text-ink: #0f0c33;    /* texto sobre amarillo / lila */

  /* Superficies sólidas */
  --bg: var(--ink-800);
  --surface: #1b1857;          /* tarjetas */
  --surface-2: #231f6b;        /* tarjetas elevadas / hover */
  --surface-sunk: #0d0b2b;     /* campos, listas */
  --line: rgba(201, 188, 255, .20);
  --line-hi: rgba(201, 188, 255, .42);
  --hud-line: rgba(243, 217, 19, .45);

  --grad-explora: linear-gradient(135deg, #f21049 0%, #b0168f 48%, #5e17eb 100%);
  --shadow-press: 0 2px 0 rgba(5, 4, 20, .6);
  --shadow-hard: 10px 10px 0 var(--violet-500);

  --font-body: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Familjen Grotesk', 'Montserrat', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'Courier New', monospace;

  --fs-xs: .8125rem;                                    /* 13 px: suelo */
  --fs-sm: clamp(.875rem, .85rem + .12vw, .9375rem);
  --fs-base: clamp(1rem, .97rem + .2vw, 1.125rem);
  --fs-lg: clamp(1.125rem, 1.06rem + .32vw, 1.3125rem);
  --fs-xl: clamp(1.3125rem, 1.18rem + .6vw, 1.75rem);
  --fs-2xl: clamp(1.625rem, 1.38rem + 1.15vw, 2.5rem);
  --fs-3xl: clamp(2rem, 1.55rem + 2.1vw, 3.5rem);
  --fs-hero: clamp(3.4rem, 1.5rem + 7vw, 6rem);         /* techo 6rem */
  --fs-interlude: clamp(2.5rem, 1.25rem + 5.2vw, 5.5rem);

  --sp-1: .25rem; --sp-2: .5rem; --sp-3: .75rem; --sp-4: 1rem; --sp-5: 1.5rem; --sp-6: 2rem; --sp-7: 2.5rem;
  --sp-8: 3rem; --sp-9: 4rem; --sp-10: 5rem; --sp-11: 6rem; --sp-12: 8rem;
  --section-y: clamp(4rem, 2.4rem + 7vw, 8rem);
  --radius-xs: 6px; --radius-sm: 10px; --radius: 12px; --radius-lg: 16px;
  --container: 1200px; --container-narrow: 760px;

  --ease-out: cubic-bezier(.16, 1, .3, 1);        /* expo-out */
  --ease-quart: cubic-bezier(.25, 1, .5, 1);
  --dur-fast: .16s; --dur: .22s; --dur-slow: .45s;

  /* Escala z semántica */
  --z-levels: 10; --z-header: 20; --z-sticky: 22; --z-dock: 24; --z-chat: 26; --z-progress: 28;
  --z-modal: 30; --z-toast: 40; --z-sparks: 45; --z-skip: 50;

  --accent: var(--yellow); --accent-soft: rgba(243, 217, 19, .16); --accent-ink: var(--text-ink);
  --header-h: 72px;
}
[data-theme="estelares"] { --accent: var(--rose); --accent-soft: rgba(255, 92, 122, .16); --accent-ink: #1a0610; }

/* ---------------------------------------------------------------- BASE */
*, ::before, ::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { overflow-x: clip; font-size: 100%; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
body { font-family: var(--font-body); font-size: var(--fs-base); line-height: 1.7; color: var(--text); background-color: var(--bg);
  overflow-x: clip; min-height: 100vh; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg, video, canvas, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
ul, ol { list-style: none; }
:where(h1, h2, h3, h4) { text-wrap: balance; }
p { text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 4px; }
:focus:not(:focus-visible) { outline: none; }
::selection { background: var(--yellow); color: var(--text-ink); }
[hidden] { display: none !important; }

h1, .h1 { font-size: var(--fs-hero); font-weight: 900; line-height: 1; letter-spacing: -.04em; }
h2, .h2 { font-size: var(--fs-3xl); font-weight: 800; line-height: 1.1; letter-spacing: -.025em; }
h3, .h3 { font-size: var(--fs-xl); font-weight: 700; line-height: 1.22; letter-spacing: -.015em; }

.skip-link { position: absolute; left: var(--sp-4); top: -100px; z-index: var(--z-skip); padding: var(--sp-3) var(--sp-5); background: var(--yellow);
  color: var(--text-ink); font-weight: 800; border-radius: var(--radius-sm); transition: top var(--dur) var(--ease-out); }
.skip-link:focus { top: var(--sp-4); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.no-select, .no-select * { -webkit-user-select: none; user-select: none; }
.no-select input, .no-select textarea, .no-select select, .no-select [contenteditable="true"] { -webkit-user-select: text !important; user-select: text !important; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(1rem, .6rem + 2vw, 1.5rem); }
.container--narrow { max-width: var(--container-narrow); }
.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: calc(var(--section-y) * .55); }
.section-head { margin-bottom: clamp(2rem, 1.4rem + 2.5vw, 3.5rem); max-width: 900px; }
.text-center { text-align: center; }

/* Kicker de nivel: sistema propio del juego (no un eyebrow genérico) */
.eyebrow { display: inline-flex; align-items: center; gap: var(--sp-2); margin-bottom: var(--sp-4); padding: 5px 12px 5px 10px;
  font-family: var(--font-mono); font-size: var(--fs-xs); font-weight: 700; letter-spacing: .06em; color: var(--accent);
  border: 1px solid currentColor; border-radius: 100px; background: var(--ink-900); }
.eyebrow::before { content: ""; width: 7px; height: 7px; background: currentColor; transform: rotate(45deg); flex: 0 0 auto; }
.display-italic { font-family: var(--font-display); font-style: italic; font-weight: 600; letter-spacing: -.01em; color: var(--accent); }
.section-title { margin-bottom: var(--sp-4); max-width: 22ch; }
.section-desc { font-size: var(--fs-lg); color: var(--text-2); max-width: 62ch; line-height: 1.65; }

.rec { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgba(242, 16, 73, .6); animation: rec 1.6s var(--ease-out) infinite; flex: 0 0 auto; display: inline-block; }

/* ---------------------------------------------------------------- BOTONES */
.btn { --btn-bg: transparent; --btn-fg: var(--text); --btn-bd: transparent; display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-3);
  min-height: 48px; padding: var(--sp-3) var(--sp-6); font-family: var(--font-body); font-size: var(--fs-sm); font-weight: 800; letter-spacing: .005em;
  text-align: center; color: var(--btn-fg); background: var(--btn-bg); border: 2px solid var(--btn-bd); border-radius: 100px; cursor: pointer;
  transition: transform var(--dur-fast) var(--ease-out), background-color var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out), color var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out); }
.btn:active { transform: scale(.97); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }
.btn svg { flex: 0 0 auto; }
.btn--primary { --btn-bg: var(--violet-500); --btn-fg: #fff; --btn-bd: var(--violet-500); }
.btn--gold { --btn-bg: var(--yellow); --btn-fg: var(--text-ink); --btn-bd: var(--yellow); box-shadow: 0 4px 0 #a99500; }
.btn--gold:active { box-shadow: 0 1px 0 #a99500; transform: translateY(3px) scale(.98); }
.btn--ghost { --btn-fg: var(--text); --btn-bd: var(--line-hi); --btn-bg: var(--ink-900); }
.btn--yt { --btn-bg: #c4161c; --btn-fg: #fff; --btn-bd: #c4161c; box-shadow: 0 4px 0 #7d0d11; }   /* 5.9:1 */
.btn--wa { --btn-bg: #157a41; --btn-bd: #157a41; --btn-fg: #fff; }
.btn--block { width: 100%; }
.btn--lg { min-height: 56px; padding: var(--sp-4) var(--sp-7); font-size: var(--fs-base); }
.btn--sm { min-height: 40px; padding: var(--sp-2) var(--sp-4); font-size: var(--fs-xs); }
.btn.is-loading { pointer-events: none; opacity: .75; }
.btn--start { position: relative; isolation: isolate; }
.btn--start::after { content: ""; position: absolute; inset: -6px; border-radius: inherit; border: 2px solid var(--yellow); opacity: 0; z-index: -1; animation: ring 2.6s var(--ease-out) 1.2s 4; }
@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover { --btn-bg: var(--violet-600); --btn-bd: var(--violet-600); }
  .btn--gold:hover { --btn-bg: var(--yellow-hi); --btn-bd: var(--yellow-hi); }
  .btn--ghost:hover { --btn-bd: var(--violet-300); --btn-bg: var(--ink-700); }
  .btn--yt:hover { --btn-bg: #a51217; --btn-bd: #a51217; }
  .btn--wa:hover { --btn-bg: #0f6634; --btn-bd: #0f6634; }
}
.link-btn { color: var(--violet-300); text-decoration: underline; text-underline-offset: 3px; font-weight: 700; }
.link-ext { display: inline-flex; align-items: center; gap: var(--sp-2); font-size: var(--fs-xs); font-weight: 700; color: var(--text-2);
  padding: var(--sp-2) var(--sp-3); border-radius: 100px; border: 1px solid var(--line); min-height: 38px; background: var(--ink-900);
  transition: color var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out), background-color var(--dur) var(--ease-out); }
.link-ext:active { transform: scale(.97); }
.link-ext--gold { color: var(--yellow); border-color: var(--hud-line); }
@media (hover: hover) and (pointer: fine) { .link-ext:hover { color: var(--text); border-color: var(--line-hi); background: var(--ink-700); } }

/* ---------------------------------------------------------------- SUPERFICIES */
.card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--sp-6);
  transition: border-color var(--dur) var(--ease-out), background-color var(--dur) var(--ease-out); }
.tilt { transform-style: preserve-3d; will-change: transform; }
@media (hover: hover) and (pointer: fine) { .tilt:hover { border-color: var(--line-hi); } }

/* ---------------------------------------------------------------- FONDO */
.backdrop { position: fixed; inset: 0; z-index: -3; pointer-events: none;
  background: radial-gradient(1100px 620px at 80% -10%, rgba(94, 23, 235, .26), transparent 62%),
              radial-gradient(900px 520px at 8% 6%, rgba(76, 17, 196, .18), transparent 60%),
              radial-gradient(1000px 700px at 50% 110%, rgba(94, 23, 235, .12), transparent 62%), var(--bg); }
/* Nebulosas: brillan en el héroe y los interludios, se atenúan al leer (--sky lo publica cosmos.js) */
.backdrop::before, .backdrop::after { content: ""; position: absolute; inset: 0; opacity: calc(.35 + .65 * var(--sky, 1)); transition: opacity .6s var(--ease-out); }
.backdrop::before { background: radial-gradient(700px 520px at 74% 62%, rgba(242, 16, 73, .20), transparent 65%); }
.backdrop::after { background: radial-gradient(820px 600px at 28% 30%, rgba(94, 23, 235, .30), transparent 66%); }
#cosmos { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -2; pointer-events: none; opacity: 0; transition: opacity 1.2s var(--ease-out); }
#cosmos.is-ready { opacity: 1; }
.sparks { position: fixed; inset: 0; z-index: var(--z-sparks); pointer-events: none; }
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: var(--z-progress); pointer-events: none; }
.progress span { display: block; height: 100%; transform: scaleX(0); transform-origin: 0 50%; background: linear-gradient(90deg, var(--yellow), var(--red) 55%, var(--violet-500)); }
html:not(.motion-on) .progress { display: none; }

/* ---------------------------------------------------------------- AVISO APP */
.inapp { position: relative; z-index: calc(var(--z-header) + 1); background: var(--violet-700); border-bottom: 2px solid var(--yellow); }
.inapp__inner { display: flex; align-items: center; gap: var(--sp-3); padding-block: var(--sp-3); flex-wrap: wrap; }
.inapp__text { font-size: var(--fs-xs); flex: 1 1 240px; line-height: 1.5; }
.inapp__close { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255,255,255,.5); }

/* ---------------------------------------------------------------- MARQUESINA */
.marquee { position: relative; overflow: hidden; background: var(--violet-600); }
.marquee__inner { display: flex; align-items: center; gap: var(--sp-4); padding: 6px 0; }
.marquee__viewport { overflow: hidden; flex: 1 1 0%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.marquee__track { display: flex; align-items: center; gap: var(--sp-8); white-space: nowrap; width: max-content; animation: marquee-run 44s linear infinite; }
.marquee__track > * { font-size: var(--fs-sm); font-weight: 700; }
.marquee.is-paused .marquee__track { animation-play-state: paused; }
@media (hover: hover) and (pointer: fine) { .marquee:hover .marquee__track { animation-play-state: paused; } }
.marquee__pause { flex: 0 0 auto; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .5); color: #fff; transition: background-color var(--dur) var(--ease-out); }
.marquee__cta { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: var(--sp-2) var(--sp-4); border-radius: 100px;
  background: var(--yellow); color: var(--text-ink); font-size: var(--fs-xs); font-weight: 800; transition: background-color var(--dur) var(--ease-out); }
.marquee__cta:active { transform: scale(.97); }
.marquee__dot { color: var(--yellow); }
@media (hover: hover) and (pointer: fine) { .marquee__pause:hover { background: rgba(255, 255, 255, .18); } .marquee__cta:hover { background: #fff; } }

/* ---------------------------------------------------------------- HEADER */
.header { position: sticky; top: 0; z-index: var(--z-header); background: rgba(15, 12, 51, .94); border-bottom: 1px solid transparent;
  transition: background-color var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out); }
.header.is-scrolled { background: var(--ink-900); border-bottom-color: var(--line); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-5); min-height: var(--header-h); }
.header__logo { display: flex; align-items: center; gap: var(--sp-3); }
.header__logo img { height: 38px; width: auto; }
.header__badge { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 12px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--yellow); border: 1px solid var(--hud-line); border-radius: var(--radius-xs); padding: 3px 8px; }
.nav__list { display: flex; align-items: center; gap: 2px; }
.nav__link { position: relative; display: block; padding: var(--sp-2) var(--sp-3); font-size: var(--fs-sm); font-weight: 700; color: var(--text-2); border-radius: var(--radius-sm);
  transition: color var(--dur) var(--ease-out), background-color var(--dur) var(--ease-out); }
.nav__link[aria-current="true"] { color: var(--yellow); }
.nav__link[aria-current="true"]::after { content: ""; position: absolute; left: var(--sp-3); right: var(--sp-3); bottom: 2px; height: 2px; background: var(--yellow); border-radius: 2px; }
.nav__cta { margin-left: var(--sp-3); }
.nav__cta .btn { min-height: 44px; padding-inline: var(--sp-5); }
@media (hover: hover) and (pointer: fine) { .nav__link:hover { color: var(--text); background: var(--ink-700); } }
.nav-toggle { display: none; width: 48px; height: 48px; align-items: center; justify-content: center; border-radius: var(--radius-sm); border: 1px solid var(--line-hi); }
.nav-toggle__bars { display: block; width: 22px; height: 15px; position: relative; }
.nav-toggle__bars span { position: absolute; left: 0; width: 100%; height: 2px; background: var(--text); border-radius: 2px; transition: transform var(--dur) var(--ease-out), opacity var(--dur-fast) var(--ease-out); }
.nav-toggle__bars span:nth-child(1) { top: 0; } .nav-toggle__bars span:nth-child(2) { top: 6.5px; } .nav-toggle__bars span:nth-child(3) { top: 13px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mapa de niveles (scroll spy) */
.levels-map { position: fixed; right: 18px; top: 50%; transform: translateY(-50%); z-index: var(--z-levels); display: none; flex-direction: column; gap: 12px; }
.levels-map a { position: relative; display: block; width: 12px; height: 12px; border-radius: 3px; border: 1.5px solid var(--line-hi); transform: rotate(45deg); background: var(--ink-900);
  transition: background-color var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out); }
.levels-map a::before { content: ""; position: absolute; inset: -8px; }
.levels-map a span { position: absolute; right: 24px; top: 50%; transform: rotate(-45deg) translate(6px, -4px); transform-origin: right center; white-space: nowrap;
  padding: 3px 8px; border-radius: var(--radius-xs); background: var(--ink-900); border: 1px solid var(--line);
  font-family: var(--font-mono); font-size: 12px; color: var(--text); opacity: 0; pointer-events: none; transition: opacity var(--dur) var(--ease-out); }
.levels-map a.is-active { background: var(--yellow); border-color: var(--yellow); }
.levels-map a.is-done { border-color: var(--yellow); background: rgba(243, 217, 19, .35); }
.levels-map a:hover span, .levels-map a:focus-visible span { opacity: 1; }

/* ---------------------------------------------------------------- HERO */
.hero { position: relative; padding-block: clamp(2rem, .8rem + 5vw, 4.5rem) var(--sp-8); min-height: calc(100svh - var(--header-h) - 48px); display: flex; flex-direction: column; justify-content: center; }
.hero__grid { display: grid; gap: var(--sp-8); align-items: center; }
.hero__content { min-width: 0; position: relative; z-index: 2; }
.breadcrumb { margin-bottom: var(--sp-4); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: var(--sp-2); font-size: var(--fs-xs); color: var(--text-3); }
.breadcrumb li + li::before { content: "/"; margin-right: var(--sp-2); color: var(--line-hi); }
.breadcrumb a { color: var(--text-2); text-decoration: underline; text-decoration-color: var(--line-hi); text-underline-offset: 3px; }
.breadcrumb a:hover { color: var(--yellow); }
.hero .eyebrow { color: var(--yellow); }
.hero .eyebrow::before { display: none; }
.hero__title { display: flex; flex-direction: column; margin-bottom: var(--sp-5); font-size: var(--fs-hero); font-weight: 900; }
/* CÁPSULA: se mantiene como estaba (brillo + aberración cromática) */
.hero__title-top { display: block; line-height: 1; letter-spacing: -.04em; padding: .14em .06em 0 0; margin-top: -.14em;
  background: linear-gradient(100deg, #fff 10%, var(--yellow-hi) 45%, #fff 70%); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 6s ease-in-out infinite; filter: drop-shadow(4px 0 0 rgba(242, 16, 73, .5)) drop-shadow(-4px 0 0 rgba(94, 23, 235, .65)); }
/* DIGITAL: relleno amarillo en cursiva (antes en contorno) */
.hero__title-bottom { display: block; line-height: .95; font-style: italic; font-weight: 900; letter-spacing: -.035em; color: var(--yellow); margin-left: .02em; padding-right: .08em;
  text-shadow: 4px 4px 0 var(--red-aa); }
.hero__title .char { display: inline-block; }
.past-hero .hero__title-top { animation-play-state: paused; }   /* el brillo repinta: se detiene fuera del héroe */
.hero__claim { font-size: var(--fs-xl); margin-bottom: var(--sp-4); line-height: 1.3; }
.hero__claim .display-italic { color: var(--text); }
.hero__sub { font-size: var(--fs-lg); color: var(--text-2); max-width: 54ch; margin-bottom: var(--sp-6); }
.hero__sub strong { color: var(--text); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); align-items: center; margin-bottom: var(--sp-4); }
.hero__actions .btn--lg { padding-inline: var(--sp-6); }
.hero__note { font-size: var(--fs-xs); color: var(--text-3); display: flex; align-items: center; gap: var(--sp-2); }
.hero__note svg { color: var(--green); flex: 0 0 auto; }
.hero__visual { position: relative; min-height: 360px; pointer-events: none; }
.hero__scroll { position: relative; margin: var(--sp-6) auto 0; width: max-content; display: flex; flex-direction: column; align-items: center; gap: var(--sp-2);
  font-family: var(--font-mono); font-size: 12px; color: var(--text-3); }
.hero__mouse { width: 22px; height: 34px; border: 2px solid var(--line-hi); border-radius: 12px; display: grid; justify-items: center; padding-top: 6px; }
.hero__mouse span { width: 3px; height: 7px; border-radius: 3px; background: var(--yellow); animation: wheel 1.8s var(--ease-out) infinite; }

/* Panel HUD de métricas */
.hud { position: relative; z-index: 2; margin-top: var(--sp-8); padding: var(--sp-5) var(--sp-6) var(--sp-4); border-radius: var(--radius-lg); border: 1px solid var(--hud-line); background: var(--ink-900); }
.hud::before, .hud::after { content: ""; position: absolute; width: 22px; height: 22px; border: 3px solid var(--yellow); pointer-events: none; }
.hud::before { top: -2px; left: -2px; border-right: 0; border-bottom: 0; border-radius: var(--radius-lg) 0 0 0; }
.hud::after { bottom: -2px; right: -2px; border-left: 0; border-top: 0; border-radius: 0 0 var(--radius-lg) 0; }
.hud__head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--sp-2) var(--sp-4); margin-bottom: var(--sp-4); }
.hud__title { font-family: var(--font-mono); font-size: var(--fs-xs); font-weight: 700; letter-spacing: .06em; color: var(--yellow); display: flex; align-items: center; gap: var(--sp-2); }
.hud__blink { width: 8px; height: 8px; background: var(--green); border-radius: 50%; animation: blink 1.2s steps(2) infinite; }
.hud__sync { font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--text-3); }
.hud__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-3); }
.stat { position: relative; display: grid; gap: 4px; padding: var(--sp-4); border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.stat__icon { color: var(--violet-300); margin-bottom: var(--sp-1); }
.stat__num { font-size: var(--fs-2xl); font-weight: 900; line-height: 1; color: var(--yellow); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.stat__label { font-size: var(--fs-xs); color: var(--text-2); line-height: 1.4; }
.stat__bar { display: block; height: 4px; margin-top: var(--sp-2); border-radius: 4px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.stat__bar span { display: block; height: 100%; width: 100%; background: var(--yellow); border-radius: inherit; transform: scaleX(0); transform-origin: 0 50%; transition: transform 1.6s var(--ease-out); }
.hud__note { margin-top: var(--sp-4); font-size: var(--fs-xs); color: var(--text-3); line-height: 1.55; }

/* ---------------------------------------------------------------- MISIÓN · MAZO DE TARJETAS */
/* Por defecto (sin GSAP o con movimiento reducido) es una cuadrícula legible.
   Con .is-stacked se convierte en el mazo fijado al estilo spicy4tuna. */
.deck { position: relative; }
.deck__sticky { position: relative; }
.deck__layout { display: grid; gap: var(--sp-6); }
.deck__aside { display: none; }
.deck__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--sp-4); }
.brief { --c-bg: var(--surface); --c-fg: var(--text); --c-fg-2: var(--text-2); --c-tag: var(--yellow);
  position: relative; display: flex; flex-direction: column; gap: var(--sp-3); padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  border-radius: var(--radius-lg); background: var(--c-bg); color: var(--c-fg); }
.brief:nth-child(1) { --c-bg: var(--yellow); --c-fg: var(--text-ink); --c-fg-2: #2a2552; --c-tag: var(--text-ink); }
.brief:nth-child(2) { --c-bg: var(--violet-500); --c-fg: #fff; --c-fg-2: #f1ecff; --c-tag: var(--yellow); }
.brief:nth-child(3) { --c-bg: var(--red-aa); --c-fg: #fff; --c-fg-2: #fff0f3; --c-tag: #fff; }
.brief:nth-child(4) { --c-bg: var(--violet-300); --c-fg: var(--text-ink); --c-fg-2: #2a2552; --c-tag: var(--violet-700); }
.brief__tag { align-self: flex-start; font-family: var(--font-mono); font-size: var(--fs-xs); font-weight: 700; letter-spacing: .04em; color: var(--c-tag);
  border: 1.5px solid currentColor; border-radius: 100px; padding: 3px 12px; }
.brief__icon { color: var(--c-fg); opacity: .9; }
.brief h3 { font-size: var(--fs-xl); font-weight: 800; color: var(--c-fg); max-width: 20ch; }
.brief p { font-size: var(--fs-sm); color: var(--c-fg-2); line-height: 1.65; }

.deck.is-stacked { height: 330vh; }
.deck.is-stacked .deck__sticky { position: sticky; top: var(--header-h); height: calc(100svh - var(--header-h)); display: flex; align-items: center; overflow: clip; }
.deck.is-stacked .deck__layout { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: center; width: 100%; }
.deck.is-stacked .deck__aside { display: grid; gap: var(--sp-3); align-content: center; }
.deck.is-stacked .deck__list { display: grid; grid-template-columns: 1fr; justify-items: center; perspective: 1400px; }
.deck.is-stacked .deck__card { grid-area: 1 / 1; width: min(560px, 100%); min-height: min(440px, 62svh); transform-origin: 50% 90%; will-change: transform; }
.deck.is-stacked .brief h3 { font-size: var(--fs-2xl); }
.deck__count { font-size: clamp(4rem, 2rem + 6vw, 7.5rem); font-weight: 900; line-height: .9; letter-spacing: -.04em; color: var(--yellow); font-variant-numeric: tabular-nums; }
.deck__count small { font-size: .3em; letter-spacing: 0; color: var(--text-3); margin-left: .2em; }
.deck__hint { font-size: var(--fs-sm); color: var(--text-3); max-width: 24ch; }

.formats { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); margin-top: var(--sp-8); }
.format { position: relative; display: grid; gap: var(--sp-2); padding: var(--sp-6); border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--surface);
  transition: border-color var(--dur) var(--ease-out), background-color var(--dur) var(--ease-out); }
.format--capsula { border-color: var(--hud-line); }
.format--estelares { border-color: rgba(255, 92, 122, .5); }
.format:active { transform: scale(.98); }
.format__kicker { font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--text-3); }
.format__name { font-size: var(--fs-2xl); font-weight: 900; letter-spacing: -.03em; line-height: 1.05; }
.format--capsula .format__name { color: var(--yellow); } .format--estelares .format__name { color: var(--rose); }
.format__desc { color: var(--text-2); font-size: var(--fs-sm); max-width: 44ch; }
.format__go { display: inline-flex; align-items: center; gap: var(--sp-2); font-weight: 800; font-size: var(--fs-sm); margin-top: var(--sp-2); }
.format__go svg { transition: transform var(--dur) var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .format:hover { background: var(--surface-2); } .format:hover .format__go svg { transform: translateX(4px); } }

/* ---------------------------------------------------------------- INTERLUDIOS (el 3D muta) */
.interlude { position: relative; }
.interlude__sticky { position: relative; display: flex; align-items: center; padding-block: var(--section-y); }
.interlude__inner { position: relative; z-index: 2; }
.interlude__kicker { display: inline-flex; align-items: center; gap: var(--sp-2); margin-bottom: var(--sp-5); font-family: var(--font-mono); font-size: var(--fs-sm); font-weight: 700; color: var(--yellow); }
.interlude__title { font-size: var(--fs-interlude); font-weight: 900; line-height: 1; letter-spacing: -.035em; max-width: 12ch; color: #fff; text-wrap: balance; }
.interlude__title em { display: block; font-style: italic; color: var(--yellow); }
.interlude__sub { margin-top: var(--sp-5); max-width: 40ch; font-size: var(--fs-lg); color: var(--text-2); }
.interlude__meter { margin-top: var(--sp-6); width: min(320px, 70%); height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .14); overflow: hidden; }
.interlude__meter span { display: block; height: 100%; background: var(--grad-explora); transform-origin: 0 50%; }
html:not(.motion-on) .interlude__meter { display: none; }
.motion-on .interlude { height: 230vh; }
.motion-on .interlude__sticky { position: sticky; top: 0; height: 100svh; padding-block: 0; }
.interlude[data-morph="2"] .interlude__title em { color: var(--rose); }
.interlude[data-morph="3"] .interlude__title em { color: var(--violet-300); }

/* ---------------------------------------------------------------- REPRODUCTOR (consola) */
.section--player .section-head { max-width: 860px; }
.console { display: grid; grid-template-columns: minmax(0, 1.62fr) minmax(0, 1fr); gap: var(--sp-4); align-items: start; }
.console__main { min-width: 0; display: grid; gap: var(--sp-3); }
/* IMPORTANTE: ningún ancestro de .screen__frame puede tener transform, filter o
   clip-path; si no, el mini reproductor fijo dejaría de flotar. */
.screen { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); background: #05040f; }
.screen__frame { position: absolute; inset: 0; border-radius: var(--radius-lg); overflow: hidden; background: #05040f; box-shadow: 0 0 0 1px var(--line-hi); transition: box-shadow var(--dur) var(--ease-out); }
.console.is-playing .screen__frame { box-shadow: 0 0 0 2px var(--accent), 0 0 48px var(--accent-soft); }
.screen__video, .screen__yt, .screen__yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.screen__hud { position: absolute; z-index: 3; top: 0; left: 0; right: 0; display: flex; justify-content: space-between; align-items: center; gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-4); font-family: var(--font-mono); font-size: 12px; font-weight: 700; pointer-events: none;
  background: linear-gradient(180deg, rgba(5, 4, 15, .9), transparent); transition: opacity var(--dur) var(--ease-out); }
.console.is-playing .screen__hud { opacity: 0; }
.screen__live { display: inline-flex; align-items: center; gap: 8px; color: #fff; }
.screen__ep { color: var(--accent); }
.screen__poster { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; display: block; background: #05040f; cursor: pointer; transition: opacity var(--dur) var(--ease-out); }
.screen__poster img { width: 100%; height: 100%; object-fit: cover; opacity: .55; transition: opacity var(--dur) var(--ease-out), transform .6s var(--ease-out); }
.screen__poster::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at center, transparent 20%, rgba(5, 4, 15, .8) 85%); }
.screen__start { position: absolute; inset: 0; z-index: 1; display: grid; place-content: center; justify-items: center; gap: var(--sp-3); }
.screen__start-btn { width: 88px; height: 88px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink);
  box-shadow: 0 0 0 10px var(--accent-soft); transition: transform var(--dur) var(--ease-out); }
.screen__start-btn svg { margin-left: 5px; }
.screen__start-label { font-family: var(--font-mono); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #fff; padding: 4px 10px; border-radius: var(--radius-xs); background: rgba(5, 4, 15, .7); }
.screen__poster:active .screen__start-btn { transform: scale(.94); }
@media (hover: hover) and (pointer: fine) { .screen__poster:hover img { opacity: .72; transform: scale(1.03); } .screen__poster:hover .screen__start-btn { transform: scale(1.06); } }
.console.has-started .screen__poster { opacity: 0; pointer-events: none; }
.screen__unmute { position: absolute; z-index: 4; left: 50%; bottom: var(--sp-5); transform: translateX(-50%); display: inline-flex; align-items: center; gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-5); border-radius: 100px; background: var(--yellow); color: var(--text-ink); font-weight: 800; font-size: var(--fs-sm);
  box-shadow: 0 0 0 6px rgba(243, 217, 19, .25); animation: bob 2s ease-in-out 5; }
.screen__unmute:active { transform: translateX(-50%) scale(.97); }
.corner { position: absolute; z-index: 3; width: 18px; height: 18px; border: 2px solid var(--accent); pointer-events: none; }
.corner--tl { top: 8px; left: 8px; border-right: 0; border-bottom: 0; } .corner--tr { top: 8px; right: 8px; border-left: 0; border-bottom: 0; }
.corner--bl { bottom: 8px; left: 8px; border-right: 0; border-top: 0; } .corner--br { bottom: 8px; right: 8px; border-left: 0; border-top: 0; }
.console.is-playing .corner { opacity: 0; }
.screen__dockbar { display: none; }

/* Mini reproductor flotante */
.screen__frame.is-docked { position: fixed; inset: auto calc(var(--sp-5) + 76px) var(--sp-5) auto; width: min(360px, calc(100vw - 2rem)); height: auto; aspect-ratio: 16 / 9; z-index: var(--z-dock);
  border-radius: var(--radius); box-shadow: 0 0 0 2px var(--accent), 0 12px 24px rgba(0, 0, 0, .55); animation: dock-in .28s var(--ease-out); }
.screen__frame.is-docked .screen__hud, .screen__frame.is-docked .corner, .screen__frame.is-docked .screen__unmute { display: none; }
.screen__frame.is-docked .screen__dockbar { position: absolute; z-index: 5; left: 0; right: 0; top: 0; display: flex; align-items: center; gap: var(--sp-2); padding: 6px 6px 6px 12px;
  background: linear-gradient(180deg, rgba(5, 4, 15, .95), rgba(5, 4, 15, 0)); opacity: 0; transition: opacity var(--dur) var(--ease-out); }
.screen__frame.is-docked:hover .screen__dockbar, .screen__frame.is-docked:focus-within .screen__dockbar { opacity: 1; }
@media (hover: none) { .screen__frame.is-docked .screen__dockbar { opacity: 1; } }
.screen__dock-title { flex: 1; min-width: 0; font-size: 13px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.screen__dock-btn { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .16); flex: 0 0 auto; transition: background-color var(--dur) var(--ease-out); }
.screen__dock-btn:active { transform: scale(.94); }
@media (hover: hover) and (pointer: fine) { .screen__dock-btn:hover { background: rgba(255, 255, 255, .28); } }

/* Controles */
.controls { padding: var(--sp-3) var(--sp-4) var(--sp-4); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.controls__progress { position: relative; height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .14); cursor: pointer; margin-bottom: var(--sp-3); touch-action: none; }
.controls__progress::before { content: ""; position: absolute; inset: -10px 0; }
.controls__fill { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: inherit; background: var(--accent); }
.controls__fill::after { content: ""; position: absolute; right: -7px; top: 50%; width: 14px; height: 14px; border-radius: 50%; background: #fff; transform: translateY(-50%) scale(0); transition: transform var(--dur-fast) var(--ease-out); }
.controls__progress:hover .controls__fill::after, .controls__progress:focus-visible .controls__fill::after { transform: translateY(-50%) scale(1); }
.controls__row { display: flex; align-items: center; gap: var(--sp-4); }
.controls__btns { display: flex; align-items: center; gap: var(--sp-2); flex: 0 0 auto; }
.ctrl { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; color: var(--text); border: 1px solid var(--line-hi); background: var(--ink-900);
  transition: background-color var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out), transform var(--dur-fast) var(--ease-out); }
.ctrl:active { transform: scale(.94); }
.ctrl--main { width: 52px; height: 52px; background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
@media (hover: hover) and (pointer: fine) { .ctrl:hover { background: var(--ink-700); border-color: var(--violet-300); } .ctrl--main:hover { background: var(--accent); filter: brightness(1.08); } }
.controls__now { min-width: 0; flex: 1; display: grid; }
.controls__kicker { font-family: var(--font-mono); font-size: 12px; font-weight: 700; color: var(--accent); }
.controls__title { font-weight: 700; font-size: var(--fs-sm); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.controls__time { font-family: var(--font-mono); font-size: 13px; color: var(--text-3); flex: 0 0 auto; font-variant-numeric: tabular-nums; }
.controls__extra { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-top: var(--sp-3); }

/* Lista de episodios («selección de nivel») */
.console__list { min-width: 0; display: flex; flex-direction: column; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--surface); max-height: 640px; overflow: hidden; }
.list__head { display: flex; justify-content: space-between; align-items: baseline; gap: var(--sp-3); padding: var(--sp-4) var(--sp-4) var(--sp-2); }
.list__title { font-family: var(--font-mono); font-size: 13px; font-weight: 700; color: var(--accent); }
.list__count { font-size: var(--fs-xs); color: var(--text-3); }
.list__search { margin: 0 var(--sp-4) var(--sp-3); display: flex; align-items: center; gap: var(--sp-2); padding: 0 var(--sp-3); border-radius: 100px; border: 1px solid var(--line-hi); background: var(--surface-sunk); color: var(--text-3); }
.list__search:focus-within { border-color: var(--accent); }
.list__search input { flex: 1; min-width: 0; height: 42px; background: transparent; border: 0; outline: none; font-size: var(--fs-sm); color: var(--text); }
.list__search input::placeholder { color: var(--text-3); opacity: 1; }
.eps { flex: 1; overflow-y: auto; padding: 0 var(--sp-2) var(--sp-2); scrollbar-width: thin; scrollbar-color: var(--ink-600) transparent; overscroll-behavior: contain; }
.ep { display: grid; grid-template-columns: 112px 1fr; gap: var(--sp-3); align-items: center; width: 100%; padding: var(--sp-2); border-radius: var(--radius); text-align: left;
  border: 1px solid transparent; transition: background-color var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out); }
.ep:active { transform: scale(.98); }
.ep__thumb { position: relative; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: var(--ink-700); }
.ep__thumb img { width: 100%; height: 100%; object-fit: cover; }
.ep__dur { position: absolute; right: 4px; bottom: 4px; padding: 1px 5px; border-radius: 4px; background: rgba(0, 0, 0, .85); font-family: var(--font-mono); font-size: 11px; color: #fff; }
.ep__bars { position: absolute; inset: 0; display: none; place-items: center; background: rgba(5, 4, 15, .6); }
.ep__bars i { display: inline-block; width: 3px; height: 14px; margin: 0 1.5px; background: var(--accent); border-radius: 2px; animation: eq .9s ease-in-out infinite; }
.ep__bars i:nth-child(2) { animation-delay: .15s; } .ep__bars i:nth-child(3) { animation-delay: .3s; }
.ep__info { min-width: 0; display: grid; gap: 3px; }
.ep__meta { font-family: var(--font-mono); font-size: 12px; color: var(--text-3); display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.ep__title { font-size: 14px; font-weight: 600; line-height: 1.38; color: var(--text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.badge { display: inline-block; padding: 1px 6px; border-radius: 4px; font-family: var(--font-mono); font-size: 11px; font-weight: 700; }
.badge--new { background: var(--accent); color: var(--accent-ink); }
.badge--soon { border: 1px solid var(--line-hi); color: var(--violet-300); }
.ep.is-active { background: var(--accent-soft); border-color: var(--accent); }
.ep.is-active .ep__bars { display: grid; }
.console:not(.is-playing) .ep.is-active .ep__bars i { animation-play-state: paused; }
.ep.is-soon .ep__thumb, .ep.is-soon .ep__title { opacity: .75; }
@media (hover: hover) and (pointer: fine) { .ep:not(.is-soon):hover { background: var(--surface-2); border-color: var(--line); } }
.eps__empty { padding: var(--sp-5); text-align: center; font-size: var(--fs-sm); color: var(--text-3); }
.list__more { display: flex; justify-content: center; align-items: center; gap: var(--sp-2); padding: var(--sp-3); min-height: 48px; font-size: var(--fs-xs); font-weight: 700; color: var(--text-2); border-top: 1px solid var(--line); }
@media (hover: hover) and (pointer: fine) { .list__more:hover { color: var(--accent); } }

/* ---------------------------------------------------------------- PLATAFORMAS */
.platforms { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: var(--sp-3); }
.platforms > li { display: flex; }
.platforms > li > .platform { flex: 1; }
.platform { --brand: var(--violet-300); position: relative; display: flex; align-items: center; gap: var(--sp-3); padding: var(--sp-4); min-height: 76px; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--surface); transition: border-color var(--dur) var(--ease-out), background-color var(--dur) var(--ease-out); }
.platform:active { transform: scale(.97); }
.platform__icon { position: relative; width: 44px; height: 44px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 12px; background: var(--brand); color: #fff; }
.platform__icon--dark { color: #111; }
.platform__info { position: relative; min-width: 0; display: grid; }
.platform__name { font-weight: 700; font-size: var(--fs-sm); }
.platform__note { font-size: var(--fs-xs); color: var(--text-3); }
.platform__go { position: relative; margin-left: auto; color: var(--text-3); transition: transform var(--dur) var(--ease-out), color var(--dur) var(--ease-out); flex: 0 0 auto; }
.platform--top { border-color: var(--line-hi); }
@media (hover: hover) and (pointer: fine) { .platform:hover { border-color: var(--brand); background: var(--surface-2); } .platform:hover .platform__go { color: var(--text); transform: translate(2px, -2px); } }
.platform__copy { position: relative; margin-left: auto; padding: 6px 10px; border-radius: 100px; font-size: 12px; font-weight: 700; border: 1px solid var(--line-hi); flex: 0 0 auto; }
.listen { margin-top: var(--sp-7); padding: var(--sp-5); }
.listen__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--sp-4); margin-bottom: var(--sp-4); }
.listen__kicker { font-family: var(--font-mono); font-size: 13px; font-weight: 700; color: var(--yellow); margin-bottom: var(--sp-1); }
.listen h3 { font-size: var(--fs-lg); }
.listen__panel { position: relative; min-height: 232px; border-radius: var(--radius); overflow: hidden; background: var(--surface-sunk); border: 1px dashed var(--line-hi); display: grid; }
.listen__panel iframe { width: 100%; height: 352px; border: 0; border-radius: var(--radius); }
.listen__load { display: grid; place-content: center; justify-items: center; gap: var(--sp-2); padding: var(--sp-6); color: var(--text-2); font-size: var(--fs-sm); }
.listen__load svg { width: 58px; height: 58px; padding: 17px; border-radius: 50%; background: var(--yellow); color: var(--text-ink); box-sizing: border-box; transition: transform var(--dur) var(--ease-out); }
.listen__load small { font-size: var(--fs-xs); color: var(--text-3); }
.listen__load:active svg { transform: scale(.94); }
.tabs { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 100px; background: var(--surface-sunk); border: 1px solid var(--line); }
.tabs--center { display: flex; width: max-content; max-width: 100%; margin: 0 auto var(--sp-5); }
.tab { display: inline-flex; align-items: center; gap: var(--sp-2); padding: var(--sp-2) var(--sp-4); min-height: 42px; border-radius: 100px; font-size: var(--fs-sm); font-weight: 700; color: var(--text-2);
  transition: background-color var(--dur) var(--ease-out), color var(--dur) var(--ease-out); }
.tab:active { transform: scale(.97); }
.tab.is-active { background: var(--yellow); color: var(--text-ink); }
@media (hover: hover) and (pointer: fine) { .tab:not(.is-active):hover { color: var(--text); background: var(--ink-700); } }

/* ---------------------------------------------------------------- SUSCRIPCIÓN */
.section--crew { overflow: hidden; }
.crew { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-8); align-items: center; }
.crew__perks { display: grid; gap: var(--sp-3); margin-top: var(--sp-5); }
.crew__perks li { display: flex; gap: var(--sp-3); align-items: center; color: var(--text-2); font-size: var(--fs-base); }
.crew__perks svg { color: var(--green); flex: 0 0 auto; }
.crew__panel { display: grid; gap: var(--sp-5); }
.crew__hint { font-size: var(--fs-xs); color: var(--text-3); text-align: center; margin-top: var(--sp-2); }
.crew__grid, .pop__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-2); }
.crew-btn { --brand: var(--violet-500); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: var(--sp-3) var(--sp-2); min-height: 76px;
  border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface-sunk); font-size: 13px; font-weight: 700; text-align: center;
  transition: border-color var(--dur) var(--ease-out), background-color var(--dur) var(--ease-out), transform var(--dur-fast) var(--ease-out); }
.crew-btn svg { color: var(--brand); }
.crew-btn:active { transform: scale(.96); }
@media (hover: hover) and (pointer: fine) { .crew-btn:hover { border-color: var(--brand); background: var(--ink-700); } }
.newsletter { display: grid; gap: var(--sp-3); padding-top: var(--sp-4); border-top: 1px solid var(--line); }
.newsletter__label { font-weight: 700; font-size: var(--fs-sm); }
.newsletter__row { display: flex; gap: var(--sp-2); flex-wrap: wrap; }
.newsletter__row input { flex: 1 1 200px; }
input[type="email"], input[type="text"], input[type="tel"], input:not([type]), select, textarea {
  min-height: 48px; padding: var(--sp-3) var(--sp-4); border-radius: var(--radius-sm); border: 1px solid var(--line-hi); background: var(--surface-sunk);
  color: var(--text); transition: border-color var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out); width: 100%; }
::placeholder { color: var(--text-3); opacity: 1; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--yellow); box-shadow: 0 0 0 3px rgba(243, 217, 19, .28); }
input[aria-invalid="true"], select[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--rose); }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--text-2) 50%), linear-gradient(135deg, var(--text-2) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
select option { background: var(--ink-800); }
textarea { resize: vertical; min-height: 120px; line-height: 1.55; }
.check { display: flex; gap: var(--sp-3); align-items: flex-start; font-size: var(--fs-xs); color: var(--text-2); line-height: 1.55; cursor: pointer; }
.check input { width: 22px; height: 22px; min-height: 0; flex: 0 0 auto; margin-top: 0; accent-color: var(--yellow); }
.check a { color: var(--violet-300); text-decoration: underline; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status { font-size: var(--fs-sm); min-height: 1.4em; }
.form__status.is-error { color: var(--rose); } .form__status.is-ok { color: var(--green); }

/* ---------------------------------------------------------------- CONDUCTOR */
.host { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 1rem + 5vw, 5rem); align-items: center; }
.host__visual { position: relative; padding: 0 12px 12px 0; }
.host__frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--ink-700); box-shadow: var(--shadow-hard); }
.host__frame img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; will-change: transform; }
.host__frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(12, 10, 38, .88)); pointer-events: none; }
.host__tag { position: absolute; z-index: 1; left: var(--sp-4); bottom: var(--sp-4); display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 100px;
  background: var(--ink-950); border: 1px solid var(--hud-line); font-family: var(--font-mono); font-size: 12px; font-weight: 700; color: var(--yellow); }
.host__role { font-weight: 700; color: var(--yellow); margin-bottom: var(--sp-5); font-size: var(--fs-sm); }
.host__role a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--hud-line); }
.host__role a:hover { text-decoration-color: currentColor; }
.host__content > p:not(.eyebrow):not(.host__role):not(.host__allies) { color: var(--text-2); margin-bottom: var(--sp-4); max-width: 62ch; }
.host__content strong { color: var(--text); }
.host__quote { position: relative; display: grid; grid-template-columns: auto 1fr; gap: var(--sp-4); align-items: start; margin: var(--sp-6) 0; padding: var(--sp-5);
  background: var(--surface); border: 1px solid var(--hud-line); border-radius: var(--radius-lg); font-family: var(--font-display); font-style: italic; font-weight: 600; font-size: var(--fs-lg); line-height: 1.45; }
.host__quote-mark { color: var(--yellow); }
.host__links { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-top: var(--sp-5); }
.host__link { display: inline-flex; align-items: center; gap: var(--sp-2); padding: var(--sp-2) var(--sp-4); min-height: 44px; border-radius: 100px; border: 1px solid var(--line-hi); background: var(--ink-900);
  font-size: var(--fs-xs); font-weight: 700; transition: border-color var(--dur) var(--ease-out), background-color var(--dur) var(--ease-out), color var(--dur) var(--ease-out); }
.host__link:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) { .host__link:hover { border-color: var(--yellow); color: var(--yellow); background: var(--ink-700); } }
.host__allies { margin-top: var(--sp-5); font-size: var(--fs-xs); color: var(--text-3); }
.host__allies a { color: var(--violet-300); text-decoration: underline; }

/* ---------------------------------------------------------------- REDES */
.feeds { max-width: 980px; margin-inline: auto; }
.feed { padding: var(--sp-5); min-height: 420px; }
.feed__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: var(--sp-4); justify-items: center; }
.feed__frame { width: 100%; border: 0; border-radius: var(--radius); background: #fff; }
.feed__frame--ig { height: 640px; max-width: 540px; margin-inline: auto; display: block; }
.feed__frame--li { height: 560px; max-width: 504px; }
.feed__load { display: grid; place-content: center; justify-items: center; gap: var(--sp-3); min-height: 360px; text-align: center; color: var(--text-2); font-size: var(--fs-sm); padding: var(--sp-5); }
.feed__load-icon { width: 64px; height: 64px; border-radius: 16px; display: grid; place-items: center; color: #fff; }
.feed__foot { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--sp-3); margin-top: var(--sp-5); }
.feed .tiktok-embed { margin: 0 auto !important; max-width: 780px !important; }
.li-card { max-width: 560px; margin: 0 auto; display: grid; gap: var(--sp-4); text-align: center; justify-items: center; padding: var(--sp-6) var(--sp-4); }
.li-card__logo { width: 72px; height: 72px; border-radius: 16px; background: #0a66c2; display: grid; place-items: center; color: #fff; }

/* ---------------------------------------------------------------- COLABORA */
.collab { display: grid; grid-template-columns: 1.3fr 1fr; gap: var(--sp-5); align-items: start; margin-bottom: var(--sp-7); }
.collab__options { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-3); }
.opt { display: grid; gap: var(--sp-2); align-content: start; padding: var(--sp-5); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.opt svg { color: var(--yellow); }
.opt h3 { font-size: var(--fs-base); }
.opt p { font-size: var(--fs-sm); color: var(--text-2); }
.collab__deal { padding: var(--sp-6); border-radius: var(--radius-lg); border: 1px solid var(--hud-line); background: var(--ink-900); }
.collab__deal-title { display: flex; align-items: center; gap: var(--sp-2); font-family: var(--font-mono); font-size: 13px; font-weight: 700; color: var(--yellow); margin-bottom: var(--sp-3); }
.collab__deal > p { color: var(--text-2); font-size: var(--fs-sm); }
.collab__deal strong { color: var(--text); }
.steps { display: grid; gap: var(--sp-3); margin-top: var(--sp-5); }
.steps li { display: flex; gap: var(--sp-3); align-items: center; font-size: var(--fs-sm); color: var(--text-2); }
.steps li span { position: relative; width: 30px; height: 30px; flex: 0 0 auto; display: grid; place-items: center; color: var(--yellow); font-family: var(--font-mono); font-size: 13px; font-weight: 700; }
.steps li span::before { content: ""; position: absolute; inset: 4px; border: 1.5px solid var(--yellow); border-radius: 5px; transform: rotate(45deg); }
.wizard { max-width: 820px; margin-inline: auto; padding: var(--sp-6); border-color: var(--line-hi); }
.wizard__head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: var(--sp-2); margin-bottom: var(--sp-3); }
.wizard__title { font-weight: 800; font-size: var(--fs-lg); }
.wizard__count { font-family: var(--font-mono); font-size: 13px; color: var(--text-3); }
.wizard__bar { height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .1); overflow: hidden; margin-bottom: var(--sp-6); }
.wizard__bar span { display: block; height: 100%; width: 100%; background: var(--yellow); transform: scaleX(0); transform-origin: 0 50%; transition: transform .28s var(--ease-out); }
.wizard__lead { font-size: var(--fs-sm); color: var(--text-2); margin: -4px 0 var(--sp-4); max-width: 60ch; }
.wizard__done-sub { font-size: var(--fs-sm); color: var(--text-3) !important; }
.wizard__step { display: none; border: 0; min-width: 0; }
.wizard__step.is-active { display: grid; gap: var(--sp-4); animation: step-fwd .26s var(--ease-out); }
.wizard[data-dir="back"] .wizard__step.is-active { animation-name: step-back; }
.wizard__q { font-size: var(--fs-xl); font-weight: 800; margin-bottom: var(--sp-2); padding: 0; }
.choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--sp-3); }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span { display: flex; align-items: center; gap: var(--sp-3); min-height: 64px; padding: var(--sp-3) var(--sp-4); border-radius: var(--radius); border: 1px solid var(--line-hi);
  background: var(--surface-sunk); font-weight: 700; font-size: var(--fs-sm); transition: border-color var(--dur) var(--ease-out), background-color var(--dur) var(--ease-out), transform var(--dur-fast) var(--ease-out); }
.choice span svg { color: var(--violet-300); flex: 0 0 auto; }
.choice input:checked + span { border-color: var(--yellow); background: rgba(243, 217, 19, .12); box-shadow: 0 0 0 1px var(--yellow) inset; }
.choice input:checked + span svg { color: var(--yellow); }
.choice input:focus-visible + span { outline: 3px solid var(--yellow); outline-offset: 2px; }
.choice:active span { transform: scale(.98); }
@media (hover: hover) and (pointer: fine) { .choice:hover span { border-color: var(--violet-300); } }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); }
.fields--one { grid-template-columns: 1fr; }
.field { display: grid; gap: 6px; position: relative; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: var(--fs-xs); font-weight: 700; color: var(--text-2); }
.opt-label { font-weight: 500; color: var(--text-3); }
.field__count { justify-self: end; font-family: var(--font-mono); font-size: 12px; color: var(--text-3); }
.field__error { font-size: var(--fs-xs); color: var(--rose); }
.wizard__nav { display: flex; justify-content: space-between; gap: var(--sp-3); margin-top: var(--sp-5); }
.wizard__hint { display: flex; align-items: center; gap: var(--sp-2); justify-content: center; margin-top: var(--sp-4); font-size: var(--fs-xs); color: var(--text-3); text-align: center; }
.wizard__done { display: none; text-align: center; padding: var(--sp-6) var(--sp-4); }
.wizard__done.is-active { display: grid; gap: var(--sp-3); justify-items: center; animation: step-in .3s var(--ease-out); }
.wizard__done svg { color: var(--yellow); }
.wizard__done p { color: var(--text-2); max-width: 46ch; }
.wizard__done-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--sp-3); margin-top: var(--sp-3); }

/* ---------------------------------------------------------------- FAQ */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: var(--sp-3); }
.faq__item { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; transition: border-color var(--dur) var(--ease-out); }
.faq__h { font-size: inherit; font-weight: inherit; letter-spacing: normal; }
.faq__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); padding: var(--sp-5); min-height: 60px; text-align: left;
  font-size: var(--fs-base); font-weight: 700; color: var(--text); transition: color var(--dur) var(--ease-out); }
.faq__icon { flex: 0 0 auto; width: 22px; height: 22px; position: relative; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; top: 50%; left: 50%; background: var(--yellow); border-radius: 2px; transform: translate(-50%, -50%); transition: transform var(--dur) var(--ease-out), opacity var(--dur) var(--ease-out); }
.faq__icon::before { width: 14px; height: 2px; } .faq__icon::after { width: 2px; height: 14px; }
.faq__q[aria-expanded="true"] .faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.faq__a { display: grid; grid-template-rows: 0fr; opacity: 0; visibility: hidden;
  transition: grid-template-rows .26s var(--ease-out), opacity .18s var(--ease-out), visibility 0s linear .26s; }
.faq__a.is-open { grid-template-rows: 1fr; opacity: 1; visibility: visible;
  transition: grid-template-rows .26s var(--ease-out), opacity .22s var(--ease-out) .04s, visibility 0s; }
.faq__inner { min-height: 0; overflow: hidden; }
.faq__a p { padding: 0 var(--sp-5) var(--sp-5); font-size: var(--fs-base); color: var(--text-2); max-width: 70ch; }
html:not(.js) .faq__a { grid-template-rows: 1fr; opacity: 1; visibility: visible; }
.faq__item:has(.faq__q[aria-expanded="true"]) { border-color: var(--hud-line); }
@media (hover: hover) and (pointer: fine) { .faq__item:hover { border-color: var(--line-hi); } .faq__q:hover { color: var(--yellow); } }

.transp { padding: var(--sp-6); display: grid; gap: var(--sp-3); }
.transp h2 { margin-bottom: var(--sp-2); }
.transp p { font-size: var(--fs-sm); color: var(--text-2); }
.transp strong { color: var(--text); }
.transp a { color: var(--violet-300); text-decoration: underline; }
.transp__small { font-size: var(--fs-xs) !important; color: var(--text-3) !important; }

/* ---------------------------------------------------------------- FOOTER */
.footer { background: var(--ink-950); border-top: 1px solid var(--line); padding-top: var(--sp-9); margin-top: var(--sp-8); }
.footer__grid { display: grid; gap: var(--sp-7); }
.footer__logo { height: 44px; width: auto; margin-bottom: var(--sp-4); }
.footer__about { font-size: var(--fs-sm); color: var(--text-3); max-width: 46ch; }
.footer h2 { font-family: var(--font-mono); font-size: var(--fs-xs); font-weight: 700; color: var(--yellow); margin-bottom: var(--sp-4); letter-spacing: .02em; }
.footer__links { display: grid; gap: var(--sp-2); }
.footer__links a { font-size: var(--fs-sm); color: var(--text-2); display: inline-flex; align-items: center; gap: var(--sp-2); min-height: 32px; transition: color var(--dur) var(--ease-out); }
.footer__social { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-5); }
.footer__social a { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-hi); color: var(--text-2);
  transition: color var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out), background-color var(--dur) var(--ease-out); }
.footer__bottom { margin-top: var(--sp-8); padding-block: var(--sp-5); border-top: 1px solid var(--line); font-size: var(--fs-xs); color: var(--text-3); display: flex; flex-wrap: wrap; gap: var(--sp-4); justify-content: space-between; align-items: center; }
@media (hover: hover) and (pointer: fine) { .footer__links a:hover { color: var(--yellow); } .footer__social a:hover { color: var(--yellow); border-color: var(--yellow); background: var(--ink-800); } }

/* ---------------------------------------------------------------- MODALES */
.modal { position: fixed; inset: 0; z-index: var(--z-modal); display: none; align-items: center; justify-content: center; padding: var(--sp-5); background: rgba(6, 5, 20, .86); }
.modal.is-open { display: flex; animation: modal-in .22s var(--ease-out); }
.modal.is-closing { display: flex; pointer-events: none; animation: modal-out .16s var(--ease-out) forwards; }
.modal.is-closing .modal__box { animation: modal-box-out .16s var(--ease-out) forwards; }
.modal__box { position: relative; width: min(560px, 100%); max-height: 92vh; display: flex; flex-direction: column; border-radius: var(--radius-lg); border: 1px solid var(--line-hi);
  background: var(--ink-800); overflow: hidden; animation: modal-box-in .26s var(--ease-out); }
.modal__head { display: flex; align-items: center; gap: var(--sp-4); padding: var(--sp-4) var(--sp-5); border-bottom: 1px solid var(--line); background: var(--surface); }
.modal__title { font-size: var(--fs-base); font-weight: 800; }
.modal__sub { font-size: var(--fs-xs); color: var(--text-3); }
.modal__close { margin-left: auto; width: 44px; height: 44px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-hi); color: var(--text-2);
  transition: color var(--dur) var(--ease-out), background-color var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out); }
.modal__close:active { transform: scale(.94); }
@media (hover: hover) and (pointer: fine) { .modal__close:hover { color: #fff; background: var(--red-aa); border-color: var(--red); } }
.modal__body { flex: 1; overflow-y: auto; overscroll-behavior: contain; }
.modal__body--dark { background: var(--ink-800); padding: var(--sp-5); }
.pop { display: grid; gap: var(--sp-4); }
.pop__badge { justify-self: center; width: 84px; height: 84px; border-radius: 20px; }
.pop__lead { color: var(--text-2); font-size: var(--fs-sm); text-align: center; }
.pop__fine { font-size: var(--fs-xs); color: var(--text-3); text-align: center; }
.gate { display: grid; gap: var(--sp-4); margin-bottom: var(--sp-4); }
.gate__step { display: flex; gap: var(--sp-4); padding: var(--sp-4); border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); transition: border-color var(--dur) var(--ease-out); }
.gate__step > div { display: grid; gap: var(--sp-3); justify-items: start; min-width: 0; }
.gate__step.is-done { border-color: var(--green); }
.gate__num { width: 32px; height: 32px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; background: var(--violet-500); font-weight: 800; font-size: 14px; }
.gate__step.is-done .gate__num { background: var(--green); color: var(--text-ink); }
.gate__t { font-weight: 700; }
.gate__d { font-size: var(--fs-xs); color: var(--text-3); }
.check--gate { font-size: var(--fs-sm); color: var(--text); }
.check--gate input:disabled + span { opacity: .6; }
.exit { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); align-items: center; margin-bottom: var(--sp-4); }
.exit__ep { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 9; background: var(--ink-700); }
.exit__ep img { width: 100%; height: 100%; object-fit: cover; }
.exit__play { position: absolute; inset: 0; display: grid; place-items: center; }
.exit__play svg { width: 56px; height: 56px; padding: 15px; border-radius: 50%; background: var(--yellow); color: var(--text-ink); box-sizing: border-box; }
.exit__badge { position: absolute; left: 8px; top: 8px; padding: 2px 8px; border-radius: 4px; background: var(--red-aa); font-family: var(--font-mono); font-size: 12px; font-weight: 700; }
.exit__kicker { font-family: var(--font-mono); font-size: 12px; font-weight: 700; color: var(--yellow); }
.exit__title { font-weight: 800; line-height: 1.3; margin: 4px 0; }
.exit__meta { font-size: var(--fs-xs); color: var(--text-3); }
.exit__actions { display: grid; gap: var(--sp-3); margin-bottom: var(--sp-3); }
.metrics-detail { display: grid; gap: var(--sp-2); margin-bottom: var(--sp-4); }
.metrics-detail div { display: flex; justify-content: space-between; gap: var(--sp-4); padding: var(--sp-3) var(--sp-4); border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); font-size: var(--fs-sm); }
.metrics-detail dt { color: var(--text-2); } .metrics-detail dd { font-family: var(--font-mono); font-weight: 700; color: var(--yellow); text-align: right; }
.metrics-detail dd small { display: block; font-size: 12px; color: var(--text-3); font-weight: 500; }

/* ---------------------------------------------------------------- TOASTS (logros) */
.toast-stack { position: fixed; z-index: var(--z-toast); left: 50%; top: calc(var(--header-h) + 14px); transform: translateX(-50%); display: grid; gap: var(--sp-2); width: min(420px, calc(100vw - 2rem)); pointer-events: none; }
.toast { display: flex; gap: var(--sp-3); align-items: center; padding: var(--sp-3) var(--sp-4); border-radius: var(--radius); background: var(--ink-900); border: 1px solid var(--hud-line);
  pointer-events: auto; animation: toast-in .26s var(--ease-out); }
.toast.is-leaving { opacity: 0; transform: translateY(-8px); transition: opacity .2s var(--ease-out), transform .2s var(--ease-out); }
.toast__icon { width: 40px; height: 40px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 10px; background: var(--yellow); color: var(--text-ink); }
.toast__k { font-family: var(--font-mono); font-size: 12px; font-weight: 700; color: var(--yellow); }
.toast__t { font-size: var(--fs-sm); font-weight: 700; line-height: 1.35; }

/* ---------------------------------------------------------------- FLOTANTES */
.chat { position: fixed; right: var(--sp-5); bottom: var(--sp-5); z-index: var(--z-chat); }
/* Botón PodMic sobre degradado rojo → violeta (paleta Explora) */
.chat__toggle { position: relative; width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; background: var(--grad-explora); color: #fff;
  box-shadow: 0 6px 0 rgba(61, 14, 163, .55); transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out); }
.chat__toggle::before { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid #f21049; opacity: 0; animation: ring 3.2s var(--ease-out) 2s 3; }
.chat__toggle svg { filter: drop-shadow(0 1px 0 rgba(0, 0, 0, .35)); }
.chat__toggle:active { transform: scale(.94); }
.chat__toggle[aria-expanded="true"]::before { animation: none; }
@media (hover: hover) and (pointer: fine) { .chat__toggle:hover { box-shadow: 0 8px 0 rgba(61, 14, 163, .55); } }
.chat__panel { position: absolute; right: 0; bottom: 80px; width: min(372px, calc(100vw - 2rem)); display: flex; flex-direction: column; max-height: min(620px, calc(100dvh - 120px));
  border-radius: var(--radius-lg); background: var(--ink-900); border: 1px solid var(--line-hi); overflow: hidden; transform-origin: 100% 100%;
  animation: chat-in .22s var(--ease-out); }
.chat__panel.is-closing { animation: chat-out .15s var(--ease-out) forwards; pointer-events: none; }
.chat__head { display: flex; align-items: center; gap: var(--sp-3); padding: var(--sp-3) var(--sp-3) var(--sp-3) var(--sp-4); background: var(--grad-explora); flex: 0 0 auto; }
.chat__avatar { width: 38px; height: 38px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; background: var(--ink-950); color: #fff; }
.chat__who { min-width: 0; display: grid; line-height: 1.3; }
.chat__title { font-weight: 800; font-size: var(--fs-sm); color: #fff; }
.chat__status { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: #fff; }
.chat__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 2px rgba(255, 255, 255, .35); }
.chat__close { margin-left: auto; width: 40px; height: 40px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; color: #fff; transition: background-color var(--dur) var(--ease-out); }
.chat__close:active { transform: scale(.94); }
.chat__log { flex: 1 1 auto; min-height: 120px; overflow-y: auto; overscroll-behavior: contain; display: flex; flex-direction: column; gap: 6px; padding: var(--sp-4); scrollbar-width: thin; scrollbar-color: var(--ink-600) transparent; }
.msg { max-width: 86%; padding: 9px 13px; font-size: var(--fs-sm); line-height: 1.45; border-radius: 16px; animation: msg-in .2s var(--ease-out) both; }
.msg--bot { align-self: flex-start; background: var(--surface-2); color: var(--text); border-bottom-left-radius: 6px; transform-origin: 0 100%; }
.msg--user { align-self: flex-end; background: var(--yellow); color: var(--text-ink); font-weight: 600; border-bottom-right-radius: 6px; transform-origin: 100% 100%; margin-top: 4px; }
.msg--bot + .msg--user, .msg--user + .msg--bot { margin-top: 8px; }
.msg--typing { display: inline-flex; gap: 4px; padding: 12px 14px; }
.msg--typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--text-3); animation: typing 1s ease-in-out infinite; }
.msg--typing i:nth-child(2) { animation-delay: .15s; } .msg--typing i:nth-child(3) { animation-delay: .3s; }
.msg--card { align-self: stretch; max-width: none; display: grid; gap: 6px; padding: var(--sp-3) var(--sp-4); background: var(--surface); border: 1px solid var(--hud-line); }
.msg--card div { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: var(--sp-3); }
.msg--card dt { font-size: 13px; color: var(--text-3); }
.msg--card dd { font-size: 13px; font-weight: 700; color: var(--text); }
.chat__replies { flex: 0 0 auto; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; padding: var(--sp-2) var(--sp-4) var(--sp-3); border-top: 1px solid var(--line); }
.chat__replies:empty { display: none; }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 8px 14px; border-radius: 100px; border: 1px solid var(--violet-300); background: var(--ink-900);
  color: var(--text); font-size: 14px; font-weight: 600; text-align: left; line-height: 1.3;
  animation: msg-in .2s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 35ms);
  transition: background-color var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out), transform var(--dur-fast) var(--ease-out); }
.chip:active { transform: scale(.96); }
.chip--wa { background: #157a41; border-color: #157a41; color: #fff; font-weight: 800; }
.chip--ghost { border-color: var(--line-hi); color: var(--text-2); }
.chip--send { min-width: 44px; justify-content: center; background: var(--yellow); border-color: var(--yellow); color: var(--text-ink); }
@media (hover: hover) and (pointer: fine) {
  .chip:hover { background: var(--ink-700); border-color: var(--yellow); }
  .chip--wa:hover { background: #0f6634; border-color: #0f6634; }
  .chip--send:hover { background: var(--yellow-hi); }
  .chat__close:hover { background: rgba(255, 255, 255, .18); }
}
.chat__input { display: flex; gap: 6px; width: 100%; }
.chat__input input { min-height: 44px; border-radius: 100px; padding: 8px 16px; }
.chat__foot { flex: 0 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 4px var(--sp-3); padding: var(--sp-2) var(--sp-4) var(--sp-3); background: var(--ink-950); }
.chat__ghost { display: inline-flex; align-items: center; gap: 4px; min-height: 32px; font-size: 13px; font-weight: 700; color: var(--violet-300); text-decoration: underline; text-underline-offset: 3px; }
.chat__note { flex: 1 1 100%; font-size: 12px; color: var(--text-3); line-height: 1.45; }
.to-top { position: fixed; left: var(--sp-5); bottom: var(--sp-5); z-index: var(--z-chat); width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: var(--ink-900);
  color: var(--yellow); border: 2px solid var(--yellow); opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(14px) scale(.85);
  transition: opacity .25s var(--ease-out), transform .28s var(--ease-out), visibility 0s linear .28s, background-color var(--dur) var(--ease-out), color var(--dur) var(--ease-out); }
.to-top svg { transform: rotate(-90deg); }
.to-top.is-shown { opacity: 1; visibility: visible; pointer-events: auto; transform: none; transition: opacity .25s var(--ease-out), transform .28s var(--ease-out), visibility 0s; }
@media (hover: hover) and (pointer: fine) { .to-top:hover { background: var(--yellow); color: var(--text-ink); } }
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-sticky); display: none; gap: var(--sp-3); padding: var(--sp-3) var(--sp-4) calc(var(--sp-3) + env(safe-area-inset-bottom));
  background: var(--ink-900); border-top: 1px solid var(--line-hi); transform: translateY(110%); transition: transform var(--dur) var(--ease-out); }
.sticky-cta.is-visible { transform: translateY(0); }
.sticky-cta .btn { flex: 1; min-height: 48px; font-size: var(--fs-sm); padding-inline: var(--sp-3); box-shadow: none; }
.rgpd { position: fixed; left: var(--sp-4); right: var(--sp-4); bottom: var(--sp-4); z-index: var(--z-toast); display: flex; justify-content: center; }
.rgpd__caja { width: min(860px, 100%); display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-4); padding: var(--sp-5); border-radius: var(--radius-lg); background: var(--ink-900);
  border: 1px solid var(--line-hi); animation: toast-in .3s var(--ease-out); }
.rgpd__texto { flex: 1 1 360px; font-size: var(--fs-xs); color: var(--text-2); }
.rgpd__titulo { font-weight: 800; color: var(--text); font-size: var(--fs-sm); margin-bottom: 4px; }
.rgpd__texto a { color: var(--violet-300); text-decoration: underline; }
.rgpd__acciones { display: flex; gap: var(--sp-2); flex-wrap: wrap; }

/* ---------------------------------------------------------------- LENIS */
html.lenis, html.lenis body { height: auto; }
html.lenis { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: clip; }
.lenis.lenis-scrolling iframe { pointer-events: none; }

/* SplitText: líneas con máscara */
.section-title .line { padding-bottom: .06em; }

/* ---------------------------------------------------------------- ANIMACIONES */
@keyframes marquee-run { to { transform: translateX(-50%); } }
@keyframes rec { 0% { box-shadow: 0 0 0 0 rgba(242, 16, 73, .6); } 70% { box-shadow: 0 0 0 8px rgba(242, 16, 73, 0); } 100% { box-shadow: 0 0 0 0 rgba(242, 16, 73, 0); } }
@keyframes ring { 0% { opacity: .75; transform: scale(.96); } 70%, 100% { opacity: 0; transform: scale(1.14); } }
@keyframes shimmer { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(10px); opacity: 0; } 100% { opacity: 0; } }
@keyframes blink { 50% { opacity: .25; } }
@keyframes bob { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(-5px); } }
@keyframes eq { 0%, 100% { transform: scaleY(.35); } 50% { transform: scaleY(1); } }
@keyframes dock-in { from { opacity: 0; transform: translateY(16px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes modal-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes modal-box-in { from { opacity: 0; transform: translateY(14px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes step-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes step-fwd { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }
@keyframes step-back { from { opacity: 0; transform: translateX(-16px); } to { opacity: 1; transform: none; } }
@keyframes modal-out { to { opacity: 0; } }
@keyframes modal-box-out { to { opacity: 0; transform: translateY(8px) scale(.98); } }
@keyframes chat-in { from { opacity: 0; transform: translateY(8px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes chat-out { to { opacity: 0; transform: translateY(6px) scale(.97); } }
@keyframes msg-in { from { opacity: 0; transform: translateY(6px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes typing { 0%, 100% { opacity: .35; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-2px); } }
@keyframes toast-in { from { opacity: 0; transform: translateY(-10px) scale(.97); } to { opacity: 1; transform: none; } }

/* ---------------------------------------------------------------- RESPONSIVE */
@media (min-width: 768px) { .footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) {
  .hero__grid { grid-template-columns: 1.25fr .75fr; gap: var(--sp-7); }
  .footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; }
  .interlude__inner { padding-right: 45%; }
}
@media (min-width: 1280px) { .levels-map { display: flex; } }
@media (max-width: 1100px) { .collab { grid-template-columns: 1fr; } }
@media (max-width: 991px) {
  .nav-toggle { display: inline-flex; }
  .nav { position: fixed; inset: var(--header-h) 0 auto; background: var(--ink-900); border-bottom: 1px solid var(--line);
    padding: var(--sp-5); max-height: calc(100dvh - var(--header-h)); overflow-y: auto; transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: transform var(--dur) var(--ease-out), opacity var(--dur) var(--ease-out), visibility var(--dur); }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav__link { padding: var(--sp-4); font-size: var(--fs-base); border-bottom: 1px solid var(--line); }
  .nav__link[aria-current="true"]::after { display: none; }
  .nav__cta { margin: var(--sp-4) 0 0; } .nav__cta .btn { width: 100%; min-height: 52px; }
  .hero { min-height: auto; }
  .hero__visual { display: none; }
  .hud__grid { grid-template-columns: repeat(2, 1fr); }
  .deck.is-stacked .deck__layout { grid-template-columns: 1fr; gap: var(--sp-4); }
  .deck.is-stacked .deck__aside { grid-auto-flow: column; justify-content: space-between; align-items: end; }
  .deck.is-stacked .deck__card { min-height: min(400px, 58svh); }
  .deck__count { font-size: 3.5rem; }
  .console { grid-template-columns: 1fr; }
  .console__list { max-height: 460px; }
  .crew { grid-template-columns: 1fr; gap: var(--sp-6); }
  .host { grid-template-columns: 1fr; gap: var(--sp-6); }
  .host__visual { max-width: 400px; }
  .sticky-cta { display: flex; }
  .chat { bottom: 88px; transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out); }
  body:not(.past-hero) .chat { opacity: 0; pointer-events: none; transform: translateY(10px); }
  .to-top { bottom: 96px; left: var(--sp-4); }
  .screen__frame.is-docked { bottom: 96px; right: calc(var(--sp-4) + 76px); width: min(260px, calc(100vw - 7rem)); }
  body { padding-bottom: 76px; }
  /* El objeto 3D ocupa la parte alta: el texto del interludio va abajo */
  .motion-on .interlude__sticky { align-items: flex-end; padding-bottom: calc(8svh + 76px); }
}
@media (max-width: 767px) {
  .header__badge { display: none; }
  .header__logo img { height: 32px; }
  .hero__scroll { display: none; }
  .hero__actions .btn { width: 100%; }
  .hero__actions .btn--lg { font-size: 1rem; padding-inline: var(--sp-4); }
  .has-webgl .hero { padding-top: 12rem; }
  .hud { padding: var(--sp-4); }
  .stat { padding: var(--sp-3); }
  .stat__num { font-size: 1.65rem; }
  .formats, .collab__options, .fields { grid-template-columns: 1fr; }
  .controls__row { flex-wrap: wrap; gap: var(--sp-3); }
  .controls__now { order: -1; flex-basis: 100%; }
  .controls__time { margin-left: auto; }
  .ep { grid-template-columns: 100px 1fr; }
  .platforms { grid-template-columns: 1fr 1fr; }
  .platform { padding: var(--sp-3); gap: var(--sp-2); min-height: 64px; }
  .platform__icon { width: 36px; height: 36px; border-radius: 10px; }
  .platform__icon svg { width: 18px; height: 18px; }
  .platform__note, .platform__go { display: none; }
  .exit { grid-template-columns: 1fr; }
  .modal { padding: 0; align-items: flex-end; }
  .modal__box { width: 100%; max-height: 92dvh; border-radius: var(--radius-lg) var(--radius-lg) 0 0; border-bottom: 0; }
  .footer__bottom { justify-content: center; text-align: center; }
  .feed { padding: var(--sp-3); }
  .feed__frame--ig { height: 560px; }
  .wizard { padding: var(--sp-5) var(--sp-4); }
  .wizard__nav .btn { flex: 1; }
  .host__quote { grid-template-columns: 1fr; gap: var(--sp-2); }
  .to-top { display: none; }
  .chat__panel { position: fixed; left: var(--sp-3); right: var(--sp-3); bottom: 164px; width: auto; max-height: calc(100dvh - 240px); }
  .deck.is-stacked .deck__aside { order: 2; }
  .deck.is-stacked .deck__hint { display: none; }
  .deck__count { font-size: 2.5rem; }
  .section-title { max-width: none; }
}
@media (max-width: 380px) {
  .platforms { grid-template-columns: 1fr; }
  .crew__grid, .pop__grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------------------------------------------------------------- ACCESIBILIDAD */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, ::before, ::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .marquee__viewport { overflow-x: auto; -webkit-mask-image: none; mask-image: none; transform: none; }
  .hero__title-top { animation: none; }
}
@media (prefers-contrast: more) {
  :root { --text-2: #fff; --text-3: #e6e9f5; --line: rgba(255, 255, 255, .5); --line-hi: rgba(255, 255, 255, .8); }
  .backdrop { background: var(--ink-950); }
  #cosmos { opacity: .35 !important; }
}
@media (forced-colors: active) {
  #cosmos, .sparks, .backdrop, .progress { display: none !important; }
  .btn, .card, .stat, .faq__item, .platform, .ep, .tab, .chat__toggle, .brief, .opt { border: 1px solid CanvasText; forced-color-adjust: auto; }
  .hero__title-top { background: none; color: CanvasText; -webkit-text-fill-color: CanvasText; filter: none; }
  .hero__title-bottom { text-shadow: none; }
  .btn--gold, .tab.is-active, .ep.is-active { border-color: Highlight; }
}
@media print {
  .header, .marquee, .chat, .sticky-cta, .to-top, .levels-map, .skip-link, .backdrop, #cosmos, .sparks, .progress, .modal, .rgpd, .inapp, .toast-stack { display: none !important; }
  body { background: #fff; color: #000; }
  .faq__a { display: block !important; }
  .interlude, .deck { height: auto !important; }
}
