/*
 * Blitzia Ball — web oficial (portada).
 * Sin dependencias ni recursos de terceros: la tipografía (Lilita One, OFL) y todas las imágenes están en este
 * servidor. Sin cookies. Todo el movimiento se apaga con prefers-reduced-motion.
 */

@font-face {
  font-family: "Lilita One";
  src: url("fonts/LilitaOne-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --abyss: #020912;
  --deep: #030d1a;
  --sea: #06203a;
  --sea-2: #0a2d4d;
  --ink: #eaf6fc;
  --ink-soft: #b4cad8;
  --ink-faint: #7f9aad;
  --line: rgba(120, 220, 255, 0.14);
  --line-strong: rgba(120, 220, 255, 0.3);
  --glass: rgba(8, 32, 56, 0.55);
  --glass-strong: rgba(6, 24, 44, 0.82);
  --cyan: #4fe0ff;
  --cyan-deep: #1aa6d6;
  --gold: #ffc94d;
  --gold-hi: #ffe7a0;
  --gold-lo: #e0921c;
  --tide: #3ad7f0;
  --blaze: #ff6a2c;
  --storm: #a57bff;
  --solar: #ffc53d;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow-lg: 0 30px 80px rgba(0, 0, 0, 0.55);
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Roboto, Ubuntu, Arial, sans-serif;
  --font-display: "Lilita One", "Arial Rounded MT Bold", "Segoe UI Black", system-ui, sans-serif;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 72px;
  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  background: var(--deep);
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--deep);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
picture { display: contents; }
source { display: none; }
a { color: var(--cyan); text-decoration: none; }
a:hover { color: #a6f1ff; }
button { font: inherit; color: inherit; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 8px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 10px;
  background: var(--gold); color: #2a1a00; font-weight: 700; transition: top 0.2s;
}
.skip-link:focus { top: 12px; color: #2a1a00; }

/* ───────────── Tipografía común ───────────── */

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 0.8rem; font-weight: 800; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--cyan);
}
.eyebrow::before {
  content: ""; width: 28px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan));
}
.eyebrow-glow { text-shadow: 0 0 18px rgba(79, 224, 255, 0.55); }

.sec-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.1rem, 4.6vw, 3.75rem);
  line-height: 1.02;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  margin-top: 14px;
  text-wrap: balance;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.35);
}
.sec-title em, .final-title em {
  font-style: normal;
  background: linear-gradient(180deg, var(--gold-hi) 0%, var(--gold) 45%, var(--gold-lo) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.sec-lead { margin-top: 18px; max-width: 640px; color: var(--ink-soft); font-size: 1.08rem; text-wrap: pretty; }

.sec-head { margin-bottom: clamp(36px, 5vw, 60px); }
.sec-head-center { text-align: center; }
.sec-head-center .eyebrow { justify-content: center; }
.sec-head-center .eyebrow::after { content: ""; width: 28px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--cyan), transparent); }
.sec-head-center .sec-lead { margin-inline: auto; }
.sec-head-row { display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }

.tag {
  display: inline-block; padding: 4px 10px; border-radius: 999px;
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--cyan); background: rgba(79, 224, 255, 0.1); border: 1px solid rgba(79, 224, 255, 0.28);
}
.tag-gold { color: var(--gold); background: rgba(255, 201, 77, 0.1); border-color: rgba(255, 201, 77, 0.32); }
.tag-soon { color: #d7c2ff; background: rgba(165, 123, 255, 0.12); border-color: rgba(165, 123, 255, 0.35); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: 0.02em;
  color: var(--ink); padding: 10px 0; border-bottom: 2px solid rgba(79, 224, 255, 0.35);
}
.link-arrow::after { content: "→"; color: var(--cyan); transition: transform 0.25s var(--ease-out); }
.link-arrow:hover { color: #fff; border-color: var(--cyan); }
.link-arrow:hover::after { transform: translateX(4px); }

/* ───────────── Botones ───────────── */

.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 26px; border-radius: 14px; border: 0; cursor: pointer;
  font-family: var(--font-display); font-size: 1.15rem; letter-spacing: 0.03em; text-transform: uppercase;
  isolation: isolate; overflow: hidden; white-space: nowrap;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), filter 0.25s;
}
.btn-gold {
  color: #3b2300;
  background: linear-gradient(180deg, #fff0b3 0%, #ffd35e 32%, #ffb52e 70%, #f09a17 100%);
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.75),
    inset 0 -4px 0 rgba(168, 92, 0, 0.45),
    0 0 0 1px rgba(120, 66, 0, 0.35),
    0 12px 34px rgba(255, 176, 40, 0.34);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.45);
}
.btn-gold::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.75) 48%, transparent 64%);
  transform: translateX(-120%);
  animation: btn-sheen 4.8s ease-in-out infinite;
}
.btn-gold[href]:hover { color: #3b2300; transform: translateY(-2px); filter: brightness(1.05); box-shadow: inset 0 2px 0 rgba(255,255,255,.75), inset 0 -4px 0 rgba(168,92,0,.45), 0 0 0 1px rgba(120,66,0,.35), 0 18px 44px rgba(255, 176, 40, 0.45); }
.btn-gold[href]:active { transform: translateY(1px); }
.btn-lg { min-height: 60px; padding: 14px 34px; font-size: 1.35rem; border-radius: 16px; }
.btn-sm { min-height: 40px; padding: 8px 18px; font-size: 0.98rem; border-radius: 12px; }

/* Sin enlace todavía: se ve, pero no se puede pulsar (assets/config.js lo activa). */
.btn[aria-disabled="true"] { cursor: default; }
.btn-soon { display: none; }
.btn[aria-disabled="true"] .btn-soon {
  display: block; margin-top: 3px;
  font-family: var(--font); font-size: 0.64rem; font-weight: 800; letter-spacing: 0.2em;
  color: rgba(59, 35, 0, 0.72); text-shadow: none;
}
.btn-lg[aria-disabled="true"] { flex-direction: column; gap: 0; line-height: 1; padding-block: 10px 9px; }

@keyframes btn-sheen {
  0%, 62% { transform: translateX(-120%); }
  82%, 100% { transform: translateX(120%); }
}

.btn-store {
  display: inline-flex; align-items: center; gap: 12px; min-height: 60px; padding: 8px 22px 8px 16px;
  border-radius: 16px; color: #fff;
  background: rgba(2, 8, 16, 0.62); border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: transform 0.25s var(--ease-out), border-color 0.25s, background 0.25s;
}
.btn-store[href]:hover { color: #fff; transform: translateY(-2px); border-color: rgba(255, 255, 255, 0.6); background: rgba(2, 8, 16, 0.8); }
.btn-store[aria-disabled="true"] { cursor: default; }
.store-icon { width: 28px; height: 28px; color: var(--cyan); }
.store-text { display: grid; line-height: 1.1; text-align: left; }
.store-text small { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); }
.store-text b { font-size: 1.28rem; font-weight: 600; letter-spacing: 0.01em; }

.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.cta-center { justify-content: center; }

/* ───────────── Cabecera ───────────── */

.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  transition: background 0.35s, box-shadow 0.35s, border-color 0.35s;
  border-bottom: 1px solid transparent;
}
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(2, 9, 18, 0.7), transparent);
  transition: opacity 0.35s;
}
.site-header.is-scrolled {
  background: rgba(3, 13, 26, 0.78);
  backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}
.site-header.is-scrolled::before { opacity: 0; }
.header-inner { height: 100%; display: flex; align-items: center; gap: 28px; }

.brand { flex: none; display: block; }
.brand img { height: 52px; width: auto; filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.5)); transition: transform 0.3s var(--ease-out); }
.brand:hover img { transform: scale(1.04) rotate(-1deg); }

