/* ============================================================
   sections.css — Estilos por componente/sección
   ============================================================ */

/* ---------------- NAV ---------------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 18px 0;
  background: linear-gradient(to bottom, rgba(8,8,16,0.92), rgba(8,8,16,0));
  transition: background 0.4s ease, border-color 0.4s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(8,8,16,0.88);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--border);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; }
.brand {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.02rem;
  letter-spacing: 0.22em;
  display: flex;
  align-items: center;
  gap: 0.6em;
}
.brand .tick { color: var(--cyan); text-shadow: 0 0 12px var(--cyan); animation: blink 2.6s steps(1) infinite; }
@keyframes blink { 0%, 92%, 100% { opacity: 1; } 94%, 98% { opacity: 0.25; } }

.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-size: 0.82rem; letter-spacing: 0.08em; color: var(--muted); transition: color 0.25s ease; }
.nav-links a:hover { color: var(--text); }
.nav-links .nav-oneshot { color: var(--green); }
.nav-links .nav-oneshot:hover { color: #5fff3a; }
@media (max-width: 720px) { .nav-links a:not(.btn) { display: none; } }

/* ---------------- HERO ---------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 90px;
}

/* Imagen de fondo — más presente, con parallax controlado por JS (transform) */
.hero-bg {
  position: absolute;
  inset: -8% 0 0 0;
  height: 100%;
  background: url("../assets/bg.jpg") center 22% / cover no-repeat;
  opacity: 0.3;
  filter: grayscale(0.18) contrast(1.06) brightness(0.96);
  z-index: 0;
  transform: scale(1.12);
  will-change: transform;
  animation: drift 28s ease-in-out infinite alternate;
}
/* drift via background-position para no chocar con el transform del parallax */
@keyframes drift {
  from { background-position: 50% 20%; }
  to   { background-position: 47% 26%; }
}
/* Velos que funden la imagen con el fondo — más suaves para dejarla ver */
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 90% at 78% 32%, rgba(0,229,255,0.10), transparent 55%),
    linear-gradient(to bottom, rgba(8,8,16,0.45) 0%, transparent 32%, rgba(8,8,16,0.9) 100%);
}

.hero .wrap { position: relative; z-index: 2; }
.hero-inner { max-width: 680px; }
.hero h1 {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 26px 0 0;
}
.hero h1 .accent { color: var(--cyan); text-shadow: 0 0 30px rgba(0,229,255,0.4); }
.hero p.lead { margin-top: 22px; font-size: clamp(1rem, 1.6vw, 1.18rem); color: #c2c2d6; max-width: 52ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 38px; }

/* Display gigante del objetivo */
.target {
  position: relative;
  margin-top: 54px;
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  padding: 18px 30px;
  background: rgba(15,15,26,0.5);
  border-left: 2px solid var(--cyan);
  backdrop-filter: blur(2px);
}
.target .label {
  position: absolute;
  top: -18px; left: 30px;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.34em;
  color: var(--muted);
  text-transform: uppercase;
}
.target .num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3.6rem, 9vw, 6.4rem);
  line-height: 1;
  color: var(--text);
  transition: opacity 0.35s ease;
  animation: pulseGlow 3.4s ease-in-out infinite;
}
.target .unit { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.4rem, 3vw, 2.2rem); color: var(--cyan); }
@keyframes pulseGlow {
  0%, 100% { text-shadow: 0 0 22px rgba(0,229,255,0.2); }
  50%      { text-shadow: 0 0 40px rgba(0,229,255,0.5); }
}

