/* =====================================================
   BASKET MANAGER — Hoja de estilos principal
   Web creada por Nuvola · https://nuvola.cat
   Estilo inspirado en footballmanager.com adaptado a la
   identidad de Basket Manager (azul, dorado, naranja).
   ===================================================== */

/* Unison Pro Bold (misma tipografía que el juego) — archivos en assets/fonts/ */
@font-face {
  font-family: "Unison Pro";
  src: url("../fonts/UnisonPro-Bold.woff2?v=1788804335") format("woff2"),
       url("../fonts/UnisonPro-Bold.woff?v=1788804335") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #060a16;
  --bg-2: #0b132b;
  --bg-3: #101c3f;
  --navy: #0e2a6b;
  --blue: #1f4fd6;
  --blue-light: #4d7cff;
  --gold: #f7b500;
  --gold-2: #ffd447;
  --gold-dark: #c98f00;
  --orange: #f47a20;
  --text: #f5f5f5;
  --muted: #aab5cf;
  --muted-2: #6f7c9c;
  --line: rgba(255, 255, 255, 0.1);
  --card: rgba(255, 255, 255, 0.04);
  --card-hover: rgba(255, 255, 255, 0.07);
  --font-display: "Unison Pro", "Roboto Condensed", "Arial Narrow", Impact, sans-serif;
  --font-head: "Roboto Condensed", "Arial Narrow", Impact, sans-serif;
  --font-body: "Roboto Condensed", "Helvetica Neue", Arial, sans-serif;
  --max: 1240px;
  --radius: 6px;
  --header-h: 76px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
::selection { background: var(--gold); color: #000; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  text-transform: uppercase;
  line-height: 1;
  margin: 0 0 0.5em;
  letter-spacing: 0.01em;
}
h1, h2 { font-family: var(--font-display); font-weight: 700; letter-spacing: 0; line-height: 1.08; }
h1 { font-size: clamp(1.9rem, 4.6vw, 4rem); }
h2 { font-size: clamp(1.45rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.9rem); font-weight: 700; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.35rem); color: var(--muted); max-width: 60ch; }
.eyebrow {
  display: block;
  text-align: left;
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.9rem;
  color: var(--gold);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 28px; height: 3px;
  background: var(--gold);
  vertical-align: middle;
  margin-right: 10px;
  transform: skewX(-20deg);
}
.container { width: min(var(--max), 92%); margin: 0 auto; }
.section { padding: clamp(4rem, 9vw, 7.5rem) 0; position: relative; }
.section-alt { background: var(--bg-2); }
.center { text-align: center; }
.center .lead { margin-left: 0; margin-right: auto; }
.grid { display: grid; gap: 1.5rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.text-gold { color: var(--gold); }
.text-orange { color: var(--orange); }

/* ---------- Botones ---------- */
.btn {
  --skew: -12deg;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.9rem;
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border: 0;
  color: #0a0a0a;
  background: transparent;
  isolation: isolate;
  transition: transform 0.2s ease;
  white-space: nowrap;
}
.btn::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  transform: skewX(var(--skew));
  z-index: -1;
  transition: background 0.2s, box-shadow 0.2s;
  box-shadow: 0 8px 24px rgba(247, 181, 0, 0.25);
}
.btn:hover { transform: translateY(-2px); }
.btn:hover::before { background: linear-gradient(180deg, #ffe07a, var(--gold-2)); box-shadow: 0 12px 30px rgba(247, 181, 0, 0.4); }
.btn svg { width: 20px; height: 20px; fill: currentColor; }
.btn-outline { color: var(--text); }
.btn-outline::before { background: transparent; border: 2px solid rgba(255, 255, 255, 0.7); box-shadow: none; }
.btn-outline:hover::before { background: rgba(255, 255, 255, 0.08); border-color: #f5f5f5; box-shadow: none; }
.btn-blue { color: #f5f5f5; }
.btn-blue::before { background: linear-gradient(180deg, var(--blue-light), var(--blue)); box-shadow: 0 8px 24px rgba(31, 79, 214, 0.35); }
.btn-blue:hover::before { background: linear-gradient(180deg, #6b93ff, var(--blue-light)); }
.btn-sm { padding: 0.65rem 1.3rem; font-size: 1rem; }
.btn-group { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ---------- Cabecera ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  background: linear-gradient(180deg, rgba(6, 10, 22, 0.95), rgba(6, 10, 22, 0.6));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s;
}
.site-header.scrolled { background: rgba(6, 10, 22, 0.96); border-bottom-color: var(--line); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand img { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 0.25rem; }
.nav a {
  padding: 0.5rem 0.9rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  position: relative;
  transition: color 0.2s;
}
.nav a:hover, .nav a.active { color: #f5f5f5; }
.nav a::after {
  content: ""; position: absolute; left: 0.9rem; right: 0.9rem; bottom: 0.2rem;
  height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform 0.25s;
}
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 0.75rem; }
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  background: transparent; border: 0; padding: 0;
  flex-direction: column; justify-content: center; align-items: center; gap: 6px;
}
.nav-toggle span { width: 26px; height: 3px; background: #fff; border-radius: 2px; transition: transform 0.25s, opacity 0.25s; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: clamp(640px, 100svh, 960px);
  display: flex; align-items: center;
  padding-top: var(--header-h);
  overflow: hidden;
  background: #061a4a;
}
.hero-bg {
  position: absolute; inset: calc(var(--header-h) - 70px) 0 0 0;
  background: url("../img/hero.jpg?v=1788804335") center top / cover no-repeat;
  animation: heroZoom 18s ease-out forwards; transform-origin: center top;
}
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 8, 22, 0.6) 0%, rgba(4, 8, 22, 0.35) 45%, rgba(4, 8, 22, 0.1) 100%),
    linear-gradient(180deg, rgba(4, 8, 22, 0.2) 0%, rgba(4, 8, 22, 0) 40%, var(--bg) 100%);
}
.hero .container { position: relative; z-index: 2; padding: 3rem 0 7rem; }
.hero-content { max-width: 800px; width: 100%; }
.hero-logo { width: min(420px, 70vw); margin-bottom: 1.5rem; filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.6)); }
.hero h1 { text-shadow: 0 6px 30px rgba(0, 0, 0, 0.7); }
.hero h1 span { color: var(--gold); }
.hero .hero-lines { font-size: clamp(0.9rem, 1.8vw, 1.6rem); line-height: 1.35; margin-bottom: 2rem; white-space: nowrap; }
@media (max-width: 600px) { .hero .hero-lines { font-size: clamp(0.85rem, 4.2vw, 1.05rem); } }
.hero .lead { color: #f5f5f5; text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7); font-size: clamp(1.15rem, 1.8vw, 1.45rem); margin-bottom: 2rem; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2.5rem; }
.badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.45rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  font-size: 0.85rem; font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase;
  background: rgba(6, 10, 22, 0.45);
  backdrop-filter: blur(6px);
}
.badge svg { width: 16px; height: 16px; fill: currentColor; }
.badge-gold { border-color: var(--gold); color: var(--gold); }
.hero-scroll {
  position: absolute; bottom: 1.25rem; left: 50%; transform: translateX(-50%);
  z-index: 2; color: var(--muted); font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
}
.hero-scroll::after { content: ""; width: 1px; height: 40px; background: linear-gradient(var(--gold), transparent); animation: scrollPulse 2s infinite; }
@keyframes scrollPulse { 0%, 100% { opacity: 0.3; } 50% { opacity: 1; } }

/* Hero mínimo: solo logotipo centrado */
.hero-minimal { justify-content: center; text-align: center; }
.hero-minimal::after { background: linear-gradient(180deg, rgba(4, 8, 22, 0.35) 0%, rgba(4, 8, 22, 0.15) 45%, var(--bg) 100%); }
.hero-minimal .container { padding: 2rem 0 6rem; display: flex; justify-content: center; }
.hero-minimal .hero-content { max-width: none; display: flex; justify-content: center; }
.hero-minimal .hero-logo { width: min(720px, 80vw); margin: 0; filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.7)); animation: heroLogo 1.2s ease-out both; }
@keyframes heroLogo { from { opacity: 0; transform: translateY(20px) scale(0.96); } to { opacity: 1; transform: none; } }
@media (max-width: 860px) { .hero-minimal::after { background: linear-gradient(180deg, rgba(4, 8, 22, 0.45) 0%, rgba(4, 8, 22, 0.35) 50%, var(--bg) 100%); } }