.main-nav { flex: 1; display: flex; align-items: center; }
.main-nav ul { display: flex; align-items: center; gap: 4px; }
.main-nav ul a {
  position: relative; display: block; padding: 10px 12px; border-radius: 10px;
  color: var(--ink); font-weight: 650; font-size: 0.95rem; letter-spacing: 0.02em;
}
.main-nav ul a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; border-radius: 2px;
  background: var(--cyan); box-shadow: 0 0 12px var(--cyan);
  transform: scaleX(0); transition: transform 0.3s var(--ease-out);
}
.main-nav ul a:hover { color: #fff; }
.main-nav ul a:hover::after, .main-nav ul a.is-current::after, .main-nav ul a[aria-current="page"]::after { transform: scaleX(1); }
.nav-extra { display: none; }
.nav-cta { display: none !important; }

.header-actions { display: flex; align-items: center; gap: 14px; margin-left: auto; }

.lang { display: inline-flex; align-items: center; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line); }
.lang > * { padding: 4px 10px; border-radius: 999px; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.08em; }
.lang a { color: var(--ink-soft); }
.lang a:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }
.lang-current { color: #04202e; background: var(--cyan); }

.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-strong); background: rgba(3, 13, 26, 0.5); cursor: pointer; }
.burger { display: grid; gap: 5px; width: 20px; margin: auto; }
.burger i { display: block; height: 2px; border-radius: 2px; background: #fff; transition: transform 0.3s var(--ease-out), opacity 0.2s; }
.menu-toggle[aria-expanded="true"] .burger i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .burger i:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .burger i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ───────────── Hero ───────────── */

.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: max(760px, 100vh); min-height: max(760px, 100svh);
  display: flex; flex-direction: column;
  padding-top: calc(var(--header-h) + 24px);
}
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: #04203d; }
.hero-stadium {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 38%;
  transform-origin: 50% 30%;
  animation: kenburns 32s ease-in-out infinite alternate;
}
@keyframes kenburns {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.14) translate3d(-1.2%, 1.5%, 0); }
}

.hero-rays { position: absolute; inset: -10% 0 0 0; mix-blend-mode: screen; pointer-events: none; }
.hero-rays i {
  position: absolute; top: -10%; width: 16vw; min-width: 120px; height: 115%;
  background: linear-gradient(180deg, rgba(170, 240, 255, 0.34), rgba(120, 220, 255, 0.08) 55%, transparent 85%);
  filter: blur(18px); transform-origin: 50% 0;
  clip-path: polygon(38% 0, 62% 0, 100% 100%, 0 100%);
  animation: ray-sway 11s ease-in-out infinite alternate;
  opacity: 0.55;
}
.hero-rays i:nth-child(1) { left: 6%; transform: rotate(14deg); animation-duration: 13s; }
.hero-rays i:nth-child(2) { left: 24%; transform: rotate(6deg); animation-duration: 10s; animation-delay: -3s; opacity: 0.4; }
.hero-rays i:nth-child(3) { left: 46%; transform: rotate(-2deg); animation-duration: 14s; animation-delay: -6s; }
.hero-rays i:nth-child(4) { left: 64%; transform: rotate(-9deg); animation-duration: 12s; animation-delay: -2s; opacity: 0.35; }
.hero-rays i:nth-child(5) { left: 82%; transform: rotate(-15deg); animation-duration: 15s; animation-delay: -8s; }
@keyframes ray-sway {
  0% { translate: -2vw 0; opacity: 0.25; }
  50% { opacity: 0.6; }
  100% { translate: 2vw 0; opacity: 0.3; }
}

.hero-caustics {
  position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen; opacity: 0.55;
  background:
    radial-gradient(40% 30% at 30% 80%, rgba(79, 224, 255, 0.22), transparent 70%),
    radial-gradient(35% 25% at 75% 70%, rgba(79, 224, 255, 0.16), transparent 70%);
  animation: caustics 18s ease-in-out infinite alternate;
}
@keyframes caustics { to { transform: translate3d(3%, -4%, 0) scale(1.08); } }

.hero-particles { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

.hero-shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(2, 10, 22, 0.9) 0%, rgba(2, 10, 22, 0.62) 34%, rgba(2, 10, 22, 0.1) 62%, rgba(2, 10, 22, 0.28) 100%),
    linear-gradient(180deg, rgba(2, 9, 18, 0.35) 0%, transparent 22%, transparent 58%, rgba(3, 13, 26, 0.85) 88%, var(--deep) 100%);
}

.hero-inner {
  flex: 1; display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  align-items: center; gap: clamp(24px, 4vw, 64px);
  padding-block: clamp(24px, 4vh, 48px);
}
.hero-copy { max-width: 600px; animation: rise-in 1s var(--ease-out) both; }
.hero-title { margin-top: 10px; font-weight: 400; }
.hero-logo {
  width: clamp(220px, 20vw, 290px); height: auto; margin-left: -16px;
  filter: drop-shadow(0 14px 30px rgba(0, 0, 0, 0.5));
}
.hero-tagline {
  display: block; margin-top: 18px;
  font-family: var(--font-display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(1.6rem, 2.8vw, 2.45rem); line-height: 1.02; letter-spacing: 0.005em;
  background: linear-gradient(180deg, #ffffff 30%, #a9eeff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 4px 18px rgba(0, 0, 0, 0.6));
  text-wrap: balance;
}
.hero-lead { margin-top: 18px; max-width: 520px; font-size: 1.12rem; color: #d3e4ee; text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6); }
.hero-lead strong { color: var(--gold); font-weight: 800; letter-spacing: 0.04em; }
.hero-copy .cta-row { margin-top: 30px; }
.hero-meta { text-wrap: balance; margin-top: 18px; font-size: 0.86rem; font-weight: 600; letter-spacing: 0.04em; color: var(--ink-faint); }

@keyframes rise-in { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* Abanico de Guardianes */
.hero-guardians {
  --w: clamp(140px, 13.8vw, 204px);
  --step: calc(var(--w) * 0.8);
  position: relative; height: calc(var(--w) * 1.34 + 70px);
  animation: rise-in 1.1s 0.15s var(--ease-out) both;
}
.gcard {
  --i: 0; --ty: 0px; --c: var(--tide);
  position: absolute; top: 20px; left: calc(50% - var(--w) / 2 + var(--i) * var(--step));
  width: var(--w); z-index: 1;
  transform: translateY(var(--ty)) rotate(calc(var(--i) * 7deg));
  transition: transform 0.45s var(--ease-out), z-index 0s 0.1s;
  color: #fff;
}
.gcard:nth-child(1) { --i: -1.5; --ty: 34px; --c: var(--tide); z-index: 1; }
.gcard:nth-child(2) { --i: -0.5; --ty: 4px; --c: var(--blaze); z-index: 2; }
.gcard:nth-child(3) { --i: 0.5; --ty: 4px; --c: var(--storm); z-index: 3; }
.gcard:nth-child(4) { --i: 1.5; --ty: 34px; --c: var(--solar); z-index: 4; }
.gcard:hover, .gcard:focus-visible { z-index: 10; transform: translateY(calc(var(--ty) - 26px)) rotate(0deg) scale(1.06); transition: transform 0.45s var(--ease-out), z-index 0s; color: #fff; }
.gcard:focus-visible { outline-offset: 6px; border-radius: 18px; }

.gcard-float {
  position: relative; display: block; border-radius: 18px; overflow: hidden;
  aspect-ratio: 480 / 643;
  border: 2px solid color-mix(in srgb, var(--c) 70%, white 10%);
  box-shadow: 0 26px 50px rgba(0, 0, 0, 0.55), 0 0 36px color-mix(in srgb, var(--c) 45%, transparent), inset 0 0 0 1px rgba(255, 255, 255, 0.15);
  animation: bob 6s ease-in-out infinite alternate;
  background: #061a2c;
}
.gcard:nth-child(2) .gcard-float { animation-delay: -1.5s; }
.gcard:nth-child(3) .gcard-float { animation-delay: -3s; }
.gcard:nth-child(4) .gcard-float { animation-delay: -4.5s; }
@keyframes bob { from { translate: 0 -6px; } to { translate: 0 8px; } }

.gcard img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease-out); }
.gcard:hover img { transform: scale(1.06); }
.gcard-float::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, 0.28) 50%, transparent 60%);
  background-size: 260% 100%; background-position: 130% 0;
  animation: card-sheen 7s ease-in-out infinite;
  mix-blend-mode: screen;
}
.gcard:nth-child(2) .gcard-float::after { animation-delay: 1.2s; }
.gcard:nth-child(3) .gcard-float::after { animation-delay: 2.4s; }
.gcard:nth-child(4) .gcard-float::after { animation-delay: 3.6s; }
@keyframes card-sheen { 0%, 70% { background-position: 130% 0; } 100% { background-position: -30% 0; } }