.scroll-cue {
  position: absolute;
  bottom: 26px; left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.3em;
  color: var(--muted);
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.scroll-cue .bar {
  width: 1px; height: 38px;
  background: linear-gradient(to bottom, var(--cyan), transparent);
  transform-origin: top;
  animation: cueDrop 2.4s ease-in-out infinite;
}
@keyframes cueDrop { 0%,100% { transform: scaleY(0.4); opacity: 0.4; } 50% { transform: scaleY(1); opacity: 1; } }

/* ---------------- MECÁNICA ---------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); }
@media (max-width: 860px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }
.step { background: var(--bg); padding: 32px 26px; transition: background 0.3s ease; }
.step:hover { background: var(--surface); }
.step .idx { font-family: var(--font-display); font-weight: 900; font-size: 2.2rem; color: var(--border); transition: color 0.3s ease, text-shadow 0.3s ease; }
.step:hover .idx { color: var(--cyan); text-shadow: 0 0 18px rgba(0,229,255,0.4); }
.step h3 { margin: 12px 0 8px; font-size: 1.06rem; font-weight: 500; }
.step p { font-size: 0.92rem; color: #8d8da8; }

/* ---------------- MODOS ---------------- */
.modes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
@media (max-width: 640px) { .modes { grid-template-columns: 1fr; } }
.mode {
  --c: var(--cyan);
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  padding: 40px 36px;
  clip-path: var(--cut);
  border-left: 2px solid var(--c);
  overflow: hidden;
  transition: transform 0.3s ease;
}
.mode .btn { margin-top: auto; align-self: flex-start; }
.mode::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(80% 60% at 100% 0%, color-mix(in srgb, var(--c) 12%, transparent), transparent 60%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.mode:hover { transform: translateY(-4px); }
.mode:hover::before { opacity: 1; }
.mode.blind   { --c: var(--violet); }
.mode.oneshot { --c: var(--green); }
.mode .tag { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--c); }
.mode h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.7rem; margin: 10px 0 14px; }
.mode p { color: #9a9ab4; font-size: 0.98rem; }
.mode .crono-demo { margin-top: 26px; font-family: var(--font-display); font-weight: 700; font-size: 2.6rem; color: var(--c); letter-spacing: 0.02em; }
.mode.blind .crono-demo   { color: var(--muted); letter-spacing: 0.3em; }
.mode.oneshot .crono-demo { color: var(--muted); letter-spacing: 0.3em; }

/* ---------------- mejoras ---------------- */
.rarity-legend { display: flex; flex-wrap: wrap; gap: 18px; margin-bottom: 34px; }
.rarity-legend span { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.06em; color: var(--muted); display: inline-flex; align-items: center; gap: 8px; }
.rarity-legend i { width: 9px; height: 9px; display: inline-block; }

.con-grid { display: flex; flex-direction: column; gap: 32px; }
.con-group { display: flex; flex-direction: column; gap: 12px; }
.con-group-label {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  padding-left: 4px;
  border-left: 2px solid var(--border);
}
.chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chip {
  --c: var(--muted);
  background: var(--surface);
  border-left: 2px solid var(--c);
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 180px;
  max-width: 260px;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}
.chip:hover { transform: translateY(-3px); box-shadow: 0 6px 24px -12px var(--c); }
.chip-head { display: flex; align-items: center; gap: 8px; }
.chip-icon { font-size: 1rem; color: var(--c); flex-shrink: 0; width: 18px; text-align: center; }
.chip strong { font-weight: 500; font-size: 0.9rem; flex: 1; }
.chip-kind {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 1px 5px;
  flex-shrink: 0;
}
.chip-kind--active { color: var(--cyan); border-color: rgba(0,229,255,0.3); }
.chip-kind--blind  { color: var(--violet); border-color: rgba(191,90,242,0.3); }
.chip small { color: #7e7e9a; font-size: 0.78rem; line-height: 1.4; }
.chip.uncommon { --c: var(--green); }
.chip.rare { --c: var(--cyan); }
.chip.legendary { --c: var(--violet); animation: legendGlow 2.6s ease-in-out infinite; }
@keyframes legendGlow { 0%,100% { box-shadow: -2px 0 0 -1px transparent; } 50% { box-shadow: 0 0 22px -6px var(--violet); } }

/* ---------------- JEFES / BOSSES ---------------- */
.boss-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch;
}
@media (max-width: 820px) { .boss-feature { grid-template-columns: 1fr; } }

/* --- Escenario animado de las campanas --- */
.boss-stage {
  --c: var(--green);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 30px;
  min-height: 300px;
  padding: 40px 34px 30px;
  background: radial-gradient(120% 90% at 50% 0%, color-mix(in srgb, var(--c) 9%, var(--surface)), var(--surface));
  border: 1px solid var(--border);
  border-left: 2px solid var(--c);
  clip-path: var(--cut);
}
.boss-stage-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 50% at 50% 38%, color-mix(in srgb, var(--c) 16%, transparent), transparent 70%);
  pointer-events: none;
  animation: bossStageBreath 6s ease-in-out infinite;
}
@keyframes bossStageBreath { 0%,100% { opacity: 0.35; } 50% { opacity: 0.8; } }