/* Hero de páginas interiores */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 5rem) 0 4rem;
  background: #061a4a url("../img/hero.jpg?v=1788804335") center 25% / cover no-repeat;
  overflow: hidden;
}
.page-hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6, 10, 22, 0.75), rgba(6, 10, 22, 0.85) 60%, var(--bg));
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 3.4rem); }
.breadcrumb { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--muted); margin-bottom: 1rem; }
.breadcrumb a:hover { color: var(--gold); }

/* ---------- Sección intro / plataformas ---------- */
.intro-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 4rem; align-items: center; }
.platforms { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.platform {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.7rem 1.1rem;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  font-family: var(--font-head); font-size: 1.05rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em;
  transition: background 0.2s, border-color 0.2s;
}
.platform:hover { background: var(--card-hover); border-color: rgba(255, 255, 255, 0.3); }
.platform svg { width: 24px; height: 24px; fill: currentColor; }
.langs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
.langs span { padding: 0.3rem 0.7rem; border-radius: 999px; background: rgba(247, 181, 0, 0.12); color: var(--gold-2); font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
.intro-visual { position: relative; }
.intro-visual img { border-radius: var(--radius); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6); border: 1px solid var(--line); }
.intro-visual::before {
  content: ""; position: absolute; inset: -10% -5% auto auto; width: 60%; height: 60%;
  background: radial-gradient(circle, rgba(31, 79, 214, 0.5), transparent 70%); filter: blur(30px); z-index: -1;
}

/* ---------- Tarjetas de características ---------- */
.feature-card {
  position: relative;
  padding: 2.25rem 2rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s, background 0.25s, border-color 0.25s;
}
.feature-card::before {
  content: ""; position: absolute; top: 0; left: 0; width: 60px; height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--orange));
}
.feature-card:hover { transform: translateY(-6px); background: var(--card-hover); border-color: rgba(247, 181, 0, 0.4); }
.feature-icon {
  width: 56px; height: 56px; margin-bottom: 1.25rem;
  display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(247, 181, 0, 0.2), rgba(244, 122, 32, 0.1));
  border-radius: 12px; color: var(--gold);
}
.feature-icon svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feature-card h3 { margin-bottom: 0.5rem; }
.feature-card p { color: var(--muted); margin: 0; font-size: 1rem; }
.feature-num { position: absolute; right: 1.2rem; top: 1rem; font-family: var(--font-head); font-size: 4rem; font-weight: 700; color: rgba(255, 255, 255, 0.04); line-height: 1; }