.gcard-name {
  position: absolute; inset: auto 0 0 0; padding: 38px 12px 12px;
  display: grid; justify-items: start; line-height: 1;
  font-family: var(--font-display); font-size: clamp(0.95rem, 1.3vw, 1.25rem); text-transform: uppercase; letter-spacing: 0.02em;
  background: linear-gradient(180deg, transparent, rgba(2, 8, 16, 0.92) 70%);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}
.gcard-name small { margin-top: 5px; font-family: var(--font); font-size: 0.62rem; font-weight: 800; letter-spacing: 0.2em; color: var(--c); }

.hero-foot { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-bottom: 28px; }
.hero-stats {
  display: grid; grid-template-columns: repeat(4, auto); gap: 0;
  border-radius: 18px; background: rgba(3, 14, 28, 0.55); border: 1px solid var(--line);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  animation: rise-in 1s 0.35s var(--ease-out) both;
}
.hero-stats li { display: grid; gap: 2px; padding: 14px 26px; }
.hero-stats li + li { border-left: 1px solid var(--line); }
.hero-stats b {
  font-family: var(--font-display); font-weight: 400; font-size: 1.9rem; line-height: 1; color: var(--gold);
  text-shadow: 0 0 22px rgba(255, 201, 77, 0.35);
}
.hero-stats b span { font-size: 0.9rem; margin: 0 3px; color: var(--gold-hi); }
.hero-stats li > span { font-size: 0.78rem; font-weight: 600; color: var(--ink-soft); letter-spacing: 0.03em; }

.scroll-cue { display: grid; justify-items: center; gap: 8px; color: var(--ink-soft); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.24em; text-transform: uppercase; }
.scroll-cue i { width: 22px; height: 36px; border-radius: 12px; border: 2px solid rgba(255, 255, 255, 0.4); position: relative; }
.scroll-cue i::after { content: ""; position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--cyan); animation: wheel 1.8s ease-in-out infinite; }
.scroll-cue:hover { color: #fff; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

/* ───────────── Secciones ───────────── */

.section { position: relative; padding-block: clamp(64px, 8vw, 112px); isolation: isolate; }
.section::before {
  content: ""; position: absolute; left: 50%; top: 0; width: min(900px, 80%); height: 1px; translate: -50% 0;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
}
.section-game::before { display: none; }
.section-game { background: radial-gradient(900px 500px at 78% 30%, rgba(26, 166, 214, 0.14), transparent 70%); }

/* Reveal al hacer scroll (solo con JS; sin JS todo se ve). */
.js .reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ───────────── El juego: vitrina ───────────── */

.showcase { display: grid; grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.6fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.showcase-tabs { display: grid; gap: 6px; }
.sc-tab {
  position: relative; display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; align-items: start;
  width: 100%; padding: 18px 20px 20px; border-radius: 18px; text-align: left; cursor: pointer;
  background: transparent; border: 1px solid transparent; overflow: hidden;
  transition: background 0.35s, border-color 0.35s;
}
.sc-tab:hover { background: rgba(255, 255, 255, 0.03); }
.sc-num { font-family: var(--font-display); font-size: 1.05rem; color: var(--ink-faint); padding-top: 2px; transition: color 0.3s; }
.sc-text { display: grid; }
.sc-text strong { font-family: var(--font-display); font-weight: 400; font-size: 1.35rem; letter-spacing: 0.01em; text-transform: uppercase; color: var(--ink-soft); transition: color 0.3s; }
.sc-text > span {
  display: block; max-height: 0; opacity: 0; overflow: hidden; color: var(--ink-soft); font-size: 0.97rem;
  transition: max-height 0.5s var(--ease-out), opacity 0.4s, margin 0.4s;
}
.sc-tab[aria-selected="true"] {
  background: linear-gradient(135deg, rgba(79, 224, 255, 0.12), rgba(8, 32, 56, 0.5));
  border-color: rgba(79, 224, 255, 0.3);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.sc-tab[aria-selected="true"] .sc-num { color: var(--cyan); }
.sc-tab[aria-selected="true"] .sc-text strong { color: #fff; }
.sc-tab[aria-selected="true"] .sc-text > span { max-height: 9em; opacity: 1; margin-top: 8px; }
.sc-progress { position: absolute; left: 20px; right: 20px; bottom: 9px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, 0.08); opacity: 0; }
.sc-progress i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--cyan-deep), var(--cyan)); box-shadow: 0 0 10px var(--cyan); }
.sc-tab[aria-selected="true"] .sc-progress { opacity: 1; }
.showcase.is-auto .sc-tab[aria-selected="true"] .sc-progress i { animation: progress var(--sc-dur, 6s) linear forwards; }
.showcase.is-paused .sc-tab[aria-selected="true"] .sc-progress i { animation-play-state: paused; }
@keyframes progress { to { width: 100%; } }

