/* World of Kadenar · sistema de estilo de la web pública.
   Estructura y ritmo de una portada de lanzamiento de MMO; paleta, arte y adornos propios. */

:root {
  --fondo: #100c14; --fondo-2: #17121d; --fondo-calido: #1a1210;
  --superficie: #1f1826; --superficie-2: #2a2133;
  --borde: rgba(255, 255, 255, .08); --borde-2: rgba(255, 255, 255, .16);
  --texto: #f4efe6; --texto-84: rgba(244, 239, 230, .84); --texto-70: rgba(244, 239, 230, .7); --texto-55: rgba(244, 239, 230, .55); --texto-legal: #8a8177;
  --oro: #ffc93a; --oro-luz: #ffe08a; --oro-sombra: #d8891c; --oro-texto: #ffd84d; --oro-tinta: #2a1a00;
  --alianza: #2f6bff; --alianza-sombra: #1c3fa8; --alianza-luz: #7fa4ff;
  --horda: #e8322a; --horda-sombra: #a8161c; --horda-luz: #ff7b6e;
  --hierro: #5d6275; --hierro-sombra: #353a4a;
  --brasa: #ff6a2a; --brasa-luz: #ff9a4a;
  --disputa: #a35cff;
  --acento: var(--oro); --acento-sombra: var(--oro-sombra); --acento-luz: var(--oro-luz);
  --rol-tanque: #3d8bff; --rol-dps: #ff4a3d; --rol-sanador: #4fd04a;
  --clase-guerrero: #e36b2c; --clase-paladin: #ffd84d; --clase-mago: #39b8ff; --clase-picaro: #a35cff; --clase-sacerdote: #efe6cf;
  --raro: #3d8bff; --epico: #a35cff; --legendario: #ff8a2a;
  --display: 'Lilita One', 'Arial Black', Impact, sans-serif;
  --texto-fuente: 'Nunito', 'Segoe UI', Roboto, Arial, sans-serif;
  --ancho: 1200px; --lateral: clamp(16px, 2.8vw, 40px); --sec-y: clamp(64px, 8.9vw, 128px);
  --sombra-tarjeta: 0 10px 30px rgba(0, 0, 0, .45); --sombra-flotante: 0 24px 60px rgba(0, 0, 0, .6);
  --halo-brasa: drop-shadow(0 0 28px rgba(255, 106, 42, .55)) drop-shadow(0 18px 12px rgba(0, 0, 0, .6));
  --barra-alto: 72px;
  color-scheme: dark;
}
[data-bando="alianza"] { --acento: var(--alianza); --acento-sombra: var(--alianza-sombra); --acento-luz: var(--alianza-luz); }
[data-bando="horda"] { --acento: var(--horda); --acento-sombra: var(--horda-sombra); --acento-luz: var(--horda-luz); }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--barra-alto) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--fondo); color: var(--texto);
  font: 400 18px/1.6 var(--texto-fuente); overflow-x: hidden;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .9 0 0 0 0 .8 0 0 0 0 .7 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
}
body.menu-abierto { overflow: hidden; }
img, svg, picture { max-width: 100%; display: block; }
a { color: var(--oro-texto); text-decoration: none; }
a:hover { color: var(--oro-luz); }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 400; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 3px solid var(--oro-luz); outline-offset: 3px; }
.solo-lectura { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- tipografía ---------- */
.kicker { font: 800 14px/1.2 var(--texto-fuente); letter-spacing: .22em; text-transform: uppercase; color: var(--oro-luz); }
.kicker--brasa { color: var(--brasa-luz); }
.h1 { font-size: clamp(44px, 6.1vw, 88px); line-height: 1.02; letter-spacing: .03em; text-transform: uppercase; }
.h2 { font-size: clamp(34px, 3.9vw, 56px); line-height: 1.05; letter-spacing: .02em; text-transform: uppercase; }
.h3 { font-size: clamp(24px, 2.1vw, 30px); line-height: 1.15; }
.h-oro {
  background: linear-gradient(180deg, #fff2b8 0%, #ffc93a 55%, #e39a1e 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 3px 0 #5a3305) drop-shadow(0 8px 18px rgba(0, 0, 0, .45));
}
.h-marfil { color: var(--texto); text-shadow: 0 3px 0 rgba(0, 0, 0, .55), 0 8px 18px rgba(0, 0, 0, .4); }
.h-bando {
  background: linear-gradient(180deg, var(--acento-luz), var(--acento) 60%, var(--acento-sombra));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 3px 0 rgba(0, 0, 0, .6));
}
.lead { font: 600 clamp(18px, 1.46vw, 21px)/1.45 var(--texto-fuente); color: var(--texto-84); max-width: 720px; }
.lema { font: 800 clamp(14px, 1.25vw, 18px)/1.2 var(--texto-fuente); letter-spacing: .28em; text-transform: uppercase; color: var(--texto-84); }
.cita { font: 600 italic clamp(18px, 1.5vw, 22px)/1.5 var(--texto-fuente); color: var(--texto-84); }
.texto-70 { color: var(--texto-70); }
.texto-55 { color: var(--texto-55); }
.pequeno { font-size: 14px; line-height: 1.5; }

/* ---------- contenedor y secciones ---------- */
.contenedor { width: 100%; max-width: var(--ancho); margin-inline: auto; padding-inline: var(--lateral); }
.contenedor--estrecho { max-width: 900px; }
.seccion { position: relative; padding-block: var(--sec-y); }
.seccion--alt { background: var(--fondo-2); }
.seccion--calida { background: var(--fondo-calido); }
.cabecera { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; max-width: 720px; margin: 0 auto 64px; }
.cabecera .lead { margin: 0; }
.fondo-escena { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.fondo-escena img { width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.fondo-escena::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, transparent 30%, var(--fondo) 100%), linear-gradient(to bottom, var(--fondo) 0%, transparent 18%, transparent 80%, var(--fondo) 100%);
}
.seccion--alt .fondo-escena::after { background: radial-gradient(ellipse at center, transparent 30%, var(--fondo-2) 100%), linear-gradient(to bottom, var(--fondo-2) 0%, transparent 18%, transparent 80%, var(--fondo-2) 100%); }
.seccion--calida .fondo-escena img { opacity: .42; }
.seccion--calida .fondo-escena::after { background: radial-gradient(ellipse at 70% 50%, transparent 25%, var(--fondo-calido) 95%), linear-gradient(to bottom, var(--fondo-calido) 0%, transparent 18%, transparent 78%, var(--fondo-calido) 100%); }
.seccion > .contenedor { position: relative; z-index: 1; }

/* separadores */
.sep { display: block; width: min(1200px, 100%); height: 24px; margin: -12px auto; background: url("../svg/separador-runa.svg") center / contain no-repeat; opacity: .75; position: relative; z-index: 2; pointer-events: none; }
.sep--brasa { height: 56px; margin: -28px auto; background-image: url("../svg/separador-brasa.svg"); opacity: 1; }

/* ---------- barra ---------- */
.barra {
  position: fixed; inset: 0 0 auto 0; height: var(--barra-alto); z-index: 50;
  display: flex; align-items: center;
  background: transparent; border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s;
}
.barra.solida { background: rgba(16, 12, 20, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--borde); }
.barra .contenedor { display: flex; align-items: center; gap: 16px; max-width: 1440px; }
.logo { display: inline-flex; align-items: baseline; gap: 10px; color: var(--texto); flex-shrink: 0; }
.logo b { font: 400 22px/1 var(--display); letter-spacing: .04em; text-transform: uppercase; color: var(--oro); }
.logo small { font: 800 11px/1 var(--texto-fuente); letter-spacing: .3em; text-transform: uppercase; color: var(--texto-70); }
.nav { display: flex; gap: 4px; margin-inline: auto; }
.nav a { font: 800 14px/1 var(--texto-fuente); letter-spacing: .1em; text-transform: uppercase; color: var(--texto-70); padding: 12px 10px; border-radius: 10px; position: relative; }
.nav a:hover { color: var(--texto); }
.nav a.activo { color: var(--texto); }
.nav a.activo::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 3px; border-radius: 2px; background: var(--oro); }
.barra-acciones { display: flex; gap: 10px; align-items: center; margin-left: auto; }
.hamburguesa { display: none; width: 44px; height: 44px; flex-shrink: 0; border-radius: 12px; align-items: center; justify-content: center; }
.hamburguesa span { display: block; width: 22px; height: 2px; background: var(--texto); border-radius: 2px; position: relative; transition: transform .25s, opacity .25s; }
.hamburguesa span::before, .hamburguesa span::after { content: ""; position: absolute; left: 0; width: 22px; height: 2px; background: var(--texto); border-radius: 2px; transition: transform .25s, top .25s; }
.hamburguesa span::before { top: -7px; } .hamburguesa span::after { top: 7px; }
.hamburguesa[aria-expanded="true"] span { background: transparent; }
.hamburguesa[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.hamburguesa[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }
.menu-movil { display: none; position: fixed; inset: var(--barra-alto) 0 0 0; z-index: 49; background: #100c14; padding: 20px var(--lateral) calc(24px + env(safe-area-inset-bottom, 0px)); flex-direction: column; gap: 4px; overflow-y: auto; overscroll-behavior: contain; }
.menu-movil > a { flex-shrink: 0; }
.menu-movil.abierto { display: flex; }
.menu-movil a:not(.btn) { font: 400 28px/1.2 var(--display); color: var(--texto); padding: 12px 8px; border-bottom: 1px solid var(--borde); }
.menu-movil .btn { margin-top: 16px; justify-content: center; }

/* barra pegajosa (móvil) */
.pegajosa {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 48; display: none; align-items: center; gap: 12px;
  padding: 8px 16px calc(8px + env(safe-area-inset-bottom, 0px)); min-height: 64px;
  background: rgba(16, 12, 20, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--borde);
  transform: translateY(110%); transition: transform .35s;
}
.pegajosa.visible { transform: translateY(0); }
.pegajosa .btn { margin-left: auto; }
body.menu-abierto .pegajosa { visibility: hidden; }

/* ---------- botones ---------- */
.btn {
  font: 400 20px/1 var(--display); letter-spacing: .06em; text-transform: uppercase;
  padding: 18px 36px; border-radius: 14px; min-height: 56px;
  display: inline-flex; gap: 10px; align-items: center; justify-content: center;
  position: relative; overflow: hidden; transition: transform .15s, filter .15s, background-color .3s, box-shadow .3s; white-space: nowrap;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-primario {
  color: var(--oro-tinta); background: linear-gradient(180deg, #ffe08a, #ffc93a 55%, #f0a91f);
  box-shadow: 0 5px 0 #b56d10, 0 10px 24px rgba(0, 0, 0, .45); text-shadow: 0 1px 0 rgba(255, 255, 255, .35);
}
.btn-primario::after {
  content: ""; position: absolute; inset: -40px; pointer-events: none; opacity: .18; mix-blend-mode: screen;
  background: radial-gradient(circle, #fff 1px, transparent 1.5px) 0 0 / 42px 42px; animation: deriva 40s linear infinite;
}
.btn-primario:hover { filter: brightness(1.08); }
.btn-primario:active { transform: translateY(4px); box-shadow: 0 1px 0 #b56d10, 0 6px 14px rgba(0, 0, 0, .45); }
.btn-secundario { color: var(--texto); background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 2px rgba(255, 201, 58, .7), 0 8px 20px rgba(0, 0, 0, .35); }
.btn-secundario:hover { background: rgba(255, 201, 58, .14); color: var(--texto); }
.btn-bando { color: var(--texto); background: linear-gradient(180deg, var(--acento-luz), var(--acento) 55%, var(--acento-sombra)); box-shadow: 0 5px 0 var(--acento-sombra), 0 10px 24px rgba(0, 0, 0, .45); text-shadow: 0 1px 0 rgba(0, 0, 0, .35); }
.btn-bando:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--acento-sombra); }
.btn-compacto { font-size: 16px; padding: 12px 22px; min-height: 44px; border-radius: 12px; }
.btn-bloque { width: 100%; }
.enlace { font-weight: 800; letter-spacing: .02em; display: inline-flex; align-items: center; gap: 6px; }
.enlace::after { content: "→"; transition: transform .2s; }
.enlace:hover::after { transform: translateX(4px); }

/* ---------- chips, medallones, tarjetas ---------- */
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; font: 800 12px/1 var(--texto-fuente); letter-spacing: .12em; text-transform: uppercase; background: rgba(255, 255, 255, .08); color: var(--texto-84); }
.chip-nivel { background: var(--oro-tinta); color: var(--oro); box-shadow: inset 0 0 0 1px rgba(255, 201, 58, .5); }
.chip-alianza { background: rgba(47, 107, 255, .22); color: var(--alianza-luz); }
.chip-horda { background: rgba(232, 50, 42, .22); color: var(--horda-luz); }
.chip-disputa { background: rgba(163, 92, 255, .22); color: #cfaeff; }
.chip-brasa { background: rgba(255, 106, 42, .22); color: var(--brasa-luz); }
.chip-tanque { background: rgba(61, 139, 255, .22); color: #8fbcff; }
.chip-dps { background: rgba(255, 74, 61, .22); color: #ff9a90; }
.chip-sanador { background: rgba(79, 208, 74, .22); color: #8be787; }
.chip-raro { background: rgba(61, 139, 255, .22); color: #8fbcff; }
.chip-epico { background: rgba(163, 92, 255, .22); color: #cfaeff; }
.chip-legendario { background: rgba(255, 138, 42, .22); color: #ffb26e; }
.chip-ok { background: rgba(79, 208, 74, .16); color: #8be787; }
.chip-ok::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #4fd04a; box-shadow: 0 0 0 0 rgba(79, 208, 74, .6); animation: pulso-punto 2s infinite; }
.chip-gris { background: rgba(255, 255, 255, .05); color: var(--texto-55); }
.medallon { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; border: 3px solid var(--oro); background: var(--oro-tinta); font: 400 22px/1 var(--display); color: var(--oro-luz); box-shadow: 0 4px 0 var(--oro-sombra); flex: none; }
.medallon--peq { width: 44px; height: 44px; font-size: 17px; }
.tarjeta { background: linear-gradient(180deg, var(--superficie), #181220); border: 1px solid var(--borde); border-radius: 20px; padding: 32px; box-shadow: var(--sombra-tarjeta); transition: transform .25s, border-color .25s; position: relative; }
@media (hover: hover) { .tarjeta:hover { border-color: color-mix(in srgb, var(--acento) 60%, transparent); transform: translateY(-4px); } }
.tarjeta--destacada { box-shadow: inset 0 0 0 2px var(--oro), var(--sombra-flotante); }
.cinta { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--oro); color: var(--oro-tinta); font: 800 12px/1 var(--texto-fuente); letter-spacing: .18em; text-transform: uppercase; padding: 8px 16px; border-radius: 999px; box-shadow: 0 4px 0 var(--oro-sombra); white-space: nowrap; }
.icono-circulo { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; background: var(--superficie-2); border: 1px solid var(--borde-2); color: var(--oro); flex: none; }
.icono-circulo svg { width: 28px; height: 28px; }

/* marco 16:9 con filete doble y muescas */
.marco { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #0b0910; box-shadow: 0 0 37px 7px rgba(0, 0, 0, .35), inset 0 0 0 1px var(--borde-2); }
.marco img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease, filter .25s ease; }
.marco-filete { position: relative; }
.marco-filete::before { content: ""; position: absolute; inset: -7px; border: 1px solid rgba(255, 201, 58, .35); border-radius: 16px; pointer-events: none; }
.marco-filete::after {
  content: ""; position: absolute; inset: -11px; pointer-events: none;
  background:
    radial-gradient(circle at 50% 0, var(--oro) 0 4px, transparent 5px),
    radial-gradient(circle at 50% 100%, var(--oro) 0 4px, transparent 5px),
    radial-gradient(circle at 0 50%, var(--oro) 0 4px, transparent 5px),
    radial-gradient(circle at 100% 50%, var(--oro) 0 4px, transparent 5px);
}
@media (hover: hover) { .marco:hover img { transform: scale(1.04); filter: brightness(1.15); } }

/* halos para personajes transparentes */
.halo { position: relative; display: block; }
.halo::before { content: ""; position: absolute; inset: -20%; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--acento) 35%, transparent) 0%, transparent 65%); filter: blur(24px); pointer-events: none; z-index: 0; }
.halo img { position: relative; z-index: 1; object-position: 50% 100%; filter: drop-shadow(0 0 28px color-mix(in srgb, var(--acento) 55%, transparent)) drop-shadow(0 18px 12px rgba(0, 0, 0, .6)); }
.halo--brasa::before { background: radial-gradient(circle, rgba(255, 106, 42, .45) 0%, transparent 65%); }
.halo--brasa img { filter: var(--halo-brasa); }

/* ---------- reveal ---------- */
.aparece { opacity: 0; transform: translateY(24px); transition: opacity .55s cubic-bezier(.2, .7, .2, 1), transform .55s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--i, 0) * 60ms); }
.aparece.visto { opacity: 1; transform: none; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; padding-block: calc(var(--barra-alto) + 32px) 96px; }
.hero-fondo { position: absolute; inset: 0; z-index: 0; }
.hero-fondo img { width: 100%; height: 100%; object-fit: cover; animation: kb 24s ease-in-out infinite alternate; transform-origin: 60% 40%; }
.hero-fondo::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(16, 12, 20, .9) 0%, rgba(16, 12, 20, .62) 45%, rgba(16, 12, 20, .15) 70%); }
.hero-fondo::after { content: ""; position: absolute; inset: 0; z-index: 1; background: radial-gradient(ellipse at 60% 40%, transparent 35%, rgba(16, 12, 20, .85) 100%), linear-gradient(to bottom, rgba(16, 12, 20, .55) 0%, transparent 25%, transparent 60%, var(--fondo) 100%); }
.hero > .contenedor { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 620px) 1fr; gap: 32px; align-items: center; }
.hero-texto { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; position: relative; z-index: 3; }
.logo-apilado { display: flex; flex-direction: column; align-items: flex-start; line-height: 1; gap: 6px; }
.logo-apilado small { font: 800 clamp(12px, 1.1vw, 15px)/1 var(--texto-fuente); letter-spacing: .3em; text-transform: uppercase; color: var(--texto-84); }
.logo-apilado b { font: 400 clamp(44px, 5.2vw, 72px)/1 var(--display); letter-spacing: .04em; text-transform: uppercase; color: var(--oro); -webkit-text-stroke: 1.5px #5a3305; paint-order: stroke fill; text-shadow: 0 4px 0 #5a3305, 0 10px 24px rgba(0, 0, 0, .5); }
.logo-apilado .lema { color: var(--texto-84); }
.hero-acciones { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-figuras { position: relative; height: 640px; min-width: 0; }
.hero-pj { position: absolute; bottom: 0; }
.hero-pj img { height: 100%; width: 100%; object-fit: contain; object-position: bottom; }
.hero-pj--principal { right: 0; width: 60%; height: 640px; z-index: 2; }
.hero-pj--detras { left: 0; width: 50%; height: 520px; z-index: 1; opacity: .95; }
.hero-pj--detras img { filter: brightness(.85) drop-shadow(0 0 28px rgba(47, 107, 255, .45)) drop-shadow(0 18px 12px rgba(0, 0, 0, .6)); }
.indicador { position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 3; color: var(--oro); animation: rebote 2.4s infinite; }
.indicador svg { width: 32px; height: 32px; }

/* partículas de brasa */
.brasas { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 1; }
.brasas i { position: absolute; bottom: -12px; width: 5px; height: 5px; border-radius: 50%; background: var(--oro); box-shadow: 0 0 10px 2px rgba(255, 160, 40, .6); opacity: 0; animation: sube 10s linear infinite; }
.brasas i:nth-child(3n) { background: var(--brasa); width: 4px; height: 4px; }
.brasas i:nth-child(4n) { width: 6px; height: 6px; }
.brasas i:nth-child(1) { left: 3%; animation-duration: 9s; animation-delay: -1s; } .brasas i:nth-child(2) { left: 8%; animation-duration: 12s; animation-delay: -5s; }
.brasas i:nth-child(3) { left: 13%; animation-duration: 8s; animation-delay: -3s; } .brasas i:nth-child(4) { left: 18%; animation-duration: 13s; animation-delay: -7s; }
.brasas i:nth-child(5) { left: 22%; animation-duration: 10s; animation-delay: -2s; } .brasas i:nth-child(6) { left: 27%; animation-duration: 11s; animation-delay: -9s; }
.brasas i:nth-child(7) { left: 33%; animation-duration: 9s; animation-delay: -4s; } .brasas i:nth-child(8) { left: 38%; animation-duration: 14s; animation-delay: -6s; }
.brasas i:nth-child(9) { left: 44%; animation-duration: 10s; animation-delay: -8s; } .brasas i:nth-child(10) { left: 49%; animation-duration: 12s; animation-delay: -1.5s; }
.brasas i:nth-child(11) { left: 54%; animation-duration: 8s; animation-delay: -6.5s; } .brasas i:nth-child(12) { left: 59%; animation-duration: 13s; animation-delay: -3.5s; }
.brasas i:nth-child(13) { left: 64%; animation-duration: 9s; animation-delay: -10s; } .brasas i:nth-child(14) { left: 69%; animation-duration: 11s; animation-delay: -2.5s; }
.brasas i:nth-child(15) { left: 74%; animation-duration: 10s; animation-delay: -7.5s; } .brasas i:nth-child(16) { left: 79%; animation-duration: 12s; animation-delay: -4.5s; }
.brasas i:nth-child(17) { left: 84%; animation-duration: 9s; animation-delay: -11s; } .brasas i:nth-child(18) { left: 89%; animation-duration: 14s; animation-delay: -0.5s; }
.brasas i:nth-child(19) { left: 94%; animation-duration: 10s; animation-delay: -5.5s; } .brasas i:nth-child(20) { left: 98%; animation-duration: 11s; animation-delay: -8.5s; }
.brasas i:nth-child(21) { left: 6%; animation-duration: 12s; animation-delay: -9.5s; } .brasas i:nth-child(22) { left: 16%; animation-duration: 9s; animation-delay: -0.8s; }
.brasas i:nth-child(23) { left: 30%; animation-duration: 13s; animation-delay: -6.2s; } .brasas i:nth-child(24) { left: 41%; animation-duration: 8s; animation-delay: -3.2s; }
.brasas i:nth-child(25) { left: 57%; animation-duration: 11s; animation-delay: -10.5s; } .brasas i:nth-child(26) { left: 66%; animation-duration: 10s; animation-delay: -1.2s; }
.brasas i:nth-child(27) { left: 77%; animation-duration: 12s; animation-delay: -7.8s; } .brasas i:nth-child(28) { left: 91%; animation-duration: 9s; animation-delay: -4.8s; }

/* ---------- demo ---------- */
.demo-rejilla { display: grid; grid-template-columns: 2fr 3fr; gap: 48px; align-items: center; }
.lista-iconos { display: flex; flex-direction: column; gap: 16px; }
.lista-iconos li { display: flex; gap: 14px; align-items: center; font-weight: 600; color: var(--texto-84); }
.lista-iconos .icono-circulo { width: 44px; height: 44px; }
.lista-iconos .icono-circulo svg { width: 22px; height: 22px; }
.acciones { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; margin-top: 8px; }
.cuenta-portada .cabecera { margin-bottom: 24px; }
.cuenta-portada-acciones { justify-content: center; }
.moviles { position: relative; padding: 40px 0 60px 0; }
.movil { position: relative; border-radius: 28px; border: 10px solid #0b0910; background: #0b0910; box-shadow: var(--sombra-flotante), inset 0 0 0 1px rgba(255, 255, 255, .08); overflow: hidden; transition: transform .4s; }
.movil::before { content: ""; position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 90px; height: 8px; border-radius: 6px; background: #1a1620; z-index: 2; }
.movil img { width: 100%; height: auto; }
.movil--delante { transform: rotate(-4deg); z-index: 2; }
.movil--detras { position: absolute; right: -4%; bottom: 0; width: 66%; transform: rotate(5deg); opacity: .85; z-index: 1; }
@media (hover: hover) { .moviles:hover .movil { transform: rotate(0); } }

/* ---------- pilares ---------- */
.pilares { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 24px; }
.pilares .tarjeta { grid-column: span 2; display: flex; flex-direction: column; gap: 14px; overflow: hidden; }
.pilares .tarjeta:nth-child(4) { grid-column: 2 / span 2; }
.pilares .tarjeta:nth-child(5) { grid-column: 4 / span 2; }
.pilares .h3 { font-size: 26px; }
.pilares p { color: var(--texto-70); font-size: 17px; }
.pilares .asoma { position: absolute; right: -18px; top: -14px; width: 110px; opacity: .9; transform: rotate(12deg); pointer-events: none; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------- historia ---------- */
.historia { text-align: center; }
.historia .cita { max-width: 760px; margin: 0 auto; }
.logo-marca { display: inline-flex; flex-direction: column; align-items: center; gap: 4px; opacity: .6; margin-top: 40px; }
.logo-marca b { font: 400 28px/1 var(--display); letter-spacing: .06em; color: var(--oro); }
.logo-marca small { font: 800 10px/1 var(--texto-fuente); letter-spacing: .3em; color: var(--texto-70); }

/* ---------- Ignarath (cálida) ---------- */
.ignarath > .contenedor { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.ignarath-texto { display: flex; flex-direction: column; gap: 20px; }
.ignarath-texto .cuerpo { font-size: 19px; color: var(--texto-84); max-width: 560px; }
.ignarath-figura { position: relative; justify-self: end; width: 100%; max-width: 720px; }
.ignarath-figura::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle, rgba(255, 106, 42, .45) 0%, transparent 62%); filter: blur(40px); }
.ignarath-figura img { position: relative; width: 100%; height: auto; filter: var(--halo-brasa); transition: opacity .25s; }
.ignarath-figura img.especial { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; object-fit: contain; object-position: bottom; }
@media (hover: hover) { .ignarath-figura:hover img.especial { opacity: 1; } .ignarath-figura:hover img.normal { opacity: 0; } }
.ignarath-figura.activa img.especial { opacity: 1; }
.ignarath-figura.activa img.normal { opacity: 0; }
.citas { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 8px; }
.citas blockquote { margin: 0; padding: 4px 0 4px 18px; border-left: 4px solid var(--alianza); display: flex; flex-direction: column; gap: 8px; }
.citas blockquote.horda { border-color: var(--horda); }
.citas cite { font: 800 12px/1 var(--texto-fuente); letter-spacing: .12em; text-transform: uppercase; color: var(--texto-55); font-style: normal; display: flex; align-items: center; gap: 8px; }
.citas cite svg { width: 22px; height: 22px; }
.orla { position: absolute; width: 96px; height: 96px; pointer-events: none; opacity: .7; z-index: 1; }
.orla svg { width: 100%; height: 100%; }
.orla--ne { right: 8px; top: 8px; transform: scaleX(-1); } .orla--no { left: 8px; top: 8px; } .orla--se { right: 8px; bottom: 8px; transform: scale(-1, -1); } .orla--so { left: 8px; bottom: 8px; transform: scaleY(-1); }

/* ---------- pestañas y carruseles ---------- */
.pestanas { display: flex; justify-content: center; gap: 4px; margin-bottom: 40px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; position: relative; }
.pestanas::-webkit-scrollbar { display: none; }
.pestana { position: relative; padding: 16px 28px; font: 800 17px/1 var(--texto-fuente); letter-spacing: .06em; text-transform: uppercase; color: var(--texto-55); white-space: nowrap; scroll-snap-align: center; display: inline-flex; align-items: center; gap: 10px; border-radius: 10px; transition: color .25s; }
.pestana:hover { color: var(--texto-84); }
.pestana::after { content: ""; position: absolute; left: 20px; right: 20px; bottom: 6px; height: 4px; border-radius: 2px; background: var(--acento); transform: scaleX(0); transition: transform .25s; }
.pestana[aria-selected="true"] { color: var(--texto); }
.pestana[aria-selected="true"]::after { transform: scaleX(1); }
.pestana .punto { width: 10px; height: 10px; border-radius: 50%; background: var(--punto, var(--oro)); box-shadow: 0 0 8px var(--punto, var(--oro)); flex: none; }
.pestana--clase { --acento: var(--clase); }
.panel { display: none; animation: fundido .3s; }
.panel.activo { display: block; }
.diapositiva { position: relative; max-width: 1200px; margin: 0 auto; }
.diapositiva .marco { aspect-ratio: 16 / 8; }
.diapositiva-texto { position: absolute; left: 0; right: 0; bottom: 0; padding: 120px 40px 36px; background: linear-gradient(to top, rgba(16, 12, 20, .95) 0%, rgba(16, 12, 20, .6) 55%, transparent 100%); display: flex; flex-direction: column; gap: 10px; z-index: 2; }
.diapositiva-texto .fila { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.diapositiva-texto p { color: var(--texto-84); max-width: 720px; }
.fondos-zona { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.fondos-zona img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s; }
.fondos-zona img.activo { opacity: .32; }
.fondos-zona::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, transparent 20%, var(--fondo) 100%), linear-gradient(to bottom, var(--fondo) 0%, transparent 20%, transparent 75%, var(--fondo) 100%); }
.carrusel-marco { position: relative; }
.carrusel { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding: 24px 4px 32px; }
.carrusel::-webkit-scrollbar { display: none; }
.carrusel > * { scroll-snap-align: center; flex: 0 0 300px; }
.flecha { position: absolute; top: 50%; transform: translateY(-50%); width: 64px; height: 64px; border-radius: 50%; background: rgba(16, 12, 20, .7); backdrop-filter: blur(8px); border: 2px solid rgba(255, 201, 58, .6); color: var(--oro); display: flex; align-items: center; justify-content: center; z-index: 3; filter: drop-shadow(0 0 10px #000); transition: background .2s, color .2s; }
.flecha:hover { background: var(--oro); color: var(--oro-tinta); }
.flecha svg { width: 24px; height: 24px; }
.flecha--izq { left: -24px; } .flecha--der { right: -24px; }
.puntos { display: flex; justify-content: center; gap: 8px; }
.puntos i { width: 8px; height: 8px; border-radius: 4px; background: var(--texto-55); transition: width .25s, background .25s; }
.puntos i.activo { width: 24px; background: var(--acento); }

/* ---------- bandos ---------- */
.bandos-pestanas { display: flex; justify-content: center; gap: 16px; margin-bottom: 48px; }
.bando-btn { display: inline-flex; align-items: center; justify-content: center; gap: 14px; width: 280px; height: 88px; border-radius: 16px; background: rgba(31, 24, 38, .6); border: 1px solid var(--borde-2); font: 400 24px/1 var(--display); color: var(--texto-70); transition: background .3s, color .3s, box-shadow .3s, transform .15s; }
.bando-btn svg { width: 40px; height: 40px; flex: none; }
.bando-btn[aria-selected="true"] { color: var(--texto); background: linear-gradient(180deg, var(--b-luz), var(--b) 55%, var(--b-sombra)); box-shadow: 0 5px 0 var(--b-sombra), 0 12px 28px rgba(0, 0, 0, .45); border-color: transparent; }
.bando-btn:active { transform: translateY(3px); }
.bando-btn--alianza { --b: var(--alianza); --b-luz: var(--alianza-luz); --b-sombra: var(--alianza-sombra); }
.bando-btn--horda { --b: var(--horda); --b-luz: var(--horda-luz); --b-sombra: var(--horda-sombra); }
.pj-tarjeta { background: linear-gradient(180deg, var(--superficie), #181220); border: 1px solid var(--borde); border-radius: 20px; padding: 24px 20px 22px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; position: relative; box-shadow: var(--sombra-tarjeta); }
.pj-tarjeta .halo { height: 380px; display: flex; align-items: flex-end; justify-content: center; width: 100%; }
.pj-tarjeta .halo img { height: 100%; width: auto; max-width: 100%; object-fit: contain; transition: opacity .25s; }
.pj-tarjeta .avatar { position: absolute; top: 16px; left: 16px; width: 56px; height: 56px; border-radius: 50%; border: 2px solid var(--acento); background: #0b0910; z-index: 2; }
.pj-tarjeta .h3 { font-size: 26px; }
.pj-tarjeta p { color: var(--texto-70); font-size: 16px; }
.sexo { position: absolute; top: 16px; right: 16px; display: flex; gap: 4px; background: rgba(0, 0, 0, .45); padding: 4px; border-radius: 999px; z-index: 2; }
.sexo button { width: 36px; height: 36px; border-radius: 50%; font: 800 13px/1 var(--texto-fuente); color: var(--texto-55); }
.sexo button[aria-pressed="true"] { background: var(--acento); color: #fff; }
.tira { position: relative; margin-top: 48px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.tira img { width: 100%; height: auto; }
.tira-pie { text-align: center; margin-top: 12px; }

/* ---------- clases ---------- */
.specs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.spec { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; }
.spec .halo { height: 360px; display: flex; align-items: flex-end; justify-content: center; --acento: var(--rol); }
.spec .halo img { height: 100%; width: auto; max-width: 100%; object-fit: contain; }
.spec--tanque { --rol: var(--rol-tanque); } .spec--dps { --rol: var(--rol-dps); } .spec--sanador { --rol: var(--rol-sanador); }
.spec .h3 { font-size: 28px; }
.spec p { color: var(--texto-70); }

/* ---------- novedades ---------- */
.novedades { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.novedad { display: grid; grid-template-columns: 45% 1fr; gap: 24px; align-items: center; padding: 24px; }
.novedades .novedad:nth-child(even) .novedad-media { order: 2; }
.novedad-media { aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #0b0910; display: flex; align-items: flex-end; justify-content: center; position: relative; }
.novedad-media img { width: 100%; height: 100%; object-fit: cover; }
.novedad-media--figuras { padding: 10px; gap: 4px; }
.novedad-media--figuras img { flex: 1 1 0; min-width: 0; width: 0; height: 100%; object-fit: contain; object-position: bottom; filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .6)); }
.novedad-media--figuras img + img { margin-left: -6%; }
.novedad-texto { display: flex; flex-direction: column; gap: 10px; }
.novedad-texto .h3 { font-size: 26px; }
.novedad-texto p { color: var(--texto-70); font-size: 16px; }
.talentos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; width: 60%; }
.talentos i { display: block; aspect-ratio: 1; border-radius: 6px; background: rgba(255, 255, 255, .08); border: 1px solid var(--borde-2); }
.talentos i.on { background: var(--oro); box-shadow: 0 0 12px rgba(255, 201, 58, .6); border-color: transparent; }

/* ---------- jefes ---------- */
.jefes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(0, 1.6fr); gap: 16px; align-items: end; }
.jefe { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; }
.jefe .halo { height: var(--alto, 320px); display: flex; align-items: flex-end; justify-content: center; width: 100%; --acento: var(--color); }
.jefe .halo img { height: 100%; width: auto; max-width: 100%; object-fit: contain; transition: opacity .25s; }
.jefe .halo img.especial { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); opacity: 0; }
@media (hover: hover) { .jefe .halo:has(img.especial):hover img.especial { opacity: 1; } .jefe .halo:has(img.especial):hover img.normal { opacity: 0; } }
.jefe .halo.activa img.especial { opacity: 1; }
.jefe .halo:has(img.especial).activa img.normal { opacity: 0; }
.jefe .nombre { font: 400 22px/1.15 var(--display); }
.jefe .lugar { font-size: 14px; color: var(--texto-55); font-weight: 800; letter-spacing: .04em; }
.jefe:nth-child(1) { --alto: 300px; --color: #e36b2c; } .jefe:nth-child(2) { --alto: 340px; --color: #2aa7a0; } .jefe:nth-child(3) { --alto: 360px; --color: #a35cff; } .jefe:nth-child(4) { --alto: 420px; --color: #7dd67d; } .jefe:nth-child(5) { --alto: 520px; --color: var(--brasa); }

/* ---------- preguntas frecuentes ---------- */
details { border-bottom: 1px solid var(--borde); }
details summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font: 400 22px/1.2 var(--display); color: var(--texto-70); transition: color .25s; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: ""; width: 12px; height: 12px; border-right: 2px solid var(--oro); border-bottom: 2px solid var(--oro); transform: rotate(45deg); transition: transform .25s; flex: none; }
details[open] summary { color: var(--texto); }
details[open] summary::after { transform: rotate(225deg); }
details p { padding: 0 0 18px; color: var(--texto-70); }
.legal { font-size: 14px; line-height: 1.5; color: var(--texto-legal); max-width: 900px; margin: 48px auto 0; text-align: center; }

/* ---------- CTA final ---------- */
.cta-final { min-height: 640px; display: flex; align-items: center; text-align: center; overflow: hidden; }
.cta-final .fondo-escena img { opacity: .55; }
.cta-final .fondo-escena::after { background: radial-gradient(ellipse at center, transparent 20%, var(--fondo) 95%), linear-gradient(to bottom, var(--fondo) 0%, transparent 20%, transparent 70%, var(--fondo) 100%); }
.cta-final .contenedor { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.cta-pj { position: absolute; bottom: 0; height: 560px; z-index: 1; pointer-events: none; }
.cta-pj img { height: 100%; width: auto; max-width: 30vw; object-fit: contain; object-position: bottom; }
.cta-pj--izq { left: -2%; } .cta-pj--der { right: 0; }
.cta-pj--izq img { filter: drop-shadow(0 0 28px rgba(232, 50, 42, .5)) drop-shadow(0 18px 12px rgba(0, 0, 0, .6)); }
.cta-pj--der img { filter: drop-shadow(0 0 28px rgba(47, 107, 255, .5)) drop-shadow(0 18px 12px rgba(0, 0, 0, .6)); }
.tiendas { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.tienda { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 12px; background: rgba(31, 24, 38, .5); border: 1px solid var(--borde-2); opacity: .6; font: 800 13px/1.2 var(--texto-fuente); color: var(--texto-84); }
.tienda svg { width: 22px; height: 22px; }
.tienda small { display: block; font-weight: 600; font-size: 11px; color: var(--texto-55); letter-spacing: .08em; text-transform: uppercase; }

/* ---------- pie ---------- */
.pie { position: relative; background: #0b0910; padding-block: 0 40px; color: var(--texto-55); font-size: 14px; border-top: 1px solid var(--borde); }
.pie > .sep--brasa { position: relative; z-index: 2; }
.pie-fondo { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.pie-fondo img { width: 100%; height: 100%; object-fit: cover; object-position: center bottom; opacity: .10; }
.pie-fondo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, #0b0910 0%, rgba(11, 9, 16, .6) 40%, rgba(11, 9, 16, .95) 100%); }
.pie > .contenedor { position: relative; z-index: 1; }
.pie-marca { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; padding: 36px 0 40px; border-bottom: 1px solid var(--borde); }
.pie-marca-texto { display: flex; flex-direction: column; gap: 16px; }
.pie-marca .logo-apilado b { font-size: 48px; }
.pie-frase { font: 600 18px/1.4 var(--texto-fuente); color: var(--texto-84); }
.pie-cuenta { display: flex; flex-direction: column; gap: 12px; padding: 24px; border-radius: 20px; background: linear-gradient(180deg, var(--superficie), #181220); border: 1px solid var(--borde); }
.pie-cuenta .btn-primario { color: var(--oro-tinta); }
.pie-cuenta .btn-primario:hover { color: var(--oro-tinta); }
.pie-titulo { font: 800 12px/1.2 var(--texto-fuente); letter-spacing: .18em; text-transform: uppercase; color: var(--texto-70); margin: 0 0 14px; }
.pie-columnas { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; padding: 40px 0; }
.pie ul { display: flex; flex-direction: column; gap: 10px; }
.pie a { color: var(--texto-84); }
.pie a:hover { color: var(--oro); }
.pie-boton { padding: 0; color: var(--texto-84); font: inherit; }
.pie-boton:hover { color: var(--oro); }
.pie-redes span { display: inline-flex; align-items: center; gap: 10px; color: var(--texto-55); }
.pie-redes svg { width: 18px; height: 18px; }
.pie-redes small { font: 800 10px/1 var(--texto-fuente); letter-spacing: .12em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; background: rgba(255, 255, 255, .06); }
.pie-legal { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; border-top: 1px solid var(--borde); padding-top: 24px; font-size: 13px; }
.pie-emblemas { display: flex; gap: 8px; }
.pie-emblemas svg { width: 40px; height: 40px; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .5)); }
.pie-legal-texto { display: flex; flex-direction: column; gap: 8px; }
.pie-legal ul { flex-direction: row; flex-wrap: wrap; gap: 16px; }
.arriba { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--borde-2); color: var(--texto-84); }
.arriba:hover { border-color: var(--oro); color: var(--oro); }
.arriba svg { width: 20px; height: 20px; }

/* ---------- hero corto (páginas secundarias) ---------- */
.hero-corto { position: relative; min-height: 56vh; display: flex; align-items: flex-end; padding: calc(var(--barra-alto) + 48px) 0 56px; overflow: hidden; }
.hero-corto .fondo-escena img { opacity: .6; }
.hero-corto .fondo-escena::after { background: radial-gradient(ellipse at center, transparent 20%, var(--fondo) 100%), linear-gradient(to bottom, rgba(16, 12, 20, .7) 0%, transparent 30%, transparent 55%, var(--fondo) 100%); }
.hero-corto .contenedor { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 16px; }
.miga { font: 800 14px/1 var(--texto-fuente); letter-spacing: .08em; text-transform: uppercase; color: var(--texto-55); display: flex; gap: 8px; }
.miga a { color: var(--texto-70); }
.hero-corto .h1 { font-size: clamp(36px, 4.5vw, 64px); }

/* mundo: continentes */
.continentes { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.continente { padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.continente--alianza { --acento: var(--alianza); --acento-luz: var(--alianza-luz); --acento-sombra: var(--alianza-sombra); }
.continente--horda { --acento: var(--horda); --acento-luz: var(--horda-luz); --acento-sombra: var(--horda-sombra); }
.zonas-lista { display: flex; flex-direction: column; gap: 10px; }
.zonas-lista li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .04); border: 1px solid var(--borde); }
.zonas-lista li strong { font-family: var(--display); font-weight: 400; font-size: 18px; }
.zonas-lista li span { color: var(--texto-55); font-size: 14px; margin-left: auto; white-space: nowrap; }
.esquema { display: block; width: 100%; height: auto; margin: 0 auto; }
.zonas-fichas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.zona-ficha { display: grid; grid-template-columns: 40% 1fr; gap: 20px; padding: 20px; align-items: center; }
.zona-ficha .marco { aspect-ratio: 16 / 10; }
.zona-ficha .bloque-color { aspect-ratio: 16 / 10; border-radius: 12px; display: flex; align-items: flex-end; justify-content: center; gap: 0; overflow: hidden; padding: 8px; }
.zona-ficha .bloque-color img { flex: 1 1 0; min-width: 0; width: 0; height: 100%; object-fit: contain; object-position: bottom; filter: drop-shadow(0 8px 8px rgba(0, 0, 0, .5)); }
.zona-ficha .bloque-color img + img { margin-left: -6%; }
.zona-ficha .texto { display: flex; flex-direction: column; gap: 8px; }
.zona-ficha .fila { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.zona-ficha p { font-size: 15px; color: var(--texto-70); }
.bichos-mini { display: flex; gap: 4px; align-items: flex-end; }
.bichos-mini img { height: 56px; width: auto; }

/* personajes */
.selector-razas { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 10px; margin-bottom: 40px; }
.selector-razas button { border-radius: 50%; aspect-ratio: 1; padding: 0; overflow: hidden; border: 3px solid transparent; transition: border-color .25s, transform .15s; background: #0b0910; }
.selector-razas button img { width: 100%; height: 100%; object-fit: cover; }
@media (hover: hover) { .selector-razas button:hover { transform: scale(1.06); } }
.selector-razas button[aria-selected="true"] { border-color: var(--acento); box-shadow: 0 0 18px color-mix(in srgb, var(--acento) 60%, transparent); }
.ficha-raza { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.ficha-raza .halo { height: 560px; display: flex; align-items: flex-end; justify-content: center; }
.ficha-raza .halo img { height: 100%; width: auto; max-width: 100%; object-fit: contain; }
.ficha-raza .texto { display: flex; flex-direction: column; gap: 14px; }
.ficha-raza .texto p { color: var(--texto-84); }
.datos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.datos div { padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, .04); border: 1px solid var(--borde); }
.datos b { display: block; font: 800 11px/1 var(--texto-fuente); letter-spacing: .14em; text-transform: uppercase; color: var(--texto-55); margin-bottom: 6px; }
.roles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; }
.rol { display: flex; gap: 14px; align-items: center; padding: 18px; }
.rol .icono-circulo { color: var(--c); border-color: color-mix(in srgb, var(--c) 50%, transparent); }
.rol--tanque { --c: var(--rol-tanque); } .rol--dps { --c: var(--rol-dps); } .rol--sanador { --c: var(--rol-sanador); }
.rol b { font: 400 20px/1.1 var(--display); display: block; margin-bottom: 4px; }
.rol span { font-size: 14px; color: var(--texto-70); }

/* demo */
.pasos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.paso { display: flex; flex-direction: column; gap: 10px; padding: 24px; }
.paso .numero { font: 400 40px/1 var(--display); color: var(--oro); }
.paso .h3 { font-size: 22px; }
.paso p { font-size: 15px; color: var(--texto-70); }
.misiones { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.misiones ol { counter-reset: m; display: flex; flex-direction: column; gap: 14px; }
.misiones ol li { counter-increment: m; display: flex; gap: 14px; align-items: flex-start; }
.misiones ol li::before { content: counter(m); flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--oro-tinta); border: 2px solid var(--oro); color: var(--oro); font: 400 16px/32px var(--display); text-align: center; }
.misiones ol li p { color: var(--texto-70); font-size: 15px; }
.enemigos { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.enemigo { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 18px 12px; }
.enemigo .halo { height: 130px; display: flex; align-items: flex-end; --acento: var(--brasa); }
.enemigo .halo img { height: 100%; width: auto; object-fit: contain; }
.enemigo b { font: 400 18px/1.1 var(--display); }
.enemigo span { font-size: 13px; color: var(--texto-70); }
.controles { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.controles .tarjeta { padding: 24px; }
.controles dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; margin: 12px 0 0; font-size: 15px; }
.controles dt { font-weight: 800; color: var(--oro-texto); white-space: nowrap; }
.controles dd { margin: 0; color: var(--texto-70); }

/* ---------- animaciones ---------- */
@keyframes kb { from { transform: scale(1.06) translate(0, 0); } to { transform: scale(1.12) translate(-1.5%, -1%); } }
@keyframes sube { 0% { transform: translateY(0) scale(.6); opacity: 0; } 10% { opacity: .9; } 90% { opacity: .7; } 100% { transform: translateY(-110vh) scale(1.1); opacity: 0; } }
@keyframes rebote { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 6px); } }
@keyframes deriva { from { transform: translate(0, 0); } to { transform: translate(-84px, -84px); } }
@keyframes pulso-punto { 0% { box-shadow: 0 0 0 0 rgba(79, 208, 74, .6); } 100% { box-shadow: 0 0 0 10px rgba(79, 208, 74, 0); } }
@keyframes fundido { from { opacity: 0; } to { opacity: 1; } }

/* ---------- responsive ---------- */
@media (max-width: 1360px) {
  .barra-acciones .btn-secundario { display: none; }
}
@media (max-width: 1200px) {
  .nav, .barra-acciones .btn-secundario { display: none; }
  .hamburguesa { display: inline-flex; }
}
@media (max-width: 1100px) {
  .hero-figuras { height: 520px; }
  .hero-pj--principal { height: 520px; }
  .hero-pj--detras { height: 420px; }
  .jefes { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .jefe:nth-child(n) { --alto: 240px; } .jefe:nth-child(5) { --alto: 320px; }
}
@media (max-width: 960px) {
  :root { --barra-alto: 60px; }
  .pegajosa { display: flex; }
  body { padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px)); }
  .hero > .contenedor { grid-template-columns: 1fr; gap: 0; }
  .hero-texto { align-items: center; text-align: center; }
  .logo-apilado { align-items: center; }
  .hero-acciones { justify-content: center; }
  .hero-figuras { height: 320px; margin-top: 24px; }
  .hero-pj--principal { right: 4%; width: 52%; height: 320px; }
  .hero-pj--detras { left: 4%; width: 44%; height: 270px; }
  .demo-rejilla { grid-template-columns: 1fr; gap: 32px; }
  .moviles { padding: 0; }
  .movil--delante { transform: none; }
  .movil--detras { display: none; }
  .pilares { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pilares .tarjeta:nth-child(n) { grid-column: auto; }
  .ignarath > .contenedor { grid-template-columns: 1fr; }
  .ignarath-figura { max-width: 520px; justify-self: center; }
  .orla { display: none; }
  .citas { grid-template-columns: 1fr; }
  .pestanas { justify-content: flex-start; -webkit-mask-image: linear-gradient(90deg, transparent, #000 32px, #000 calc(100% - 32px), transparent); mask-image: linear-gradient(90deg, transparent, #000 32px, #000 calc(100% - 32px), transparent); }
  .fondos-zona { display: none; }
  .diapositiva-texto { padding: 80px 20px 24px; }
  .diapositiva .marco { aspect-ratio: 16 / 10; }
  .flecha { display: none; }
  .carrusel > * { flex-basis: 78vw; }
  .bandos-pestanas .bando-btn { width: 50%; height: 72px; font-size: 20px; }
  .specs { grid-template-columns: 1fr; }
  .spec .halo { height: 300px; }
  .novedades { grid-template-columns: 1fr; }
  .novedad { grid-template-columns: 1fr; }
  .novedades .novedad:nth-child(even) .novedad-media { order: 0; }
  .jefes { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; padding-bottom: 16px; scrollbar-width: none; }
  .jefes::-webkit-scrollbar { display: none; }
  .jefe { flex: 0 0 70vw; scroll-snap-align: center; }
  .jefe:nth-child(n) { --alto: 300px; }
  .cta-final { min-height: 0; padding-bottom: 300px; }
  .cta-pj { height: 260px; }
  .pie-marca { grid-template-columns: 1fr; }
  .pie-columnas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pie-legal { grid-template-columns: 1fr; }
  .esquema-marco .esquema { min-width: 900px; }
  .continentes { grid-template-columns: 1fr; }
  .zonas-fichas { grid-template-columns: 1fr; }
  .selector-razas { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ficha-raza { grid-template-columns: 1fr; }
  .ficha-raza .halo { height: 380px; }
  .roles { grid-template-columns: 1fr; }
  .pasos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .misiones { grid-template-columns: 1fr; }
  .enemigos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .controles { grid-template-columns: 1fr; }
  .cabecera { margin-bottom: 40px; }
}
@media (max-width: 600px) {
  :root { --sec-y: 56px; }
  body { font-size: 16px; }
  .hero { padding-bottom: 56px; }
  .hero-texto { gap: 18px; }
  .hero .h1 { font-size: clamp(32px, 9vw, 46px); }
  .hero-acciones, .cuenta-portada-acciones { width: 100%; }
  .acciones .btn { width: 100%; white-space: normal; line-height: 1.2; }
  .form-cuenta .btn { flex-wrap: wrap; white-space: normal; line-height: 1.2; }
  .tarjeta { padding: 24px 20px; }
  .noticia-tarjeta { padding: 0; }
  .pie-cuenta .acciones { flex-direction: column; align-items: stretch; }
  .menu-movil a:not(.btn) { font-size: 24px; padding: 10px 8px; }
  .menu-movil .btn { margin-top: 12px; }
  .pegajosa { gap: 8px; padding-inline: var(--lateral); }
  .pegajosa .chip { font-size: 10px; letter-spacing: .06em; padding-inline: 10px; }
  .pegajosa .btn { padding-inline: 16px; font-size: 14px; }
  .pie-columnas { grid-template-columns: 1fr; }
  .pilares { grid-template-columns: 1fr; }
  .zona-ficha { grid-template-columns: 1fr; }
  .pasos { grid-template-columns: 1fr; }
  .datos { grid-template-columns: 1fr; }
  .btn:not(.btn-compacto) { padding: 16px 24px; font-size: 18px; }
  .barra-acciones .btn-primario { display: none; }
  .diapositiva .marco { aspect-ratio: auto; overflow: visible; background: none; box-shadow: none; }
  .diapositiva .marco img { aspect-ratio: 1688 / 780; height: auto; border-radius: 12px; }
  .diapositiva-texto { position: static; padding: 16px 4px 0; background: none; }
  .diapositiva .marco-filete::before, .diapositiva .marco-filete::after { display: none; }
  .lideres li { flex-direction: column; gap: 2px; }
  .zonas-lista li { flex-wrap: wrap; }
  .zonas-lista li span { white-space: normal; margin-left: 56px; flex-basis: 100%; }
  .tira { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .tira img { width: 900px; max-width: none; }
  .banda-poses { overflow-x: auto; }
  .banda-poses img { width: 1200px; max-width: none; }
  .desliza > img { min-width: 900px; }
  .hero-acciones .btn { width: 100%; }
}
@media (max-width: 360px) {
  .barra .contenedor { gap: 8px; }
  .barra .logo { flex-direction: column; gap: 4px; }
  .barra-acciones { gap: 4px; }
  .bando-op { font-size: 12px; padding-inline: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  html { scroll-behavior: auto; }
  .aparece { opacity: 1; transform: none; }
  .brasas, .btn-primario::after { display: none; }
  .hero-fondo img { animation: none; }
}

/* ---------- noticias ---------- */
.noticias { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.noticia-tarjeta { display: flex; flex-direction: column; padding: 0; overflow: hidden; color: inherit; }
.noticia-tarjeta .marco { aspect-ratio: 3 / 2; border-radius: 0; box-shadow: none; }
.articulo .marco { aspect-ratio: auto; }
.articulo .marco img { height: auto; object-fit: initial; }
.misiones .marco { aspect-ratio: 1100 / 943; }
.desliza { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.esquema-marco { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.noticia-tarjeta .texto { display: flex; flex-direction: column; gap: 10px; padding: 24px; }
.noticia-tarjeta .h3 { font-size: 24px; }
.noticia-tarjeta p { color: var(--texto-70); font-size: 15px; }
.noticia-tarjeta time { font: 800 12px/1 var(--texto-fuente); letter-spacing: .12em; text-transform: uppercase; color: var(--texto-55); }
.noticia-tarjeta:hover .h3 { color: var(--oro-luz); }
.noticia-lista { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.noticia-lista .noticia-tarjeta:first-child { grid-column: 1 / -1; display: grid; grid-template-columns: 1.2fr 1fr; }
.noticia-lista .noticia-tarjeta:first-child .marco { aspect-ratio: 3 / 2; height: auto; align-self: center; }
.noticia-lista .noticia-tarjeta:first-child .h3 { font-size: 34px; }
.articulo { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 24px; }
.articulo .cuerpo p { font-size: 19px; line-height: 1.65; color: var(--texto-84); margin-bottom: 20px; }
.articulo .cuerpo strong { color: var(--texto); }
.articulo .cuerpo h2, .articulo .cuerpo h3 { font-size: 28px; margin: 32px 0 12px; }
.articulo .cuerpo ul { padding-left: 22px; list-style: disc; color: var(--texto-84); margin-bottom: 20px; }
.articulo .cuerpo li { margin-bottom: 6px; }
.articulo .cuerpo img { border-radius: 12px; margin: 8px 0 20px; }
.articulo-pie { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--borde); padding-top: 24px; }
.relacionadas { margin-top: 64px; }
.pagina-error { min-height: 60vh; display: flex; align-items: center; text-align: center; }
.pagina-error .contenedor { display: flex; flex-direction: column; align-items: center; gap: 16px; }
@media (max-width: 960px) { .noticias, .noticia-lista { grid-template-columns: 1fr; } .noticia-lista .noticia-tarjeta:first-child { grid-template-columns: 1fr; } .noticia-lista .noticia-tarjeta:first-child .marco { aspect-ratio: 16 / 9; height: auto; } }

/* ==========================================================================
   Cuenta: acceso en la barra, avisos, pantallas de acceso, formularios y panel
   ========================================================================== */
.barra-cuenta { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; border-radius: 12px; font: 800 13px/1 var(--texto-fuente); letter-spacing: .1em; text-transform: uppercase; color: var(--texto-84); }
.barra-cuenta svg { width: 20px; height: 20px; flex: none; }
.barra-cuenta span { max-width: 14ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.barra-cuenta.activo { color: var(--oro); }
@media (hover: hover) { .barra-cuenta:hover { color: var(--oro); background: rgba(255, 201, 58, .08); } }

/* avisos (mensajes flash) */
.avisos { position: fixed; top: calc(var(--barra-alto) + 12px); left: 50%; transform: translateX(-50%); z-index: 60; display: flex; flex-direction: column; gap: 10px; width: min(560px, calc(100% - 2 * var(--lateral))); }
.aviso { display: flex; align-items: flex-start; gap: 12px; padding: 12px 10px 12px 18px; border-radius: 16px; background: #1f1826; border: 1px solid var(--borde-2); box-shadow: var(--sombra-flotante); font-weight: 700; animation: aviso-entra .35s ease-out both; transition: opacity .3s, transform .3s; }
.aviso p { flex: 1; font-size: 16px; line-height: 1.45; padding-top: 4px; }
.aviso > svg { width: 22px; height: 22px; flex: none; margin-top: 5px; }
.aviso--exito { border-color: rgba(79, 208, 74, .5); }
.aviso--exito > svg { color: #4fd04a; }
.aviso--error { border-color: rgba(232, 50, 42, .55); }
.aviso--error > svg { color: var(--horda-luz); }
.aviso--aviso { border-color: rgba(255, 201, 58, .55); }
.aviso--aviso > svg { color: var(--oro); }
.aviso-cerrar { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; color: var(--texto-55); flex: none; }
.aviso-cerrar:hover { color: var(--texto); background: rgba(255, 255, 255, .08); }
.aviso-cerrar svg { width: 16px; height: 16px; }
.aviso.fuera { opacity: 0; transform: translateY(-8px); }
@keyframes aviso-entra { from { opacity: 0; transform: translateY(-10px); } }

/* pantallas de acceso (registro, entrar, recuperar…) */
.acceso { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--barra-alto) + 40px) 0 72px; overflow: hidden; }
.acceso .fondo-escena img { opacity: .45; }
.acceso-rejilla { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: 48px; align-items: center; }
.acceso-figura { height: min(640px, 72vh); display: flex; justify-content: center; align-items: flex-end; }
.acceso-figura img { height: 100%; width: auto; max-width: 100%; object-fit: contain; }
.acceso-tarjeta { display: flex; flex-direction: column; gap: 16px; padding: 40px 36px 28px; box-shadow: var(--sombra-flotante); }
.acceso-tarjeta .h2 { font-size: clamp(30px, 3vw, 42px); }
.acceso-lead { color: var(--texto-84); font-size: 17px; line-height: 1.55; }
.acceso-lead b { color: var(--texto); }
.acceso-pie { border-top: 1px solid var(--borde); padding-top: 18px; margin-top: 4px; font-size: 15px; color: var(--texto-70); text-align: center; }
.acceso-pie:empty { display: none; }
.acceso-icono { width: 72px; height: 72px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--oro-tinta); border: 3px solid var(--oro); color: var(--oro-luz); box-shadow: 0 4px 0 var(--oro-sombra); }
.acceso-icono svg { width: 34px; height: 34px; }
.acceso-icono--apagado { background: rgba(255, 255, 255, .05); border-color: var(--hierro); color: var(--texto-70); box-shadow: 0 4px 0 var(--hierro-sombra); }
.lista-pasos { display: flex; flex-direction: column; gap: 6px; padding-left: 20px; list-style: disc; color: var(--texto-70); font-size: 15px; }
.ayuda-local { padding: 12px 16px; border-radius: 12px; border: 1px dashed rgba(255, 201, 58, .45); background: rgba(255, 201, 58, .06); font-size: 14px; line-height: 1.5; color: var(--texto-84); }

/* formularios de la cuenta */
.form-cuenta { display: flex; flex-direction: column; gap: 18px; }
.campo { display: flex; flex-direction: column; gap: 8px; }
.campo > label, .bando-eleccion legend { font: 800 13px/1.2 var(--texto-fuente); letter-spacing: .12em; text-transform: uppercase; color: var(--texto-70); }
.campo-control { position: relative; }
.campo-control input { width: 100%; min-height: 52px; padding: 12px 16px; border-radius: 14px; border: 1px solid var(--borde-2); background: #0b0910; color: var(--texto); font: 600 17px/1.2 var(--texto-fuente); transition: border-color .2s, box-shadow .2s; }
.campo-control input:focus { border-color: var(--oro); outline: none; box-shadow: 0 0 0 3px rgba(255, 201, 58, .25); }
.campo-control.con-ojo input { padding-right: 56px; }
.ver-clave { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; color: var(--texto-55); }
.ver-clave:hover, .ver-clave[aria-pressed="true"] { color: var(--oro); }
.ver-clave svg { width: 22px; height: 22px; }
.campo-ayuda { font-size: 14px; line-height: 1.45; color: var(--texto-55); }
.campo-error { font-size: 14px; line-height: 1.45; font-weight: 700; color: #ffb0a8; }
.campo.con-error .campo-control input { border-color: rgba(232, 50, 42, .8); }
.campo.con-error .campo-control input:focus { box-shadow: 0 0 0 3px rgba(232, 50, 42, .25); }
.fuerza { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 800; color: var(--texto-55); }
.fuerza-barra { flex: 1; height: 6px; border-radius: 3px; background: var(--superficie-2); overflow: hidden; }
.fuerza-barra i { display: block; height: 100%; width: 0; border-radius: 3px; transition: width .25s, background-color .25s; }
.fuerza-texto { min-width: 7.5em; text-align: right; }
.fuerza[data-nivel="1"] i { width: 25%; background: var(--horda); }
.fuerza[data-nivel="2"] i { width: 50%; background: var(--brasa); }
.fuerza[data-nivel="3"] i { width: 75%; background: var(--oro); }
.fuerza[data-nivel="4"] i { width: 100%; background: #4fd04a; }
.aviso-form { padding: 12px 16px; border-radius: 14px; background: rgba(232, 50, 42, .14); color: #ffb0a8; font-weight: 700; border: 1px solid rgba(232, 50, 42, .4); }
.form-enlace { margin-top: -6px; text-align: right; font-size: 15px; }
.casilla { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.5; color: var(--texto-84); cursor: pointer; }
.casilla input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--oro); flex: none; }
.trampa { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.separador-o { display: flex; align-items: center; gap: 14px; color: var(--texto-55); font-size: 13px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.separador-o::before, .separador-o::after { content: ""; flex: 1; height: 1px; background: var(--borde-2); }
.btn-google[disabled] { opacity: .55; cursor: not-allowed; }
.btn-google .chip { padding: 4px 10px; font-size: 10px; }
.acceso-tarjeta > .btn-google { white-space: normal; line-height: 1.2; }

/* elegir bando */
.bando-eleccion { border: 0; margin: 0; padding: 0; min-width: 0; }
.bando-eleccion legend { padding: 0; margin-bottom: 10px; }
.bando-eleccion legend span { text-transform: none; letter-spacing: 0; font-weight: 600; color: var(--texto-55); }
.bando-opciones { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.bando-op { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 8px 12px; border-radius: 14px; border: 1px solid var(--borde-2); background: #0b0910; cursor: pointer; text-align: center; font: 800 14px/1.2 var(--texto-fuente); color: var(--texto-70); transition: border-color .2s, background-color .2s; }
.bando-op input { position: absolute; opacity: 0; pointer-events: none; }
.bando-op svg { width: 40px; height: 40px; color: var(--texto-55); }
.bando-op:has(input:checked) { border-color: var(--acento); background: color-mix(in srgb, var(--acento) 16%, #0b0910); box-shadow: inset 0 0 0 1px var(--acento); color: var(--texto); }
.bando-op:has(input:focus-visible) { outline: 3px solid var(--oro-luz); outline-offset: 2px; }
@media (hover: hover) { .bando-op:hover { border-color: var(--acento); } }
.bando-eleccion--compacta legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.bando-eleccion--compacta .bando-op { padding: 10px 6px; font-size: 13px; }
.bando-eleccion--compacta .bando-op svg { width: 30px; height: 30px; }

/* panel de la cuenta */
.hero-cuenta { min-height: 0; padding-bottom: 56px; }
.cuenta-cabecera { display: flex; align-items: center; gap: 24px; }
.cuenta-escudo { width: 112px; height: 112px; flex: none; display: flex; align-items: center; justify-content: center; border-radius: 28px; background: rgba(16, 12, 20, .7); border: 2px solid color-mix(in srgb, var(--acento) 70%, transparent); box-shadow: 0 0 40px color-mix(in srgb, var(--acento) 35%, transparent); }
.cuenta-escudo svg { width: 80px; height: 80px; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .5)); }
.cuenta-escudo svg.sin-bando { width: 52px; height: 52px; color: var(--oro); }
.cuenta-nombre { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.cuenta-nombre .h1 { overflow-wrap: anywhere; }
.cuenta-rejilla { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; align-items: start; }
.cuenta-principal { display: flex; flex-direction: column; gap: 32px; min-width: 0; }
.cuenta-lateral { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.nivel-cuenta { display: flex; flex-direction: column; gap: 20px; }
.nivel-cuenta-cab { display: flex; align-items: center; gap: 20px; }
.nivel-cuenta-cab .h3 small { font: 700 16px/1 var(--texto-fuente); color: var(--texto-55); }
.nivel-cuenta-cab p { margin-top: 6px; }
.medallon--grande { width: 96px; height: 96px; font-size: 44px; border-width: 4px; box-shadow: 0 6px 0 var(--oro-sombra), 0 0 40px rgba(255, 201, 58, .25); }
.barra-px { height: 12px; border-radius: 6px; background: var(--superficie-2); overflow: hidden; box-shadow: inset 0 1px 2px rgba(0, 0, 0, .5); }
.barra-px > span { display: block; height: 100%; width: var(--valor, 0%); border-radius: 6px; background: linear-gradient(90deg, var(--oro-sombra), var(--oro)); }
.barra-px--fina { height: 8px; }
.cifras { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0; }
.cifras > div { padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .04); border: 1px solid var(--borde); }
.cifras dt { font: 800 11px/1.2 var(--texto-fuente); letter-spacing: .14em; text-transform: uppercase; color: var(--texto-55); }
.cifras dd { margin: 6px 0 0; font: 400 28px/1 var(--display); color: var(--texto); }
.cifras dd small { font: 700 14px/1 var(--texto-fuente); color: var(--texto-55); }
.cuenta-bloque { display: flex; flex-direction: column; gap: 16px; scroll-margin-top: calc(var(--barra-alto) + 20px); }
.cuenta-bloque-cab { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cuenta-vacia { display: flex; align-items: center; gap: 24px; }
.cuenta-vacia .halo { width: 140px; height: 180px; flex: none; display: flex; align-items: flex-end; justify-content: center; }
.cuenta-vacia .halo img { height: 100%; width: auto; object-fit: contain; }
.cuenta-vacia > div:last-child { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.pj-lista { display: flex; flex-direction: column; gap: 16px; }
.pj-ficha { --acento: var(--clase); position: relative; display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 20px; padding: 20px 20px 16px 24px; border-radius: 20px; background: linear-gradient(180deg, var(--superficie), #181220); border: 1px solid var(--borde); box-shadow: var(--sombra-tarjeta); overflow: hidden; }
.pj-ficha::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--clase); }
.pj-ficha-retrato { height: 200px; display: flex; align-items: flex-end; justify-content: center; border-radius: 14px; background: radial-gradient(circle at 50% 75%, color-mix(in srgb, var(--clase) 28%, transparent), transparent 70%); }
.pj-ficha-retrato img { height: 100%; width: auto; max-width: 100%; object-fit: contain; }
.pj-ficha-nivel { position: absolute; left: 6px; top: 6px; z-index: 2; }
.pj-ficha-texto { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.pj-ficha-titulo { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.pj-ficha-titulo .h3 { overflow-wrap: anywhere; }
.pj-ficha-tipo { font-weight: 700; color: var(--texto-84); font-size: 16px; }
.pj-ficha-tipo span { color: var(--clase); }
.pj-ficha-datos { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; color: var(--texto-70); }
.pj-ficha-datos li { display: inline-flex; align-items: center; gap: 6px; }
.pj-ficha-datos svg { width: 16px; height: 16px; color: var(--texto-55); }
.pj-ficha-datos b { color: var(--texto); }
.pj-ficha-equipo { display: flex; flex-wrap: wrap; gap: 8px; }
.pj-ficha-equipo li { display: inline-flex; flex-direction: column; gap: 2px; padding: 6px 12px; border-radius: 10px; font-size: 13px; font-weight: 800; color: var(--rareza); background: color-mix(in srgb, var(--rareza) 12%, transparent); border: 1px solid color-mix(in srgb, var(--rareza) 45%, transparent); }
.pj-ficha-equipo small { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--texto-55); }
.pj-ficha-pie { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: auto; padding-top: 10px; border-top: 1px solid var(--borde); }
.boton-texto { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px; border-radius: 10px; font: 800 13px/1 var(--texto-fuente); letter-spacing: .06em; color: var(--texto-70); }
.boton-texto svg { width: 16px; height: 16px; }
.boton-texto:hover { color: var(--texto); background: rgba(255, 255, 255, .06); }
.boton-peligro:hover { color: var(--horda-luz); background: rgba(232, 50, 42, .12); }
.cuenta-caja { display: flex; flex-direction: column; gap: 14px; padding: 24px; scroll-margin-top: calc(var(--barra-alto) + 20px); }
.cuenta-caja .h3 { display: flex; align-items: center; gap: 10px; font-size: 24px; }
.cuenta-caja .h3 svg { width: 24px; height: 24px; color: var(--oro); flex: none; }
.codigo-vinculo { display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 18px; border-radius: 14px; background: #0b0910; border: 1px dashed rgba(255, 201, 58, .6); }
.codigo-vinculo output { flex: 1; font: 400 30px/1 var(--display); letter-spacing: .12em; color: var(--oro); }
.dispositivos { display: flex; flex-direction: column; }
.dispositivos li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--borde); }
.dispositivos li:first-child { border-top: 0; padding-top: 0; }
.dispositivos li > svg { width: 22px; height: 22px; color: var(--texto-55); flex: none; }
.dispositivos li > div { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.dispositivos b { font-size: 15px; }
.form-bando { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.form-bando .bando-eleccion { width: 100%; }
.plegable { border-top: 1px solid var(--borde); border-bottom: 1px solid var(--borde); }
.plegable summary { cursor: pointer; padding: 12px 0; font-weight: 800; color: var(--texto-84); list-style: none; display: flex; justify-content: space-between; align-items: center; }
.plegable summary::-webkit-details-marker { display: none; }
.plegable summary::after { content: "+"; font: 400 24px/1 var(--display); color: var(--oro); }
.plegable[open] summary::after { content: "–"; }
.plegable .form-cuenta { padding: 4px 0 18px; gap: 14px; }
.google-pronto { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-weight: 700; color: var(--texto-55); }

/* administración */
.cifras--admin { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.cifras--admin > .tarjeta { padding: 20px; }
.tabla-envoltura { overflow-x: auto; border-radius: 16px; border: 1px solid var(--borde); }
.tabla { width: 100%; border-collapse: collapse; font-size: 15px; }
.tabla th, .tabla td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--borde); white-space: nowrap; }
.tabla th { font: 800 12px/1.2 var(--texto-fuente); letter-spacing: .12em; text-transform: uppercase; color: var(--texto-55); background: rgba(255, 255, 255, .03); }
.tabla tr:last-child td { border-bottom: 0; }

@media (max-width: 1100px) {
  .cuenta-rejilla { grid-template-columns: minmax(0, 1fr) 340px; }
}
@media (max-width: 960px) {
  .acceso-rejilla { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .acceso-figura { display: none; }
  .acceso-tarjeta { width: 100%; max-width: 560px; }
  .cuenta-rejilla { grid-template-columns: minmax(0, 1fr); }
  .cifras { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .barra-cuenta { padding: 0 10px; }
  .barra-cuenta span { display: none; }
  .acceso { align-items: flex-start; padding-top: calc(var(--barra-alto) + 24px); }
  .acceso-tarjeta { padding: 28px 20px 22px; }
  .cuenta-cabecera { flex-direction: column; align-items: flex-start; gap: 16px; }
  .cuenta-escudo { width: 80px; height: 80px; border-radius: 20px; }
  .cuenta-escudo svg { width: 56px; height: 56px; }
  .nivel-cuenta-cab { align-items: flex-start; }
  .medallon--grande { width: 72px; height: 72px; font-size: 32px; }
  .pj-ficha { grid-template-columns: minmax(0, 1fr); padding: 16px 16px 12px 20px; }
  .pj-ficha-retrato { height: 180px; }
  .cuenta-vacia { flex-direction: column; text-align: center; }
  .cuenta-vacia > div:last-child { align-items: center; }
  .bando-opciones { gap: 8px; }
  .codigo-vinculo output { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .aviso { animation: none; }
}