/* Lista de funcionalidades (iconos pequeños) */
.feature-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem 2rem; margin-top: 3rem; }
.feature-item { display: flex; gap: 1rem; align-items: flex-start; }
.feature-item .dot {
  flex: 0 0 auto; width: 40px; height: 40px; display: grid; place-items: center;
  background: var(--bg-3); border: 1px solid var(--line); border-radius: 8px; color: var(--gold);
}
.feature-item .dot svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feature-item h4 { font-size: 1.25rem; margin-bottom: 0.2rem; }
.feature-item p { color: var(--muted); margin: 0; font-size: 0.95rem; }

/* ---------- Marquee de capturas ---------- */
.marquee-wrap { overflow: hidden; position: relative; margin-top: 3rem; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee { display: flex; gap: 1.25rem; width: max-content; animation: marquee 60s linear infinite; }
.marquee:hover { animation-play-state: paused; }
.marquee figure { margin: 0; width: 460px; flex: 0 0 auto; }
.marquee img, .gallery-grid img {
  width: 100%; aspect-ratio: 16 / 9; object-fit: cover;
  border-radius: var(--radius); border: 1px solid var(--line);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  cursor: zoom-in; transition: transform 0.25s, border-color 0.25s;
}
.marquee img:hover, .gallery-grid img:hover { transform: scale(1.03); border-color: var(--gold); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee { animation: none; } .hero-bg { animation: none; } }

/* Galería en cuadrícula */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.gallery-grid figure { margin: 0; }
.gallery-grid figcaption { margin-top: 0.6rem; font-size: 0.9rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; font-family: var(--font-head); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(3, 5, 12, 0.94);
  display: none; align-items: center; justify-content: center; padding: 2rem;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: min(1400px, 95vw); max-height: 88vh; border-radius: var(--radius); box-shadow: 0 30px 100px rgba(0, 0, 0, 0.8); }
.lightbox button {
  position: absolute; background: rgba(255, 255, 255, 0.1); border: 1px solid var(--line); color: #f5f5f5;
  width: 48px; height: 48px; border-radius: 50%; font-size: 1.5rem; display: grid; place-items: center;
}
.lightbox button:hover { background: var(--gold); color: #000; }
.lightbox .lb-close { top: 1.5rem; right: 1.5rem; }
.lightbox .lb-prev { left: 1.5rem; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 1.5rem; top: 50%; transform: translateY(-50%); }

/* ---------- Tráiler ---------- */
.video-section { background: radial-gradient(ellipse at center, #0f2159 0%, var(--bg) 70%); }
.video-frame {
  position: relative; aspect-ratio: 16 / 9; max-width: 1000px; margin: 2.5rem auto 0;
  border-radius: var(--radius); overflow: hidden;
  background: #000 url("../img/screens/screen-09.jpg") center / cover no-repeat;
  border: 1px solid var(--line); box-shadow: 0 40px 100px rgba(0, 0, 0, 0.7);
}
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-play {
  position: absolute; inset: 0; width: 100%; height: 100%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.6));
  border: 0; color: #f5f5f5; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem;
}
.video-play .play-icon {
  width: 90px; height: 90px; border-radius: 50%; display: grid; place-items: center;
  background: var(--gold); color: #000; box-shadow: 0 0 0 12px rgba(247, 181, 0, 0.25);
  transition: transform 0.25s, box-shadow 0.25s;
}
.video-play:hover .play-icon { transform: scale(1.08); box-shadow: 0 0 0 20px rgba(247, 181, 0, 0.2); }
.video-play .play-icon svg { width: 36px; height: 36px; fill: currentColor; margin-left: 4px; }
.video-play span.label { font-family: var(--font-head); font-size: 1.3rem; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; }
.video-play small { font-size: 0.8rem; color: var(--muted); max-width: 46ch; text-align: center; }

/* ---------- Prensa ---------- */
.press-card { position: relative; max-width: 960px; margin: 2.5rem auto 0; padding: 3rem clamp(1.5rem, 5vw, 4rem); background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); text-align: center; overflow: hidden; }
.press-card::before { content: "\201C"; position: absolute; left: 1.5rem; top: -1.5rem; font-family: var(--font-head); font-size: 14rem; font-weight: 700; line-height: 1; color: rgba(247, 181, 0, 0.08); pointer-events: none; }
.press-media { display: flex; flex-direction: column; align-items: center; gap: 0.35rem; margin-bottom: 1.5rem; }
.press-source { font-family: var(--font-head); font-size: 1.4rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: #f5f5f5; padding: 0.3rem 1rem; border: 2px solid var(--gold); transform: skewX(-12deg); }
.press-date { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted-2); }
.press-quote { margin: 0 auto 1rem; max-width: 52ch; }
.press-quote p { font-family: var(--font-head); font-size: clamp(1.5rem, 3vw, 2.3rem); font-weight: 700; line-height: 1.15; text-transform: uppercase; margin: 0; }
.press-sub { color: var(--muted); margin-bottom: 2rem; }

/* ---------- Banda sonora ---------- */
.soundtrack { position: relative; overflow: hidden; background: linear-gradient(135deg, #0a1332, #061a4a 60%, #0a1332); }
.soundtrack-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.soundtrack-visual { position: relative; display: flex; justify-content: center; }
.soundtrack-visual img { width: min(380px, 80%); filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.6)); }
.equalizer { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; align-items: flex-end; height: 80px; }
.equalizer span { width: 10px; background: linear-gradient(180deg, var(--gold-2), var(--orange)); border-radius: 3px; animation: eq 1.2s ease-in-out infinite; }
.equalizer span:nth-child(2) { animation-delay: 0.15s; } .equalizer span:nth-child(3) { animation-delay: 0.3s; }
.equalizer span:nth-child(4) { animation-delay: 0.45s; } .equalizer span:nth-child(5) { animation-delay: 0.6s; }
.equalizer span:nth-child(6) { animation-delay: 0.2s; } .equalizer span:nth-child(7) { animation-delay: 0.5s; }
@keyframes eq { 0%, 100% { height: 20%; } 50% { height: 100%; } }
.soundtrack .btn { display: flex; width: max-content; margin: 0 auto; }
.quote { border-left: 4px solid var(--gold); padding-left: 1.25rem; font-size: 1.15rem; color: #dfe6f5; margin: 1.5rem 0; }
.quote strong { color: var(--gold-2); }

/* ---------- Colaboración ---------- */
.collab-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3rem; align-items: center; }
.collab-visual { display: flex; justify-content: center; align-items: center; padding: 2rem 0; }
.collab-logo { display: block; width: min(480px, 85%); margin: 0 auto; }
.collab-logo img { width: 100%; height: auto; }
.vision { margin-top: 4rem; padding-top: 3rem; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 2fr; gap: 2rem 4rem; }
.vision h3 { font-size: clamp(1.9rem, 3.5vw, 2.8rem); font-weight: 700; }
.vision h3::before { content: ""; display: block; width: 48px; height: 4px; background: linear-gradient(90deg, var(--gold), var(--orange)); margin-bottom: 1rem; transform: skewX(-20deg); }
.vision-text { columns: 2; column-gap: 2.5rem; color: var(--muted); font-size: 1.05rem; }
.vision-text p { break-inside: avoid; }
.vision-text p:first-child { color: var(--text); font-size: 1.15rem; }
@media (max-width: 1024px) { .vision { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .vision-text { columns: 1; } }
.link-gold { color: var(--gold); border-bottom: 1px solid rgba(247, 181, 0, 0.4); }
.link-gold:hover { color: var(--gold-2); border-bottom-color: var(--gold-2); }
.steps { display: grid; gap: 1rem; margin-top: 2rem; }
.step { display: flex; gap: 1.25rem; padding: 1.25rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.step-num { font-family: var(--font-head); font-size: 2.2rem; font-weight: 700; color: var(--gold); line-height: 1; min-width: 44px; }
.step h4 { font-size: 1.3rem; margin-bottom: 0.25rem; }
.step p { margin: 0; color: var(--muted); font-size: 0.98rem; }

/* ---------- Licencia oficial ---------- */
.license-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3rem; align-items: center; }
.license-grid .tech-list li { color: var(--muted); }
.license-grid .tech-list strong { color: var(--text); }
.license-visual { position: relative; padding: 0 0 3rem 3rem; }
.license-shot { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6); cursor: zoom-in; }
.license-badge { position: absolute; left: 0; bottom: 0; width: clamp(120px, 22%, 190px); filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.7)); }
@media (max-width: 1024px) { .license-grid { grid-template-columns: 1fr; gap: 2.5rem; } }
@media (max-width: 600px) { .license-visual { padding: 0 0 2.5rem 1.5rem; } }