.showcase-stage { position: relative; }
.showcase-stage::before {
  content: ""; position: absolute; inset: 8% 4%; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(79, 224, 255, 0.3), transparent); filter: blur(40px);
}
.device {
  position: relative; aspect-ratio: 20 / 9; padding: clamp(8px, 1.1vw, 14px); border-radius: clamp(22px, 3vw, 40px);
  background: linear-gradient(150deg, #2a3b4f 0%, #0b1420 40%, #05090f 100%);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, 0.08), inset 0 1px 1px rgba(255, 255, 255, 0.18), inset 0 -2px 6px rgba(0, 0, 0, 0.6);
}
.device::before { /* cámara frontal */
  content: ""; position: absolute; left: clamp(3px, 0.45vw, 6px); top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #3a5870, #05090f 70%);
}
.device-screen { position: relative; width: 100%; height: 100%; border-radius: clamp(14px, 2.2vw, 28px); overflow: hidden; background: #02070d; }
.sc-panel { position: absolute; inset: 0; opacity: 0; transform: scale(1.035); transition: opacity 0.6s var(--ease-out), transform 1.2s var(--ease-out); }
.sc-panel.is-active { opacity: 1; transform: none; }
.sc-panel img { width: 100%; height: 100%; object-fit: cover; }
.device-glare { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(120deg, rgba(255, 255, 255, 0.1) 0%, transparent 28%, transparent 70%, rgba(255, 255, 255, 0.04) 100%); }
.showcase-note { margin-top: 14px; text-align: right; font-size: 0.78rem; color: var(--ink-faint); letter-spacing: 0.04em; }

/* Vitrina de B · Duelos: pantalla a la izquierda y pestañas a la derecha, con el color del modo. */
.showcase-rev { grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.72fr); }
.showcase-rev .showcase-stage { order: -1; }
.showcase-rev .showcase-stage::before { background: radial-gradient(closest-side, rgba(255, 201, 77, 0.22), transparent); }
.showcase-rev .showcase-note { text-align: left; }
.showcase-rev .sc-tab[aria-selected="true"] { background: linear-gradient(135deg, rgba(255, 201, 77, 0.12), rgba(8, 32, 56, 0.5)); border-color: rgba(255, 201, 77, 0.34); }
.showcase-rev .sc-tab[aria-selected="true"] .sc-num { color: var(--gold); }
.showcase-rev .sc-progress i { background: linear-gradient(90deg, var(--gold-lo), var(--gold)); box-shadow: 0 0 10px var(--gold); }
.section-duels { background: radial-gradient(900px 500px at 22% 40%, rgba(255, 201, 77, 0.08), transparent 70%); }

/* ───────────── Dos formas de jugar (DEC-183) ───────────── */

/* Chapa del modo: letra en un escudo redondeado + nombre (A cian, B oro). */
.mode-badge {
  --mc: var(--cyan);
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: 1.15rem; line-height: 1; letter-spacing: 0.04em; text-transform: uppercase; color: #fff;
}
.mode-badge b {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; font-weight: 400; font-size: 1.25rem;
  color: #03141f; background: linear-gradient(180deg, color-mix(in srgb, var(--mc) 55%, white), var(--mc) 60%, color-mix(in srgb, var(--mc) 70%, black));
  box-shadow: 0 0 18px color-mix(in srgb, var(--mc) 55%, transparent), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.mode-b .mode-badge, .mode-badge-b { --mc: var(--gold); }
.mode-b .mode-badge b, .mode-badge-b b { color: #3b2300; }
.mode-badge-sm { display: flex; margin-top: 16px; font-size: 1rem; }
.mode-badge-sm b { width: 28px; height: 28px; font-size: 1.05rem; border-radius: 8px; }

.section-modes { background: radial-gradient(1000px 540px at 50% 0%, rgba(26, 166, 214, 0.13), transparent 70%); }
.modes { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 3vw, 36px); align-items: stretch; }
.mode {
  --mc: var(--cyan);
  position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column;
  padding: clamp(14px, 1.8vw, 22px); border-radius: 30px;
  background: linear-gradient(180deg, rgba(10, 38, 64, 0.78), rgba(4, 18, 34, 0.92));
  border: 1px solid color-mix(in srgb, var(--mc) 30%, transparent);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.mode::before {
  content: ""; position: absolute; z-index: -1; left: -10%; right: -10%; top: -25%; height: 75%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--mc) 24%, transparent), transparent); filter: blur(24px);
}
.mode-b { --mc: var(--gold); }
.mode-media { display: grid; grid-template-columns: 38% minmax(0, 1fr); align-items: start; }
.mode-device { grid-column: 1 / -1; position: relative; }
.mode .device { padding: clamp(6px, 0.8vw, 10px); border-radius: clamp(20px, 2.4vw, 30px); }
.mode .device::before { left: clamp(2px, 0.3vw, 4px); width: 5px; height: 5px; margin-top: -2.5px; }
.mode .device-screen { border-radius: clamp(13px, 1.7vw, 21px); }
.mode .device-screen img { width: 100%; height: 100%; object-fit: cover; }
.mode-label {
  position: absolute; right: clamp(12px, 3%, 22px); bottom: -15px; z-index: 3;
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 12px; border-radius: 999px;
  font-family: var(--font-display); font-size: clamp(0.9rem, 1.2vw, 1.05rem); line-height: 1.1; letter-spacing: 0.04em; text-transform: uppercase;
  color: #03141f; background: linear-gradient(180deg, color-mix(in srgb, var(--mc) 50%, white), var(--mc));
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45), 0 0 22px color-mix(in srgb, var(--mc) 45%, transparent), inset 0 1px 0 rgba(255, 255, 255, 0.7);
  transform: rotate(-2deg);
}
.mode-label::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; opacity: 0.75; }
.mode-b .mode-label { color: #3b2300; }
.mode-inset {
  position: relative; z-index: 2; grid-column: 1; margin: clamp(-34px, -2.6vw, -18px) 0 0 clamp(8px, 1.4vw, 16px);
  aspect-ratio: 960 / 580; border-radius: 14px; overflow: hidden; background: #02070d;
  border: 2px solid color-mix(in srgb, var(--mc) 70%, white 15%);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.6), 0 0 26px color-mix(in srgb, var(--mc) 30%, transparent);
  transform: rotate(-3deg);
}
.mode-inset img { width: 100%; height: 100%; object-fit: cover; }
.mode-head { grid-column: 2; padding: clamp(24px, 2.4vw, 30px) 4px 0 clamp(14px, 2vw, 24px); }
.mode-head h3 {
  margin-top: 10px; font-family: var(--font-display); font-weight: 400; text-transform: uppercase; text-wrap: balance;
  font-size: clamp(1.35rem, 2.1vw, 1.9rem); line-height: 1.02;
}
.mode-body { display: flex; flex-direction: column; flex: 1; padding: clamp(14px, 1.8vw, 20px) clamp(6px, 1vw, 12px) 6px; }
.mode-pitch { font-size: 1.05rem; color: #d3e4ee; text-wrap: pretty; }
.mode-points { display: grid; gap: 10px; margin: 16px 0 22px; }
.mode-points li { position: relative; padding-left: 30px; color: var(--ink-soft); font-size: 0.97rem; line-height: 1.45; }
.mode-points li::before {
  content: ""; position: absolute; left: 2px; top: 0.2em; width: 18px; height: 18px; border-radius: 6px;
  background: color-mix(in srgb, var(--mc) 18%, transparent); border: 1px solid color-mix(in srgb, var(--mc) 55%, transparent);
}
.mode-points li::after {
  content: ""; position: absolute; left: 8px; top: calc(0.2em + 4px); width: 5px; height: 9px;
  border: solid var(--mc); border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.mode-body .link-arrow { margin-top: auto; align-self: flex-start; }

.modes-pick {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 18px;
  margin-top: clamp(28px, 4vw, 44px); text-align: center;
}
.modes-pick-title { font-family: var(--font-display); font-size: clamp(1.15rem, 1.8vw, 1.45rem); text-transform: uppercase; letter-spacing: 0.02em; color: #fff; }
.modes-pick ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.modes-pick li {
  padding: 6px 13px; border-radius: 999px; font-size: 0.84rem; font-weight: 700; letter-spacing: 0.03em; color: #d8f8ff;
  background: rgba(79, 224, 255, 0.08); border: 1px solid rgba(94, 225, 255, 0.28);
}

/* Hero: las dos formas de jugar como accesos directos. */
.hero-modes { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.hero-copy .hero-modes + .cta-row { margin-top: 22px; }
.hm {
  --mc: var(--cyan);
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 7px; border-radius: 14px;
  color: #fff; background: rgba(3, 14, 28, 0.6); border: 1px solid color-mix(in srgb, var(--mc) 40%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: transform 0.25s var(--ease-out), border-color 0.25s, background 0.25s;
}
.hm:hover { color: #fff; transform: translateY(-2px); border-color: var(--mc); background: color-mix(in srgb, var(--mc) 14%, rgba(3, 14, 28, 0.6)); }
.hm-b { --mc: var(--gold); }
.hm b {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px;
  font-family: var(--font-display); font-weight: 400; font-size: 1.2rem; color: #03141f;
  background: linear-gradient(180deg, color-mix(in srgb, var(--mc) 55%, white), var(--mc));
}
.hm-b b { color: #3b2300; }
.hm span { display: grid; font-family: var(--font-display); font-size: 1.05rem; line-height: 1.05; text-transform: uppercase; letter-spacing: 0.03em; text-align: left; }
.hm small { font-family: var(--font); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; color: var(--ink-soft); }

/* ───────────── Cartas ───────────── */

.section-cards {
  background:
    radial-gradient(700px 380px at 50% 60%, rgba(165, 123, 255, 0.16), transparent 70%),
    radial-gradient(800px 360px at 50% 72%, rgba(255, 201, 77, 0.07), transparent 70%);
  overflow: hidden;
}
.cards-rail { --cw: clamp(176px, 15.5vw, 220px); position: relative; }
.cards-track {
  display: flex; justify-content: center; align-items: flex-end; gap: clamp(14px, 2vw, 30px);
  padding: 40px var(--gutter) 30px;
}
.card-slot { flex: none; perspective: 1400px; transition: transform 0.5s var(--ease-out); }
.card-slot:nth-child(1) { transform: translateY(26px) rotate(-6deg); }
.card-slot:nth-child(2) { transform: translateY(8px) rotate(-3deg); }
.card-slot:nth-child(4) { transform: translateY(8px) rotate(3deg); }
.card-slot:nth-child(5) { transform: translateY(26px) rotate(6deg); }
.card-slot:hover { transform: translateY(-14px) rotate(0deg); z-index: 2; }

.tcg {
  --rx: 0deg; --ry: 0deg; --flip: 0deg; --mx: 50%; --my: 50%;
  --rc: #d99a5c; /* color de rareza */
  position: relative; display: block; width: var(--cw); aspect-ratio: 5 / 7;
  padding: 0; border: 0; background: none; cursor: pointer; border-radius: 16px;
  filter: drop-shadow(0 26px 30px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 22px color-mix(in srgb, var(--rc) 30%, transparent));
}
.tcg.r-rare { --rc: #cfe6f7; }
.tcg.r-epic { --rc: #c07bff; }
.tcg.r-legendary { --rc: #ffcf4a; }
.tcg.r-mythic { --rc: #ff9ef0; }
.tcg[aria-pressed="true"] { --flip: 180deg; }
.tcg:focus-visible { outline-offset: 8px; border-radius: 18px; }

.tcg-inner {
  position: absolute; inset: 0; transform-style: preserve-3d;
  transform: rotateX(var(--rx)) rotateY(calc(var(--ry) + var(--flip)));
  transition: transform 0.75s cubic-bezier(0.2, 0.85, 0.25, 1.1);
}
.tcg.is-tilting .tcg-inner { transition: transform 0.12s linear; }
.tcg-face {
  position: absolute; inset: 0; border-radius: 16px; overflow: hidden;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  background: #0a1422;
}
.tcg-back { transform: rotateY(180deg); }

.tcg-bg { display: block; }
.tcg-bg img { position: absolute; inset: 6px; width: calc(100% - 12px); height: calc(100% - 12px); object-fit: cover; border-radius: 12px; filter: brightness(0.86) saturate(1.1); }
.tcg-foil {
  position: absolute; inset: 6px; border-radius: 12px; mix-blend-mode: color-dodge; opacity: 0.45;
  background: linear-gradient(125deg, #ff6b6b, #ffd36b, #6bffb1, #6bd6ff, #b46bff, #ff6bd6, #ff6b6b);
  background-size: 300% 300%; animation: foil 7s linear infinite;
}
.r-legendary .tcg-foil { background: linear-gradient(125deg, transparent 20%, #ffe29a 35%, transparent 45%, #fff3c7 60%, transparent 75%); background-size: 260% 260%; opacity: 0.55; }
@keyframes foil { from { background-position: 0% 50%; } to { background-position: 300% 50%; } }

.tcg-portrait {
  position: absolute; left: 50%; bottom: 27%; width: 84%; translate: -50% 0;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.5));
}
.tcg-top { position: absolute; left: 12%; right: 12%; top: 9%; display: flex; justify-content: space-between; align-items: center; }
.tcg-pos {
  padding: 3px 8px 2px; border-radius: 7px; font-family: var(--font-display); font-size: 0.8rem; letter-spacing: 0.04em;
  color: #fff; background: rgba(2, 8, 16, 0.72); border: 1px solid color-mix(in srgb, var(--rc) 60%, transparent);
}
.tcg-crest { width: 21%; height: auto; filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.6)); }
.tcg-plate {
  position: absolute; left: 6px; right: 6px; bottom: 6px; padding: 26px 12% 18%; border-radius: 0 0 12px 12px;
  display: grid; justify-items: center; gap: 2px; text-align: center;
  background: linear-gradient(180deg, transparent, rgba(3, 10, 20, 0.88) 40%, rgba(3, 10, 20, 0.96));
}
.tcg-rarity { font-size: 0.6rem; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; color: var(--rc); }
.r-mythic .tcg-rarity { background: linear-gradient(90deg, #ffb3f0, #b3e9ff, #fff0b3); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tcg-name { font-family: var(--font-display); font-size: clamp(0.95rem, 1.25vw, 1.2rem); line-height: 1; text-transform: uppercase; color: #fff; white-space: nowrap; }
.tcg-stats { display: flex; gap: 10px; margin-top: 5px; font-size: 0.56rem; font-weight: 800; letter-spacing: 0.08em; color: var(--ink-soft); }
.tcg-stats span { display: grid; justify-items: center; }
.tcg-stats b { font-family: var(--font-display); font-weight: 400; font-size: 0.95rem; letter-spacing: 0; color: #fff; }

/* Marco por material: 9-slice del atlas del juego (borde 64 px). */
.tcg-frame {
  position: absolute; inset: 0; pointer-events: none;
  border: clamp(14px, 1.45vw, 20px) solid transparent;
  border-image: url("img/frame-common.webp") 64 stretch;
}
.r-rare .tcg-frame { border-image-source: url("img/frame-rare.webp"); }
.r-epic .tcg-frame { border-image-source: url("img/frame-epic.webp"); }
.r-legendary .tcg-frame { border-image-source: url("img/frame-legendary.webp"); }
.r-mythic .tcg-frame { border-image-source: url("img/frame-mythic.webp"); }
.tcg-gem { position: absolute; left: 50%; bottom: -1.5%; width: 19%; height: auto; translate: -50% 0; filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.6)); }

.tcg-shine {
  position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen;
  background:
    radial-gradient(circle at var(--mx) var(--my), rgba(255, 255, 255, 0.28), transparent 45%),
    linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, 0.55) 50%, transparent 62%);
  background-size: 100% 100%, 280% 100%;
  background-position: 0 0, 140% 0;
  animation: tcg-sweep 5.5s ease-in-out infinite;
}
.r-epic .tcg-shine { animation-duration: 4.5s; }
.r-legendary .tcg-shine { background: radial-gradient(circle at var(--mx) var(--my), rgba(255, 240, 200, 0.35), transparent 45%), linear-gradient(115deg, transparent 38%, rgba(255, 226, 150, 0.7) 50%, transparent 62%); background-size: 100% 100%, 280% 100%; }
.r-mythic .tcg-shine { background: radial-gradient(circle at var(--mx) var(--my), rgba(255, 255, 255, 0.35), transparent 45%), linear-gradient(115deg, transparent 36%, rgba(255, 170, 240, 0.6) 46%, rgba(170, 230, 255, 0.6) 54%, transparent 64%); background-size: 100% 100%, 280% 100%; }
@keyframes tcg-sweep { 0%, 55% { background-position: 0 0, 140% 0; } 100% { background-position: 0 0, -40% 0; } }

.tcg-back { display: grid; place-content: center; justify-items: center; gap: 10px; padding: 22% 16%; text-align: center; }
.tcg-back-art {
  position: absolute; inset: 6px; border-radius: 12px;
  background:
    radial-gradient(circle at 50% 38%, color-mix(in srgb, var(--rc) 35%, transparent), transparent 55%),
    repeating-linear-gradient(60deg, rgba(255, 255, 255, 0.035) 0 2px, transparent 2px 14px),
    repeating-linear-gradient(-60deg, rgba(255, 255, 255, 0.035) 0 2px, transparent 2px 14px),
    linear-gradient(180deg, #0b2a48, #04111f);
}
.tcg-back-emblem { position: relative; width: 34%; height: auto; filter: drop-shadow(0 0 16px color-mix(in srgb, var(--rc) 70%, transparent)); }
.tcg-back-title { position: relative; font-family: var(--font-display); font-size: 1.35rem; text-transform: uppercase; color: var(--rc); line-height: 1; }
.tcg-back-text { position: relative; font-size: 0.76rem; line-height: 1.45; color: var(--ink-soft); }

.rail-controls { display: none; }
.rail-hint { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-faint); }
.rail-btn {
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--glass); cursor: pointer;
  display: grid; place-items: center; transition: background 0.25s, border-color 0.25s;
}
.rail-btn:hover { background: rgba(79, 224, 255, 0.15); border-color: var(--cyan); }
.rail-btn svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* ───────────── Naciones ───────────── */

.nations { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 22px); }
.nation {
  --c: var(--tide);
  position: relative; isolation: isolate; overflow: hidden; aspect-ratio: 3 / 4.3;
  display: flex; align-items: flex-end; border-radius: var(--radius);
  border: 1px solid color-mix(in srgb, var(--c) 35%, transparent);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.4);
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s, border-color 0.45s;
}
.n-blaze { --c: var(--blaze); }
.n-storm { --c: var(--storm); }
.n-solar { --c: var(--solar); }
.nation:hover { transform: translateY(-8px); border-color: color-mix(in srgb, var(--c) 75%, transparent); box-shadow: 0 34px 60px rgba(0, 0, 0, 0.5), 0 0 50px color-mix(in srgb, var(--c) 30%, transparent); }
.nation-bg img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.nation:hover .nation-bg img { transform: scale(1.08) rotate(0.5deg); }
.nation::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(2, 9, 18, 0.05) 0%, rgba(2, 9, 18, 0.25) 35%, rgba(2, 9, 18, 0.92) 72%, rgba(2, 9, 18, 0.97) 100%);
}
.nation-body { padding: clamp(18px, 2vw, 26px); }
.nation-crest { width: 64px; height: auto; margin-bottom: 14px; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.6)); transition: transform 0.45s var(--ease-out); }
.nation:hover .nation-crest { transform: translateY(-4px) rotate(-4deg) scale(1.05); }
.nation-el { font-size: 0.74rem; font-weight: 800; letter-spacing: 0.22em; text-transform: uppercase; color: var(--c); }
.nation-name { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.9rem, 2.6vw, 2.5rem); line-height: 1; text-transform: uppercase; margin-top: 4px; }
.nation-desc { margin-top: 10px; font-size: 0.93rem; line-height: 1.5; color: var(--ink-soft); }
.nation-adv {
  display: inline-flex; gap: 8px; align-items: center; margin-top: 14px; padding: 6px 12px; border-radius: 999px;
  font-size: 0.8rem; font-weight: 800; color: #fff; background: color-mix(in srgb, var(--c) 18%, rgba(2, 9, 18, 0.6)); border: 1px solid color-mix(in srgb, var(--c) 45%, transparent);
}
.nation-adv span { font-weight: 600; color: var(--ink-soft); }