.bells {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: clamp(6px, 3vw, 22px);
}
.bell {
  position: relative;
  width: clamp(34px, 8vw, 52px);
  height: clamp(34px, 8vw, 52px);
  color: var(--muted);
  transform-origin: 50% 8%;
  animation: bellRing 6s ease-in-out infinite;
  animation-delay: calc((var(--i) + 1) * 1s);
}
.bell svg { width: 100%; height: 100%; display: block; }
.bell-wave {
  position: absolute;
  inset: 0;
  border: 1.5px solid var(--c);
  border-radius: 50%;
  opacity: 0;
  transform: scale(0.4);
  animation: bellWave 6s ease-out infinite;
  animation-delay: calc((var(--i) + 1) * 1s);
}
@keyframes bellRing {
  0%       { transform: rotate(0deg);   color: var(--muted); filter: none; }
  3%       { transform: rotate(-13deg); color: var(--c); filter: drop-shadow(0 0 10px color-mix(in srgb, var(--c) 70%, transparent)); }
  7%       { transform: rotate(10deg); }
  11%      { transform: rotate(-6deg); }
  15%      { transform: rotate(3deg); }
  20%      { transform: rotate(0deg);   color: var(--c); filter: drop-shadow(0 0 7px color-mix(in srgb, var(--c) 55%, transparent)); }
  45%      { color: var(--muted); filter: none; }
  100%     { transform: rotate(0deg);   color: var(--muted); }
}
@keyframes bellWave {
  0%   { opacity: 0; transform: scale(0.4); }
  3%   { opacity: 0.6; }
  22%  { opacity: 0; transform: scale(1.9); }
  100% { opacity: 0; transform: scale(1.9); }
}

.boss-timeline {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 6px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.bt-tick {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  animation: btTick 6s ease-in-out infinite;
  animation-delay: calc((var(--i) + 1) * 1s);
}
@keyframes btTick {
  0%, 45%, 100% { color: var(--muted); text-shadow: none; }
  4%            { color: var(--c); text-shadow: 0 0 10px color-mix(in srgb, var(--c) 70%, transparent); }
}
.bt-sweep {
  position: absolute;
  left: 0; top: -1px;
  width: 2px; height: 14px;
  background: var(--c);
  box-shadow: 0 0 10px var(--c);
  animation: btSweep 6s linear infinite;
}
@keyframes btSweep {
  0%   { left: 0%;   opacity: 0; }
  8%   { opacity: 1; }
  92%  { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

/* --- Ficha del jefe --- */
.boss-info {
  --c: var(--green);
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 36px 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  clip-path: var(--cut);
}
.boss-info h3 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.3rem, 2.6vw, 1.8rem);
  letter-spacing: 0.02em;
  line-height: 1.05;
}
.boss-sub { font-family: var(--font-ui); font-size: 0.92rem; color: var(--muted); margin: 0; }
.boss-quote {
  font-family: var(--font-ui);
  font-style: italic;
  font-size: 0.98rem;
  color: #c2c2d6;
  line-height: 1.5;
  margin: 6px 0 8px;
  padding-left: 14px;
  border-left: 2px solid color-mix(in srgb, var(--c) 50%, var(--border));
}
.boss-stats { display: flex; flex-wrap: wrap; gap: 26px; margin: 6px 0 4px; }
.boss-stat { display: flex; flex-direction: column; gap: 2px; }
.boss-stat b {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--c);
  text-shadow: 0 0 14px color-mix(in srgb, var(--c) 40%, transparent);
}
.boss-stat small { font-family: var(--font-mono); font-size: 0.66rem; color: var(--muted); letter-spacing: 0.04em; }
.boss-chain {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  padding: 14px 0 6px;
  row-gap: 8px;
}
.bc-node {
  width: 10px;
  height: 10px;
  background: var(--c);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  box-shadow: 0 0 10px color-mix(in srgb, var(--c) 55%, transparent);
  animation: bcPulse 6s ease-in-out infinite;
}
.bc-node:nth-child(1)  { animation-delay: 1s; }
.bc-node:nth-child(3)  { animation-delay: 2s; }
.bc-node:nth-child(5)  { animation-delay: 3s; }
.bc-node:nth-child(7)  { animation-delay: 4s; }
.bc-node:nth-child(9)  { animation-delay: 5s; }
@keyframes bcPulse {
  0%, 10%, 100% { opacity: 0.25; box-shadow: none; }
  2%            { opacity: 1;    box-shadow: 0 0 14px color-mix(in srgb, var(--c) 75%, transparent); }
}
.bc-line {
  flex: 1;
  min-width: 16px;
  height: 1px;
  background: linear-gradient(90deg, var(--c), color-mix(in srgb, var(--c) 30%, transparent));
  opacity: 0.3;
}
.bc-label {
  flex-basis: 100%;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 2px;
}