/* ---------- Historia ---------- */
.story { position: relative; overflow: hidden; }
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.story-visual { position: relative; }
.story-visual img { width: min(520px, 100%); margin: 0 auto; filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.7)); }
.story-visual::before {
  content: "BM"; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  font-family: var(--font-head); font-weight: 700; font-size: clamp(14rem, 30vw, 26rem); color: rgba(255, 255, 255, 0.03); line-height: 1; z-index: -1;
}
.story p { color: var(--muted); }
.story p.highlight { color: var(--text); font-size: 1.15rem; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2rem; }
.stat { padding: 1.25rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); text-align: center; }
.stat b { display: block; font-family: var(--font-head); font-size: 2.4rem; font-weight: 700; color: var(--gold); line-height: 1; }
.stat span { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 860px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 1.4rem 3rem 1.4rem 0; position: relative;
  font-family: var(--font-head); font-size: 1.45rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.02em;
  transition: color 0.2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: 36px; height: 36px; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 50%; font-size: 1.4rem; color: var(--gold); transition: transform 0.25s, background 0.25s;
}
.faq-item[open] summary { color: var(--gold); }
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); background: var(--gold); color: #000; }
.faq-item summary:hover { color: var(--gold-2); }
.faq-body { padding: 0 0 1.5rem; color: var(--muted); max-width: 70ch; }
.faq-body a { color: var(--gold); text-decoration: underline; }