.nation-rules { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(12px, 1.6vw, 22px); margin-top: clamp(12px, 1.6vw, 22px); }
.rule {
  display: flex; align-items: center; gap: 22px; flex-wrap: wrap; padding: 20px 26px; border-radius: var(--radius);
  background: var(--glass); border: 1px solid var(--line);
}
.rule-title { font-size: 0.74rem; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-faint); }
.cycle { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-family: var(--font-display); font-size: 1.2rem; text-transform: uppercase; }
.cycle i { font-style: normal; color: var(--ink-faint); }
.c-tide { color: var(--tide); } .c-blaze { color: var(--blaze); } .c-storm { color: var(--storm); }
.c-solar { color: var(--solar); font-size: 0.95rem; margin-left: 6px; }
.chem { display: flex; gap: 18px; flex-wrap: wrap; font-size: 0.9rem; color: var(--ink-soft); }
.chem b { font-family: var(--font-display); font-weight: 400; color: #fff; font-size: 1.1rem; }
.chem em { font-style: normal; font-weight: 800; color: #6bffb1; }

/* ───────────── Guardianes ───────────── */

.section-guardians { overflow: hidden; }
.guardians { --gc: var(--tide); display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 90px); align-items: center; }
.guardians[data-active="salamander"] { --gc: var(--blaze); }
.guardians[data-active="raiju"] { --gc: var(--storm); }
.guardians[data-active="phoenix"] { --gc: var(--solar); }

.g-stage { position: relative; width: min(100%, 470px); aspect-ratio: 840 / 1125; justify-self: center; }
.g-aura {
  position: absolute; inset: -18%; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--gc) 55%, transparent), transparent 75%);
  filter: blur(30px); opacity: 0.75; transition: background 0.8s;
  animation: aura 5s ease-in-out infinite alternate;
}
@keyframes aura { from { transform: scale(0.92); opacity: 0.55; } to { transform: scale(1.05); opacity: 0.85; } }
.g-art {
  position: absolute; inset: 0; border-radius: 26px; overflow: hidden;
  border: 2px solid color-mix(in srgb, var(--gc) 70%, white 10%);
  box-shadow: var(--shadow-lg), 0 0 60px color-mix(in srgb, var(--gc) 40%, transparent);
  opacity: 0; transform: scale(0.96) translateY(10px); transition: opacity 0.6s var(--ease-out), transform 0.8s var(--ease-out), border-color 0.6s;
}
.g-art.is-active { opacity: 1; transform: none; }
.g-art img { width: 100%; height: 100%; object-fit: cover; }
.g-art::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, 0.22) 50%, transparent 60%);
  background-size: 260% 100%; animation: card-sheen 6s ease-in-out infinite; mix-blend-mode: screen;
}

