:root {
  --bg: #0c1f17;
  --bg-2: #12301f;
  --panel: #173a29;
  --ink: #f4ede0;
  --ink-soft: #cfc7b3;
  --gold: #d3a43f;
  --gold-deep: #b8862b;
  --teal: #2fa3a0;
  --danger: #c4503c;
  --radius: 16px;
  --font-display: "Cinzel", "Trajan Pro", Georgia, serif;
  --font-body: "Crimson Pro", Georgia, serif;
  --shadow: 0 18px 50px rgba(0, 0, 0, .45);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 70px; }
body {
  margin: 0; overflow-x: clip; background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: 1.2rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.15; margin: 0; }
.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 40px); }
.section { padding: clamp(72px, 11vw, 140px) 0; position: relative; }
h2 { font-size: clamp(1.9rem, 4.4vw, 3.1rem); margin-bottom: .5em; }
.eyebrow { font-family: var(--font-display); letter-spacing: .22em; text-transform: uppercase; font-size: .8rem; color: var(--gold); margin: 0 0 14px; }
.sub { color: var(--ink-soft); max-width: 62ch; margin: 0 0 36px; }
.lead { font-size: clamp(1.25rem, 2.4vw, 1.55rem); color: var(--ink); }

/* ---------- Navegación ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; align-items: center; gap: 24px;
  padding: 12px clamp(16px, 4vw, 40px);
  background: linear-gradient(to bottom, rgba(8, 22, 16, .85), rgba(8, 22, 16, 0));
  transition: background .3s, backdrop-filter .3s;
}
.nav.solid { background: rgba(8, 22, 16, .9); backdrop-filter: blur(10px); box-shadow: 0 1px 0 rgba(255, 255, 255, .06); }
.brand { font-family: var(--font-display); font-weight: 900; font-size: 1.3rem; letter-spacing: .08em; text-decoration: none; margin-right: auto; }
.nav-links { display: flex; align-items: center; gap: clamp(12px, 2vw, 26px); font-size: 1rem; }
.nav-links a { text-decoration: none; opacity: .85; }
.nav-links a:hover { opacity: 1; color: var(--gold); }
.nav-cta { border: 1px solid var(--gold); border-radius: 999px; padding: 6px 16px; opacity: 1 !important; color: var(--gold); }
.nav-cta:hover { background: var(--gold); color: #1a1205 !important; }
.lang { font-family: var(--font-display); font-size: .78rem; background: transparent; color: var(--ink); border: 1px solid rgba(255, 255, 255, .35); border-radius: 8px; padding: 6px 10px; cursor: pointer; }
.lang:hover { border-color: var(--gold); color: var(--gold); }
@media (max-width: 860px) { .nav-links a:not(.nav-cta) { display: none; } }

/* ---------- Portada ---------- */
.hero { position: relative; min-height: 100svh; display: grid; align-items: center; overflow: hidden; padding: 96px 0 70px; }
.hero-bg {
  position: absolute; inset: -6%; z-index: 0;
  background: url("../img/cover-small.webp") center/cover; filter: blur(28px) saturate(1.25) brightness(.55);
  transform: translate3d(0, calc(var(--sy, 0) * .25px), 0) scale(1.1);
}
.hero::after { content: ""; position: absolute; inset: 0; z-index: 1; background: radial-gradient(ellipse at 30% 40%, transparent 20%, rgba(6, 18, 12, .75) 100%); pointer-events: none; }
.fireflies { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.fireflies span {
  position: absolute; width: 5px; height: 5px; border-radius: 50%; background: #f9e29a;
  box-shadow: 0 0 12px 4px rgba(249, 226, 154, .55); opacity: 0; animation: float 9s ease-in-out infinite;
}
@keyframes float {
  0% { opacity: 0; transform: translate(0, 20px); }
  20%, 70% { opacity: .9; }
  100% { opacity: 0; transform: translate(var(--dx, 30px), -140px); }
}
.hero-inner { position: relative; z-index: 3; width: min(1180px, 100% - 40px); margin-inline: auto; display: grid; grid-template-columns: 1fr; gap: clamp(14px, 2.4vh, 26px); justify-items: center; text-align: center; }
.hero h1 { font-size: clamp(2.2rem, 8vw, 5.4rem); font-weight: 900; letter-spacing: .04em; text-shadow: 0 6px 30px rgba(0, 0, 0, .6); margin-bottom: 8px; background: linear-gradient(180deg, #fff 30%, #e8d6a2 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tagline { font-size: clamp(1.1rem, 2vw, 1.4rem); max-width: 62ch; margin: 0 auto 18px; text-shadow: 0 2px 12px rgba(0, 0, 0, .7); }
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-bottom: 0; }
.hero-facts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; font-family: var(--font-display); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.hero-facts li::before { content: "◆ "; color: var(--gold); }
.btn { display: inline-block; font-family: var(--font-display); font-weight: 700; letter-spacing: .08em; text-decoration: none; padding: 14px 28px; border-radius: 999px; border: 1px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .15s, background .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(180deg, #e8be5a, var(--gold-deep)); color: #1a1205; box-shadow: 0 8px 26px rgba(211, 164, 63, .35); }
.btn-ghost { border-color: rgba(255, 255, 255, .5); color: var(--ink); background: rgba(255, 255, 255, .06); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-small { padding: 8px 18px; font-size: .75rem; background: rgba(255, 255, 255, .1); color: var(--ink); border-color: rgba(255, 255, 255, .25); }
.poster-wrap { perspective: 1400px; position: relative; justify-self: center; width: min(560px, 82vw, calc((100svh - 170px) * .88)); }
.poster { position: relative; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .12s ease-out; will-change: transform; }
.scroll-hint { position: absolute; bottom: 22px; left: 50%; z-index: 3; width: 28px; height: 46px; margin-left: -14px; border: 2px solid rgba(255, 255, 255, .55); border-radius: 16px; }
.scroll-hint span { position: absolute; top: 8px; left: 50%; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: scrollDot 1.6s infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(18px); } }
@media (max-width: 860px) { .hero { padding-top: 84px; } .poster-wrap { min-width: 0; width: 100%; } .hero-facts { font-size: .74rem; } }

/* ---------- Historia ---------- */
.story { text-align: center; background: radial-gradient(ellipse at 50% 0%, #1b4a33 0%, var(--bg) 65%); }

/* Vídeo promocional bajo la portada */
.trailer { text-align: center; background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%); }
.trailer h2 { margin: 0 0 32px; }
.trailer-player { width: min(960px, 100%); margin: 0 auto; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #000; border: 1px solid rgba(211, 164, 63, .4); box-shadow: 0 24px 60px rgba(0, 0, 0, .5); }
.trailer-player video { display: block; width: 100%; height: 100%; object-fit: contain; }
.trailer-tabs { display: inline-flex; gap: 8px; margin-top: 22px; }
.trailer-tabs button { font-family: var(--font-display); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; padding: 8px 18px; border-radius: 999px; background: transparent; color: var(--ink-soft); border: 1px solid rgba(255, 255, 255, .3); cursor: pointer; }
.trailer-tabs button:hover { border-color: var(--gold); color: var(--gold); }
.trailer-tabs button[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: #1a1205; }
.trailer-tabs button:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.story .lead { margin: 0 0 1.2em; }
.pull { font-family: var(--font-display); font-size: clamp(1.3rem, 3vw, 2rem); line-height: 1.35; color: var(--gold); margin: 56px 0 0; padding: 0 10px; position: relative; }
.pull::before { content: ""; display: block; width: 90px; height: 2px; background: var(--gold); margin: 0 auto 28px; }

/* ---------- Bestias (cartas que se voltean) ---------- */
.cards { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(14px, 2.5vw, 28px); perspective: 1200px; }
.flip { display: block; background: none; border: 0; padding: 0; cursor: pointer; color: inherit; text-align: center; font: inherit; }
.flip-inner { display: block; position: relative; aspect-ratio: 814 / 1114; transform-style: preserve-3d; transition: transform .7s cubic-bezier(.3, .8, .3, 1); border-radius: 4.4% / 3.2%; }
.flip.on .flip-inner { transform: rotateY(180deg); }
.flip:hover .flip-inner, .flip:focus-visible .flip-inner { translate: 0 -6px; }
.flip:focus-visible { outline: 2px solid var(--gold); outline-offset: 6px; border-radius: 8px; }
.face { position: absolute; inset: 0; backface-visibility: hidden; border-radius: 4.4% / 3.2%; overflow: hidden; box-shadow: 0 10px 28px rgba(0, 0, 0, .5); }
.face img { width: 100%; height: 100%; object-fit: cover; }
.face.back { transform: rotateY(180deg); }
.flip figcaption, .flip .cap { display: block; margin-top: 12px; font-family: var(--font-display); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }

@media (max-width: 960px) { .cards { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .cards { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Tiranos (abanico) ---------- */
.tyrants { background: linear-gradient(180deg, var(--bg-2), #1a1411 100%) !important; }
.fan { display: flex; justify-content: center; padding: 30px 0 10px; }
.fan .t { width: clamp(110px, 17vw, 200px); margin-left: calc(clamp(110px, 17vw, 200px) * -.28); transform: rotate(var(--rot)) translateY(var(--y)); transform-origin: 50% 120%; transition: transform .35s cubic-bezier(.3, .8, .3, 1), z-index 0s .15s; position: relative; border-radius: 12px; box-shadow: -6px 10px 24px rgba(0, 0, 0, .55); cursor: pointer; background: none; border: 0; padding: 0; }
.fan .t:first-child { margin-left: 0; }
.fan .t img { border-radius: 12px; }
.fan .t:hover, .fan .t:focus-visible { transform: rotate(0) translateY(-34px) scale(1.14); z-index: 10; transition: transform .35s cubic-bezier(.3, .8, .3, 1); outline: none; }
.fan .t .cap { position: absolute; left: 0; right: 0; bottom: -34px; text-align: center; font-family: var(--font-display); font-size: .7rem; letter-spacing: .15em; text-transform: uppercase; color: var(--gold); opacity: 0; transition: opacity .25s; }
.fan .t:hover .cap, .fan .t:focus-visible .cap { opacity: 1; }
@media (max-width: 640px) { .fan { overflow-x: auto; justify-content: flex-start; padding-bottom: 50px; } .fan .t { flex: 0 0 120px; width: 120px; margin-left: -34px; } }

/* ---------- Mapa ---------- */
.map-stage { position: relative; height: clamp(380px, 62vh, 600px); border-radius: var(--radius); overflow: hidden; background: radial-gradient(circle at 50% 50%, #1f4d38 0%, #0d241a 100%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), var(--shadow); }
.map-canvas { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transition: transform .6s cubic-bezier(.3, .8, .3, 1); }
.hx { position: absolute; width: var(--hw); aspect-ratio: 1040 / 900; transform: translate(-50%, -50%); }
.hx img { width: 100%; height: 100%; filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .5)); animation: drop .55s cubic-bezier(.2, 1.3, .4, 1) both; }
@keyframes drop { from { opacity: 0; transform: translateY(-60px) scale(1.12) rotate(-4deg); } to { opacity: 1; transform: none; } }
.ghost { position: absolute; width: var(--hw); aspect-ratio: 1040 / 900; transform: translate(-50%, -50%); background: rgba(244, 237, 224, .08); border: 0; padding: 0; cursor: pointer; clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%); transition: background .2s; animation: pulse 2.4s ease-in-out infinite; }
.ghost::after { content: "+"; position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-display); font-size: calc(var(--hw) * .3); color: rgba(244, 237, 224, .7); }
.ghost:hover, .ghost:focus-visible { background: rgba(211, 164, 63, .35); outline: none; }
@keyframes pulse { 50% { background: rgba(244, 237, 224, .16); } }
.hero-token { position: absolute; width: calc(var(--hw) * .34); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; border: 3px solid var(--gold); background: #f4ede0; box-shadow: 0 6px 14px rgba(0, 0, 0, .5); transition: left .6s cubic-bezier(.3, .8, .3, 1), top .6s cubic-bezier(.3, .8, .3, 1); z-index: 5; pointer-events: none; overflow: hidden; }
.hero-token img { width: 100%; height: 100%; object-fit: cover; }
.map-ui { position: absolute; left: 16px; right: 16px; bottom: 14px; display: flex; justify-content: space-between; align-items: center; pointer-events: none; z-index: 6; }
.map-ui > * { pointer-events: auto; }
.map-count { font-family: var(--font-display); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; background: rgba(0, 0, 0, .45); padding: 6px 14px; border-radius: 999px; }
.table-shot { margin: 56px 0 0; }
.table-shot img { border-radius: var(--radius); box-shadow: var(--shadow); }
.table-shot figcaption { margin-top: 12px; text-align: center; font-size: 1rem; color: var(--ink-soft); font-style: italic; }

/* ---------- Turno ---------- */
.phases { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; counter-reset: ph; }
.phase { background: var(--panel); border-radius: var(--radius); padding: 28px 24px 30px; text-align: center; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.phase img { width: auto; max-width: 80%; height: 124px; object-fit: contain; margin: -70px auto 14px; filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .5)); }
.phase h3 { font-size: 1.25rem; margin-bottom: 10px; }
.phase p { color: var(--ink-soft); margin: 0; font-size: 1.08rem; }
.turn .wrap { padding-top: 40px; }
.note { text-align: center; margin: 44px auto 0; max-width: 58ch; font-style: italic; color: var(--gold); }

/* ---------- Cooperación / competencia ---------- */
.duel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 64px; }
.duel-box { padding: 30px 28px; border-radius: var(--radius); background: var(--panel); position: relative; overflow: hidden; }
.duel-box:first-child { border-left: 4px solid var(--teal); }
.duel-box:last-child { border-left: 4px solid var(--danger); }
.duel-box h3 { font-size: 1.3rem; margin-bottom: 10px; }
.duel-box p { margin: 0; color: var(--ink-soft); }
.strip-title { font-size: 1.2rem; margin-bottom: 18px; color: var(--gold); }
.strip { scrollbar-width: thin; scrollbar-color: var(--gold-deep) transparent; display: flex; gap: 16px; overflow-x: auto; padding: 8px 4px 22px; scroll-snap-type: x proximity; }
.strip figure { margin: 0; flex: 0 0 150px; scroll-snap-align: start; text-align: center; }
.strip img { border-radius: 10px; box-shadow: 0 8px 20px rgba(0, 0, 0, .45); transition: transform .25s; }
.strip figure:hover img { transform: translateY(-8px) rotate(-1.5deg); }
.strip figcaption { margin-top: 10px; font-size: .95rem; color: var(--ink-soft); }
@media (max-width: 720px) { .duel-grid { grid-template-columns: 1fr; } }

/* ---------- Dos caminos ---------- */
.paths { background: radial-gradient(ellipse at 50% 100%, #1b4a33 0%, var(--bg) 70%) !important; }
.path-switch { display: inline-flex; padding: 5px; border-radius: 999px; background: rgba(0, 0, 0, .35); margin: 6px 0 30px; flex-wrap: wrap; }
.path-switch button { font-family: var(--font-display); font-weight: 700; letter-spacing: .05em; font-size: .95rem; padding: 12px 26px; border: 0; border-radius: 999px; background: transparent; color: var(--ink); cursor: pointer; transition: all .25s; }
.path-switch button[aria-selected="true"] { background: var(--gold); color: #1a1205; }
.path-panel[hidden] { display: none; }
.path-panel { animation: rise .45s ease both; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
.dl-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; margin-top: 8px; }
.dl { display: flex; flex-direction: column; gap: 8px; padding: 24px; border-radius: var(--radius); background: var(--panel); text-decoration: none; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); transition: transform .2s, box-shadow .2s; cursor: pointer; }
.dl strong { font-family: var(--font-display); font-size: 1.15rem; }
.dl span { color: var(--ink-soft); font-size: 1.05rem; }
.dl em { margin-top: auto; padding-top: 6px; font-style: normal; font-family: var(--font-display); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.dl:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--gold); }
.dl:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.dl.disabled { cursor: default; opacity: .65; }
.dl.disabled:hover { transform: none; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.dl.disabled em { color: var(--ink-soft); }
.pitch { padding-left: 1.2em; margin: 0 0 32px; max-width: 70ch; color: var(--ink-soft); }
.pitch li { margin-bottom: .6em; }
.pitch b { color: var(--ink); }
.fine { margin-top: 28px; color: var(--ink-soft); font-style: italic; }
.footer { text-align: center; padding: 40px 20px; color: var(--ink-soft); font-size: .95rem; background: #08140e; }

/* ---------- Revelado al hacer scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .fireflies, .scroll-hint span, .ghost { animation: none; }
  .poster, .flip-inner, .map-canvas, .hero-token { transition: none; }
  .poster img, .poster-wrap::after { animation: none; }
  .car-track { scroll-behavior: auto; }
}

/* ---------- Héroes: escaparate ---------- */
.showcase { --ac: #f0a64a; position: relative; isolation: isolate; overflow: hidden; padding: clamp(80px, 7vw, 104px) 0 clamp(24px, 3vw, 44px); background: #0c1f17; }
.sc-bg { position: absolute; inset: 0; z-index: -3; transition: background .6s; }
.sc-scene { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; image-rendering: pixelated; image-rendering: crisp-edges; }
.sc-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 24, 17, .9) 0%, rgba(10, 24, 17, 0) 16%, rgba(10, 24, 17, 0) 82%, rgba(10, 24, 17, .95) 100%), linear-gradient(90deg, rgba(4, 8, 10, .62) 0%, rgba(4, 8, 10, .25) 34%, rgba(4, 8, 10, 0) 52%); pointer-events: none; }
.sc-wrap { width: min(1280px, 100% - 40px); margin: 0 auto; }
.sc-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 40px; flex-wrap: wrap; margin-bottom: 18px; }
.sc-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); margin-bottom: .2em; text-shadow: 0 4px 24px rgba(0, 0, 0, .55); }
.sc-head .sub { max-width: 54ch; margin-bottom: 0; text-shadow: 0 2px 10px rgba(0, 0, 0, .6); }
.sc-ctl { display: grid; gap: 10px; justify-items: end; }
.sc-motion { font-family: var(--font-body); font-size: .8rem; letter-spacing: .06em; padding: 5px 12px; border-radius: 999px; color: var(--ink-soft); cursor: pointer; background: rgba(0, 0, 0, .3); border: 1px solid rgba(255, 255, 255, .16); transition: all .2s; }
.sc-motion:hover { color: var(--ink); border-color: var(--ac); }
.sc-tabs { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.sc-tabs button { display: inline-flex; align-items: center; font-family: var(--font-display); font-weight: 700; letter-spacing: .08em; font-size: .95rem; padding: 11px 20px; border-radius: 999px; color: var(--ink); cursor: pointer; background: rgba(0, 0, 0, .35); border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(8px); transition: all .25s; }
.sc-tabs button .dot { width: 9px; height: 9px; border-radius: 50%; margin-right: 9px; background: var(--ac); box-shadow: 0 0 10px var(--ac); }
.sc-tabs button:hover { border-color: var(--ac); }
.sc-tabs button[aria-selected="true"] { background: var(--ac); border-color: var(--ac); color: #120c05; }
.sc-tabs button[aria-selected="true"] .dot { background: #120c05; box-shadow: none; }

.sc-main { position: relative; display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, .9fr) minmax(0, .82fr); column-gap: 20px; align-items: center; min-height: clamp(640px, 82vh, 800px); }
.sc-left { grid-column: 1; position: relative; z-index: 3; }
.sc-right { grid-column: 3; position: relative; z-index: 3; display: grid; gap: 10px; }
.sc-art { position: absolute; inset: 0; z-index: 2; overflow: hidden; pointer-events: none; -webkit-mask-image: linear-gradient(#000 82%, transparent 99%); mask-image: linear-gradient(#000 82%, transparent 99%); }
.sc-viewer[hidden] { display: none; }
.mega { position: relative; z-index: 1; font-size: clamp(3.2rem, 8vw, 7.6rem); font-weight: 900; line-height: .92; letter-spacing: .015em; text-transform: uppercase; margin: 0 0 6px -.04em; white-space: nowrap; color: color-mix(in srgb, var(--ac) 13%, transparent); -webkit-text-stroke: 2px var(--ac); text-shadow: 0 0 40px color-mix(in srgb, var(--ac) 45%, transparent); }
.mega[data-len="l"] { font-size: clamp(3rem, 6.4vw, 6.2rem); }
.mega[data-len="xl"] { font-size: clamp(2.8rem, 5.4vw, 5.2rem); }
.epithet { position: relative; z-index: 3; font-family: var(--font-display); font-size: clamp(1.1rem, 2vw, 1.6rem); letter-spacing: .18em; text-transform: uppercase; color: var(--ink); margin: 0 0 14px; text-shadow: 0 2px 12px rgba(0, 0, 0, .8); }
.tag { display: inline-block; font-family: var(--font-display); font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; border-radius: 6px; padding: 5px 12px; margin: 0; }
.sc-left .tag { position: relative; z-index: 3; background: var(--ac); color: #120c05; }
.desc { position: relative; z-index: 3; max-width: 36ch; color: var(--ink); margin: 16px 0 22px; text-shadow: 0 2px 12px rgba(0, 0, 0, .85); }
.stats { position: relative; z-index: 3; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; max-width: 400px; }
.stat { display: grid; justify-items: center; align-content: center; gap: 3px; min-width: 0; height: 104px; padding: 10px 6px; border-radius: 16px; background: rgba(8, 14, 12, .55); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(10px); }
.stat img { width: 34px; height: 34px; filter: brightness(0) invert(1); opacity: .92; }
.stat b { font-family: var(--font-display); font-size: 1.9rem; line-height: 1; color: var(--ac); }
.stat span { font-size: .62rem; letter-spacing: .08em; text-align: center; text-transform: uppercase; color: var(--ink-soft); }

.art-live, .art-static { position: absolute; top: var(--at, 0); left: var(--ax, 50%); height: var(--ah, 115%); width: auto; max-width: none; transform: translateX(-50%); filter: drop-shadow(0 26px 30px rgba(0, 0, 0, .55)); }
.art-live { cursor: pointer; touch-action: manipulation; pointer-events: auto; }
.art-static { animation: bob2 5s ease-in-out infinite; }
.art-live[hidden], .art-static[hidden] { display: none; }
@keyframes bob { 50% { transform: translateY(-9px); } }
@keyframes bob2 { 50% { transform: translateX(-50%) translateY(-9px); } }

.sc-card { padding: 18px 20px 8px; border-radius: 20px; background: rgba(8, 14, 12, .58); border: 1px solid rgba(255, 255, 255, .13); backdrop-filter: blur(14px); box-shadow: 0 20px 50px rgba(0, 0, 0, .4); }
.sc-card h4 { font-family: var(--font-display); font-size: .8rem; letter-spacing: .24em; text-transform: uppercase; color: var(--ac); margin: 0 0 8px; }
.sc-card ol { list-style: none; margin: 0; padding: 0; }
.sc-card li { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 2px 10px; padding: 9px 0; border-top: 1px solid rgba(255, 255, 255, .09); }
.sc-card li strong { grid-area: 1 / 1; }
.sc-card li small { grid-area: 1 / 2; }
.sc-card li p { grid-area: 2 / 1 / 3 / 3; }
.sc-card li:first-child { border-top: 0; }
.sc-card strong { font-family: var(--font-display); font-size: .95rem; letter-spacing: .03em; color: var(--ink); }
.sc-card li p { margin: 0; font-size: .92rem; line-height: 1.32; color: var(--ink); }
.sc-card small { display: inline-block; font-size: .78rem; letter-spacing: .02em; color: var(--ink-soft); padding: 2px 10px; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .1); }

.mini-title { position: relative; z-index: 3; font-family: var(--font-display); font-size: .78rem; letter-spacing: .24em; text-transform: uppercase; color: var(--ac); margin: 22px 0 12px; }
.dice { position: relative; z-index: 3; display: flex; gap: 22px; flex-wrap: wrap; }
.die-wrap { display: grid; justify-items: center; gap: 12px; }
.die-wrap small { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
.die { --s: 68px; --hs: 34px; width: var(--s); height: var(--s); padding: 0; border: 0; background: none; cursor: pointer; perspective: 520px; }
.die .roll, .die .spin { display: block; position: absolute; inset: 0; transform-style: preserve-3d; }
.die { position: relative; }
/* .roll fija el ángulo de vista (siempre el mismo); .spin hace la tirada y termina mostrando la cara elegida de frente */
.die .roll { transform: rotateX(-14deg) rotateY(-20deg); }
.die .spin { transition: transform 1.2s cubic-bezier(.15, .8, .2, 1); }
.die .face { position: absolute; inset: 0; background: var(--c); border-radius: 20%; overflow: hidden; backface-visibility: hidden; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .25); }
.die .face img { width: 100%; height: 100%; display: block; }

.sc-viewer { background: radial-gradient(ellipse 60% 22% at 50% 86%, color-mix(in srgb, var(--ac) 34%, transparent), transparent 70%); }
.sc-viewer model-viewer { width: 100%; height: clamp(230px, 20vw, 290px); background: transparent; --poster-color: transparent; --progress-bar-color: transparent; --progress-mask: transparent; }
.sc-viewer model-viewer::part(default-progress-bar) { display: none; }
.vwrap { position: relative; }
.rot { position: absolute; top: 50%; width: 42px; height: 42px; margin-top: -26px; padding: 0 0 4px; border-radius: 50%; display: grid; place-items: center; font-size: 1.9rem; line-height: 1; color: var(--ink); cursor: pointer; background: rgba(0, 0, 0, .38); border: 1px solid rgba(255, 255, 255, .25); backdrop-filter: blur(6px); transition: all .2s; user-select: none; touch-action: manipulation; }
.rot:hover, .rot:focus-visible { background: var(--ac); border-color: var(--ac); color: #08140d; }
.rot:active { transform: scale(.92); }
.rot-l { left: 2px; } .rot-r { right: 2px; }
.sc-viewer .hint { margin: 0; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); text-align: center; }

.showcase.swap .sc-left, .showcase.swap .sc-card, .showcase.swap .sc-viewer { animation: swapIn .55s cubic-bezier(.2, .8, .3, 1) both; }
.showcase.swap .sc-art { animation: artIn .6s cubic-bezier(.2, .8, .3, 1) both; }
@keyframes swapIn { from { opacity: 0; transform: translateY(18px); } }
@keyframes artIn { from { opacity: 0; transform: translateX(30px) scale(.97); } }

@media (max-width: 1020px) {
  .sc-main { grid-template-columns: minmax(0, 1fr); min-height: 0; row-gap: 22px; }
  .sc-left, .sc-right { grid-column: 1; }
  .sc-art { position: relative; inset: auto; height: min(62vh, 500px); order: -1; }
  .art-live, .art-static { top: var(--atm, 0); left: var(--axm, var(--ax, 50%)); height: var(--ahm, 115%); width: auto; max-width: 94vw; }
  .sc-left { margin-top: -70px; }
  .mega { font-size: clamp(3rem, 15vw, 6rem); }
  .desc { max-width: 52ch; }
}
/* Movimiento: "calm" = el sistema pide reducir movimiento (se quitan transiciones bruscas); "still" = la persona pausó las animaciones */
.showcase.calm.swap * { animation: none !important; }
.showcase.still .art-static, .showcase.still.swap * { animation: none !important; }
@media (max-width: 1020px) { .sc-ctl { justify-items: start; } .sc-tabs { justify-content: flex-start; } }


/* ---------- Portada: caja flotante ---------- */
.poster img { display: block; width: 100%; height: auto; filter: drop-shadow(0 34px 38px rgba(0, 0, 0, .55)) drop-shadow(0 0 46px rgba(211, 164, 63, .2)); animation: boxFloat 7s ease-in-out infinite; }
.poster-wrap::after { content: ""; position: absolute; left: 18%; right: 18%; bottom: -3%; height: 7%; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .5), transparent); filter: blur(8px); animation: boxShadow 7s ease-in-out infinite; z-index: -1; pointer-events: none; }
@keyframes boxFloat { 50% { transform: translateY(-14px) rotate(.7deg); } }
@keyframes boxShadow { 50% { transform: scale(.86); opacity: .6; } }
@media (min-width: 1021px) {
  .hero-inner { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); grid-template-areas: "text box" "facts box"; column-gap: clamp(30px, 5vw, 80px); text-align: left; justify-items: start; align-items: center; }
  .hero-text { grid-area: text; }
  .poster-wrap { grid-area: box; justify-self: center; }
  .hero-facts { grid-area: facts; justify-content: flex-start; }
  .hero-cta { justify-content: flex-start; }
  .tagline { margin-left: 0; }
}

/* ---------- Carrusel de componentes ---------- */
.contents { position: relative; padding: clamp(46px, 6vw, 84px) 0 clamp(40px, 5vw, 70px); background: linear-gradient(180deg, #0a1812 0%, #0e2118 100%); overflow: hidden; }
.contents .wrap { text-align: center; margin-bottom: clamp(18px, 3vw, 34px); }
.carousel { position: relative; width: min(1240px, 100%); margin-inline: auto; outline-offset: 6px; }
.car-track { display: flex; gap: clamp(12px, 2vw, 24px); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 6px max(20px, calc((100% - 1000px) / 2)); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.car-track::-webkit-scrollbar { display: none; }
.car-slide { position: relative; flex: 0 0 min(1000px, 86%); margin: 0; scroll-snap-align: center; border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; background: #0c1f17; box-shadow: var(--shadow); opacity: .5; transform: scale(.95); transition: opacity .5s, transform .5s; }
.car-slide.on { opacity: 1; transform: none; }
.car-slide img { display: block; flex: none; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.car-slide figcaption { position: static; flex: 1; padding: clamp(14px, 2.2vw, 24px) clamp(16px, 3vw, 34px) clamp(16px, 2.4vw, 26px); background: #0c1f17; border-top: 1px solid rgba(211, 164, 63, .35); display: grid; grid-template-columns: auto 1fr; column-gap: 16px; align-items: center; align-content: center; text-align: left; }
.car-n { grid-row: 1 / 3; font-family: var(--font-display); font-weight: 900; font-size: clamp(2rem, 5vw, 3.4rem); line-height: .9; color: var(--gold); text-shadow: 0 3px 14px rgba(0, 0, 0, .6); }
.car-slide figcaption h3 { margin: 0; font-size: clamp(1.1rem, 2.4vw, 1.7rem); color: #fff; grid-column: 2; }
.car-slide figcaption p { margin: 4px 0 0; color: var(--ink-soft); font-size: clamp(.9rem, 1.5vw, 1.1rem); max-width: 62ch; grid-column: 2; }
.car-slide figcaption .car-n[style*="none"] ~ h3, .car-slide figcaption .car-n[style*="none"] ~ p { grid-column: 1 / -1; }
.car-btn { position: absolute; top: calc(44% - 30px); z-index: 3; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .45); background: rgba(8, 18, 13, .7); color: #fff; font-size: 1.7rem; line-height: 1; cursor: pointer; display: grid; place-items: center; padding: 0 0 4px; transition: background .2s, border-color .2s; }
.car-btn:hover { background: rgba(211, 164, 63, .85); border-color: var(--gold); color: #1a1205; }
.car-btn.prev { left: max(8px, calc((100% - 1000px) / 2 - 56px)); }
.car-btn.next { right: max(8px, calc((100% - 1000px) / 2 - 56px)); }
.car-bar { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 16px; flex-wrap: wrap; padding-inline: 20px; }
.car-dots { display: flex; gap: 7px; flex-wrap: wrap; justify-content: center; }
.car-dot { width: 9px; height: 9px; padding: 0; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .28); cursor: pointer; transition: background .25s, transform .25s; }
.car-dot.on { background: var(--gold); transform: scale(1.35); }
.car-pause { width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .4); background: transparent; color: var(--ink); font-size: .72rem; cursor: pointer; }
@media (max-width: 760px) { .car-btn { display: none; } .car-slide { flex-basis: 90%; } }

/* ---------- Textura de cartón (la misma fibra de las tarjetas de héroe) ---------- */
/* va como fondo de cada sección (debajo del contenido), así las imágenes y los renders quedan limpios */
.hero, .contents, .section, .showcase, .footer { position: relative; isolation: isolate; }
.hero::before, .contents::before, .section::before, .showcase::before, .footer::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: url("../img/tex-carton.webp?v=20261101") 0 0 / 512px 512px; opacity: .55;
}
.hero::before { z-index: 1; }
.turn { background: radial-gradient(ellipse at 50% 0%, rgba(255, 236, 190, .035), transparent 60%), var(--bg-2); }
.sc-card { background-image: url("../img/tex-carton.webp?v=20261101"); background-size: 384px 384px; }
.phase, .duel-box, .dl {
  background-image: url("../img/tex-carton.webp?v=20261101"); background-size: 384px 384px; background-repeat: repeat;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .09), inset 0 1px 0 rgba(255, 236, 190, .14), 0 10px 26px rgba(0, 0, 0, .3);
}
.dl.dl-featured { box-shadow: inset 0 0 0 2px var(--gold), 0 10px 26px rgba(0, 0, 0, .3); }
.dl.dl-featured:hover { box-shadow: inset 0 0 0 2px var(--gold), 0 8px 24px rgba(211, 164, 63, .25); }

/* ---------- Suscripción (lista de espera) ---------- */
.subscribe .wrap { max-width: 640px; text-align: center; }
.subscribe .sub { margin-inline: auto; }
.sub-form { display: grid; gap: 14px; justify-items: center; text-align: left; }
.sub-form label[for] { justify-self: start; font-family: var(--font-display); font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.sub-form input[type=email] { width: 100%; box-sizing: border-box; padding: 14px 18px; font: inherit; font-size: 1.1rem; color: var(--ink); background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .3); border-radius: 12px; }
.sub-form input[type=email]:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.sub-check { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-soft); font-size: .95rem; }
.sub-check input { margin-top: .3em; accent-color: var(--gold); width: 18px; height: 18px; flex: none; }
.sub-check a, .sub-fine a, .footer a { color: var(--gold); }
.sub-trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.sub-msg { min-height: 1.4em; margin: 0; font-weight: 600; }
.sub-msg.ok { color: #7fd69c; }
.sub-msg.bad { color: #ff9a86; }
.sub-fine { margin: 0; color: var(--ink-soft); font-size: .85rem; font-style: italic; }
.sub-form .btn:disabled { opacity: .6; cursor: wait; transform: none; }
.sub-thanks .hero-cta { justify-content: center; }
.sub-thanks[hidden], #sub-main[hidden] { display: none; }
