/* =====================================================================
   ANCHORRA · web oficial — estilos
   Paleta de la bandera del logo + noche de neón del juego.
   ===================================================================== */
:root {
  --noche: #070a1c;
  --noche-2: #0d1233;
  --marino: #0b1040;
  --azul: #2450ff;
  --azul-2: #1531b8;
  --oro: #ffd400;
  --oro-2: #ffb800;
  --rojo: #f0284a;
  --rojo-2: #b5122f;
  --papel: #efe6d2;
  --blanco: #ffffff;
  --gris: #a9b0d6;
  --f-disp: 'Archivo', 'Arial Black', system-ui, sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, Consolas, monospace;
  --vh: 1vh;
  --alto: 100vh;
  --cab: 74px;
}
@supports (height: 100svh) { :root { --alto: 100svh; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
body {
  margin: 0; background: var(--noche); color: var(--blanco);
  font-family: var(--f-disp); font-stretch: 100%; line-height: 1.4;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
html.bloqueado, html.bloqueado body { overflow: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
[hidden] { display: none !important; }
::selection { background: var(--oro); color: var(--marino); }

/* --- Versión: pronto / ya disponible --- */
html[data-estado="pronto"] .solo-ya,
html[data-estado="ya"] .solo-pronto { display: none !important; }

/* --- Texto "tinta" estilo logo --- */
.titulo-xl {
  margin: 0; font-weight: 900; font-style: italic; font-stretch: 112%;
  text-transform: uppercase; line-height: .86; letter-spacing: -.02em;
  font-size: clamp(46px, 8.6vw, 150px);
}
.titulo-xl span, .tinta {
  color: #fff; -webkit-text-stroke: .055em var(--marino); paint-order: stroke fill;
  text-shadow: .05em .06em 0 var(--rojo), .05em .06em 0 var(--marino);
}

/* --- Botones --- */
.btn {
  --b: var(--marino);
  display: inline-flex; align-items: center; gap: .6em; position: relative;
  border: 3px solid var(--b); border-radius: 14px; text-decoration: none;
  font-weight: 900; font-style: italic; text-transform: uppercase; letter-spacing: .01em;
  transition: transform .18s cubic-bezier(.3,1.6,.5,1), box-shadow .18s, background .2s;
  white-space: nowrap;
}
.btn svg { width: 1.25em; height: 1.25em; flex: none; fill: currentColor; }
.btn-steam {
  background: linear-gradient(180deg, #ffe34d, var(--oro) 45%, var(--oro-2));
  color: var(--marino); box-shadow: 0 6px 0 var(--marino), 0 14px 30px rgba(255, 196, 0, .35);
}
.btn-steam:hover { transform: translateY(-3px) rotate(-1deg); box-shadow: 0 9px 0 var(--marino), 0 20px 40px rgba(255, 196, 0, .5); }
.btn-steam:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--marino), 0 6px 14px rgba(255, 196, 0, .3); }
.btn-play {
  background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .7);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.btn-play:hover { background: #fff; color: var(--marino); transform: translateY(-3px); }
.btn-xl { font-size: clamp(15px, 1.35vw, 19px); padding: .95em 1.5em; }
.btn-sm { font-size: 13px; padding: .55em 1em; border-width: 2px; box-shadow: 0 4px 0 var(--marino); border-radius: 10px; }
.btn-sm:hover { box-shadow: 0 6px 0 var(--marino); }
.precio { font-style: normal; margin-left: .7em; padding: .15em .5em; border-radius: 7px; background: var(--marino); color: var(--oro); }

/* =====================================================================
   PANTALLA DE CARGA
   ===================================================================== */
.carga {
  position: fixed; inset: 0; z-index: 100; background: var(--noche);
  display: grid; place-items: center; overflow: hidden;
  transition: clip-path .9s cubic-bezier(.76,0,.24,1), visibility 0s .9s;
  clip-path: inset(0 0 0 0);
}
html:not(.js) .carga, .carga.fuera { clip-path: inset(0 0 100% 0); visibility: hidden; }
.carga-barras { position: absolute; inset: 0; display: grid; grid-template-rows: repeat(3, 1fr); opacity: .16; }
.carga-barras i { display: block; transform-origin: left; animation: cargaBarra 1.4s cubic-bezier(.7,0,.2,1) both; }
.carga-barras i:nth-child(1) { background: var(--azul); }
.carga-barras i:nth-child(2) { background: var(--oro); animation-delay: .12s; }
.carga-barras i:nth-child(3) { background: var(--rojo); animation-delay: .24s; }
@keyframes cargaBarra { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.carga-centro { position: relative; text-align: center; padding: 20px; }
.carga-logo { width: min(520px, 76vw); height: auto; margin: 0 auto; filter: drop-shadow(0 0 40px rgba(255, 200, 0, .45)); animation: cargaLogo .9s cubic-bezier(.2,1.6,.4,1) both .15s; }
@keyframes cargaLogo { from { transform: scale(.4) rotate(-8deg); opacity: 0; } to { transform: none; opacity: 1; } }
.carga-linea { font-family: var(--f-mono); font-weight: 800; font-size: 14px; letter-spacing: .2em; margin-top: 26px; color: var(--oro); }
.carga-linea em { font-style: normal; opacity: .6; }
.carga-tip { font-family: var(--f-mono); font-size: 12px; color: var(--gris); margin: 10px 0 0; letter-spacing: .04em; }

/* =====================================================================
   CABECERA
   ===================================================================== */
.cab {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: var(--cab);
  display: flex; align-items: center; gap: 24px; padding: 0 clamp(14px, 3vw, 40px);
  transition: transform .4s cubic-bezier(.3,0,.2,1), background .3s, backdrop-filter .3s;
}
.cab.con-fondo { background: rgba(7, 10, 28, .72); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); }
.cab.oculta { transform: translateY(-105%); }
.cab-marca img { height: 44px; width: auto; filter: drop-shadow(0 2px 10px rgba(0,0,0,.5)); transition: transform .25s; }
.cab-marca:hover img { transform: rotate(-4deg) scale(1.06); }
.cab-nav { display: flex; gap: 4px; margin: 0 auto; }
.cab-nav a {
  text-decoration: none; font-weight: 800; font-style: italic; text-transform: uppercase;
  font-size: 13px; letter-spacing: .04em; padding: 8px 14px; border-radius: 99px; color: rgba(255,255,255,.82);
  transition: background .2s, color .2s;
}
.cab-nav a:hover, .cab-nav a.activo { background: rgba(255,255,255,.1); color: #fff; }
.cab-nav a.activo { box-shadow: inset 0 -2px 0 var(--oro); }
.cab-der { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.cab-progreso { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; transform-origin: left; transform: scaleX(var(--p, 0));
  background: linear-gradient(90deg, var(--azul) 0 33.3%, var(--oro) 33.3% 66.6%, var(--rojo) 66.6%); }

.idioma { position: relative; }
.idioma-btn {
  display: flex; align-items: center; gap: 6px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2);
  border-radius: 10px; padding: 7px 10px; font-family: var(--f-mono); font-weight: 700; font-size: 12px;
}
.idioma-lista {
  position: absolute; right: 0; top: calc(100% + 8px); list-style: none; margin: 0; padding: 6px; min-width: 150px;
  background: var(--noche-2); border: 1px solid rgba(255,255,255,.14); border-radius: 12px; box-shadow: 0 20px 40px rgba(0,0,0,.5);
  opacity: 0; transform: translateY(-6px); pointer-events: none; transition: .2s;
}
.idioma.abierto .idioma-lista { opacity: 1; transform: none; pointer-events: auto; }
.idioma-lista button { width: 100%; text-align: left; background: none; border: 0; padding: 9px 12px; border-radius: 8px; font-weight: 700; font-size: 14px; }
.idioma-lista button:hover, .idioma-lista button[aria-selected="true"] { background: rgba(255,255,255,.1); }

/* =====================================================================
   SECCIONES FIJADAS (scroll)
   ===================================================================== */
.pin { position: relative; }
.pin-sticky { position: sticky; top: 0; height: var(--alto); overflow: hidden; }
.vid { width: 100%; height: 100%; object-fit: cover; background: #000; }

/* =====================================================================
   1 · PORTADA
   ===================================================================== */
.hero { height: 210vh; background: var(--noche); --p: 0; }
.hero-video { position: absolute; inset: 0; transform: scale(calc(1.04 + var(--p) * .32)); filter: brightness(calc(.78 - var(--p) * .4)) saturate(1.15); will-change: transform; }
.hero-grano { position: absolute; inset: 0; opacity: .12; pointer-events: none; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.hero-vineta { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 80% at 50% 45%, transparent 30%, rgba(7,10,28,.75) 85%), linear-gradient(180deg, rgba(7,10,28,.55), transparent 22%, transparent 62%, var(--noche)); }
.hero-centro {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: var(--cab) 20px 60px;
  transform: translateY(calc(var(--p) * -22vh)) scale(calc(1 - var(--p) * .3));
  opacity: calc(1 - var(--p) * 1.9); will-change: transform, opacity;
}
.hero-sello {
  display: inline-flex; gap: .4em; align-items: center; font-family: var(--f-mono); font-size: clamp(11px, 1vw, 13px); font-weight: 700;
  text-transform: uppercase; letter-spacing: .14em; padding: 8px 16px; border-radius: 99px;
  background: rgba(7,10,28,.55); border: 1px solid rgba(255,212,0,.5); color: var(--oro); backdrop-filter: blur(6px);
  animation: entrar .8s .9s both;
}
.hero-sello b { color: #fff; font-weight: 800; }
.hero-logo { margin: 18px 0 0; width: min(820px, 86vw, 95vh); }
.hero-logo img {
  width: 100%; height: auto; filter: drop-shadow(0 0 22px rgba(255, 200, 0, .55)) drop-shadow(0 20px 40px rgba(0,0,0,.6));
  animation: logoGolpe 1.1s cubic-bezier(.2,1.5,.35,1) both .7s;
}
html.js:not(.cargado) .hero-logo img, html.js:not(.cargado) .hero-sello, html.js:not(.cargado) .hero-claim,
html.js:not(.cargado) .hero-cta, html.js:not(.cargado) .cuenta { animation-play-state: paused; }
@keyframes logoGolpe {
  0% { transform: scale(2.4) rotate(-6deg); opacity: 0; filter: blur(14px); }
  60% { opacity: 1; filter: blur(0) drop-shadow(0 0 22px rgba(255, 200, 0, .55)); }
  100% { transform: none; opacity: 1; }
}
.hero-claim {
  margin: 6px 0 0; font-weight: 900; font-style: italic; text-transform: uppercase; font-stretch: 112%;
  font-size: clamp(18px, 2.3vw, 34px); letter-spacing: .02em; text-shadow: 0 3px 0 var(--marino), 0 8px 30px rgba(0,0,0,.6);
  animation: entrar .8s 1.1s both;
}
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 28px; animation: entrar .8s 1.25s both; }
@keyframes entrar { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.cuenta { display: flex; gap: 10px; margin-top: 26px; animation: entrar .8s 1.4s both; }
.cuenta div { min-width: 70px; padding: 10px 8px; border-radius: 12px; background: rgba(7,10,28,.6); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(6px); }
.cuenta b { display: block; font-family: var(--f-mono); font-size: 28px; font-weight: 800; color: var(--oro); line-height: 1; }
.cuenta small { font-family: var(--f-mono); font-size: 10px; text-transform: uppercase; letter-spacing: .12em; color: var(--gris); }
.hero-plataforma { position: absolute; left: clamp(14px, 3vw, 40px); bottom: 80px; /* encima de la pastilla «‹ CAZVIA» (fija abajo a la izquierda) */ display: flex; gap: 8px; opacity: calc(1 - var(--p) * 3); }
.hero-plataforma span { font-family: var(--f-mono); font-size: 11px; font-weight: 700; letter-spacing: .12em; padding: 5px 9px; border: 1px solid rgba(255,255,255,.3); border-radius: 6px; color: rgba(255,255,255,.8); }
.hero-scroll { position: absolute; right: clamp(14px, 3vw, 40px); bottom: 30px; display: flex; align-items: center; gap: 10px; text-decoration: none;
  font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .2em; opacity: calc(1 - var(--p) * 3); }
.hero-scroll i { width: 22px; height: 36px; border: 2px solid #fff; border-radius: 12px; position: relative; }
.hero-scroll i::after { content: ''; position: absolute; left: 50%; top: 6px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--oro); animation: rueda 1.6s infinite; }
@keyframes rueda { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }
.hero-barras { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(3, 1fr); pointer-events: none; }
.hero-barras i { transform: translateY(calc((1 - clamp(0, (var(--p) - .52) * 2.6, 1)) * 102%)); will-change: transform; }
.hero-barras i:nth-child(1) { background: var(--azul); }
.hero-barras i:nth-child(2) { background: var(--oro); transform: translateY(calc((1 - clamp(0, (var(--p) - .58) * 2.6, 1)) * 102%)); }
.hero-barras i:nth-child(3) { background: var(--rojo); transform: translateY(calc((1 - clamp(0, (var(--p) - .64) * 2.6, 1)) * 102%)); }

/* =====================================================================
   CINTAS
   ===================================================================== */
.cinta { position: relative; z-index: 5; overflow: hidden; white-space: nowrap; padding: 14px 0; margin: -28px 0; transform: rotate(-2.4deg) scale(1.06); }
.cinta-a { background: var(--oro); color: var(--marino); box-shadow: 0 8px 0 var(--marino); }
.cinta-b { background: repeating-linear-gradient(-45deg, var(--oro) 0 24px, #111 24px 48px); transform: rotate(2deg) scale(1.06); padding: 6px 0; }
.cinta-b .cinta-pista { background: #111; color: var(--oro); padding: 8px 0; }
.cinta-pista {
  display: inline-block; font-weight: 900; font-style: italic; text-transform: uppercase; font-stretch: 110%;
  font-size: clamp(18px, 2.2vw, 30px); letter-spacing: .02em;
  animation: cinta 38s linear infinite; transform: skewX(calc(var(--vel, 0) * -1deg));
}
.cinta-b .cinta-pista { animation-direction: reverse; animation-duration: 30s; }
@keyframes cinta { to { translate: -50% 0; } }

/* =====================================================================
   2 · TRÁILER
   ===================================================================== */
.trailer { height: 240vh; background: var(--noche); --p: 0; --k: 1; }
.trailer .pin-sticky { display: grid; place-items: center; }
.trailer-card {
  position: absolute; inset: 0; border: 0; padding: 0; background: #000; overflow: hidden;
  clip-path: inset(calc(var(--k) * 24vh) calc(var(--k) * 22vw) round calc(var(--k) * 34px));
  will-change: clip-path;
}
.trailer-card .vid { transform: scale(calc(1 + var(--k) * .12)); filter: brightness(calc(.85 - var(--k) * .15)); }
.trailer-play {
  position: absolute; left: 50%; top: 50%; width: clamp(80px, 9vw, 130px); aspect-ratio: 1; margin: 0; translate: -50% -50%;
  border-radius: 50%; display: grid; place-items: center; background: var(--oro); color: var(--marino);
  border: 4px solid var(--marino); box-shadow: 0 8px 0 var(--marino), 0 0 0 0 rgba(255,212,0,.6);
  animation: pulso 2s infinite; transition: transform .25s cubic-bezier(.3,1.6,.5,1);
}
.trailer-play svg { width: 44%; fill: currentColor; margin-left: 8%; }
@keyframes pulso { 0% { box-shadow: 0 8px 0 var(--marino), 0 0 0 0 rgba(255,212,0,.55); } 100% { box-shadow: 0 8px 0 var(--marino), 0 0 0 36px rgba(255,212,0,0); } }
.trailer-meta { position: absolute; left: calc(var(--k) * 22vw + 4vw); bottom: calc(var(--k) * 24vh + 5vh); display: flex; gap: 14px; align-items: baseline; text-align: left; }
.trailer-meta b { font-weight: 900; font-style: italic; text-transform: uppercase; font-size: clamp(20px, 2.4vw, 40px); text-shadow: 0 3px 0 var(--marino); }
.trailer-meta i { font-family: var(--f-mono); font-style: normal; font-size: 14px; color: var(--oro); }
.trailer-rec { position: absolute; left: calc(var(--k) * 22vw + 4vw); top: calc(var(--k) * 24vh + 5vh); font-family: var(--f-mono); font-weight: 800; font-size: 13px; letter-spacing: .14em; display: flex; align-items: center; gap: 8px; }
.trailer-rec i { width: 10px; height: 10px; border-radius: 50%; background: var(--rojo); animation: parpadeo 1s steps(2) infinite; }
@keyframes parpadeo { 50% { opacity: 0; } }
.trailer-titulo {
  position: absolute; inset: 0; margin: 0; display: flex; justify-content: center; align-items: center; pointer-events: none; z-index: 2;
  font-weight: 900; font-style: italic; text-transform: uppercase; font-stretch: 125%; font-size: clamp(70px, 17vw, 330px); line-height: 1; letter-spacing: -.03em;
}
.trailer-titulo span { display: inline-block; color: transparent; -webkit-text-stroke: 2px rgba(255,255,255,.9); text-shadow: none; will-change: transform; }
.tt-a { transform: translateX(calc((1 - var(--k)) * -70vw)); }
.tt-b { transform: translateX(calc((1 - var(--k)) * 70vw)); color: var(--oro) !important; -webkit-text-stroke: 0 !important; mix-blend-mode: difference; }

/* =====================================================================
   3 · HISTORIA
   ===================================================================== */
.historia { height: 520vh; background: #000; }
.hist-capas, .hist-capa { position: absolute; inset: 0; }
.hist-capa { opacity: 0; transform: scale(1.08); transition: opacity .8s ease, transform 1.6s cubic-bezier(.2,0,.2,1); }
.hist-capa.is-on { opacity: 1; transform: scale(1); }
.hist-sombra { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.82), rgba(0,0,0,.2) 60%, rgba(0,0,0,.35)), linear-gradient(0deg, rgba(0,0,0,.7), transparent 40%); }
.hist-textos { position: absolute; left: clamp(20px, 7vw, 120px); right: clamp(20px, 7vw, 120px); top: 50%; translate: 0 -50%; height: 3.2em; font-size: clamp(36px, 7vw, 124px); }
.hist-linea {
  position: absolute; left: 0; top: 0; margin: 0; max-width: 13em;
  font-weight: 900; font-style: italic; text-transform: uppercase; font-stretch: 108%; line-height: .92; letter-spacing: -.015em;
}
.hist-linea span {
  display: block; color: #fff; -webkit-text-stroke: .05em var(--marino); paint-order: stroke fill;
  text-shadow: .05em .06em 0 var(--rojo);
  clip-path: inset(0 100% 0 0); transition: clip-path .7s cubic-bezier(.7,0,.2,1);
}
.hist-linea { opacity: 0; transform: translateY(.3em) skewY(-3deg); transition: opacity .4s, transform .7s cubic-bezier(.2,1.2,.3,1); }
.hist-linea.is-on { opacity: 1; transform: none; }
.hist-linea.is-on span { clip-path: inset(-20% -5% -20% 0); }
.hist-final span { text-shadow: .05em .06em 0 var(--azul); }
.hist-sello {
  position: absolute; right: clamp(16px, 6vw, 110px); top: 11%; padding: .3em .6em; border: .12em solid var(--rojo); border-radius: .25em;
  font-family: var(--f-mono); font-weight: 800; font-size: clamp(26px, 4.4vw, 74px); color: var(--rojo); letter-spacing: .06em;
  transform: rotate(-12deg) scale(2.6); opacity: 0; pointer-events: none; background: rgba(20,0,6,.35);
  box-shadow: inset 0 0 0 .06em rgba(240,40,74,.4), 0 0 40px rgba(240,40,74,.35); text-shadow: 0 0 18px rgba(240,40,74,.6);
}
.hist-sello::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 30% 40%, transparent 50%, rgba(0,0,0,.35) 51%) 0 0/7px 7px; mix-blend-mode: multiply; }
.historia.sello-on .hist-sello { animation: golpe .45s cubic-bezier(.5,0,.4,1.4) forwards; }
@keyframes golpe { 0% { transform: rotate(-20deg) scale(2.6); opacity: 0; } 70% { transform: rotate(-11deg) scale(.92); opacity: 1; } 100% { transform: rotate(-12deg) scale(1); opacity: 1; } }
.historia.sello-on .pin-sticky { animation: temblor .35s .3s; }
@keyframes temblor { 20% { transform: translate(-6px, 4px); } 40% { transform: translate(5px, -3px); } 60% { transform: translate(-3px, 2px); } 80% { transform: translate(2px, -1px); } }
.hist-objetivo { position: absolute; left: clamp(20px, 7vw, 120px); bottom: clamp(60px, 10vh, 110px); display: flex; flex-wrap: wrap; gap: 14px; }
.obj-tarjeta {
  display: flex; flex-direction: column; padding: 14px 20px; border-radius: 14px; background: rgba(7,10,28,.72);
  border: 2px solid var(--oro); backdrop-filter: blur(8px); min-width: 230px;
  opacity: 0; transform: translateY(30px); transition: .6s cubic-bezier(.2,1.3,.3,1);
}
.obj-tarjeta small { font-family: var(--f-mono); font-size: 11px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--oro); }
.obj-tarjeta b { font-weight: 900; font-style: italic; text-transform: uppercase; font-size: clamp(16px, 1.6vw, 22px); }
.obj-jefe { border-color: var(--rojo); }
.obj-jefe small { color: var(--rojo); }
.historia.obj-on .obj-tarjeta { opacity: 1; transform: none; }
.historia.obj-on .obj-jefe { transition-delay: .15s; }
.hist-pasos { position: absolute; right: clamp(16px, 3vw, 40px); top: 50%; translate: 0 -50%; display: flex; flex-direction: column; gap: 10px; }
.hist-pasos i { width: 6px; height: 34px; border-radius: 3px; background: rgba(255,255,255,.25); transition: .3s; }
.hist-pasos i.is-on { background: var(--oro); height: 54px; }

/* =====================================================================
   3b · SORPRESAS
   ===================================================================== */
.sorpresas { height: 260vh; --q: 0; background: radial-gradient(90% 70% at 50% 60%, #1a1240, #07081a 70%); }
.sorpresas .pin-sticky { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: clamp(18px, 4vh, 44px); padding: var(--cab) 16px 4vh; }
.sorp-cabeza { text-align: center; position: relative; z-index: 2; }
.sorp-kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px; font-family: var(--f-mono); font-weight: 800; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--rojo); }
.sorp-kicker i { width: 9px; height: 9px; border-radius: 50%; background: var(--rojo); animation: parpadeo 1s steps(2) infinite; }
.sorpresas .titulo-xl { font-size: clamp(44px, 7.4vw, 128px); }
.sorp-sub { margin: 16px auto 0; max-width: 34ch; font-weight: 800; font-style: italic; font-size: clamp(16px, 1.6vw, 24px); line-height: 1.25; }
.sorp-pie { margin: 0; font-family: var(--f-mono); font-weight: 700; font-size: clamp(12px, 1vw, 14px); letter-spacing: .08em; text-transform: uppercase; color: var(--oro);
  opacity: 0; transform: translateY(14px); transition: .5s; }
.sorpresas.repartida .sorp-pie { opacity: 1; transform: none; }
.baraja { position: relative; display: grid; grid-template-columns: repeat(10, 1fr); gap: clamp(8px, 1vw, 16px); width: min(1500px, 94vw); }
.carta {
  --c: var(--azul); position: relative; aspect-ratio: 5 / 8;
  transform: translate(calc(var(--dx, 0px) * (1 - var(--q))), calc(var(--dy, 0px) * (1 - var(--q)) + var(--ay, 0px) * var(--q)))
             rotate(calc(var(--r, 0deg) * (1 - var(--q)) + var(--ar, 0deg) * var(--q)));
  will-change: transform;
}
.carta:nth-child(3n+2) { --c: var(--oro); }
.carta:nth-child(3n) { --c: var(--rojo); }
.carta-in {
  position: absolute; inset: 0; border-radius: 14px; overflow: hidden; border: 3px solid var(--marino);
  background: radial-gradient(120% 70% at 50% 28%, color-mix(in srgb, var(--c) 55%, #0b1040), #090b22 75%);
  box-shadow: 0 6px 0 var(--marino), 0 18px 40px rgba(0,0,0,.5); transition: transform .35s cubic-bezier(.2,1.5,.4,1);
}
.carta-in::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(255,255,255,.05) 0 2px, transparent 2px 5px); pointer-events: none; }
.carta-silueta { position: absolute; left: 6%; right: 6%; bottom: 0; width: 88%; height: auto; fill: #04050f; stroke: var(--c); stroke-width: 1.6; filter: drop-shadow(0 0 12px color-mix(in srgb, var(--c) 60%, transparent)); }
.carta-q { position: absolute; left: 0; right: 0; top: 30%; text-align: center; font-family: var(--f-mono); font-weight: 800; font-size: clamp(26px, 3vw, 54px); color: var(--c); line-height: 1; text-shadow: 0 0 18px var(--c); animation: dudar 2.4s ease-in-out infinite; }
.carta:nth-child(odd) .carta-q { animation-delay: -1.2s; }
@keyframes dudar { 50% { transform: rotate(-8deg) scale(1.08); } }
.carta-n { position: absolute; left: 10px; top: 8px; font-family: var(--f-mono); font-weight: 800; font-size: clamp(10px, .9vw, 13px); color: rgba(255,255,255,.75); }
.carta-censura { position: absolute; left: -2px; right: -2px; bottom: 12%; padding: 5px 0; background: #000; color: var(--oro); text-align: center;
  font-family: var(--f-mono); font-style: normal; font-weight: 800; font-size: clamp(8px, .72vw, 11px); letter-spacing: .14em; transform: rotate(-4deg); }
.carta-sello { position: absolute; left: 50%; top: 52%; padding: .3em .5em; border: 3px solid var(--rojo); border-radius: 6px; color: var(--rojo); background: rgba(10,0,4,.7);
  font-family: var(--f-mono); font-weight: 800; font-size: clamp(9px, .8vw, 12px); letter-spacing: .08em; white-space: nowrap;
  transform: translate(-50%, -50%) rotate(-14deg) scale(2); opacity: 0; transition: .25s cubic-bezier(.5,0,.4,1.4); pointer-events: none; }
.sorpresas.repartida .carta:hover .carta-in { transform: translateY(-12px) rotate(-2deg) scale(1.05); }
.carta:hover .carta-sello { opacity: 1; transform: translate(-50%, -50%) rotate(-14deg) scale(1); }

/* =====================================================================
   4 · MAPA
   ===================================================================== */
.mapa { background: radial-gradient(120% 90% at 50% 0%, #121a52, var(--noche) 60%); height: 400vh; }
.mapa-cabeza { position: absolute; left: clamp(20px, 6vw, 90px); right: clamp(20px, 6vw, 90px); top: calc(var(--cab) + 2vh); display: flex; flex-wrap: wrap; align-items: flex-end; gap: 8px 30px; z-index: 2; }
.mapa-cabeza .titulo-xl { font-size: clamp(40px, 6.4vw, 110px); }
.mapa-sub { margin: 0 0 .6em; max-width: 26ch; color: var(--gris); font-weight: 600; font-size: clamp(14px, 1.2vw, 17px); }
.mapa-contador { margin-left: auto; font-family: var(--f-mono); font-weight: 800; font-size: 14px; color: var(--gris); padding-bottom: .8em; }
.mapa-contador b { font-size: 40px; color: var(--oro); }
.mapa-pista {
  position: absolute; left: 0; top: calc(var(--cab) + 2vh + clamp(70px, 13vh, 150px)); bottom: 9vh;
  display: flex; gap: clamp(16px, 2.6vw, 40px); padding: 0 clamp(20px, 6vw, 90px); will-change: transform;
}
.lugar {
  position: relative; flex: none; height: 100%; aspect-ratio: 16 / 10; max-width: 86vw; border-radius: 22px; overflow: hidden;
  background: #000; border: 3px solid rgba(255,255,255,.1); transition: border-color .3s, transform .4s cubic-bezier(.2,1.2,.3,1);
  box-shadow: 0 30px 60px rgba(0,0,0,.45);
}
.lugar:hover { border-color: var(--oro); transform: translateY(-6px) rotate(-.4deg); }
.lugar .vid { position: absolute; inset: 0 -8%; width: 116%; transform: translateX(calc(var(--px, 0) * 1%)); transition: filter .4s; filter: saturate(1.1); }
.lugar::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5,8,26,.88), transparent 50%); pointer-events: none; }
.lugar-info { position: absolute; left: clamp(18px, 2.4vw, 36px); right: 20px; bottom: clamp(16px, 2.4vw, 32px); z-index: 1; }
.lugar-info i { font-family: var(--f-mono); font-style: normal; font-weight: 800; color: var(--oro); font-size: 14px; letter-spacing: .1em; }
.lugar-info h3 {
  margin: 4px 0 2px; font-weight: 900; font-style: italic; text-transform: uppercase; font-stretch: 112%; line-height: .9;
  font-size: clamp(30px, 4.4vw, 76px); color: #fff; -webkit-text-stroke: .05em var(--marino); paint-order: stroke fill; text-shadow: .05em .06em 0 var(--rojo);
}
.lugar-info p { margin: 6px 0 0; font-weight: 700; font-size: clamp(14px, 1.2vw, 18px); color: rgba(255,255,255,.86); }
.lugar-secreto .vid { filter: grayscale(.4) contrast(1.2) brightness(.8); }
.lugar-clasificado {
  position: absolute; right: 6%; top: 10%; z-index: 2; font-family: var(--f-mono); font-weight: 800; font-size: clamp(16px, 2vw, 28px);
  padding: .25em .6em; border: 4px solid var(--rojo); color: var(--rojo); transform: rotate(10deg); letter-spacing: .1em; background: rgba(0,0,0,.35);
}
.mapa-barra { position: absolute; left: clamp(20px, 6vw, 90px); right: clamp(20px, 6vw, 90px); bottom: 4vh; height: 4px; border-radius: 2px; background: rgba(255,255,255,.12); overflow: hidden; }
.mapa-barra i { display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--azul), var(--oro), var(--rojo)); }

/* =====================================================================
   5 · CIFRAS
   ===================================================================== */
.cifras { padding: clamp(80px, 12vh, 140px) clamp(16px, 4vw, 60px); background: var(--noche); position: relative; z-index: 1; }
.cifras-rejilla { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(10px, 1.4vw, 20px); max-width: 1500px; margin: 0 auto; }
.cifra {
  position: relative; padding: clamp(20px, 2.6vw, 38px) clamp(14px, 1.6vw, 24px); border-radius: 20px; border: 3px solid var(--marino);
  box-shadow: 0 8px 0 var(--marino); transform: translateY(40px) rotate(var(--r, 0deg)); opacity: 0;
  transition: transform .8s cubic-bezier(.2,1.4,.3,1), opacity .5s; overflow: hidden;
}
.cifra.visto { transform: rotate(var(--r, 0deg)); opacity: 1; }
.cifra:nth-child(2) { --r: 1.2deg; transition-delay: .08s; }
.cifra:nth-child(3) { --r: -1deg; transition-delay: .16s; }
.cifra:nth-child(4) { --r: .8deg; transition-delay: .24s; }
.cifra:nth-child(5) { --r: -1.4deg; transition-delay: .32s; }
.cifra:hover { transform: translateY(-6px) rotate(0deg) scale(1.03); }
.cifra b { display: block; font-weight: 900; font-style: italic; font-stretch: 70%; line-height: .85; font-size: clamp(56px, 8vw, 150px); letter-spacing: -.02em; }
.cifra span { display: block; margin-top: 10px; font-weight: 800; text-transform: uppercase; font-style: italic; font-size: clamp(12px, 1.1vw, 16px); letter-spacing: .02em; }
.c-azul { background: var(--azul); }
.c-oro { background: var(--oro); color: var(--marino); }
.c-rojo { background: var(--rojo); }
.c-blanco { background: #fff; color: var(--marino); }
.c-secreto { background: var(--marino); border-color: var(--oro); box-shadow: 0 8px 0 var(--oro); }
.c-secreto b { font-family: var(--f-mono); font-style: normal; font-stretch: 100%; color: var(--oro); font-size: clamp(40px, 5vw, 92px); text-shadow: 0 0 22px rgba(255,212,0,.5); }

/* =====================================================================
   6 · EXPEDIENTE
   ===================================================================== */
.expediente { height: 460vh; background: #05060f; --sirena: .15; --vel: 1.6s; }
.expediente[data-nivel="2"] { --sirena: .35; --vel: 1.1s; }
.expediente[data-nivel="3"] { --sirena: .6; --vel: .7s; }
.expediente[data-nivel="4"] { --sirena: 1; --vel: .34s; }
.exp-sirena { position: absolute; inset: 0; pointer-events: none; opacity: var(--sirena); transition: opacity .5s; }
.exp-sirena i { position: absolute; top: -30%; width: 70%; height: 90%; border-radius: 50%; filter: blur(60px); animation: sirena var(--vel) infinite steps(1); }
.exp-sirena i:first-child { left: -20%; background: rgba(36,80,255,.75); }
.exp-sirena i:last-child { right: -20%; background: rgba(240,40,74,.75); animation-delay: calc(var(--vel) / 2); }
@keyframes sirena { 0% { opacity: 1; } 50% { opacity: .1; } }
.expediente[data-nivel="4"] .pin-sticky::after { content: ''; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 160px rgba(240,40,74,.6); animation: latido .68s infinite; }
@keyframes latido { 50% { box-shadow: inset 0 0 60px rgba(240,40,74,.25); } }
.exp-grid {
  position: absolute; inset: calc(var(--cab) + 3vh) clamp(16px, 5vw, 80px) 6vh; display: grid; grid-template-columns: minmax(300px, 420px) 1fr;
  gap: clamp(20px, 4vw, 70px); align-items: center; z-index: 2;
}
.exp-doc {
  position: relative; background: var(--papel); color: #2a2418; border-radius: 6px; padding: 26px 26px 30px;
  transform: rotate(-2.2deg); box-shadow: 0 30px 60px rgba(0,0,0,.6), 0 0 0 1px rgba(0,0,0,.1);
  background-image: repeating-linear-gradient(0deg, transparent 0 27px, rgba(40,60,140,.12) 27px 28px), linear-gradient(180deg, #f6eedc, #e8dcc2);
}
.exp-doc::before { content: ''; position: absolute; top: -14px; left: 50%; width: 110px; height: 30px; margin-left: -55px; background: rgba(255,212,0,.75); transform: rotate(3deg); box-shadow: 0 2px 6px rgba(0,0,0,.25); }
.exp-doc-cab { display: flex; gap: 14px; align-items: center; padding-bottom: 14px; border-bottom: 2px dashed rgba(42,36,24,.3); }
.exp-escudo { width: 48px; height: 56px; flex: none; display: grid; place-items: center; font-family: var(--f-mono); font-weight: 800; color: #fff; border-radius: 6px 6px 24px 24px;
  background: linear-gradient(90deg, var(--azul) 33%, var(--oro) 33% 66%, var(--rojo) 66%); text-shadow: 0 1px 2px rgba(0,0,0,.6); }
.exp-doc-cab small { font-family: var(--f-mono); font-size: 10px; letter-spacing: .14em; font-weight: 700; opacity: .7; }
.exp-doc-cab b { display: block; font-weight: 900; font-style: italic; text-transform: uppercase; font-size: 22px; line-height: 1.05; }
.exp-campos { margin: 14px 0; font-family: var(--f-mono); font-size: 13px; }
.exp-campos div { display: flex; gap: 10px; padding: 4px 0; }
.exp-campos dt { width: 74px; flex: none; opacity: .6; text-transform: uppercase; font-size: 11px; padding-top: 2px; }
.exp-campos dd { margin: 0; font-weight: 800; }
.exp-campos em { font-style: normal; color: var(--rojo-2); }
.exp-estado-txt { color: var(--rojo-2); }
.exp-niveles { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 8px; }
.exp-niveles li { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 8px; border: 2px solid rgba(42,36,24,.2); font-weight: 800; font-style: italic; text-transform: uppercase; font-size: 15px; transition: .35s; }
.exp-niveles li b { width: 28px; height: 28px; flex: none; display: grid; place-items: center; border-radius: 50%; border: 2px solid currentColor; font-family: var(--f-mono); font-style: normal; font-size: 13px; }
.exp-niveles li.hecho { background: rgba(42,36,24,.08); }
.exp-niveles li.activo { background: var(--rojo); color: #fff; border-color: var(--rojo-2); transform: translateX(10px) rotate(1deg); box-shadow: 0 6px 0 var(--rojo-2); }
.exp-sello {
  position: absolute; right: -30px; top: 64px; width: 116px; height: 116px; border-radius: 50%; border: 5px double var(--rojo);
  display: grid; place-items: center; color: var(--rojo); font-family: var(--f-mono); font-weight: 800; font-size: 54px; transform: rotate(-14deg);
  background: rgba(240,40,74,.06); mix-blend-mode: multiply;
}
.exp-sello.golpe { animation: golpe2 .4s cubic-bezier(.5,0,.4,1.4); }
@keyframes golpe2 { 0% { transform: rotate(-30deg) scale(2.2); opacity: 0; } 70% { transform: rotate(-12deg) scale(.9); opacity: 1; } 100% { transform: rotate(-14deg) scale(1); } }
.exp-monitor {
  position: relative; aspect-ratio: 16 / 9; width: 100%; max-height: 100%; border-radius: 20px; overflow: hidden; background: #000; justify-self: center;
  border: 3px solid rgba(255,255,255,.14); box-shadow: 0 40px 80px rgba(0,0,0,.6);
}
.expediente[data-nivel="4"] .exp-monitor { animation: temblor .5s infinite; border-color: var(--rojo); }
.exp-pantallas .vid { position: absolute; inset: 0; opacity: 0; transition: opacity .35s; }
.exp-pantallas .vid.is-on { opacity: 1; }
.exp-monitor::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(0,0,0,.18) 0 2px, transparent 2px 4px); }
.exp-hud { position: absolute; left: 18px; right: 18px; top: 16px; display: flex; justify-content: space-between; font-family: var(--f-mono); font-weight: 800; font-size: 13px; letter-spacing: .12em; z-index: 2; text-shadow: 0 1px 3px #000; }
.exp-rec { display: flex; align-items: center; gap: 8px; color: var(--rojo); }
.exp-rec i { width: 10px; height: 10px; border-radius: 50%; background: var(--rojo); animation: parpadeo 1s steps(2) infinite; }
.exp-frase { position: absolute; left: 18px; right: 18px; bottom: 16px; margin: 0; z-index: 2; }
.exp-frase span { display: inline-block; font-weight: 900; font-style: italic; text-transform: uppercase; font-size: clamp(20px, 2.6vw, 44px); line-height: 1; padding: .2em .4em; background: var(--oro); color: var(--marino); transform: rotate(-1.5deg); box-shadow: .12em .14em 0 var(--marino); }
.exp-frase.cambio span { animation: entrar .45s cubic-bezier(.2,1.4,.3,1); }
.exp-nivel-grande { position: absolute; right: -2vw; bottom: -12vh; z-index: 1; pointer-events: none; font-weight: 900; font-style: italic; font-stretch: 70%; font-size: 70vh; line-height: 1; color: transparent; -webkit-text-stroke: 2px rgba(255,255,255,.07); }

/* =====================================================================
   7 · GAMEPLAY
   ===================================================================== */
.juego { padding: clamp(100px, 16vh, 180px) clamp(16px, 4vw, 60px) clamp(60px, 10vh, 120px); background: linear-gradient(180deg, #05060f, var(--noche-2)); perspective: 1400px; }
.juego-cabeza { text-align: center; margin-bottom: clamp(30px, 5vh, 60px); }
.juego-sub { color: var(--gris); font-weight: 700; margin: 14px 0 0; font-size: clamp(15px, 1.3vw, 19px); }
.monitor {
  max-width: 1240px; margin: 0 auto; padding: clamp(8px, 1vw, 14px); border-radius: 26px; background: linear-gradient(160deg, #262c55, #0b0e26);
  border: 2px solid rgba(255,255,255,.12); box-shadow: 0 50px 100px rgba(0,0,0,.6), 0 0 0 1px #000 inset;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .3s ease-out;
}
.monitor-pantalla { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #000; }
.monitor-pantalla .vid { position: absolute; inset: 0; opacity: 0; }
.monitor-pantalla .vid.is-on { opacity: 1; }
.monitor-lineas { position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(0,0,0,.12) 0 1px, transparent 1px 3px); }
.monitor-glitch { position: absolute; inset: 0; opacity: 0; pointer-events: none; z-index: 2;
  background: repeating-linear-gradient(0deg, rgba(255,255,255,.9) 0 2px, rgba(0,0,0,.9) 2px 5px, rgba(36,80,255,.6) 5px 7px, rgba(240,40,74,.6) 7px 9px); mix-blend-mode: hard-light; }
.monitor.glitch .monitor-glitch { animation: glitch .38s steps(6); }
@keyframes glitch { 0% { opacity: .9; transform: translateY(0) scaleY(1); } 30% { opacity: .7; transform: translateY(-8%) scaleY(1.4); } 60% { opacity: .5; transform: translateY(5%) scaleY(.6); } 100% { opacity: 0; } }
.monitor.glitch .vid.is-on { animation: rgb .38s steps(4); }
@keyframes rgb { 0% { filter: hue-rotate(90deg) saturate(3); transform: translateX(-2%); } 50% { filter: invert(.2) saturate(2); transform: translateX(2%); } 100% { filter: none; transform: none; } }
.monitor-canales { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: clamp(8px, 1vw, 14px); }
.monitor-canales button {
  position: relative; overflow: hidden; display: flex; align-items: center; gap: 10px; text-align: left; padding: 12px 14px; border-radius: 12px;
  background: rgba(255,255,255,.04); border: 2px solid rgba(255,255,255,.08); font-weight: 800; font-style: italic; text-transform: uppercase; font-size: clamp(12px, 1vw, 15px);
  transition: background .2s, border-color .2s;
}
.monitor-canales button b { font-family: var(--f-mono); font-style: normal; color: var(--oro); }
.monitor-canales button:hover { background: rgba(255,255,255,.1); }
.monitor-canales button.is-on { border-color: var(--oro); background: rgba(255,212,0,.1); }
.monitor-canales button::after { content: ''; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--oro); transform-origin: left; transform: scaleX(0); }
.monitor-canales button.is-on::after { transform: scaleX(var(--t, 0)); }

/* =====================================================================
   8 · GALERÍA
   ===================================================================== */
.galeria { position: relative; overflow: hidden; padding: clamp(80px, 12vh, 140px) 0 0; background: var(--noche-2); }
.galeria-cabeza { text-align: center; padding: 0 20px; position: relative; z-index: 2; }
.galeria-sub { color: var(--gris); font-weight: 700; margin: 14px 0 0; font-size: clamp(15px, 1.3vw, 19px); }
.galeria-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(10px, 1.4vw, 22px); padding: clamp(40px, 7vh, 80px) clamp(10px, 2vw, 30px) 0; height: clamp(900px, 175vh, 1700px); overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 8%, #000 86%, transparent); mask-image: linear-gradient(180deg, transparent, #000 8%, #000 86%, transparent); }
.gcol { display: flex; flex-direction: column; gap: clamp(10px, 1.4vw, 22px); will-change: transform; }
.gcol figure { position: relative; margin: 0; border-radius: 16px; overflow: hidden; background: #000; cursor: zoom-in; border: 2px solid rgba(255,255,255,.06); flex: none; }
.gcol img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .7s cubic-bezier(.2,1,.3,1), filter .4s; filter: saturate(1.05); }
.gcol figure:hover img { transform: scale(1.07); }
.gcol figcaption {
  position: absolute; left: 12px; bottom: 12px; padding: 5px 10px; border-radius: 8px; background: rgba(7,10,28,.8); font-weight: 800; font-style: italic;
  text-transform: uppercase; font-size: 13px; transform: translateY(8px); opacity: 0; transition: .3s; backdrop-filter: blur(6px);
}
.gcol figure:hover figcaption { transform: none; opacity: 1; }

/* =====================================================================
   9 · VENTANILLA / CTA FINAL
   ===================================================================== */
.final { position: relative; min-height: 100vh; display: grid; align-items: center; overflow: hidden; padding: calc(var(--cab) + 40px) clamp(16px, 5vw, 80px) 80px; }
.final-fondo { position: absolute; inset: 0; }
.final-fondo::after { content: ''; position: absolute; inset: 0; background: radial-gradient(90% 90% at 70% 50%, rgba(7,10,28,.45), rgba(7,10,28,.92) 70%), linear-gradient(180deg, var(--noche-2), transparent 25%, transparent 75%, var(--noche)); }
.final-inner { position: relative; display: grid; grid-template-columns: minmax(280px, 380px) 1fr; gap: clamp(30px, 6vw, 110px); align-items: center; max-width: 1400px; margin: 0 auto; width: 100%; }
.ventanilla {
  position: relative; padding: 22px; border-radius: 22px; background: linear-gradient(160deg, #3a4170, #1a1f45 60%, #11142f);
  border: 3px solid #000; box-shadow: 0 30px 60px rgba(0,0,0,.6), inset 0 2px 0 rgba(255,255,255,.15); transform: rotate(-1.5deg);
  margin-bottom: 190px;
}
.vent-cartel { background: var(--azul); border: 3px solid var(--marino); border-radius: 10px; padding: 10px 14px; text-align: center; box-shadow: 0 4px 0 var(--marino); }
.vent-cartel small { display: block; font-family: var(--f-mono); font-size: 11px; letter-spacing: .2em; font-weight: 800; opacity: .8; text-transform: uppercase; }
.vent-cartel b { font-weight: 900; font-style: italic; text-transform: uppercase; font-size: 22px; }
.vent-display { margin: 16px 0; background: #050505; border-radius: 10px; padding: 14px 16px; border: 3px solid #000; box-shadow: inset 0 0 20px rgba(0,0,0,.9); }
.vent-led {
  font-family: var(--f-mono); font-weight: 800; font-size: 26px; letter-spacing: .08em; color: #ff9a1f; text-shadow: 0 0 10px rgba(255,140,0,.8);
  background-image: radial-gradient(circle, rgba(255,154,31,.08) 1px, transparent 1.5px); background-size: 4px 4px; text-align: center; overflow: hidden; white-space: nowrap;
}
html[data-estado="ya"] .vent-led { color: #39ff7a; text-shadow: 0 0 10px rgba(57,255,122,.8); }
.vent-boton { display: block; width: 100%; padding: 0; border: 0; background: #6b0718; border-radius: 16px; }
.vent-boton-cara {
  display: block; padding: 18px; border-radius: 16px; background: linear-gradient(180deg, #ff4466, var(--rojo) 55%, #c4183a); border: 3px solid #4a0412;
  font-weight: 900; font-style: italic; text-transform: uppercase; font-size: 20px; transform: translateY(-8px); transition: transform .08s;
}
.vent-boton:hover .vent-boton-cara { transform: translateY(-10px); }
.vent-boton:active .vent-boton-cara, .vent-boton.pulsado .vent-boton-cara { transform: translateY(-2px); }
.vent-ranura { position: relative; height: 0; margin: 16px 6px 0; border-top: 8px solid #000; border-radius: 4px; overflow: visible; }
.ticket {
  position: absolute; left: 10%; right: 10%; top: 0; padding: 16px 14px 20px; background: #fffdf5; color: #222; text-align: center; font-family: var(--f-mono);
  box-shadow: 0 14px 30px rgba(0,0,0,.4); transform-origin: top; clip-path: inset(0 0 100% 0); transition: clip-path 1.1s steps(14);
}
.ticket.fuera { clip-path: inset(0 0 -10% 0); }
.ticket small { display: block; font-size: 9px; letter-spacing: .1em; opacity: .6; }
.ticket span { display: block; margin-top: 8px; font-size: 12px; text-transform: uppercase; }
.ticket b { display: block; font-size: 46px; line-height: 1; font-weight: 800; letter-spacing: .04em; }
.ticket em { display: block; margin-top: 6px; font-style: normal; font-size: 12px; font-weight: 700; }
.ticket-corte { position: absolute; left: 0; right: 0; bottom: -6px; height: 8px; background: linear-gradient(135deg, #fffdf5 33%, transparent 33%) 0 0/10px 10px, linear-gradient(225deg, #fffdf5 33%, transparent 33%) 0 0/10px 10px; }
.final-texto { text-align: center; }
.final-logo { width: min(760px, 100%); height: auto; margin: 0 auto; filter: drop-shadow(0 0 30px rgba(255,200,0,.45)); }
.final-claim { margin: 10px 0 0; font-weight: 900; font-style: italic; text-transform: uppercase; font-size: clamp(20px, 2.6vw, 40px); line-height: 1.05; text-shadow: 0 3px 0 var(--marino); }
.final-claim b { color: var(--oro); }
.final-cta { margin-top: 28px; }
.final-nota { margin: 22px auto 0; max-width: 46ch; color: var(--gris); font-weight: 600; font-size: 15px; }
.steam-widget { margin: 26px auto 0; max-width: 646px; }
.steam-widget iframe { width: 100%; height: 190px; border: 0; border-radius: 6px; }
.redes { list-style: none; margin: 26px 0 0; padding: 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }
.redes a { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: rgba(255,255,255,.08); border: 2px solid rgba(255,255,255,.14); transition: .2s; }
.redes a:hover { background: var(--oro); color: var(--marino); transform: translateY(-3px) rotate(-6deg); }
.redes svg { width: 22px; height: 22px; fill: currentColor; }

/* =====================================================================
   PIE
   ===================================================================== */
.pie { background: var(--noche); position: relative; }
.pie-barras { display: grid; grid-template-columns: repeat(3, 1fr); height: 8px; }
.pie-barras i:nth-child(1) { background: var(--azul); }
.pie-barras i:nth-child(2) { background: var(--oro); }
.pie-barras i:nth-child(3) { background: var(--rojo); }
.pie-inner { max-width: 1200px; margin: 0 auto; padding: 40px 20px 50px; display: grid; gap: 18px; justify-items: center; text-align: center; }
.pie-cazvia { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.pie-cazvia img { width: 40px; height: 40px; border-radius: 10px; }
.pie-cazvia span { display: flex; flex-direction: column; text-align: left; line-height: 1.1; }
.pie-cazvia small { font-family: var(--f-mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--gris); }
.pie-cazvia b { font-weight: 900; font-style: italic; letter-spacing: .04em; }
.pie-aviso { max-width: 70ch; margin: 0; font-size: 13px; color: var(--gris); }
.pie-links { display: flex; gap: 18px; }
.pie-links a { font-size: 13px; font-weight: 700; color: rgba(255,255,255,.8); }
.pie-copy { margin: 0; font-family: var(--f-mono); font-size: 11px; color: rgba(169,176,214,.6); }

/* =====================================================================
   VISOR
   ===================================================================== */
.visor { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; background: rgba(3,4,12,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); animation: aparecer .3s; }
@keyframes aparecer { from { opacity: 0; } }
.visor-caja { width: min(92vw, calc(88vh * 16 / 9)); aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #000; box-shadow: 0 40px 100px rgba(0,0,0,.7); animation: zoomIn .4s cubic-bezier(.2,1.2,.3,1); }
.visor-caja.vertical { width: min(92vw, calc(86vh * 9 / 16)); aspect-ratio: 9 / 16; }
.visor-caja video, .visor-caja iframe, .visor-caja img { width: 100%; height: 100%; object-fit: contain; border: 0; background: #000; }
@keyframes zoomIn { from { transform: scale(.86); opacity: 0; } }
.visor-cerrar { position: absolute; top: 18px; right: 18px; width: 48px; height: 48px; border-radius: 50%; border: 2px solid rgba(255,255,255,.3); background: rgba(255,255,255,.08); font-size: 20px; z-index: 2; }
.visor-cerrar:hover { background: var(--rojo); border-color: var(--rojo); }
.visor-flecha { position: absolute; top: 50%; translate: 0 -50%; width: 54px; height: 54px; border-radius: 50%; border: 2px solid rgba(255,255,255,.3); background: rgba(255,255,255,.08); font-size: 30px; line-height: 1; z-index: 2; }
.visor-flecha:hover { background: var(--oro); color: var(--marino); }
.visor-ant { left: 18px; } .visor-sig { right: 18px; }
.visor.solo-video .visor-flecha { display: none; }
.visor-pie { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; margin: 0; font-weight: 800; font-style: italic; text-transform: uppercase; }

/* =====================================================================
   CURSOR
   ===================================================================== */
.cursor {
  --s: 40px; position: fixed; left: 0; top: 0; z-index: 80; width: var(--s); height: var(--s); margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2);
  border-radius: 50%; pointer-events: none; display: grid; place-items: center; background: var(--oro); color: var(--marino);
  border: 2px solid var(--marino); box-shadow: 0 4px 14px rgba(0,0,0,.45);
  transform: translate3d(var(--x, -200px), var(--y, -200px), 0) scale(0); transition: transform .2s cubic-bezier(.3,1.5,.5,1), width .2s, height .2s, margin .2s;
}
.cursor.on { transform: translate3d(var(--x), var(--y), 0) scale(1); }
.cursor svg { width: 46%; height: 46%; fill: currentColor; }
.cursor.c-play { --s: 54px; }
.cursor.c-play svg { margin-left: 8%; }
.cursor.c-zoom { --s: 30px; background: rgba(255,255,255,.92); }
.cursor.c-next { --s: 38px; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }
/* Con ratón: el propio cursor hace de botón; se quita el play centrado y la flecha */
@media (hover: hover) and (pointer: fine) {
  .trailer-card, .gcol figure, .monitor-pantalla { cursor: none; }
  .trailer-play { transition: transform .25s cubic-bezier(.3,1.6,.5,1), opacity .2s; }
  .trailer-card:hover .trailer-play { opacity: 0; transform: scale(.5); }
}

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1100px) {
  .cab-nav { display: none; }
  .cifras-rejilla { grid-template-columns: repeat(2, 1fr); }
  .cifra.c-secreto { grid-column: span 2; }
}
@media (max-width: 820px) {
  :root { --cab: 62px; }
  .cab-marca img { height: 34px; }
  .hero-plataforma { display: none; }
  .hero-cta { flex-direction: column; align-items: stretch; width: min(360px, 100%); }
  .hero-cta .btn { justify-content: center; }
  .trailer-card { clip-path: inset(calc(var(--k) * 30vh) calc(var(--k) * 6vw) round calc(var(--k) * 22px)); }
  .trailer-meta, .trailer-rec { left: calc(var(--k) * 6vw + 5vw); }
  .trailer-meta { bottom: calc(var(--k) * 30vh + 3vh); }
  .trailer-rec { top: calc(var(--k) * 30vh + 3vh); }
  .trailer-titulo { align-items: flex-start; padding-top: 14vh; font-size: 18.5vw; font-stretch: 100%; letter-spacing: -.04em; }
  .trailer-titulo span { -webkit-text-stroke-width: 1.5px; }
  .hist-textos { font-size: clamp(32px, 10vw, 60px); top: 42%; }
  .hist-sello { top: 14%; right: 6vw; }
  .hist-objetivo { flex-direction: column; left: 20px; right: 20px; }
  .obj-tarjeta { min-width: 0; }
  .hist-pasos { right: 10px; }
  .mapa-sub { display: none; }
  .mapa-pista { top: calc(var(--cab) + 120px); bottom: 12vh; }
  .lugar { aspect-ratio: 3 / 4; height: auto; width: 78vw; align-self: center; max-height: 100%; }
  .exp-grid { grid-template-columns: 1fr; align-content: center; gap: 22px; inset: calc(var(--cab) + 10px) 16px 3vh; }
  .exp-doc { padding: 16px 16px 18px; transform: rotate(-1.2deg); order: 2; }
  .exp-campos, .exp-doc-cab small { display: none; }
  .exp-doc-cab { padding-bottom: 8px; }
  .exp-niveles { grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 10px; }
  .exp-niveles li { font-size: 11px; padding: 7px 8px; gap: 7px; }
  .exp-niveles li b { width: 22px; height: 22px; font-size: 11px; }
  .exp-niveles li.activo { transform: none; }
  .exp-sello { width: 64px; height: 64px; font-size: 30px; right: -10px; top: -18px; }
  .exp-nivel-grande { font-size: 50vh; }
  .monitor-canales { grid-template-columns: 1fr 1fr; }
  .galeria-cols { grid-template-columns: 1fr 1fr; height: 150vh; }
  .baraja { grid-template-columns: repeat(5, 1fr); width: 100%; }
  .carta-censura { font-size: 7px; letter-spacing: .06em; }
  .gcol:nth-child(3) { display: none; }
  .final-inner { grid-template-columns: 1fr; }
  .ventanilla { order: 2; max-width: 380px; margin: 0 auto; width: 100%; }
  .cifras-rejilla { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .btn-sm span { display: none !important; }
  .btn-sm { padding: .55em .7em; }
}

/* Movimiento reducido: sin animaciones de scroll largas */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .cinta-pista { animation: none; }
}