.boss-drop {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  color: var(--gold);
  padding-top: 14px;
}
.boss-drop-icon { font-size: 1.1rem; text-shadow: 0 0 12px color-mix(in srgb, var(--gold) 60%, transparent); }

/* Retrato del boss superpuesto al fondo del stage */
.boss-portrait {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0.22;
  mix-blend-mode: luminosity;
  pointer-events: none;
  z-index: 1;
}
/* Asegura que bells y timeline queden encima del retrato */
.boss-stage .bells,
.boss-stage .boss-timeline,
.boss-stage .boss-rank { position: relative; z-index: 2; }



@media (prefers-reduced-motion: reduce) {
  .bell, .bell-wave, .bt-tick, .bt-sweep, .boss-stage-glow { animation: none; }
  .bell { color: var(--c); }
}

/* ---------------- OPERADORES / PERSONAJES ----------------
   Un marco selector recorre el roster en bucle, resaltando a un
   operador cada vez (color + zoom + glow), como una pantalla de
   selección de personaje. No revela habilidades: solo deja ver
   que hay elección y que algo más espera por desbloquear. */
.roster {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 3vw, 28px);
  max-width: 760px;
  margin: 0 auto;
}
@media (max-width: 560px) { .roster { gap: 10px; } }

.roster-card {
  --c: var(--cyan);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 16px 12px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  clip-path: var(--cut);
  animation: rosterCycle 9s ease-in-out infinite;
  animation-delay: calc(var(--i) * 3s);
}

.roster-portrait {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: radial-gradient(120% 90% at 50% 0%, color-mix(in srgb, var(--c) 10%, #0a0a14), #06060c);
  clip-path: var(--cut);
}
.roster-portrait img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  filter: grayscale(1) brightness(0.62) contrast(1.05);
  transition: filter 0.5s ease, transform 0.5s ease;
}
.roster-portrait.noimg img { display: none; }
.roster-fallback {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 3.2rem;
  color: color-mix(in srgb, var(--c) 35%, var(--muted));
}
.roster-portrait.noimg .roster-fallback { display: flex; }

.roster-silhouette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(40% 26% at 50% 30%, rgba(255,255,255,0.07), transparent 70%),
    radial-gradient(60% 60% at 50% 100%, color-mix(in srgb, var(--c) 12%, transparent), transparent 72%);
}
.roster-lock {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  opacity: 0.55;
  filter: grayscale(1);
}

/* Línea de escaneo holográfica */
.roster-scan {
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 28%;
  background: linear-gradient(180deg, color-mix(in srgb, var(--c) 22%, transparent), transparent);
  opacity: 0;
  pointer-events: none;
}