/* ---------- Comunidad / CTA ---------- */
.community {
  position: relative; overflow: hidden; text-align: center;
  background: #061a4a url("../img/hero.jpg?v=1788804335") center 40% / cover fixed no-repeat;
}
.community::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 10, 22, 0.88), rgba(6, 10, 22, 0.92)); }
.community .container { position: relative; z-index: 2; }
.socials { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }
.social {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.8rem 1.4rem; border: 1px solid rgba(255, 255, 255, 0.25); border-radius: 999px;
  font-family: var(--font-head); font-size: 1.05rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em;
  background: rgba(255, 255, 255, 0.05); transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.social:hover { background: var(--gold); border-color: var(--gold); color: #000; transform: translateY(-2px); }
.social svg { width: 20px; height: 20px; fill: currentColor; }
.newsletter { display: flex; gap: 0.75rem; max-width: 560px; margin: 2rem auto 0; }
.newsletter input {
  flex: 1; padding: 0.95rem 1.2rem; border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.25); background: rgba(255, 255, 255, 0.06); color: #f5f5f5; font-size: 1rem; font-family: inherit;
}
.newsletter input::placeholder { color: var(--muted); }
.newsletter input:focus { outline: 2px solid var(--gold); border-color: transparent; }

/* ---------- Formularios ---------- */
.form { display: grid; gap: 1.25rem; max-width: 720px; }
.form label { display: grid; gap: 0.4rem; font-family: var(--font-head); text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.95rem; color: var(--muted); }
.form input, .form textarea, .form select {
  padding: 0.9rem 1.1rem; border-radius: var(--radius); font-family: var(--font-body); font-size: 1rem; color: #f5f5f5;
  border: 1px solid rgba(255, 255, 255, 0.2); background: rgba(255, 255, 255, 0.05);
}
.form input:focus, .form textarea:focus, .form select:focus { outline: 2px solid var(--gold); border-color: transparent; }
.form textarea { min-height: 160px; resize: vertical; }
.form .check { display: flex; gap: 0.75rem; align-items: flex-start; font-family: var(--font-body); text-transform: none; letter-spacing: 0; font-size: 0.9rem; }
.form .check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--gold); }
.form-note { font-size: 0.85rem; color: var(--muted-2); }
.form-status { display: none; padding: 1rem 1.25rem; border-radius: var(--radius); background: rgba(247, 181, 0, 0.12); border: 1px solid rgba(247, 181, 0, 0.4); color: var(--gold-2); }
.form-status.show { display: block; }
.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 4rem; }
.contact-side { display: grid; gap: 1.5rem; align-content: start; }
.contact-card { padding: 1.5rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.contact-card h4 { font-size: 1.2rem; margin-bottom: 0.4rem; color: var(--gold); }
.contact-card p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.contact-card a { color: #f5f5f5; }
.contact-card a:hover { color: var(--gold); }

/* ---------- Contenido legal / texto largo ---------- */
.prose { max-width: 820px; color: var(--muted); }
.prose h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-top: 2.5rem; color: var(--text); }
.prose h3 { color: var(--gold); margin-top: 2rem; }
.prose strong { color: var(--text); }
.prose ul, .prose ol { padding-left: 1.4rem; }
.prose li { margin-bottom: 0.5rem; }
.notice {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1.25rem 1.5rem; border-radius: var(--radius);
  background: rgba(244, 122, 32, 0.1); border: 1px solid rgba(244, 122, 32, 0.4); color: #ffd7b5; margin-bottom: 2rem;
}
.notice strong { color: var(--orange); }

/* ---------- Páginas legales ---------- */
.legal .prose { max-width: 900px; }
.legal-nav { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2.5rem; }
.legal-nav a { padding: 0.55rem 1rem; border: 1px solid var(--line); border-radius: 999px; font-family: var(--font-head); font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); transition: all 0.2s; }
.legal-nav a:hover { color: #f5f5f5; border-color: rgba(255, 255, 255, 0.4); }
.legal-nav a.active { background: var(--gold); border-color: var(--gold); color: #000; }
.updated { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted-2); margin-bottom: 2rem; }
.prose .intro { color: var(--text); font-size: 1.15rem; }
.prose h2 { padding-top: 0.5rem; }
.prose a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--gold-2); }
.titular { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin: 1.5rem 0; }
.titular div { padding: 1rem 1.25rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.titular span { display: block; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted-2); margin-bottom: 0.25rem; }
.titular strong { color: var(--text); font-weight: 500; word-break: break-word; }
.table-wrap { overflow-x: auto; margin: 1.5rem 0; border: 1px solid var(--line); border-radius: var(--radius); }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.92rem; min-width: 760px; }
.prose th, .prose td { padding: 0.85rem 1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.prose th { font-family: var(--font-head); text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.85rem; color: var(--gold); background: rgba(255, 255, 255, 0.03); }
.prose tr:last-child td { border-bottom: 0; }
.prose td strong { color: var(--text); }
@media (max-width: 600px) { .titular { grid-template-columns: 1fr; } }

/* ---------- Partner tecnológico ---------- */
.tech-partner { display: grid; grid-template-columns: 1fr 1.4fr; gap: 3rem; align-items: center; }
.tech-logo { display: block; width: min(360px, 80%); margin: 0 auto; }
.tech-logo img { width: 100%; height: auto; }
.tech-list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 0.6rem; }
.tech-list li { position: relative; padding-left: 1.6rem; color: var(--text); }
.tech-list li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 12px; height: 4px; background: var(--gold); transform: skewX(-20deg); }
@media (max-width: 860px) { .tech-partner { grid-template-columns: 1fr; gap: 2rem; } }

