/* MATCHDAY EMPIRE — landing. Sin dependencias ni peticiones a terceros. */

@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/oswald-var-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/oswald-var-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/inter-var-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/inter-var-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg: #0b1a12;
  --bg-2: #0f2218;
  --card: #12281c;
  --line: #1c3527;
  --text: #e8f5ec;
  --muted: #9db8a8;
  --dim: #6f8f7d;
  --accent: #3ddc84;
  --gold: #f5c518;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.wrap { width: min(1120px, 100% - 3rem); margin-inline: auto; }

h1, h2, h3 { font-family: Oswald, Inter, sans-serif; line-height: 1.1; margin: 0; letter-spacing: 0.01em; }
h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); text-transform: uppercase; }
h3 { font-size: 1.3rem; text-transform: uppercase; }
.eyebrow { font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.lead { color: var(--muted); font-size: 1.1rem; max-width: 46rem; }

/* Cabecera */
.top { position: absolute; inset: 0 0 auto 0; z-index: 2; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; padding-block: 1.25rem; }
.brand { font-family: Oswald, sans-serif; font-weight: 700; font-size: 1.25rem; letter-spacing: 0.04em; color: var(--text); text-decoration: none; }
.brand span { color: var(--accent); }
.top nav { display: flex; gap: 1.4rem; align-items: center; font-size: 0.92rem; }
.top nav a { color: var(--text); text-decoration: none; opacity: 0.85; }
.top nav a:hover { opacity: 1; color: var(--accent); }
.lang { border: 1px solid rgba(232, 245, 236, 0.35); border-radius: 999px; padding: 0.2rem 0.75rem; }

/* Portada */
.hero { position: relative; min-height: min(92vh, 780px); display: flex; align-items: flex-end; isolation: isolate; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(11, 26, 18, 0.55) 0%, rgba(11, 26, 18, 0.25) 35%, rgba(11, 26, 18, 0.92) 82%, var(--bg) 100%);
}
.hero .wrap { padding-block: 7rem 4rem; }
.hero h1 { font-size: clamp(3rem, 9vw, 6.5rem); text-transform: uppercase; letter-spacing: -0.01em; }
.hero h1 span { color: var(--accent); }
.hero p.lead { color: var(--text); opacity: 0.9; margin: 1.1rem 0 2rem; font-size: clamp(1.05rem, 2vw, 1.3rem); }

/* Tiendas */
.stores { display: flex; flex-wrap: wrap; gap: 0.75rem; list-style: none; padding: 0; margin: 0; }
.stores li {
  display: flex; flex-direction: column; gap: 0.1rem;
  min-width: 10.5rem; padding: 0.7rem 1.1rem;
  background: rgba(11, 26, 18, 0.72); border: 1px solid rgba(232, 245, 236, 0.22); border-radius: 10px;
  backdrop-filter: blur(6px);
}
.stores strong { font-family: Oswald, sans-serif; font-size: 1.1rem; letter-spacing: 0.03em; }
.stores small { color: var(--gold); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; }
.stores li.live { padding: 0; border-color: var(--gold); }
.stores li.live a { display: flex; flex-direction: column; gap: 0.1rem; padding: 0.7rem 1.1rem; color: inherit; text-decoration: none; }
.stores li.live a:hover strong, .stores li.live a:focus-visible strong { text-decoration: underline; }
.platforms { margin-top: 1rem; color: var(--muted); font-size: 0.9rem; }

section { padding-block: 5rem; }
section + section { border-top: 1px solid var(--line); }
.head { margin-bottom: 2.5rem; }
.head h2 { margin: 0.5rem 0 1rem; }

/* Rejilla de características */
.grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 1.5rem; }
.card h3 { color: var(--accent); margin-bottom: 0.6rem; }
.card p { margin: 0; color: var(--muted); font-size: 0.97rem; }

/* Bloque a dos columnas */
.split { display: grid; gap: 3rem; align-items: center; grid-template-columns: 1fr; }
@media (min-width: 880px) { .split { grid-template-columns: 1.05fr 1fr; } }
.split img { border-radius: 14px; border: 1px solid var(--line); aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.ticks { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 0.7rem; }
.ticks li { padding-left: 1.7rem; position: relative; color: var(--muted); }
.ticks li::before { content: ''; position: absolute; left: 0; top: 0.55em; width: 0.7rem; height: 0.7rem; border-radius: 50%; border: 2px solid var(--accent); }
.ticks strong { color: var(--text); }

/* Cifras */
.stats { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); margin-top: 2.5rem; }
.stats div { border-left: 3px solid var(--accent); padding-left: 1rem; }
.stats b { display: block; font-family: Oswald, sans-serif; font-size: 2.4rem; line-height: 1; }
.stats span { color: var(--muted); font-size: 0.88rem; }

.band { background: var(--bg-2); }
.note { color: var(--dim); font-size: 0.88rem; max-width: 50rem; }

/* Pie */
footer { border-top: 1px solid var(--line); padding-block: 2.5rem; color: var(--dim); font-size: 0.88rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; }
footer a { color: var(--muted); }
footer p { margin: 0 0 0.4rem; max-width: 44rem; }

/* Páginas de texto */
.doc { padding-block: 7rem 4rem; max-width: 46rem; }
.doc h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); text-transform: uppercase; margin-bottom: 0.5rem; }
.doc h2 { font-size: 1.5rem; margin: 2.5rem 0 0.8rem; color: var(--accent); }
.doc p, .doc li { color: var(--muted); }
.doc strong { color: var(--text); }
.top.solid { position: static; border-bottom: 1px solid var(--line); }

@media (max-width: 640px) {
  .top nav a:not(.lang) { display: none; }
  section { padding-block: 3.5rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
