/* Landing de resonance137.com. Objetivo: build/landing/target_v1.jpg (Nano Banana, 26/10). Tema de la UI aprobada del
   juego: acero azul petróleo, goma negra estriada, naranja de clase, LEDs cian, pantallas hundidas. Sin JS (CSP). */
@font-face { font-family: "Teko"; src: url("/teko.ttf") format("truetype"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "Oxanium"; src: url("/oxanium_variable.ttf") format("truetype"); font-weight: 200 800; font-display: swap; }

:root {
  --bg: #04070a;
  --steel: #1b3142;
  --ink: #ece7da;
  --mute: #93a3af;
  --orange: #ff5214;
  --orange-hi: #ff8a4c;
  --acid: #8dff4a;
  --cyan: #5fd7ff;
  --display: "Teko", "Oxanium", system-ui, sans-serif;
  --body: "Oxanium", system-ui, sans-serif;
  --gutter: max(20px, 5vw);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; overflow-x: hidden; }
body { background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.55; }
img { display: block; max-width: 100%; }
a { color: inherit; }
a:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; }

/* ---------- Barra superior ---------- */
.topbar {
  position: fixed; inset: 0 0 auto; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--gutter);
  background: rgba(4, 7, 10, 0.72);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(236, 231, 218, 0.06);
}
.emblem { font-family: var(--display); font-weight: 700; font-size: 34px; line-height: 1; letter-spacing: 0.04em; text-decoration: none; }
.emblem span { color: var(--orange); }
.topbar nav { display: flex; gap: clamp(14px, 3vw, 36px); }
.topbar nav a { text-decoration: none; font-size: 15px; letter-spacing: 0.08em; color: var(--ink); opacity: 0.85; padding-bottom: 4px; border-bottom: 2px solid transparent; }
.topbar nav a:hover { opacity: 1; border-color: var(--orange); }

/* ---------- Héroe ---------- */
.hero { position: relative; min-height: min(100svh, 980px); display: grid; place-items: center; text-align: center; overflow: hidden; isolation: isolate; }
.hero video.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -3; }
@keyframes drift { from { transform: scale(1.04); } to { transform: scale(1.14) translateX(-1.5%); } }
.hero::before { /* viñeta y caída a negro */
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(ellipse 80% 70% at 50% 40%, transparent 55%, rgba(4, 7, 10, 0.45) 100%),
    linear-gradient(transparent 72%, var(--bg));
}
.hero::after { /* líneas de barrido */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: repeating-linear-gradient(transparent 0 3px, rgba(0, 0, 0, 0.06) 3px 4px);
  mix-blend-mode: multiply;
}
.spores, .spores::before, .spores::after {
  position: absolute; inset: -20% 0 0; z-index: -1; pointer-events: none;
  background-image:
    radial-gradient(2px 2px at 12% 30%, rgba(141, 255, 74, 0.8), transparent),
    radial-gradient(1.5px 1.5px at 38% 70%, rgba(141, 255, 74, 0.6), transparent),
    radial-gradient(2px 2px at 64% 45%, rgba(255, 138, 76, 0.7), transparent),
    radial-gradient(1.5px 1.5px at 82% 20%, rgba(141, 255, 74, 0.6), transparent),
    radial-gradient(2.5px 2.5px at 90% 80%, rgba(255, 138, 76, 0.6), transparent),
    radial-gradient(1.5px 1.5px at 25% 90%, rgba(95, 215, 255, 0.6), transparent);
  background-size: 600px 600px;
  animation: rise 22s linear infinite;
}
.spores::before { content: ""; inset: 0; background-size: 420px 420px; animation-duration: 15s; opacity: 0.7; }
.spores::after { content: ""; inset: 0; background-size: 900px 900px; animation-duration: 34s; opacity: 0.5; }
@keyframes rise { to { transform: translateY(-600px); } }