/* ---------- Patrocinadores ---------- */
.sponsor-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 1.5rem; }
.sponsor-card.sponsor-featured { display: grid; grid-template-columns: 1fr 2fr; gap: 3rem; align-items: center; margin-top: 3rem; padding: 2.5rem; }
.sponsor-featured-logo { display: flex; justify-content: center; }
.sponsor-featured-logo img { width: min(300px, 80%); }
.sponsor-card.sponsor-featured h3 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 700; }
.sponsor-card.sponsor-featured .sponsor-intro { color: var(--text); font-size: 1.15rem; }
.sponsor-featured p { flex: 0 0 auto; }
.sponsor-featured .tech-list { margin: 1rem 0 1.5rem; }
.sponsor-featured .tech-list li { color: var(--muted); }
.sponsor-featured .tech-list strong { color: var(--text); }
@media (max-width: 860px) { .sponsor-card.sponsor-featured { grid-template-columns: 1fr; gap: 2rem; } }
.sponsor-card { display: flex; flex-direction: column; padding: 2rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); transition: transform 0.25s, border-color 0.25s, background 0.25s; }
.sponsor-card:hover { transform: translateY(-6px); background: var(--card-hover); border-color: rgba(247, 181, 0, 0.4); }
.sponsor-logo { height: 96px; display: flex; align-items: center; justify-content: flex-start; margin-bottom: 1.5rem; }
.sponsor-logo img { max-height: 84px; width: auto; max-width: 100%; }
.sponsor-logo img.wide { max-height: 40px; }
.sponsor-card h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.sponsor-card p { color: var(--muted); font-size: 0.98rem; flex: 1; }
.sponsor-card a { color: var(--gold); font-family: var(--font-head); text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.95rem; }
.sponsor-card a:hover { color: var(--gold-2); }
@media (max-width: 1024px) { .sponsor-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .sponsor-grid { grid-template-columns: 1fr; } }

