/* =========================================================
   WildByte Games — Hoja de estilos compartida
   Usada por index.html y privacidad.html
   ========================================================= */

/* ---------- Fuentes autoalojadas (sin peticiones a Google: mejor para el RGPD) ---------- */
@font-face {
  font-family: "Lilita One";
  src: url("../assets/fonts/lilita-one-latin-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Nunito";
  src: url("../assets/fonts/nunito-latin-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Nunito";
  src: url("../assets/fonts/nunito-latin-600-normal.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Nunito";
  src: url("../assets/fonts/nunito-latin-800-normal.woff2") format("woff2");
  font-weight: 800; font-style: normal; font-display: swap;
}

/* ---------- Variables de diseño ---------- */
:root {
  --bg: #0a0c16;
  --bg-2: #10142a;
  --panel: #151a33;
  --panel-2: #1b2142;
  --line: rgba(255, 255, 255, 0.08);
  --text: #eef1ff;
  --muted: #a3abd1;
  --cyan: #2ee6ff;
  --pink: #ff3d8b;
  --lime: #b6f23a;
  --gold: #ffc53d;
  --orange: #ff7a1a;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.7);
  --font-display: "Lilita One", "Arial Rounded MT Bold", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --maxw: 1180px;
  --header-h: 72px;
}

/* ---------- Reset básico ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(46, 230, 255, 0.10), transparent 60%),
    radial-gradient(900px 500px at -10% 20%, rgba(255, 61, 139, 0.10), transparent 60%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%; text-size-adjust: 100%;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; line-height: 1.1; margin: 0 0 .5em; letter-spacing: .01em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

.container { width: min(100% - 40px, var(--maxw)); margin-inline: auto; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--cyan); color: #04111a; padding: 10px 16px; border-radius: 10px; font-weight: 800;
}
.skip-link:focus { top: 12px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-family: var(--font-body); font-weight: 800; font-size: 1rem;
  padding: .85em 1.4em; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; text-decoration: none !important; line-height: 1.1;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: linear-gradient(135deg, var(--pink), var(--orange));
  color: #fff; box-shadow: 0 10px 30px -10px rgba(255, 61, 139, .8);
}
.btn-secondary {
  background: linear-gradient(135deg, var(--cyan), #6c7bff);
  color: #061021; box-shadow: 0 10px 30px -10px rgba(46, 230, 255, .7);
}
.btn-ghost { background: transparent; color: var(--text); border-color: rgba(255, 255, 255, .22); }
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); }
.btn-disabled, .btn[aria-disabled="true"] {
  background: rgba(255, 255, 255, .06); color: var(--muted); border-color: var(--line);
  cursor: not-allowed; box-shadow: none;
}
.btn-disabled:hover, .btn[aria-disabled="true"]:hover { transform: none; }
.btn-sm { font-size: .875rem; padding: .6em 1em; }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }

/* ---------- Cabecera / navegación ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  background: rgba(10, 12, 22, .78);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none !important; }
.brand-logo { width: auto; height: 50px; flex: none; margin: 0 -6px 0 -10px; }
.brand-name { font-family: var(--font-display); font-size: 1.45rem; letter-spacing: .02em; }
.brand-name span { color: #3fc8ff; }

.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: block; white-space: nowrap; color: var(--muted); font-weight: 800; font-size: .95rem;
  padding: .55em .9em; border-radius: 999px; text-decoration: none;
  transition: color .2s, background .2s;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); background: rgba(255, 255, 255, .07); }
.nav-links .nav-cta a { background: var(--pink); color: #fff; }
.nav-links .nav-cta a:hover { background: #ff5a9f; }

.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 12px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, .05);
  color: var(--text); cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  content: ""; display: block; width: 22px; height: 2.5px; background: currentColor; border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease; position: relative;
}
.nav-toggle-bars::before { position: absolute; top: -7px; }
.nav-toggle-bars::after { position: absolute; top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1120px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    padding: 14px 20px 22px; background: rgba(10, 12, 22, .97);
    border-bottom: 1px solid var(--line);
    transform: translateY(-110%); opacity: 0; visibility: hidden;
    transition: transform .3s ease, opacity .25s ease, visibility .3s;
  }
  .nav-links.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav-links a { font-size: 1.1rem; padding: .85em 1em; }
}

/* ---------- Secciones genéricas ---------- */
section { position: relative; }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-head { max-width: 720px; margin-bottom: 44px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 800; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: currentColor; }
.section-title { font-size: clamp(2rem, 4.5vw, 3.1rem); }
.section-lead { color: var(--muted); font-size: 1.12rem; }

/* ---------- Hero ---------- */
.hero { padding: clamp(40px, 6vw, 80px) 0 clamp(40px, 6vw, 70px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(24px, 4vw, 60px); align-items: center; }
.hero-title { font-size: clamp(2.6rem, 6.4vw, 4.8rem); margin-bottom: .35em; }
.hero-logo { width: clamp(220px, 28vw, 340px); height: auto; margin: -10px 0 4px -30px; }
.hero-title .grad {
  background: linear-gradient(90deg, var(--lime), var(--cyan) 45%, var(--pink));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-text { color: var(--muted); font-size: 1.2rem; max-width: 34ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 36px; }
.hero-stat strong { display: block; font-family: var(--font-display); font-size: 1.9rem; color: var(--gold); line-height: 1; }
.hero-stat span { color: var(--muted); font-size: .9rem; font-weight: 600; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-text { max-width: none; }
}

/* ---------- Zonas de arrastre (drag & drop) ---------- */
.drag-zone {
  position: relative;
  border-radius: var(--radius);
  touch-action: pan-y;          /* el fondo de la zona deja hacer scroll vertical */
  user-select: none; -webkit-user-select: none;
}
.drag-item {
  position: absolute;
  left: var(--x, 0%); top: var(--y, 0%); width: var(--w, 30%);
  touch-action: none;           /* imprescindible: el dedo arrastra la imagen, no la página */
  cursor: grab;
  will-change: transform;
  user-select: none; -webkit-user-select: none; -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
  z-index: 2;
  transition: filter .2s ease;
}
.drag-item img {
  width: 100%; height: auto; pointer-events: none;
  -webkit-user-drag: none; user-select: none;
  filter: drop-shadow(0 14px 18px rgba(0, 0, 0, .45));
  transition: transform .25s ease, filter .25s ease;
}
@media (hover: hover) { .drag-item:hover img { transform: scale(1.04); } }
.drag-item.is-dragging { cursor: grabbing; z-index: 50; }
.drag-item.is-dragging img {
  transform: scale(1.1);
  filter: drop-shadow(0 26px 26px rgba(0, 0, 0, .55)) drop-shadow(0 0 18px rgba(46, 230, 255, .45));
}
.drag-item.is-returning { transition: transform .45s cubic-bezier(.2, 1.4, .4, 1); }
.drag-item:focus-visible { outline: 3px dashed var(--cyan); outline-offset: 6px; }
/* Personajes capturados en Unity: un pelín más de luz */
.drag-item.is-character img { filter: brightness(1.25) saturate(1.15) drop-shadow(0 12px 14px rgba(0, 0, 0, .5)); }
.drag-item.is-character.is-dragging img { filter: brightness(1.3) saturate(1.2) drop-shadow(0 22px 22px rgba(0, 0, 0, .55)) drop-shadow(0 0 16px rgba(182, 242, 58, .5)); }

/* Animación de "flotar" (se aplica al envoltorio interior para no chocar con el transform del arrastre) */
.float { animation: float 5s ease-in-out infinite; }
.float.d1 { animation-delay: -1.2s; } .float.d2 { animation-delay: -2.4s; } .float.d3 { animation-delay: -3.6s; }
.is-dragging .float { animation-play-state: paused; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }

.drag-hint {
  position: absolute; z-index: 60; left: 50%; bottom: 14px; translate: -50% 0;
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  font-size: .82rem; font-weight: 800; color: var(--text);
  background: rgba(10, 12, 22, .75); border: 1px solid var(--line);
  padding: 7px 14px; border-radius: 999px; pointer-events: none;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transition: opacity .4s ease;
}
.drag-zone.was-touched .drag-hint { opacity: 0; }
.drag-reset {
  position: absolute; z-index: 60; top: 12px; right: 12px;
  font: 800 .78rem/1 var(--font-body); color: var(--text);
  background: rgba(10, 12, 22, .7); border: 1px solid var(--line);
  padding: 8px 12px; border-radius: 999px; cursor: pointer;
  opacity: 0; pointer-events: none; transition: opacity .25s ease;
}
.drag-zone.was-touched .drag-reset { opacity: 1; pointer-events: auto; }
.drag-reset:hover { border-color: var(--cyan); color: var(--cyan); }

/* Escenario del hero */
.hero-stage {
  aspect-ratio: 1 / 0.92;
  background:
    radial-gradient(closest-side, rgba(255, 197, 61, .22), transparent 75%) 50% 55% / 80% 80% no-repeat,
    linear-gradient(160deg, rgba(46, 230, 255, .08), rgba(255, 61, 139, .08));
  border: 1px solid var(--line);
  overflow: hidden;
}
.hero-stage::before { /* rejilla tipo vóxel */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(closest-side, #000 40%, transparent);
  -webkit-mask-image: radial-gradient(closest-side, #000 40%, transparent);
}

/* ---------- Tarjetas de juegos ---------- */
.games-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
@media (max-width: 700px) { .games-grid { grid-template-columns: 1fr; } }
@media (min-width: 701px) and (max-width: 900px) { .games-grid { gap: 18px; } .game-body { padding: 20px; } .game-title { font-size: 1.4rem; } }

.game-card {
  display: flex; flex-direction: column;
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
  transition: border-color .25s ease, transform .25s ease;
}
.game-card:hover { border-color: rgba(46, 230, 255, .35); }
.game-media {
  aspect-ratio: 16 / 10; overflow: hidden;
  border-radius: 0; background: #0d1124;
}
.game-media-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.game-media-bg.dim { filter: brightness(.62) saturate(1.1); }
.game-media::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 40%; pointer-events: none; z-index: 1;
  background: linear-gradient(transparent, rgba(16, 20, 42, .85));
}

/* Hueco preparado para imágenes que aún no existen */
.placeholder {
  position: absolute; inset: 14px; border-radius: 14px; pointer-events: none;
  border: 2px dashed rgba(255, 255, 255, .22);
  display: grid; place-content: center; text-align: center; gap: 6px; padding: 16px;
  color: var(--muted); font-size: .9rem; font-weight: 600;
  background: repeating-linear-gradient(45deg, rgba(255, 255, 255, .02) 0 12px, transparent 12px 24px);
}
.placeholder strong { color: var(--text); font-family: var(--font-display); font-weight: 400; font-size: 1.3rem; }
.placeholder code { font-size: .8rem; color: var(--lime); background: rgba(0, 0, 0, .35); padding: 2px 8px; border-radius: 6px; }

.game-body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.game-top { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.game-icon {
  width: 60px; height: 60px; border-radius: 16px; flex: none; object-fit: contain;
  background: rgba(255, 255, 255, .06); border: 1px solid var(--line); padding: 4px;
}
.game-title { font-size: 1.7rem; margin: 0; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .75rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 999px; border: 1px solid currentColor;
}
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.badge-testing { color: var(--lime); background: rgba(182, 242, 58, .08); }
.badge-dev { color: var(--gold); background: rgba(255, 197, 61, .08); }
.badge-dev::before { animation: pulse 1.6s ease-in-out infinite; }
.badge-tag { color: var(--muted); border-color: var(--line); background: rgba(255, 255, 255, .03); }
.badge-tag::before { display: none; }
@keyframes pulse { 50% { opacity: .25; } }

.game-desc { color: var(--muted); }
.features { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 8px; }
.features li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; font-size: .98rem; }
.features li::before {
  content: ""; flex: none; width: 10px; height: 10px; margin-top: .55em; border-radius: 2px;
  background: var(--cyan); transform: rotate(45deg);
}
.game-actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Escaparate / galería de Crazy Cube Battle ---------- */
.showcase {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; margin-top: 56px;
}
@media (max-width: 900px) { .showcase { grid-template-columns: 1fr; } }
.showcase-stage {
  aspect-ratio: 16 / 10; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow);
}
.showcase-side { display: grid; gap: 24px; align-content: start; }
.shot {
  margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  background: var(--panel); box-shadow: var(--shadow);
}
.shot img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .5s ease; }
@media (hover: hover) { .shot:hover img { transform: scale(1.04); } }
.shot figcaption { padding: 12px 16px; color: var(--muted); font-weight: 600; font-size: .9rem; }
.showcase-title { font-size: 1.6rem; margin: 0 0 .3em; }

/* ---------- Patrocinadores ---------- */
.sponsors {
  background:
    radial-gradient(800px 400px at 100% 0%, rgba(255, 197, 61, .10), transparent 60%),
    linear-gradient(180deg, var(--bg-2), var(--bg));
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.sponsor-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 1100px) { .sponsor-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .sponsor-grid { grid-template-columns: 1fr; } }
.sponsor-card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; transition: transform .2s ease, border-color .2s ease;
}
.sponsor-card:hover { transform: translateY(-4px); border-color: rgba(255, 197, 61, .4); }
.sponsor-icon {
  width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 14px;
  background: rgba(255, 197, 61, .12); color: var(--gold);
}
.sponsor-icon svg { width: 26px; height: 26px; }
.sponsor-card h3 { font-size: 1.25rem; margin-bottom: .4em; }
.sponsor-card p { color: var(--muted); font-size: .97rem; margin: 0; }

.press-box {
  margin-top: 36px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; align-items: center;
  background: linear-gradient(135deg, rgba(46, 230, 255, .10), rgba(255, 61, 139, .10));
  border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px);
}
@media (max-width: 900px) { .press-box { grid-template-columns: 1fr; } }
.press-box h3 { font-size: 1.8rem; }
.press-box p { color: var(--muted); }
.press-links { display: grid; gap: 10px; }
.press-link {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 18px; border-radius: var(--radius-sm);
  background: rgba(10, 12, 22, .55); border: 1px solid var(--line);
  color: var(--text); font-weight: 800; text-decoration: none !important;
  transition: border-color .2s, transform .2s;
}
.press-link:hover { border-color: var(--cyan); transform: translateX(4px); }
.press-link small { color: var(--muted); font-weight: 600; }
.press-link svg { width: 20px; height: 20px; color: var(--cyan); flex: none; }

/* ---------- Contacto ---------- */
.contact-card {
  display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(26px, 4vw, 44px); box-shadow: var(--shadow);
}
@media (max-width: 760px) { .contact-card { grid-template-columns: 1fr; } }
.contact-email {
  font-family: var(--font-display); font-size: clamp(1.3rem, 3.4vw, 2rem);
  color: var(--text); word-break: break-all;
}
.contact-email:hover { color: var(--cyan); text-decoration: none; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Pie de página ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0 34px; background: #070912; }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: center; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; margin: 0; padding: 0; }
.footer-links a { color: var(--muted); font-weight: 700; }
.footer-links a:hover { color: var(--text); }
.copyright { color: var(--muted); font-size: .9rem; margin: 18px 0 0; }
.footer-mail { font-weight: 800; }

/* ---------- Página legal (privacidad.html) ---------- */
.legal-hero { padding: clamp(46px, 7vw, 86px) 0 26px; }
.legal-hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.legal-meta { display: flex; flex-wrap: wrap; gap: 10px; color: var(--muted); font-weight: 600; }
.legal-meta span {
  background: rgba(255, 255, 255, .05); border: 1px solid var(--line); border-radius: 999px; padding: 5px 13px; font-size: .9rem;
}
.legal-layout { display: grid; grid-template-columns: 260px 1fr; gap: 40px; padding-bottom: 90px; align-items: start; }
@media (max-width: 900px) { .legal-layout { grid-template-columns: 1fr; } }
.toc {
  position: sticky; top: calc(var(--header-h) + 20px);
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px;
}
@media (max-width: 900px) { .toc { position: static; } }
.toc h2 { font-size: 1.1rem; color: var(--cyan); }
.toc ol { margin: 0; padding-left: 1.2em; display: grid; gap: 4px; }
.toc a { color: var(--muted); font-weight: 600; font-size: .93rem; }
.toc a:hover { color: var(--text); }
.legal-content { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 48px); }
.legal-content h2 { font-size: 1.6rem; margin-top: 1.8em; padding-top: .2em; color: var(--text); }
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 { font-family: var(--font-body); font-weight: 800; font-size: 1.1rem; margin-top: 1.4em; color: var(--gold); }
.legal-content p, .legal-content li { color: #cdd3f3; }
.legal-content ul { padding-left: 1.3em; }
.legal-content li { margin-bottom: .45em; }
.legal-content strong { color: var(--text); }
.legal-table-wrap { overflow-x: auto; margin: 1em 0 1.4em; }
.legal-content table { width: 100%; border-collapse: collapse; min-width: 560px; font-size: .95rem; }
.legal-content th, .legal-content td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal-content th { color: var(--text); background: rgba(255, 255, 255, .04); font-weight: 800; }
.callout {
  border-left: 4px solid var(--cyan); background: rgba(46, 230, 255, .07);
  padding: 14px 18px; border-radius: 0 12px 12px 0; margin: 1.2em 0;
}

/* ---------- Bloque de testers (arriba del todo) ---------- */
.testers { padding: 22px 0 0; }
.testers-card {
  position: relative; display: grid; grid-template-columns: 1.4fr auto; gap: 28px; align-items: center;
  padding: clamp(22px, 3.5vw, 34px) clamp(22px, 4vw, 40px);
  border-radius: var(--radius);
  background:
    radial-gradient(500px 220px at 0% 0%, rgba(182, 242, 58, .16), transparent 70%),
    radial-gradient(500px 220px at 100% 100%, rgba(255, 61, 139, .16), transparent 70%),
    var(--panel);
  border: 1px solid transparent;
  background-clip: padding-box;
  box-shadow: var(--shadow);
}
.testers-card::before { /* borde degradado */
  content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit;
  background: linear-gradient(120deg, var(--lime), var(--cyan), var(--pink));
}
.testers-pill {
  display: inline-block; font-weight: 800; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase;
  color: #0b1404; background: var(--lime); padding: 5px 12px; border-radius: 999px; margin-bottom: 12px;
}
.testers-title { font-size: clamp(1.6rem, 3.6vw, 2.4rem); margin-bottom: .3em; }
.testers-title span { color: var(--lime); }
.testers-text { color: var(--muted); margin-bottom: 14px; }
.testers-steps { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.testers-steps li { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: .95rem; }
.testers-steps b {
  display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; flex: none;
  background: rgba(46, 230, 255, .15); color: var(--cyan); font-size: .85rem;
}
.testers-actions { display: grid; gap: 12px; justify-items: center; text-align: center; max-width: 300px; }
.btn-lg { font-size: 1.1rem; padding: 1em 1.8em; }
.testers-help { color: var(--muted); font-size: .85rem; font-weight: 600; line-height: 1.4; }
.testers-help:hover { color: var(--cyan); }
@media (max-width: 860px) {
  .testers-card { grid-template-columns: 1fr; }
  .testers-actions { max-width: none; justify-items: stretch; }
}

/* ---------- Galería: "Elige tu luchador" ---------- */
.roster { margin-top: 64px; }
.roster-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 6px 30px; margin-bottom: 22px; }
.roster-head .section-lead { max-width: 46ch; margin: 0; font-size: 1rem; }
.roster-stage {
  aspect-ratio: 16 / 7; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow);
  background:
    radial-gradient(60% 70% at 50% 110%, rgba(46, 230, 255, .22), transparent 70%),
    radial-gradient(40% 50% at 15% 0%, rgba(255, 61, 139, .18), transparent 70%),
    radial-gradient(40% 50% at 85% 0%, rgba(182, 242, 58, .14), transparent 70%),
    linear-gradient(180deg, #121733, #0b0e20);
}
.roster-stage::before { /* suelo con rejilla en perspectiva */
  content: ""; position: absolute; left: -20%; right: -20%; bottom: 0; height: 42%; pointer-events: none;
  background-image:
    linear-gradient(rgba(46, 230, 255, .18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46, 230, 255, .18) 1px, transparent 1px);
  background-size: 48px 48px;
  transform: perspective(380px) rotateX(58deg); transform-origin: bottom;
  mask-image: linear-gradient(transparent, #000 60%);
  -webkit-mask-image: linear-gradient(transparent, #000 60%);
}

/* Posiciones de los 4 huecos (escritorio): centro --c y ancho --w */
.roster-stage .slot-1 { --c: 14%; --w: 22%; }
.roster-stage .slot-2 { --c: 38%; --w: 17%; }
.roster-stage .slot-3 { --c: 62%; --w: 16.5%; }
.roster-stage .slot-4 { --c: 86%; --w: 13.5%; }
.roster-stage { --floor: 15%; }

.pedestal {
  position: absolute; z-index: 1; pointer-events: none;
  left: calc(var(--c) - 9%); width: 18%; bottom: calc(var(--floor) - 4%); aspect-ratio: 4 / 1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .25), rgba(46, 230, 255, .35) 55%, transparent 72%);
  box-shadow: 0 0 40px 6px rgba(46, 230, 255, .25);
}
.pedestal.slot-1 { background: radial-gradient(closest-side, rgba(255,255,255,.22), rgba(255, 61, 139, .4) 55%, transparent 72%); box-shadow: 0 0 40px 6px rgba(255, 61, 139, .25); }
.pedestal.slot-3 { background: radial-gradient(closest-side, rgba(255,255,255,.22), rgba(182, 242, 58, .38) 55%, transparent 72%); box-shadow: 0 0 40px 6px rgba(182, 242, 58, .22); }
.pedestal.slot-4 { background: radial-gradient(closest-side, rgba(255,255,255,.22), rgba(255, 197, 61, .4) 55%, transparent 72%); box-shadow: 0 0 40px 6px rgba(255, 197, 61, .22); }

.fighter { top: auto; bottom: var(--floor); left: calc(var(--c) - var(--w) / 2); width: var(--w); }
.fighter .float { animation-duration: 3.6s; }

.scenes { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 24px; }

/* ---------- Botón YouTube ---------- */
.btn-youtube { background: #ff0033; color: #fff; box-shadow: 0 10px 26px -12px rgba(255, 0, 51, .8); }
.btn-youtube:hover { background: #ff2a55; }
.btn-discord { background: #5865f2; color: #fff; box-shadow: 0 10px 26px -12px rgba(88, 101, 242, .9); }
.btn-discord:hover { background: #6b77ff; }
.testers-actions .btn-discord { width: 100%; }
.head-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* Icono del juego: imagen completa sin marco */
.game-icon-wide { width: 104px; height: 66px; padding: 0; background: none; border: 0; border-radius: 0; filter: drop-shadow(0 4px 8px rgba(0,0,0,.5)); }
.game-icon-full { padding: 0; background: none; border: 0; border-radius: 14px; box-shadow: 0 6px 16px -6px rgba(0,0,0,.6); }

/* Icono en el bloque de testers */
.testers-info { position: relative; }
.testers-icon {
  float: left; width: 96px; height: 96px; margin: 0 20px 6px 0; border-radius: 22px;
  box-shadow: 0 10px 26px -10px rgba(0, 0, 0, .8);
}
.testers-steps { clear: both; }
.testers-actions .btn-youtube { width: 100%; }

/* ---------- Global Zoo: sistemas de juego ---------- */
.zoo-systems { margin-top: 64px; }
.system { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(20px, 4vw, 48px); align-items: center; margin-top: 30px; }
.system-reverse { grid-template-columns: 1.25fr 1fr; }
.system-reverse .system-text { order: 2; }
.system > * { min-width: 0; }
.system-tag {
  display: inline-block; font-weight: 800; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase;
  padding: 6px 13px; border-radius: 999px; margin-bottom: 12px;
}
.tag-attack { background: rgba(255, 61, 139, .14); color: var(--pink); border: 1px solid rgba(255, 61, 139, .4); }
.tag-build { background: rgba(255, 197, 61, .12); color: var(--gold); border: 1px solid rgba(255, 197, 61, .4); }
.system-title { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.system-text p { color: var(--muted); }
.features a { color: var(--text); text-decoration: underline; text-decoration-color: rgba(46, 230, 255, .5); text-underline-offset: 3px; }

/* Escenario de ataque (reutiliza el estilo de .roster-stage) */
.attack-stage.roster-stage { aspect-ratio: 16 / 9.5; --floor: 19%; }
.attack-stage .a-1 { --c: 18%; --w: 36%; }
.attack-stage .a-2 { --c: 51%; --w: 32%; }
.attack-stage .a-3 { --c: 83%; --w: 31%; }
.attack-stage .pedestal { left: calc(var(--c) - 13%); width: 26%; }
.attack-stage .pedestal.a-1 { background: radial-gradient(closest-side, rgba(255,255,255,.22), rgba(182, 242, 58, .4) 55%, transparent 72%); box-shadow: 0 0 40px 6px rgba(182, 242, 58, .22); }
.attack-stage .pedestal.a-2 { background: radial-gradient(closest-side, rgba(255,255,255,.22), rgba(255, 61, 139, .4) 55%, transparent 72%); box-shadow: 0 0 40px 6px rgba(255, 61, 139, .25); }
.attack-stage .pedestal.a-3 { background: radial-gradient(closest-side, rgba(255,255,255,.22), rgba(160, 90, 255, .45) 55%, transparent 72%); box-shadow: 0 0 40px 6px rgba(160, 90, 255, .25); }

/* Escenario de construcción */
.build-stage { aspect-ratio: 16 / 10; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: #0d1124; }
.build-stage .game-media-bg { filter: brightness(.55) saturate(1.1) blur(1.5px); transform: scale(1.04); }
.build-card .tilt { transform: rotate(var(--r, 0deg)); transition: transform .3s ease; }
.build-card.is-dragging .tilt { transform: rotate(0deg); }
.build-card img { filter: drop-shadow(0 16px 20px rgba(0, 0, 0, .55)); }

.zoo-shots { display: grid; grid-template-columns: 1fr; gap: clamp(20px, 4vw, 48px); margin-top: 40px; align-items: center; }
.yt-panel p { color: var(--muted); max-width: 60ch; }
.yt-panel { text-align: center; display: grid; justify-items: center; padding: clamp(22px, 4vw, 36px); border-radius: var(--radius);
  background: radial-gradient(500px 200px at 50% 0%, rgba(255, 0, 51, .16), transparent 70%), var(--panel); border: 1px solid var(--line); }
.yt-panel .hero-actions { justify-content: center; }
.promo-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2.5vw, 28px); margin-top: 40px; }
.promo-strip .shot img { aspect-ratio: 9 / 16; object-fit: cover; }
@media (max-width: 640px) {
  .promo-strip { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 72%; overflow-x: auto;
    scroll-snap-type: x mandatory; padding-bottom: 10px; margin-inline: -16px; padding-inline: 16px; scrollbar-width: thin; }
  .promo-strip .shot { scroll-snap-align: center; }
}
.shot-phone { border-radius: 28px; border: 3px solid rgba(255,255,255,.12); }
.zoo-shots .shot { display: flex; flex-direction: column; }
.zoo-shots .shot img { aspect-ratio: 9 / 16; object-fit: cover; }
.shot-phone img { object-position: top; }

@media (max-width: 860px) {
  .system, .system-reverse { grid-template-columns: 1fr; }
  .system-reverse .system-text { order: 0; }
}

/* =========================================================
   REACCIONES: los personajes se mueven al tocarlos / arrastrarlos
   ========================================================= */
.react { transform-origin: 50% 100%; will-change: transform; }
.drag-item.is-dragging .react { animation: dance .55s ease-in-out infinite; }
.react.r-jump   { animation: jump .7s cubic-bezier(.3, 1.5, .5, 1); }
.react.r-spin   { animation: spin .8s ease-in-out; }
.react.r-wiggle { animation: wiggle .6s ease-in-out; }
.react.r-land   { animation: land .45s ease-out; }

@keyframes dance {
  0%   { transform: rotate(-9deg) translateY(0) scale(1); }
  25%  { transform: rotate(0deg) translateY(-7%) scale(1.04, .97); }
  50%  { transform: rotate(9deg) translateY(0) scale(1); }
  75%  { transform: rotate(0deg) translateY(-7%) scale(1.04, .97); }
  100% { transform: rotate(-9deg) translateY(0) scale(1); }
}
@keyframes jump {
  0%   { transform: translateY(0) scale(1, 1); }
  18%  { transform: translateY(0) scale(1.15, .82); }
  45%  { transform: translateY(-32%) scale(.92, 1.1); }
  70%  { transform: translateY(0) scale(1.12, .88); }
  85%  { transform: translateY(-6%) scale(.98, 1.03); }
  100% { transform: translateY(0) scale(1, 1); }
}
@keyframes spin {
  0%   { transform: translateY(0) rotateY(0deg); }
  40%  { transform: translateY(-18%) rotateY(200deg); }
  100% { transform: translateY(0) rotateY(360deg); }
}
@keyframes wiggle {
  0%, 100% { transform: rotate(0deg); }
  15% { transform: rotate(-14deg) scale(1.05); }
  30% { transform: rotate(12deg) scale(1.05); }
  45% { transform: rotate(-9deg); }
  60% { transform: rotate(7deg); }
  80% { transform: rotate(-3deg); }
}
@keyframes land {
  0%   { transform: scale(1.18, .8); }
  55%  { transform: scale(.94, 1.06); }
  100% { transform: scale(1, 1); }
}

/* Chispas al tocar */
.spark {
  position: absolute; z-index: 70; left: 0; top: 0; pointer-events: none;
  font-size: 18px; line-height: 1; translate: -50% -50%;
  animation: spark .75s ease-out forwards;
}
@keyframes spark {
  0%   { transform: translate(0, 0) scale(.4) rotate(0deg); opacity: 1; }
  100% { transform: translate(var(--dx), var(--dy)) scale(1.1) rotate(var(--rot)); opacity: 0; }
}

/* ---------- Flujo de testers en 2 pasos ---------- */
.testers-actions .btn-lg { width: 100%; text-align: left; justify-content: flex-start; border-radius: 18px; }
.testers-actions .btn-lg span { display: flex; flex-direction: column; line-height: 1.15; }
.step-label { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; opacity: .85; font-weight: 800; }
.tester-step2 {
  background: rgba(255, 255, 255, .05); color: var(--muted); border-color: rgba(255, 255, 255, .18);
}
.tester-step2:hover { color: var(--text); border-color: var(--lime); }
.testers-card.step1-done .tester-step1 { background: rgba(182, 242, 58, .12); color: var(--lime); border-color: rgba(182, 242, 58, .45); box-shadow: none; }
.testers-card.step1-done .tester-step1 .step-label::after { content: " ✓"; }
.testers-card.step1-done .tester-step2 {
  background: linear-gradient(135deg, var(--lime), #2fd37a); color: #0b1404; border-color: transparent;
  box-shadow: 0 10px 30px -10px rgba(182, 242, 58, .8); animation: step-pulse 1.8s ease-in-out infinite;
}
@keyframes step-pulse { 50% { box-shadow: 0 0 0 6px rgba(182, 242, 58, .18), 0 10px 30px -10px rgba(182, 242, 58, .8); } }
.tester-note { margin: 0; font-size: .88rem; color: var(--lime); font-weight: 600; text-align: center; }

/* ---------- Comunidad Discord ---------- */
.community { padding-top: 0; }
.community-card {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center;
  padding: clamp(26px, 4.5vw, 54px); border-radius: var(--radius); border: 1px solid rgba(88, 101, 242, .45);
  background:
    radial-gradient(600px 300px at 100% 0%, rgba(88, 101, 242, .30), transparent 70%),
    radial-gradient(500px 260px at 0% 100%, rgba(46, 230, 255, .12), transparent 70%),
    var(--panel);
  box-shadow: var(--shadow);
}
.community-card > * { min-width: 0; }
.community-perks { list-style: none; padding: 0; margin: 4px 0 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; }
.community-perks li { display: flex; gap: 10px; align-items: flex-start; font-weight: 700; font-size: .97rem; }
.community-perks span { flex: none; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px; background: rgba(88, 101, 242, .2); font-size: .95rem; }
.community-note { margin: 14px 0 0; color: var(--muted); font-weight: 600; }
.community-art { position: relative; display: grid; place-items: center; }
.community-logo { width: 100%; max-width: 420px; }
.community-bubbles { position: absolute; inset: 0; pointer-events: none; }
.bubble {
  position: absolute; white-space: nowrap; font-weight: 800; font-size: .85rem; color: #fff;
  background: #5865f2; padding: 8px 13px; border-radius: 14px 14px 14px 4px;
  box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .7); animation: float 5s ease-in-out infinite;
}
.bubble.b1 { top: 4%; left: 0; }
.bubble.b2 { top: 44%; right: -4%; background: #2b2f55; border: 1px solid rgba(255,255,255,.12); animation-delay: -1.7s; border-radius: 14px 14px 4px 14px; }
.bubble.b3 { bottom: 4%; left: 8%; background: #23a55a; animation-delay: -3.2s; }
@media (max-width: 900px) {
  .community-card { grid-template-columns: 1fr; }
  .community-art { order: -1; max-width: 420px; margin-inline: auto; width: 100%; }
}
@media (max-width: 640px) {
  .community-perks { grid-template-columns: 1fr; }
  .community .btn-lg { width: 100%; }
  .bubble { font-size: .75rem; padding: 6px 10px; }
  .bubble.b2 { right: 0; }
}

/* =========================================================
   AJUSTES PARA TABLETS Y MÓVILES
   ========================================================= */

/* Elementos de cuadrícula: que nunca empujen la página hacia los lados */
.hero-grid > *, .games-grid > *, .showcase > *, .legal-layout > *, .press-box > *, .contact-card > * { min-width: 0; }

/* Menú móvil: si la pantalla es baja (móvil en horizontal), que se pueda desplazar */
@media (max-width: 1120px) {
  .nav-links { max-height: calc(100dvh - var(--header-h)); overflow-y: auto; }
}

/* ---- Tablets (hasta 1024 px) ---- */
@media (max-width: 1024px) {
  .press-link { padding: 12px 16px; }
}

/* ---- Tablet vertical y móvil grande (hasta 900 px) ---- */
@media (max-width: 900px) {
  .hero-stage { width: 100%; max-width: 560px; margin-inline: auto; }
  .hero-title br { display: none; }
  /* Galería: texto y captura lado a lado debajo del mapa */
  .placeholder { inset: 10px 10px 48px; gap: 4px; font-size: .82rem; }
  .placeholder code { font-size: .7rem; word-break: break-all; }
}

/* ---- Móviles (hasta 640 px) ---- */
@media (max-width: 640px) {
  :root { --header-h: 64px; }
  body { font-size: 1rem; }
  .container { width: min(100% - 32px, var(--maxw)); }
  .section { padding: 60px 0; }
  .section-head { margin-bottom: 30px; }
  .section-lead { font-size: 1.02rem; }
  .brand-name { font-size: 1.25rem; }
  .brand-logo { width: auto; height: 38px; }

  .hero { padding-top: 32px; }
  .hero-text { font-size: 1.05rem; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-stats { display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: 12px; margin-top: 28px; }
  .hero-stat strong { font-size: 1.45rem; }
  .hero-stat span { font-size: .78rem; }
  .hero-stage { aspect-ratio: 1 / 1; }

  .drag-hint { font-size: .74rem; padding: 6px 11px; bottom: 10px; }
  .drag-reset { top: 8px; right: 8px; padding: 7px 10px; }

  /* Hueco de la portada de Zoo: texto compacto, sin solaparse con la pista */
  .placeholder { inset: 10px 10px 46px; gap: 4px; padding: 10px; font-size: .8rem; }
  .placeholder strong { font-size: 1.1rem; }
  .placeholder code { font-size: .68rem; word-break: break-all; }

  .game-body { padding: 20px 18px 22px; }
  .game-title { font-size: 1.45rem; }
  .game-icon { width: 52px; height: 52px; border-radius: 14px; }
  .game-icon.game-icon-wide { width: 88px; height: 56px; border-radius: 0; }
  .game-actions .btn { flex: 1 1 auto; }


  /* Galería en móvil: luchadores en 2 filas de 2 */
  .roster { margin-top: 44px; }
  .roster-stage { aspect-ratio: 1 / 1.05; --floor: 9%; }
  .roster-stage .slot-1, .roster-stage .slot-3 { --c: 27%; }
  .roster-stage .slot-2, .roster-stage .slot-4 { --c: 73%; }
  .roster-stage .slot-1 { --w: 44%; } .roster-stage .slot-2 { --w: 32%; }
  .roster-stage .slot-3 { --w: 31%; } .roster-stage .slot-4 { --w: 26%; }
  .roster-stage .slot-1.fighter, .roster-stage .slot-2.fighter { bottom: 54%; }
  .roster-stage .slot-1.pedestal, .roster-stage .slot-2.pedestal { bottom: 50%; }
  .pedestal { left: calc(var(--c) - 18%); width: 36%; }
  .scenes { grid-template-columns: 1fr; gap: 16px; margin-top: 16px; }
  .testers { padding-top: 16px; }
  .testers-steps { flex-direction: column; }
  .testers-actions .btn { width: 100%; }

  .attack-stage.roster-stage { aspect-ratio: 16 / 11; --floor: 17%; }
  .attack-stage .pedestal { left: calc(var(--c) - 14%); width: 28%; }
  .attack-stage .slot-1.fighter, .attack-stage .slot-2.fighter { bottom: var(--floor); }
  .zoo-systems { margin-top: 44px; }
  .zoo-shots { grid-template-columns: 1fr; gap: 20px; }
  .yt-panel .btn { flex: 1 1 100%; }
  .testers-icon { width: 64px; height: 64px; border-radius: 16px; margin-right: 14px; }
  .build-stage { aspect-ratio: 16 / 11; }

  .sponsor-card { padding: 20px; }
  .press-box { padding: 22px 18px; gap: 22px; }
  .press-box .btn { flex: 1 1 100%; }
  .press-link { font-size: .95rem; }
  .press-link small { display: block; }

  .contact-card { padding: 22px 18px; }
  .contact-actions .btn { flex: 1 1 auto; }
  .contact-email { font-size: 1.25rem; }

  .footer-grid { flex-direction: column; align-items: flex-start; }

  /* Política de privacidad */
  .legal-hero { padding: 34px 0 18px; }
  .legal-meta span { font-size: .82rem; }
  .legal-layout { gap: 20px; padding-bottom: 60px; }
  .legal-content { padding: 22px 18px; }
  .legal-content h2 { font-size: 1.35rem; }
  .legal-content ul, .legal-content ol { padding-left: 1.1em; }
  /* La tabla se convierte en fichas apiladas */
  .legal-content table { min-width: 0; }
  .legal-content thead { display: none; }
  .legal-content tr { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .legal-content td { display: block; border: 0; padding: 3px 0; }
  .legal-content td[data-label]::before {
    content: attr(data-label); display: block; font-size: .72rem; font-weight: 800;
    letter-spacing: .08em; text-transform: uppercase; color: var(--cyan);
  }
  .legal-content a { word-break: break-word; }
}

/* ---- Móviles pequeños (hasta 380 px) ---- */
@media (max-width: 380px) {
  .brand-name { font-size: 1.1rem; }
  .hero-title { font-size: 2.3rem; }
  .hero-stat strong { font-size: 1.25rem; }
}

/* ---- Móvil en horizontal: escenarios más bajos para que quepan en pantalla ---- */
@media (max-height: 500px) and (orientation: landscape) {
  .hero-stage { max-width: 420px; }
  .roster-stage { aspect-ratio: 16 / 6; }
  .attack-stage.roster-stage, .build-stage { aspect-ratio: 16 / 7; }
}

/* ---------- Accesibilidad: menos movimiento ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}