/* Marco selector: cuatro esquinas que se encienden cuando la carta está activa */
.roster-tag { position: absolute; inset: 8px; pointer-events: none; }
.roster-corner {
  position: absolute;
  width: 12px; height: 12px;
  border: 2px solid var(--c);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.roster-corner.tl { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.roster-corner.tr { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.roster-corner.bl { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.roster-corner.br { bottom: 0; right: 0; border-left: 0; border-top: 0; }

.roster-codename {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  color: var(--muted);
  transition: color 0.4s ease, text-shadow 0.4s ease;
}
.roster-codename--muted { letter-spacing: 0.25em; }

/* Bucle del selector: cada carta tiene su ventana de 9s desfasada 3s */
@keyframes rosterCycle {
  0%, 33%, 100% {
    border-color: var(--border);
    box-shadow: none;
  }
  4%, 28% {
    border-color: color-mix(in srgb, var(--c) 60%, var(--border));
    box-shadow: 0 0 26px -8px color-mix(in srgb, var(--c) 70%, transparent);
  }
}
.roster-card { will-change: border-color, box-shadow; }

/* --i es una custom property heredada, así que cada hijo reusa el mismo
   desfase de 3s por carta sin recalcular nada. */
.roster-card .roster-corner,
.roster-card .roster-portrait img,
.roster-card .roster-scan,
.roster-card .roster-codename {
  animation-duration: 9s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-delay: calc(var(--i) * 3s);
}
.roster-card .roster-corner { animation-name: rosterCornerLit; }
.roster-card .roster-portrait img { animation-name: rosterImgLit; }
.roster-card .roster-scan { animation-name: rosterScanSweep; animation-timing-function: ease-out; }
.roster-card .roster-codename { animation-name: rosterNameLit; }

@keyframes rosterCornerLit {
  0%, 33%, 100% { opacity: 0; }
  4%, 28% { opacity: 1; }
}
@keyframes rosterImgLit {
  0%, 33%, 100% { filter: grayscale(1) brightness(0.62) contrast(1.05); transform: scale(1); }
  6%, 27% { filter: grayscale(0) brightness(1) contrast(1.05); transform: scale(1.06); }
}
@keyframes rosterScanSweep {
  0%, 33%, 100% { opacity: 0; top: 0; }
  4% { opacity: 0.8; top: 0; }
  20% { opacity: 0.5; top: 72%; }
  26% { opacity: 0; top: 72%; }
}
@keyframes rosterNameLit {
  0%, 33%, 100% { color: var(--muted); text-shadow: none; }
  6%, 27% { color: var(--c); text-shadow: 0 0 14px color-mix(in srgb, var(--c) 55%, transparent); }
}

.roster-foot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 22px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.roster-foot-dot {
  width: 7px; height: 7px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--cyan);
  animation: bossStageBreath 2.6s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .roster-card,
  .roster-card .roster-corner,
  .roster-card .roster-portrait img,
  .roster-card .roster-scan,
  .roster-card .roster-codename,
  .roster-foot-dot { animation: none; }
  .roster-card:not(.is-locked) .roster-portrait img { filter: grayscale(0.2) brightness(0.92); }
  .roster-card .roster-corner { opacity: 0.5; }
}

/* ---------------- RANKING ----------------
   Las reglas visuales viven en styles/rank-table.css (tabla, teaser
   y modal <ranking-panel> — todo centralizado ahí). */

/* ---------------- CTA FINAL ---------------- */
.final { text-align: center; padding: clamp(90px, 16vh, 170px) 0; position: relative; }
.final::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 80% at 50% 50%, rgba(0,229,255,0.07), transparent 70%); pointer-events: none; }
.final h2 { font-family: var(--font-display); font-weight: 900; font-size: clamp(2rem, 6vw, 4rem); letter-spacing: 0.02em; line-height: 1.05; margin-top: 22px; }
.final h2 span { color: var(--cyan); text-shadow: 0 0 30px rgba(0,229,255,0.4); }
.final p { margin: 18px auto 36px; color: #9a9ab4; max-width: 44ch; }
.final .cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------------- FOOTER ---------------- */
footer { border-top: 1px solid var(--border); padding: 30px 0; }
footer .wrap { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; }
footer .brand { font-size: 0.86rem; }
footer .mono { font-size: 0.74rem; color: var(--muted); letter-spacing: 0.08em; }