.g-details { display: grid; margin-top: 4px; }
.g-detail { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity 0.45s, transform 0.55s var(--ease-out), visibility 0s 0.45s; }
.g-detail.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity 0.45s 0.1s, transform 0.55s 0.1s var(--ease-out), visibility 0s; }
.g-nation { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; }
.g-tide { --c: var(--tide); } .g-blaze { --c: var(--blaze); } .g-storm { --c: var(--storm); } .g-solar { --c: var(--solar); }
.g-nation { color: var(--c); }
.g-name { font-family: var(--font-display); font-weight: 400; font-size: clamp(3rem, 6vw, 5rem); line-height: 0.95; text-transform: uppercase; margin-top: 8px; text-shadow: 0 0 40px color-mix(in srgb, var(--c) 45%, transparent); }
.g-desc { margin-top: 14px; max-width: 520px; font-size: 1.08rem; color: var(--ink-soft); }
.g-unlock { margin-top: 18px; display: inline-grid; gap: 2px; padding: 12px 18px; border-radius: 14px; background: var(--glass); border: 1px solid var(--line); font-weight: 650; }
.g-unlock span { font-size: 0.7rem; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }

.g-picker { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.g-tab {
  display: grid; justify-items: center; gap: 8px; padding: 0; border: 0; background: none; cursor: pointer;
  font-size: 0.74rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-faint);
  transition: color 0.3s;
}
.g-tab img {
  width: 76px; height: 76px; object-fit: cover; object-position: 50% 18%; border-radius: 18px;
  border: 2px solid rgba(255, 255, 255, 0.12); filter: saturate(0.5) brightness(0.7);
  transition: filter 0.3s, border-color 0.3s, transform 0.3s var(--ease-out), box-shadow 0.3s;
}
.g-tab:hover img { filter: saturate(0.9) brightness(0.95); transform: translateY(-3px); }
.g-tab[aria-selected="true"] { color: #fff; }
.g-tab[aria-selected="true"] img { filter: none; border-color: var(--c); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 30%, transparent), 0 0 26px color-mix(in srgb, var(--c) 55%, transparent); }
.g-note { margin-top: 26px; max-width: 520px; font-size: 0.92rem; color: var(--ink-soft); padding-left: 16px; border-left: 3px solid var(--gold); }
.g-note b { color: var(--gold); }

/* ───────────── Ligas ───────────── */