/* ---------- Pie de página ---------- */
.site-footer { background: #03050d; border-top: 1px solid var(--line); padding: 4rem 0 2rem; font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1.1fr; gap: 2.5rem; }
.footer-brand img { width: 180px; margin-bottom: 1rem; }
.footer-brand p { color: var(--muted); max-width: 36ch; }
.site-footer h4 { font-size: 1.1rem; letter-spacing: 0.12em; color: var(--gold); margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.6rem; }
.site-footer li a { color: var(--muted); transition: color 0.2s; }
.site-footer li a:hover { color: #f5f5f5; }
.footer-socials { display: flex; gap: 0.75rem; margin-top: 1.25rem; }
.footer-socials a { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--muted); transition: all 0.2s; }
.footer-socials a:hover { background: var(--gold); border-color: var(--gold); color: #000; }
.footer-socials svg { width: 18px; height: 18px; fill: currentColor; }
.footer-partners { margin-top: 3rem; padding: 2.5rem 0 0.5rem; border-top: 1px solid var(--line); display: grid; gap: 2.25rem; justify-items: center; }
.partners-main img { height: 54px; width: auto; }
.partners-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 2rem 4.5rem; }
.partners-row img { width: auto; display: block; }
.partners-row img.p-badge { height: 68px; }
.partners-row img.p-word { height: 24px; }
.partners-row img.p-word-lg { height: 30px; }
.footer-partners a, .footer-partners span { display: inline-block; opacity: 0.75; transition: opacity 0.2s, transform 0.2s; }
.footer-partners a:hover { opacity: 1; transform: translateY(-2px); }
@media (max-width: 600px) { .partners-row { gap: 1.5rem 2rem; } .partners-row img.p-badge { height: 64px; } .partners-row img.p-word-lg { height: 26px; } .partners-main img { height: 44px; } }
.footer-bottom { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.4rem; color: var(--muted-2); font-size: 0.75rem; }
.footer-bottom a:hover { color: #f5f5f5; }

/* ---------- Aviso de cookies ---------- */
.cookie-banner {
  position: fixed; left: 1.5rem; bottom: 1.5rem; z-index: 90;
  width: min(440px, calc(100vw - 3rem));
  background: #0d1426; color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 14px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  padding: 1.5rem 1.6rem; font-size: 0.9rem;
  animation: ckIn 0.4s ease-out both;
}
@keyframes ckIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.cookie-banner h4 { font-family: var(--font-body); font-size: 1.05rem; font-weight: 700; text-transform: none; letter-spacing: 0; margin: 0 0 0.6rem; }
.cookie-banner p { color: var(--muted); line-height: 1.55; margin: 0 0 1.1rem; }
.cookie-banner p a { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.ck-btn { flex: 1 1 auto; padding: 0.7rem 0.9rem; border-radius: 6px; font-family: var(--font-body); font-size: 0.9rem; font-weight: 600; cursor: pointer; border: 1px solid transparent; transition: filter 0.2s, background 0.2s; }
.ck-btn:hover { filter: brightness(1.12); }
.ck-outline { background: transparent; color: var(--text); border-color: rgba(255, 255, 255, 0.45); }
.ck-grey { background: rgba(255, 255, 255, 0.14); color: var(--text); }
.ck-primary { background: var(--gold); color: #0a0a0a; }
.ck-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.7rem 0; border-top: 1px solid var(--line); }
.ck-row strong { display: block; font-size: 0.92rem; }
.ck-row small { display: block; color: var(--muted); font-size: 0.8rem; line-height: 1.4; }
.ck-row input { width: 20px; height: 20px; accent-color: var(--gold); flex: 0 0 auto; }
.cookie-prefs .cookie-actions { margin-top: 1rem; }
@media (max-width: 600px) { .cookie-banner { left: 0.75rem; right: 0.75rem; bottom: 0.75rem; width: auto; padding: 1.2rem; } .ck-btn { flex-basis: 100%; } }

/* ---------- Animaciones al hacer scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.1s; } .reveal-delay-2 { transition-delay: 0.2s; } .reveal-delay-3 { transition-delay: 0.3s; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid-3, .feature-list, .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-3 > :last-child:nth-child(odd), .sponsor-grid > :last-child:nth-child(odd) { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .intro-grid, .soundtrack-grid, .collab-grid, .story-grid, .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .marquee figure { width: 380px; }
}
@media (max-width: 860px) {
  .nav {
    /* absolute respecto a la cabecera fija: el backdrop-filter de la cabecera anula position:fixed en sus hijos */
    position: absolute; top: 100%; left: 0; right: 0; height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h));
    flex-direction: column; align-items: stretch; gap: 0;
    background: #060a16; padding: 1rem 4%;
    transform: translateX(100%); transition: transform 0.3s ease;
    overflow-y: auto;
  }
  .nav-open .nav { transform: none; }
  .nav a { padding: 1rem 0.5rem; font-size: 1.5rem; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
  .nav-toggle { display: flex; }
  .header-actions .btn { display: none; }
  #juego .intro-grid > div:first-child { text-align: center; }
  #juego .platforms, #juego .langs { justify-content: center; }
  .hero-content { text-align: center; margin: 0 auto; }
  .hero-logo { margin-left: auto; margin-right: auto; }
  .hero .btn-group { justify-content: center; }
  .hero-badges { justify-content: center; }
  .hero-bg { background-image: url("../img/hero-mobile.jpg?v=1788804335"); background-position: 62% top; }
  .hero::after { background: linear-gradient(180deg, rgba(4, 8, 22, 0.55) 0%, rgba(4, 8, 22, 0.75) 50%, var(--bg) 100%); }
  .community { background-attachment: scroll; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .grid-3, .grid-2, .feature-list, .gallery-grid, .stats, .footer-grid { grid-template-columns: 1fr; }
  .grid-3 > :last-child:nth-child(odd), .sponsor-grid > :last-child:nth-child(odd) { grid-column: auto; }
  .btn { width: 100%; justify-content: center; }
  .newsletter { flex-direction: column; }
  .marquee figure { width: 300px; }
  .hero-scroll { display: none; }
  .lightbox .lb-prev, .lightbox .lb-next { top: auto; bottom: 1.5rem; transform: none; }
  .brand img { height: 38px; }
  .footer-brand { text-align: center; }
  .footer-brand img { margin-left: auto; margin-right: auto; }
  .footer-brand p { margin-left: auto; margin-right: auto; }
  .footer-socials { justify-content: center; }
}

/* ---------- Textos siempre a la izquierda (los títulos conservan su alineación) ---------- */
p, .lead, .faq-body, .press-sub, .form-note, .cookie-banner p { text-align: left; }
.center .lead, .community .lead, .soundtrack .lead, .license-grid .lead, #juego .lead { margin-left: 0; margin-right: auto; }

/* ---------- Títulos también a la izquierda ---------- */
h1, h2, h3, h4, .center, .community, .press-card { text-align: left; }
.center .btn-group, .community .btn-group { justify-content: flex-start; }
.socials { justify-content: flex-start; }
.newsletter { margin-left: 0; }
.community .form-status { margin-left: 0 !important; }
.press-card { max-width: none; }
.press-media { align-items: flex-start; }
.press-quote { margin-left: 0; }
.video-frame { margin-left: 0; }
@media (max-width: 860px) { .hero-content { text-align: left; } .hero .btn-group, .hero-badges { justify-content: flex-start; } .hero-logo { margin-left: 0; } #juego .intro-grid > div:first-child { text-align: left; } #juego .platforms, #juego .langs { justify-content: flex-start; } .footer-brand { text-align: left; } .footer-brand img, .footer-brand p { margin-left: 0; } .footer-socials { justify-content: flex-start; } }

/* ---------- Pie centrado ---------- */
.site-footer, .site-footer h4, .site-footer p { text-align: center; }
.footer-grid { justify-items: center; }
.footer-brand img, .footer-brand p { margin-left: auto; margin-right: auto; }
.footer-socials { justify-content: center; }
.site-footer ul { justify-items: center; }

/* ---------- Etiquetas y plataformas centradas ---------- */
.hero-badges, .platforms, .langs { justify-content: center; }
@media (max-width: 860px) { .hero-badges, #juego .platforms, #juego .langs { justify-content: center; } }