.hero-copy { padding: 96px var(--gutter) 90px; max-width: 1200px; align-self: start; margin-top: 2vh; }
/* El logo del título del juego (game/ui/title/title_logo.gd): el metal encima y su halo latiendo con la energía. */
.hero .logo { position: relative; width: min(92vw, 980px); margin: 0 auto; aspect-ratio: 1325 / 489; }
.hero .logo img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero .logo .key { filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.75)); }
.hero .logo .glow { mix-blend-mode: screen; animation: pulse-glow 2.8s ease-in-out infinite; }
@keyframes pulse-glow { 0%, 100% { opacity: 0.55; filter: blur(1px); } 50% { opacity: 1; filter: blur(0) brightness(1.25); } }
.hero .sub { font-size: clamp(20px, 2.6vw, 30px); margin: 18px 0 30px; color: #f3eee2; text-shadow: 0 2px 6px #000, 0 2px 24px #000; }
.cta {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 34px; border-radius: 999px; text-decoration: none;
  font-family: var(--display); font-size: clamp(22px, 2.4vw, 28px); letter-spacing: 0.06em; text-transform: uppercase;
  color: #1a0700; background: linear-gradient(#ff8a4c, #ff5214 55%, #c93a08);
  box-shadow: 0 0 0 2px rgba(255, 138, 76, 0.4), 0 0 40px rgba(255, 82, 20, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  animation: glow 2.6s ease-in-out infinite;
}
@keyframes glow { 50% { box-shadow: 0 0 0 2px rgba(255, 138, 76, 0.6), 0 0 70px rgba(255, 82, 20, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.4); } }
.badges { display: flex; justify-content: center; gap: 12px; margin-top: 22px; flex-wrap: wrap; }
.badge { border: 2px solid var(--ink); padding: 4px 10px 2px; font-family: var(--display); font-size: 20px; letter-spacing: 0.08em; line-height: 1.1; background: rgba(0, 0, 0, 0.55); }
.badge small { display: block; font-family: var(--body); font-size: 11px; color: var(--mute); letter-spacing: 0.06em; }
.scroll-cue { position: absolute; bottom: 26px; left: 50%; translate: -50% 0; width: 26px; height: 42px; border: 2px solid rgba(236, 231, 218, 0.6); border-radius: 14px; }
.scroll-cue::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; translate: -50% 0; border-radius: 2px; background: var(--orange); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 60% { transform: translateY(12px); opacity: 0; } }

/* ---------- Secciones ---------- */
section.band { padding: clamp(60px, 9vw, 120px) var(--gutter); max-width: 1320px; margin: 0 auto; }
.kicker { font-family: var(--display); font-size: clamp(42px, 5.5vw, 68px); line-height: 0.9; margin: 0 0 8px; letter-spacing: 0.02em; text-transform: uppercase; }
.kicker em { font-style: normal; color: var(--orange); }
.lede { color: var(--mute); max-width: 62ch; margin: 0 0 36px; }

/* Aparato del juego: acero, goma, tornillos. */
.device {
  position: relative; padding: 16px 16px 20px;
  background: linear-gradient(#22394b, #142532); border-radius: 18px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.device::before, .device::after {
  content: ""; position: absolute; top: 14px; bottom: 14px; width: 14px; border-radius: 8px;
  background: url("/img/bumper_left.webp") center / 100% auto repeat-y;
}
.device::before { left: -7px; } .device::after { right: -7px; background-image: url("/img/bumper_right.webp"); }
.device .scr { position: relative; overflow: hidden; border-radius: 10px; border: 3px solid #28333d; box-shadow: inset 0 0 0 2px #000; background: #000; }
.bolt { position: absolute; width: 14px; height: 14px; background: url("/img/screw.webp") center / contain no-repeat; }
.bolt.a { top: 5px; left: 22px; } .bolt.b { top: 5px; right: 22px; } .bolt.c { bottom: 4px; left: 22px; } .bolt.d { bottom: 4px; right: 22px; }

.device.wide { margin-bottom: 30px; }
.device.wide .scr img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.war { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.war figure { margin: 0; }
.war .scr img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; transition: transform 0.6s ease; }
.war .device:hover .scr img { transform: scale(1.06); }
.war figcaption { text-align: center; padding-top: 12px; }
.war figcaption b { display: block; font-family: var(--display); font-size: 30px; line-height: 1; letter-spacing: 0.04em; text-transform: uppercase; }
.war figcaption span { color: var(--mute); font-size: 15px; }

/* Dossier del jefe: arte a sangre y panel encima. */
.dossier { position: relative; display: grid; grid-template-columns: 1.25fr 1fr; align-items: center; min-height: 560px; }
.dossier .art { position: absolute; inset: 0 30% 0 0; border-radius: 18px; overflow: hidden; }
.dossier .art img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; }
.dossier .art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 55%, var(--bg)); }
.dossier .device { grid-column: 2; z-index: 1; }
.dossier .scr { padding: clamp(18px, 3vw, 30px); background: radial-gradient(ellipse at top, #0c1319, #030507); }
.dossier h3 { margin: 0; font-family: var(--display); font-size: clamp(38px, 4vw, 58px); line-height: 0.9; letter-spacing: 0.02em; white-space: nowrap; }
.dossier h3 span { color: var(--orange); }
.dossier .loc { color: var(--mute); font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; margin: 6px 0 16px; }
.hp { display: grid; grid-template-columns: repeat(14, 1fr); gap: 4px; padding: 5px; border: 2px solid #3a4550; background: #0d1216; }
.hp i { height: 18px; background: linear-gradient(var(--orange-hi), var(--orange)); box-shadow: 0 0 10px rgba(255, 82, 20, 0.45); }
.hp i:nth-child(n+12) { background: #22292f; box-shadow: none; }
.hp-row { display: flex; justify-content: space-between; font-family: var(--display); font-size: 22px; margin: 8px 0 18px; color: var(--orange-hi); }
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; border-top: 1px solid rgba(236, 231, 218, 0.12); padding-top: 14px; }
.cols h4 { margin: 0 0 6px; font-family: var(--display); font-size: 24px; letter-spacing: 0.05em; color: var(--cyan); font-weight: 500; }
.cols ul { margin: 0; padding: 0; list-style: none; font-size: 15px; color: #d7d2c5; }
.cols li { padding: 3px 0; }
.cols li::before { content: "▸ "; color: var(--orange); }
.drops { margin-top: 16px; padding-top: 12px; border-top: 1px solid rgba(236, 231, 218, 0.12); font-size: 15px; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.drops .rare { color: #ffd900; } .drops .uniq { color: #ff8019; }

/* Companion: teléfono inclinado con la app real. */
.companion { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(30px, 6vw, 90px); }
.phone-stage { position: relative; display: grid; place-items: center; perspective: 1400px; padding: 0; }
.phone-stage::before { content: ""; position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(rgba(255, 82, 20, 0.35), transparent 65%); filter: blur(10px); }
.phone {
  position: relative; width: min(270px, 70vw); padding: 12px; border-radius: 38px;
  background: linear-gradient(145deg, #2a2f35, #0c0f12); box-shadow: 0 0 0 2px #3c444c, 0 40px 80px rgba(0, 0, 0, 0.7), 0 0 50px rgba(255, 82, 20, 0.25);
  transform: rotateY(-16deg) rotateX(6deg) rotateZ(4deg); transition: transform 0.8s ease;
}
.phone:hover { transform: rotateY(-4deg) rotateX(2deg) rotateZ(1deg); }
.phone img { border-radius: 30px; width: 100%; }
.features { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.features li { display: grid; grid-template-columns: 52px 1fr; gap: 14px; align-items: start; }
.features .ico { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; background: #0d151c; border: 2px solid #2b3a47; color: var(--cyan); font-size: 24px; }
.features b { display: block; font-family: var(--display); font-size: 28px; line-height: 1; letter-spacing: 0.03em; }
.features span { color: var(--mute); font-size: 15px; }
.store-note { margin-top: 26px; display: inline-block; padding: 8px 14px; border: 1px dashed rgba(236, 231, 218, 0.3); border-radius: 10px; color: var(--mute); font-size: 14px; }

/* Pie de acero cepillado. */
footer.foot {
  margin-top: 40px; padding: 34px var(--gutter);
  background: repeating-linear-gradient(90deg, #11161b 0 2px, #151b21 2px 4px);
  border-top: 2px solid #26313b; text-align: center; color: var(--mute); font-size: 14px;
}
footer.foot nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 28px; margin-bottom: 10px; }
footer.foot a { text-decoration: none; letter-spacing: 0.08em; text-transform: uppercase; font-size: 13px; }
footer.foot a:hover { color: var(--orange-hi); }


/* ---------- Historia ---------- */
.story-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.quote { margin: 0; padding: 22px 26px; border-left: 4px solid var(--acid); background: linear-gradient(90deg, rgba(141, 255, 74, 0.08), transparent); font-size: clamp(19px, 2vw, 24px); line-height: 1.4; color: #f1ecdf; }
.quote em { color: var(--acid); font-style: normal; text-transform: uppercase; letter-spacing: 0.06em; }
.quote cite { display: block; margin-top: 12px; font-style: normal; font-size: 14px; color: var(--mute); letter-spacing: 0.06em; }
.facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.facts li { padding: 18px 20px; border: 1px solid rgba(236, 231, 218, 0.1); border-radius: 14px; background: linear-gradient(#0e1820, #070b0f); }
.facts b { display: block; font-family: var(--display); font-size: clamp(54px, 6vw, 78px); line-height: 0.85; color: var(--orange); text-shadow: 0 0 24px rgba(255, 82, 20, 0.45); }
.facts span { color: var(--mute); font-size: 14px; }

/* ---------- Operadores ---------- */
.ops { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
.op { --c: var(--orange); position: relative; display: grid; grid-template-rows: 460px auto; border-radius: 20px; overflow: hidden; isolation: isolate;
  background: radial-gradient(ellipse 70% 60% at 50% 38%, color-mix(in srgb, var(--c) 30%, transparent), transparent 70%), linear-gradient(#0b1218, #05080b);
  border: 1px solid color-mix(in srgb, var(--c) 35%, transparent); box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5); }
.op::before { content: ""; position: absolute; inset: 0; z-index: -1; background: repeating-linear-gradient(transparent 0 3px, rgba(255, 255, 255, 0.015) 3px 4px); }
.op-weapon { --c: #ff4326; } .op-brain { --c: #a45cff; } .op-mobil { --c: #2fe3c6; } .op-armon { --c: #ffa526; }
.op-art { position: relative; display: flex; justify-content: center; align-items: flex-end; gap: 0; padding-top: 18px; }
.op-art.float { padding-top: 34px; }
.op-art img { height: 100%; width: auto; max-width: 56%; object-fit: contain; filter: drop-shadow(0 20px 24px rgba(0, 0, 0, 0.7)); transition: transform 0.5s ease; }
.op-art img.f { margin-left: -9%; height: 92%; opacity: 0.92; }
.op:hover .op-art img { transform: translateY(-6px); }
.op-art img.ingame, .ladder img.ingame { -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 62%, transparent 100%); mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 62%, transparent 100%); }
.op-art img.ingame { mix-blend-mode: screen; filter: none; max-width: 62%; }
.op-art::after { content: ""; position: absolute; left: 10%; right: 10%; bottom: 0; height: 30px; background: radial-gradient(ellipse at center, color-mix(in srgb, var(--c) 45%, transparent), transparent 70%); filter: blur(6px); z-index: -1; }
.float img { animation: levitate 4.2s ease-in-out infinite; }
.float img.f { animation-delay: -2.1s; }
.float::after { animation: shadow-pulse 4.2s ease-in-out infinite; }
@keyframes levitate { 0%, 100% { transform: translateY(-4px); } 50% { transform: translateY(-22px); } }
@keyframes shadow-pulse { 50% { opacity: 0.45; transform: scaleX(0.82); } }
.op-copy { padding: 18px 26px 26px; border-top: 1px solid color-mix(in srgb, var(--c) 30%, transparent); background: rgba(3, 5, 7, 0.75); }
.op-implant { margin: 0; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--c); }
.op h3 { margin: 2px 0 6px; font-family: var(--display); font-size: clamp(44px, 4.4vw, 60px); line-height: 0.9; letter-spacing: 0.03em; text-transform: uppercase; color: #fff; text-shadow: 0 0 26px color-mix(in srgb, var(--c) 60%, transparent); }
.op-line { margin: 0 0 14px; color: #d8d3c6; }
.op dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; font-size: 14px; }
.op dt { color: var(--c); letter-spacing: 0.08em; text-transform: uppercase; font-size: 12px; padding-top: 2px; }
.op dd { margin: 0; color: var(--mute); }

/* ---------- Ultiminator ---------- */
.ult { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.parts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.parts li { display: grid; grid-template-columns: 14px auto 1fr; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 12px; background: #0b1218; border: 1px solid rgba(236, 231, 218, 0.08); }
.parts i { width: 14px; height: 14px; border-radius: 50%; box-shadow: 0 0 12px currentColor; background: currentColor; }
.parts b { font-family: var(--display); font-size: 26px; line-height: 1; letter-spacing: 0.04em; text-transform: uppercase; }
.parts span { color: var(--mute); font-size: 14px; justify-self: end; }
.c-weapon { color: #ff4326; } .c-brain { color: #a45cff; } .c-mobil { color: #2fe3c6; } .c-armon { color: #ffa526; }
.comps { padding: clamp(18px, 3vw, 28px); background: radial-gradient(ellipse at top, #0c1319, #030507); display: grid; gap: 12px; }
.comps h4 { margin: 0 0 4px; font-family: var(--display); font-size: 30px; letter-spacing: 0.05em; color: var(--cyan); font-weight: 500; text-transform: uppercase; }
.comp { display: grid; grid-template-columns: 74px 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: end; padding: 12px 16px; border-radius: 12px; border: 1px solid; }
.comp b { grid-row: span 2; font-family: var(--display); font-size: 64px; line-height: 0.8; }
.comp span { font-family: var(--display); font-size: 26px; line-height: 1; text-transform: uppercase; letter-spacing: 0.06em; }
.comp small { color: var(--mute); font-size: 13px; }
.comp.gold { border-color: rgba(255, 205, 80, 0.5); background: linear-gradient(90deg, rgba(255, 196, 60, 0.18), transparent); color: #ffd36a; }
.comp.silver { border-color: rgba(210, 225, 240, 0.4); background: linear-gradient(90deg, rgba(200, 220, 240, 0.14), transparent); color: #dfe9f3; }
.comp.func { border-color: rgba(236, 231, 218, 0.14); color: var(--ink); }
.comp.gold b { text-shadow: 0 0 22px rgba(255, 196, 60, 0.7); } .comp.silver b { text-shadow: 0 0 22px rgba(210, 230, 255, 0.6); }

/* ---------- Escalera de equipo ---------- */
.ladder { list-style: none; margin: 0; padding: 30px 0 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); align-items: end; gap: 4px; position: relative; }
.ladder::before { content: ""; position: absolute; left: 0; right: 0; bottom: 34px; height: 2px; background: linear-gradient(90deg, #6c747b, #3d8bff, #ffd900, #ff8019, #cfd8e2, #ffc53c, #ff3b1f); opacity: 0.7; }
.ladder li { --t: #9aa3ab; display: grid; justify-items: center; gap: 10px; }
.ladder img { height: clamp(200px, 26vw, 360px); width: auto; object-fit: contain; filter: drop-shadow(0 0 18px color-mix(in srgb, var(--t) 35%, transparent)) drop-shadow(0 16px 18px rgba(0, 0, 0, 0.7)); transition: transform 0.4s ease; }
.ladder li:nth-child(1) img { height: clamp(170px, 22vw, 310px); } .ladder li:nth-child(2) img { height: clamp(180px, 23vw, 325px); } .ladder li:nth-child(3) img { height: clamp(190px, 24.5vw, 340px); }
.ladder img.ingame { mix-blend-mode: screen; filter: none; max-width: none; height: clamp(240px, 30vw, 410px); margin: 0 -30% -10px; justify-self: end; }
.ladder li:hover img { transform: translateY(-8px) scale(1.03); }
.ladder span { font-family: var(--display); font-size: 24px; line-height: 1; letter-spacing: 0.06em; text-transform: uppercase; color: var(--t); padding: 4px 10px; border: 1px solid color-mix(in srgb, var(--t) 50%, transparent); border-radius: 6px; background: #05080b; }
.t-magic { --t: #5b9dff; } .t-rare { --t: #ffd900; } .t-legendary { --t: #ff8019; } .t-silver { --t: #dfe9f3; } .t-gold { --t: #ffc53c; } .t-red { --t: #ff3b1f; }

/* ---------- Creación de personaje ---------- */
.creation { display: grid; grid-template-columns: 0.8fr 1.4fr; gap: clamp(26px, 5vw, 60px); align-items: center; }
.faces { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.faces li { aspect-ratio: 1; border-radius: 12px; overflow: hidden; border: 1px solid rgba(255, 138, 76, 0.22); background: #0b1218; }
.faces li:first-child { grid-column: span 2; grid-row: span 2; }
.faces img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transition: transform 0.5s ease, filter 0.5s ease; filter: saturate(0.85); }
.faces li:hover img { transform: scale(1.08); filter: saturate(1.1); }

/* ---------- Dificultades ---------- */
.diffs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.diff { position: relative; padding: 30px 26px 26px; border-radius: 18px; overflow: hidden; border: 1px solid rgba(236, 231, 218, 0.1); min-height: 300px; }
.diff h3 { margin: 0; font-family: var(--display); font-size: clamp(48px, 5vw, 66px); line-height: 0.9; text-transform: uppercase; letter-spacing: 0.03em; }
.diff p { margin: 4px 0 18px; color: var(--mute); }
.diff ul { margin: 0; padding: 0; list-style: none; font-size: 15px; display: grid; gap: 6px; }
.diff li::before { content: "▸ "; color: var(--orange); }
.d-star { background: radial-gradient(circle at 85% 15%, rgba(255, 230, 160, 0.55) 0 3px, rgba(255, 210, 120, 0.18) 4px 40px, transparent 90px), linear-gradient(#101822, #070a0e); }
.d-star h3 { color: #ffe2a0; }
.d-nova { background: radial-gradient(circle at 85% 18%, #fff 0 4px, rgba(120, 190, 255, 0.55) 6px 30px, rgba(80, 120, 255, 0.18) 40px 110px, transparent 160px), linear-gradient(#0d1424, #06080f); }
.d-nova h3 { color: #9fd0ff; text-shadow: 0 0 24px rgba(120, 190, 255, 0.6); }
.d-hole { background: radial-gradient(circle at 84% 78%, #000 0 34px, rgba(255, 120, 40, 0.9) 36px 39px, rgba(255, 82, 20, 0.25) 42px 80px, transparent 130px), linear-gradient(#120a0a, #040203); border-color: rgba(255, 82, 20, 0.35); }
.d-hole h3 { color: var(--orange); text-shadow: 0 0 26px rgba(255, 82, 20, 0.7); }

/* ---------- Bestiario y reparto ---------- */
.beasts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.beasts li, .cast li { display: grid; grid-template-rows: auto auto 1fr; padding: 14px 12px; border-radius: 14px; text-align: center; background: radial-gradient(ellipse at 50% 35%, rgba(141, 255, 74, 0.09), transparent 70%), linear-gradient(#0b1116, #05080a); border: 1px solid rgba(141, 255, 74, 0.12); }
.beasts img { height: 150px; width: 100%; object-fit: contain; margin-bottom: 8px; filter: drop-shadow(0 12px 12px rgba(0, 0, 0, 0.7)); transition: transform 0.4s ease; }
.beasts li:hover img, .cast li:hover img { transform: scale(1.07); }
.beasts b, .cast b { font-family: var(--display); font-size: 24px; line-height: 1; letter-spacing: 0.03em; text-transform: uppercase; }
.beasts span, .cast span { color: var(--mute); font-size: 13px; line-height: 1.35; margin-top: 4px; }
.cast { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 12px; }
.cast li { background: radial-gradient(ellipse at 50% 35%, rgba(95, 215, 255, 0.1), transparent 70%), linear-gradient(#0b1116, #05080a); border-color: rgba(95, 215, 255, 0.14); }
.cast img { height: 260px; width: 100%; object-fit: contain; object-position: bottom; margin-bottom: 10px; transition: transform 0.4s ease; }
.cast b { font-size: 20px; }

/* ---------- Teléfono ---------- */
@media (max-width: 860px) {
  .topbar nav a:not(.keep) { display: none; }
  .war { grid-template-columns: 1fr; gap: 34px; }
  .story-grid, .ult, .creation { grid-template-columns: 1fr; }
  .ops { grid-template-columns: 1fr; }
  .op { grid-template-rows: 380px auto; }
  .parts { grid-template-columns: 1fr; }
  .ladder { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; padding-bottom: 6px; }
  .ladder li { flex: 0 0 34%; scroll-snap-align: center; }
  .ladder::before { display: none; }
  .ladder img, .ladder li:nth-child(n) img { height: 260px; }
  .faces { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .diffs { grid-template-columns: 1fr; }
  .diff { min-height: 0; }
  .beasts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cast { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cast img { height: 220px; }
  .dossier { grid-template-columns: 1fr; min-height: 0; }
  .dossier .art { position: relative; inset: auto; height: 260px; margin-bottom: -60px; }
  .dossier .art::after { background: linear-gradient(transparent 50%, var(--bg)); }
  .dossier .device { grid-column: 1; }
  .companion { grid-template-columns: 1fr; }
  .phone { transform: rotateZ(3deg); }
  .hero { min-height: min(100svh, 760px); }
  .hero video.bg { object-position: 50% center; }
  .hero-copy { margin-top: 2vh; }
}
@media (min-width: 861px) and (max-width: 1180px) {
  .beasts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .cast { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  .float img, .float::after,
  .hero .logo .glow, .spores, .spores::before, .spores::after, .cta, .scroll-cue::after { animation: none; }
  html { scroll-behavior: auto; }
}