.section-leagues { background: radial-gradient(900px 480px at 50% 20%, rgba(255, 201, 77, 0.08), transparent 70%); }
.tiers {
  position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px;
  max-width: 980px; margin: 0 auto clamp(40px, 6vw, 70px);
}
.tiers::before {
  content: ""; position: absolute; left: 10%; right: 10%; top: 40px; height: 2px; z-index: -1;
  background: linear-gradient(90deg, #b87333, #cfd8e3, #ffc94d, #7fe3ff, #ff9ef0);
  opacity: 0.55;
}
.tier { display: grid; justify-items: center; gap: 6px; text-align: center; }
.tier b { font-family: var(--font-display); font-weight: 400; font-size: 1.3rem; text-transform: uppercase; letter-spacing: 0.02em; margin-top: 6px; }
.tier > span:last-child { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; color: var(--ink-faint); }
.medal {
  --m1: #f2c08f; --m2: #b87333; --m3: #6d3d16;
  display: grid; place-items: center; width: 82px; height: 82px; border-radius: 50%;
  font-family: var(--font-display); font-size: 1.5rem; color: #2a1605; text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
  background: radial-gradient(circle at 35% 28%, var(--m1), var(--m2) 55%, var(--m3) 100%);
  box-shadow: inset 0 0 0 5px rgba(255, 255, 255, 0.18), inset 0 -6px 12px rgba(0, 0, 0, 0.35), 0 12px 28px rgba(0, 0, 0, 0.45);
  transition: transform 0.4s var(--ease-out);
}
.tier:hover .medal { transform: translateY(-6px) rotate(-6deg); }
.t-silver .medal { --m1: #ffffff; --m2: #b9c8d6; --m3: #5d6f80; color: #1d2833; }
.t-gold .medal { --m1: #fff1b8; --m2: #ffc94d; --m3: #a8650a; color: #3b2300; }
.t-diamond .medal { --m1: #e8fdff; --m2: #6fe0ff; --m3: #1675a8; color: #04263a; }
.t-legend .medal { --m1: #ffe3fb; --m2: #d18bff; --m3: #5a2a9c; color: #fff; box-shadow: inset 0 0 0 5px rgba(255, 255, 255, 0.22), 0 0 34px rgba(209, 139, 255, 0.6), 0 12px 28px rgba(0, 0, 0, 0.45); animation: legend 3.5s ease-in-out infinite alternate; }
.medal svg { width: 36px; height: 36px; fill: currentColor; opacity: 0.85; }
.t-legend .medal svg { width: 40px; height: 40px; fill: #ffe7a0; stroke: #6b3a00; stroke-width: 1; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.4)); }
@keyframes legend { to { box-shadow: inset 0 0 0 5px rgba(255, 255, 255, 0.3), 0 0 54px rgba(209, 139, 255, 0.85), 0 12px 28px rgba(0, 0, 0, 0.45); } }

.compete { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 2vw, 24px); }
.panel {
  position: relative; overflow: hidden; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(10, 38, 64, 0.7), rgba(4, 18, 34, 0.85));
  border: 1px solid var(--line); box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
  transition: transform 0.45s var(--ease-out), border-color 0.45s;
}
.panel:hover { transform: translateY(-6px); border-color: var(--line-strong); }
.panel-media { aspect-ratio: 20 / 9; overflow: hidden; border-bottom: 1px solid var(--line); }
.panel-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.panel:hover .panel-media img { transform: scale(1.04); }
.panel-body { padding: clamp(20px, 2.4vw, 32px); }
.panel h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.5rem, 2.2vw, 2rem); line-height: 1.05; text-transform: uppercase; margin-top: 12px; }
.panel-body > p:not(.tag) { margin-top: 10px; color: var(--ink-soft); }
.panel-cup { border-color: rgba(255, 201, 77, 0.28); }
.panel-cup::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; box-shadow: inset 0 0 60px rgba(255, 201, 77, 0.08); }
.prize-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.prize-row li { display: grid; padding: 8px 14px; border-radius: 12px; background: rgba(255, 201, 77, 0.08); border: 1px solid rgba(255, 201, 77, 0.22); }
.prize-row span { font-size: 0.68rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.prize-row b { font-size: 0.92rem; }
.panel-soon {
  grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  background:
    repeating-linear-gradient(135deg, rgba(165, 123, 255, 0.05) 0 12px, transparent 12px 24px),
    linear-gradient(90deg, rgba(40, 20, 80, 0.55), rgba(4, 18, 34, 0.85));
  border-color: rgba(165, 123, 255, 0.3);
}
.panel-soon .panel-body { max-width: 720px; }
.soon-glyph {
  flex: none; padding-right: clamp(20px, 4vw, 60px);
  font-family: var(--font-display); font-size: clamp(4rem, 9vw, 7.5rem); line-height: 1;
  background: linear-gradient(180deg, rgba(215, 194, 255, 0.55), rgba(165, 123, 255, 0.05));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ───────────── Noticias ───────────── */

.news { display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: clamp(14px, 2vw, 24px); }
.news-card { border-radius: var(--radius); overflow: hidden; background: linear-gradient(180deg, rgba(10, 38, 64, 0.6), rgba(4, 18, 34, 0.85)); border: 1px solid var(--line); transition: transform 0.45s var(--ease-out), border-color 0.45s, box-shadow 0.45s; }
.news-card:hover { transform: translateY(-6px); border-color: var(--line-strong); box-shadow: 0 26px 50px rgba(0, 0, 0, 0.4); }
.news-link { display: flex; flex-direction: column; height: 100%; color: var(--ink); }
.news-link:hover { color: var(--ink); }
.news-media { display: block; overflow: hidden; }
.news-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: 50% 30%; transition: transform 1.2s var(--ease-out); }
.news-feature .news-media { display: block; overflow: hidden; }
.news-media img { aspect-ratio: 16 / 9.4; }
.news-card:hover .news-media { display: block; overflow: hidden; }
.news-media img { transform: scale(1.05); }
.news-link { overflow: hidden; }
.news-body { padding: 20px 22px 24px; display: grid; gap: 10px; align-content: start; }
.news-meta time { white-space: nowrap; }
.news-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: 0.82rem; color: var(--ink-faint); font-weight: 600; }
.news-body h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.35rem; line-height: 1.1; text-transform: uppercase; }
.news-feature .news-body h3 { font-size: clamp(1.5rem, 2.2vw, 1.9rem); }
.news-body p:last-child { color: var(--ink-soft); font-size: 0.95rem; }

/* ───────────── Comunidad ───────────── */

.community { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; padding: clamp(28px, 4vw, 48px); border-radius: 28px; background: linear-gradient(120deg, rgba(79, 224, 255, 0.12), rgba(8, 32, 56, 0.6)); border: 1px solid var(--line-strong); }
.social { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
.social a {
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 14px; color: #fff; font-weight: 700;
  background: rgba(2, 9, 18, 0.6); border: 1px solid var(--line-strong); transition: transform 0.25s var(--ease-out), border-color 0.25s, background 0.25s;
}
.social a:hover { color: #fff; transform: translateY(-3px); border-color: var(--cyan); background: rgba(79, 224, 255, 0.12); }
.social svg { width: 20px; height: 20px; fill: none; stroke: var(--cyan); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ───────────── CTA final ───────────── */

.final-cta { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(110px, 14vw, 190px); text-align: center; }
.final-bg { position: absolute; inset: 0; z-index: -1; display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: 100%; }
.final-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; filter: saturate(1.15) brightness(0.7); }
.final-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(46% 52% at 50% 50%, rgba(3, 13, 26, 0.78), rgba(3, 13, 26, 0.25) 100%),
    linear-gradient(180deg, var(--deep) 0%, rgba(3, 13, 26, 0.1) 26%, rgba(3, 13, 26, 0.1) 74%, var(--abyss) 100%);
}
.final-title { font-family: var(--font-display); font-weight: 400; font-size: clamp(2.6rem, 6.4vw, 5.2rem); line-height: 0.98; text-transform: uppercase; text-shadow: 0 6px 40px rgba(0, 0, 0, 0.6); text-wrap: balance; }
.final-code { margin-top: 30px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; font-size: 0.95rem; color: var(--ink-soft); }
.code-path { display: inline-flex; flex-wrap: wrap; gap: 6px; align-items: center; font-weight: 800; letter-spacing: 0.04em; }
.code-path span { padding: 3px 10px; border-radius: 6px; font-size: 0.84rem; background: rgba(79, 224, 255, 0.12); border: 1px solid rgba(94, 225, 255, 0.34); color: #d8f8ff; }
.code-path i { font-style: normal; color: var(--gold); }
.final-inner > p { margin: 18px auto 32px; max-width: 560px; font-size: 1.12rem; color: #d3e4ee; text-wrap: balance; }

/* ───────────── Pie ───────────── */

.site-footer { background: var(--abyss); border-top: 1px solid var(--line); padding-top: clamp(50px, 6vw, 80px); }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 36px; }
.footer-brand img { width: 150px; height: auto; }
.footer-brand p { margin-top: 14px; max-width: 320px; font-size: 0.92rem; color: var(--ink-faint); }
.footer-col { display: grid; align-content: start; gap: 9px; }
.footer-col h2 { font-size: 0.74rem; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 6px; }
.footer-col a { color: var(--ink-faint); font-size: 0.95rem; width: fit-content; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; margin-top: 50px; padding-block: 24px 30px; border-top: 1px solid var(--line); font-size: 0.85rem; color: var(--ink-faint); }
.footer-privacy { display: inline-flex; align-items: center; gap: 8px; }
.footer-privacy::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #6bffb1; box-shadow: 0 0 10px #6bffb1; }
.lang-footer > * { font-size: 0.78rem; }

/* ───────────── Responsive ───────────── */

@media (max-width: 1180px) {
  .main-nav ul a { padding: 10px 9px; font-size: 0.9rem; }
  .header-inner { gap: 18px; }
}

@media (max-width: 1060px) {
  :root { --header-h: 64px; }
  .menu-toggle { display: grid; place-items: center; }
  .brand img { height: 40px; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 49;
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 28px;
    padding: 28px var(--gutter) 40px; overflow-y: auto;
    background: rgba(3, 13, 26, 0.97);
    backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity 0.3s, transform 0.35s var(--ease-out), visibility 0s 0.35s;
  }
  .main-nav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity 0.3s, transform 0.35s var(--ease-out), visibility 0s; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav ul a { font-family: var(--font-display); font-weight: 400; font-size: 1.8rem; text-transform: uppercase; padding: 12px 4px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .main-nav ul a::after { display: none; }
  .nav-extra { display: flex; gap: 22px; }
  .nav-small { color: var(--ink-soft); font-weight: 700; }
  body.menu-open { overflow: hidden; }
  body.menu-open .site-header { background: rgba(3, 13, 26, 0.97); border-bottom-color: var(--line); }
  .nav-cta { display: flex !important; margin-top: 4px; }

  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { max-width: 640px; margin-inline: auto; }
  .hero-copy .eyebrow { justify-content: center; }
  .hero-logo { margin-inline: auto; }
  .hero-title { display: grid; justify-items: center; }
  .hero-lead { margin-inline: auto; }
  .hero-copy .cta-row { justify-content: center; }
  .hero-shade { background: linear-gradient(180deg, rgba(2, 9, 18, 0.55) 0%, rgba(2, 10, 22, 0.55) 40%, rgba(3, 13, 26, 0.8) 80%, var(--deep) 100%); }
  .hero-guardians { --w: clamp(120px, 24vw, 190px); width: 100%; max-width: 640px; margin-inline: auto; }
  .hero-foot { justify-content: center; }
  .scroll-cue { display: none; }

  .showcase { grid-template-columns: 1fr; }
  .showcase-stage { order: -1; }
  .showcase-note, .showcase-rev .showcase-note { text-align: center; }
  .modes { grid-template-columns: 1fr; max-width: 680px; margin-inline: auto; }
  .mode-media { grid-template-columns: 34% minmax(0, 1fr); }
  .hero-modes { justify-content: center; }

  .cards-rail { --cw: min(62vw, 250px); }
  .cards-track {
    justify-content: flex-start; align-items: center; overflow-x: auto; scroll-snap-type: x mandatory;
    padding: 30px calc(50vw - var(--cw) / 2) 40px; scrollbar-width: none;
  }
  .cards-track::-webkit-scrollbar { display: none; }
  .card-slot, .card-slot:nth-child(n) { transform: none; scroll-snap-align: center; }
  .card-slot:hover { transform: none; }
  .rail-controls { display: flex; align-items: center; justify-content: center; gap: 18px; }

  .nations { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nation-rules { grid-template-columns: 1fr; }

  .guardians { grid-template-columns: 1fr; }
  .g-info { order: -1; }
  .g-stage { width: min(78vw, 420px); }

  .news { grid-template-columns: 1fr 1fr; }
  .news-feature { grid-column: 1 / -1; }
  .community { grid-template-columns: 1fr; }
  .social { justify-content: flex-start; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .header-actions .btn-sm { display: none; }
  .hero { padding-top: calc(var(--header-h) + 8px); min-height: auto; }
  .hero-inner { gap: 10px; padding-block: 18px 8px; }
  .hero-logo { width: min(230px, 62vw); margin-left: auto; }
  .hero-tagline { font-size: clamp(1.55rem, 7.4vw, 2rem); margin-top: 12px; }
  .hero-lead { font-size: 1rem; }
  .hero-copy .cta-row { flex-direction: column; align-items: stretch; max-width: 340px; margin-inline: auto; margin-top: 24px; }
  .btn-store { justify-content: center; }
  .hero-copy .eyebrow { font-size: 0.7rem; letter-spacing: 0.16em; }
  .hero-copy .eyebrow::before { display: none; }
  .hero-guardians { --w: clamp(90px, 23.5vw, 140px); --step: calc(var(--w) * 0.9); }
  .gcard-name { padding: 26px 6px 8px; font-size: 0.68rem; }
  .gcard-name small { font-size: 0.52rem; letter-spacing: 0.14em; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); width: 100%; }
  .hero-stats li { padding: 12px 16px; }
  .hero-stats li:nth-child(3) { border-left: 0; }
  .hero-stats li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .hero-stats b { font-size: 1.6rem; }

  .sc-tab { padding: 12px 16px 16px; }
  .sc-text strong { font-size: 1.15rem; }

  .hero-modes { margin-top: 16px; gap: 8px; }
  .hm { padding: 6px 12px 6px 6px; gap: 8px; }
  .hm b { width: 30px; height: 30px; font-size: 1.05rem; }
  .hm span { font-size: 0.95rem; }
  .hm small { font-size: 0.66rem; }
  .mode { border-radius: 24px; padding: 10px; }
  .mode-media { grid-template-columns: 40% minmax(0, 1fr); }
  .mode-label { bottom: -13px; right: 10px; padding: 5px 11px 5px 10px; font-size: 0.8rem; }
  .mode-inset { margin: -14px 0 0 6px; border-radius: 10px; }
  .mode-head { padding: 22px 2px 0 12px; }
  .mode-badge { font-size: 1rem; gap: 8px; }
  .mode-badge b { width: 28px; height: 28px; font-size: 1.05rem; border-radius: 8px; }
  .mode-head h3 { font-size: 1.2rem; margin-top: 8px; }
  .mode-body { padding: 14px 6px 8px; }
  .mode-pitch { font-size: 1rem; }
  .mode-points li { font-size: 0.93rem; }

  .nations { grid-template-columns: 1fr; }
  .nation { aspect-ratio: auto; min-height: 300px; }
  .nation-bg img { object-position: 50% 30%; }
  .nation-crest { width: 54px; }

  .tiers { grid-template-columns: repeat(5, 1fr); gap: 4px; }
  .tiers::before { top: 28px; }
  .medal { width: 56px; height: 56px; font-size: 1.05rem; }
  .medal svg { width: 36px; height: 36px; fill: currentColor; opacity: 0.85; }
.t-legend .medal svg { width: 28px; height: 28px; }
  .tier b { font-size: 0.86rem; }
  .tier > span:last-child { font-size: 0.66rem; }

  .compete { grid-template-columns: 1fr; }
  .panel-soon { flex-direction: column; align-items: flex-start; }
  .soon-glyph { position: absolute; right: 10px; bottom: 6px; opacity: 0.5; }

  .news { grid-template-columns: 1fr; }
  .news-card:not(.news-feature) .news-link { flex-direction: row; }
  .news-card:not(.news-feature) .news-media { display: block; overflow: hidden; }
.news-media img { width: 36vw; max-width: 150px; height: 100%; aspect-ratio: auto; min-height: 150px; }
  .news-card:not(.news-feature) .news-body { padding: 14px 16px 16px; gap: 6px; }
  .news-card:not(.news-feature) .news-body h3 { font-size: 1.1rem; }
  .news-card:not(.news-feature) .news-body p:last-child { font-size: 0.88rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { justify-content: center; text-align: center; }
}

/* ───────────── Menos movimiento ───────────── */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .hero-particles, .hero-rays { display: none; }
  .js .reveal { opacity: 1; transform: none; }
}
