/* ============================================
   Qumifunfrontir — World Cup 2026 Match Hub
   qumifunfrontir.lol
   ============================================ */

:root {
  --bg-primary: #080808;
  --bg-secondary: #0f0f12;
  --surface: #16161a;
  --surface-alt: #222226;
  --accent: #ff6b00;
  --accent-2: #ffd600;
  --accent-3: #ff8800;
  --accent-alert: #ef4444;
  --border: rgba(255, 255, 255, 0.08);
  --text: #f5f5f7;
  --text-2: #d1d1d6;
  --muted: #8e8e93;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow: 0 12px 32px rgba(0, 0, 0, 0.7);
  --shadow-soft: 0 6px 18px rgba(0, 0, 0, 0.5);
  --max-w: 1440px;
  --space-section: 84px;
  --font-stack: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  font-family: var(--font-stack);
  background: var(--bg-primary);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { padding-left: 1.25rem; }
address { font-style: normal; }
button { font-family: inherit; cursor: pointer; }
input, textarea { font-family: inherit; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}
section { padding: var(--space-section) 0; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -0.015em; font-weight: 800; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.8rem); text-transform: none; }
h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); margin-bottom: 14px; }
h3 { font-size: 1.2rem; }
.eyebrow {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-sub { color: var(--text-2); max-width: 640px; margin-bottom: 40px; }
.grad-text {
  background: linear-gradient(92deg, var(--accent) 20%, var(--accent-2) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  text-align: center;
}
.btn-primary {
  background: linear-gradient(95deg, var(--accent), var(--accent-2));
  color: #000000;
  box-shadow: 0 4px 18px rgba(255, 107, 0, 0.28);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 26px rgba(255, 107, 0, 0.42); }
.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.btn-lg { padding: 15px 34px; font-size: 1rem; }
.btn-sm { padding: 9px 20px; font-size: 0.82rem; }
.btn-card {
  display: block;
  width: 100%;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  color: var(--accent);
  font-size: 0.85rem;
}
.btn-card:hover { background: rgba(255, 107, 0, 0.12); border-color: var(--accent); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(8, 8, 8, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}
.site-header.scrolled {
  background: rgba(8, 8, 8, 0.95);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.6);
}
.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
  height: 72px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.08rem; }
.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-3));
  color: #000000;
  font-weight: 900;
  font-size: 1.1rem;
}
.main-nav { display: flex; gap: 4px; margin-left: auto; }
.main-nav a {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-2);
  transition: color 0.18s ease, background 0.18s ease;
}
.main-nav a:hover { color: var(--accent); background: rgba(255, 107, 0, 0.08); }
.header-cta { white-space: nowrap; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  border-radius: 3px;
  background: var(--text);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 110px 0 96px;
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(640px 360px at 18% 8%, rgba(255, 107, 0, 0.12), transparent 65%),
    radial-gradient(560px 340px at 85% 22%, rgba(255, 214, 0, 0.08), transparent 65%);
  pointer-events: none;
}
.hero-inner { position: relative; max-width: 920px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.tag {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--border);
}
.tag-yellow { color: var(--accent-2); background: rgba(255, 214, 0, 0.1); border-color: rgba(255, 214, 0, 0.3); }
.tag-orange { color: var(--accent); background: rgba(255, 107, 0, 0.1); border-color: rgba(255, 107, 0, 0.3); }
.hero-sub { color: var(--text-2); font-size: 1.08rem; max-width: 700px; margin: 22px 0 34px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 56px; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.hero-stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 18px 20px;
  box-shadow: var(--shadow-soft);
}
.hero-stat-num { display: block; font-size: 2rem; font-weight: 900; color: var(--accent); line-height: 1; }
.hero-stat-label { font-size: 0.76rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }

/* ---------- About ---------- */
.about { background: var(--bg-primary); border-bottom: 1px solid var(--border); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}
.about-copy p { color: var(--text-2); }
.about-copy p + p { margin-top: 16px; }

/* ---------- Title Race ---------- */
.title-race { background: var(--bg-secondary); }
.race-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.race-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 18px 18px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.race-card:hover { transform: translateY(-4px); border-color: rgba(255, 107, 0, 0.4); }
.race-rank {
  position: absolute;
  top: 14px;
  right: 16px;
  font-size: 0.78rem;
  font-weight: 900;
  color: var(--accent-2);
}
.race-card h3 { font-size: 1.1rem; margin-bottom: 4px; }
.race-meta { font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.race-stats div { display: flex; justify-content: space-between; padding: 6px 0; border-top: 1px solid var(--border); }
.stat-label { font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.stat-val { font-weight: 800; font-size: 0.92rem; }
.stat-val.accent { color: var(--accent); }

/* ---------- Match Grid ---------- */
.matchups { background: var(--bg-primary); }
.match-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.match-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.match-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: rgba(255, 107, 0, 0.35);
}
.match-card-top { display: flex; justify-content: space-between; align-items: center; }
.match-group {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-2);
}
.edge-pill {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(255, 107, 0, 0.1);
  border: 1px solid rgba(255, 107, 0, 0.3);
  border-radius: 999px;
  padding: 4px 12px;
}
.match-title { font-size: 1.35rem; }
.match-compare {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--surface-alt);
  border-radius: 10px;
  padding: 14px 16px;
}
.mc-team { display: flex; flex-direction: column; }
.mc-team.right { text-align: right; }
.mc-name { font-weight: 800; font-size: 1rem; }
.mc-rank { font-size: 0.74rem; color: var(--muted); }
.mc-vs {
  font-size: 0.78rem;
  font-weight: 900;
  color: var(--accent-2);
  letter-spacing: 0.1em;
}
.mc-table { width: 100%; border-collapse: collapse; }
.mc-table tr { border-top: 1px solid var(--border); }
.mc-table td, .mc-table th { padding: 8px 4px; font-size: 0.9rem; }
.mc-table td { font-weight: 800; width: 32%; }
.mc-table td:first-child { text-align: left; color: var(--accent); }
.mc-table td:last-child { text-align: right; color: var(--text-2); }
.mc-table th {
  text-align: center;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.match-summary { color: var(--text-2); font-size: 0.92rem; flex-grow: 1; }

/* ---------- Expanded Previews ---------- */
.previews { background: var(--bg-secondary); }
.preview-list { display: flex; flex-direction: column; gap: 28px; }
.preview-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-soft);
}
.preview-head { display: flex; align-items: baseline; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.preview-head h3 { font-size: 1.5rem; }
.preview-group {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #000000;
  background: linear-gradient(95deg, var(--accent), var(--accent-2));
  border-radius: 6px;
  padding: 5px 12px;
}
.compare-module {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 20px;
  align-items: center;
  background: var(--surface-alt);
  border-radius: var(--radius);
  padding: 22px;
  margin-bottom: 22px;
}
.cm-team { text-align: center; }
.cm-team h4 { font-size: 1.25rem; margin-bottom: 2px; }
.cm-rank { font-size: 0.78rem; color: var(--muted); }
.cm-team.favored { position: relative; }
.favored-tag {
  display: inline-block;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-2);
  border: 1px solid rgba(255, 214, 0, 0.4);
  border-radius: 999px;
  padding: 3px 10px;
  margin-bottom: 8px;
}
.cm-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: center;
  padding: 8px 0;
}
.cm-row + .cm-row { border-top: 1px solid var(--border); }
.cm-row .cm-val { font-weight: 800; font-size: 0.95rem; }
.cm-row .cm-val:first-child { text-align: right; color: var(--accent); }
.cm-row .cm-val:last-child { text-align: left; color: var(--text-2); }
.cm-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
  min-width: 130px;
}
.preview-text p { color: var(--text-2); font-size: 0.96rem; }
.preview-text p + p { margin-top: 12px; }
.preview-text strong { color: var(--text); }

/* ---------- Group Snapshot ---------- */
.groups { background: var(--bg-primary); }
.group-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 18px;
}
.group-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.group-card:hover { transform: translateY(-4px); border-color: rgba(255, 107, 0, 0.4); }
.group-letter {
  position: absolute;
  top: 14px;
  right: 18px;
  font-size: 1.6rem;
  font-weight: 900;
  color: rgba(255, 107, 0, 0.35);
}
.group-card h3 { font-size: 1rem; margin-bottom: 14px; padding-right: 36px; }
.group-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--text-2);
}
.group-row strong { color: var(--accent); }
.group-fav {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-2);
}

/* ---------- Hosts ---------- */
.hosts { background: var(--bg-secondary); }
.host-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.host-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.host-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.host-flag-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 8px;
}
.host-card h3 { font-size: 1.5rem; margin-bottom: 16px; }
.host-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.host-stats > div {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-top: 1px solid var(--border);
}
.host-stats .wide { grid-column: 1 / -1; }

/* ---------- Guide ---------- */
.guide { background: var(--bg-primary); }
.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 28px;
}
.guide-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.guide-card:hover { border-color: rgba(255, 107, 0, 0.35); transform: translateY(-3px); }
.guide-card h3 { color: var(--accent-2); font-size: 1.02rem; margin-bottom: 8px; }
.guide-card p { color: var(--text-2); font-size: 0.9rem; }

/* ---------- CTA Band ---------- */
.cta-band {
  background: linear-gradient(120deg, rgba(255, 107, 0, 0.12), rgba(255, 214, 0, 0.08)), var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.cta-band p { color: var(--text-2); margin-bottom: 28px; }

/* ---------- FAQ ---------- */
.faq { background: var(--bg-primary); }
.faq-list { max-width: 860px; display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s ease;
}
.faq-item[open] { border-color: rgba(255, 107, 0, 0.35); }
.faq-item summary {
  padding: 18px 22px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 48px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--accent-2);
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item p { padding: 0 22px 20px; color: var(--text-2); font-size: 0.94rem; }

/* ---------- Contact ---------- */
.contact { background: var(--bg-secondary); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact-grid p { color: var(--text-2); margin-bottom: 20px; }
.contact-address {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 18px 22px;
  color: var(--text-2);
}
.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contact-form label {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 8px;
}
.contact-form input,
.contact-form textarea {
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--text);
  font-size: 0.95rem;
  transition: border-color 0.2s ease;
  resize: vertical;
}
.contact-form input:focus,
.contact-form textarea:focus { outline: none; border-color: var(--accent); }
.contact-form button { margin-top: 16px; border: none; }
.form-status { font-size: 0.88rem; color: var(--accent-2); min-height: 1.2em; margin: 0; }

/* ---------- Footer ---------- */
.site-footer {
  background: #020203;
  border-top: 1px solid var(--border);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-brand p { color: var(--text-2); font-size: 0.92rem; margin-top: 16px; max-width: 380px; }
.footer-note { font-size: 0.78rem !important; color: var(--muted) !important; }
.footer-col h4 {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.footer-col a {
  display: block;
  color: var(--text-2);
  font-size: 0.92rem;
  padding: 4px 0;
  transition: color 0.18s ease;
}
.footer-col a:hover { color: var(--accent); }
.footer-col address { color: var(--text-2); font-size: 0.92rem; line-height: 1.7; }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 22px 0;
  text-align: center;
}
.footer-bottom p { color: var(--muted); font-size: 0.84rem; }

/* ---------- Legal Pages ---------- */
.legal-page { padding: 72px 0 var(--space-section); }
.legal-page h1 { margin-bottom: 6px; }
.legal-updated { color: var(--accent-2); font-weight: 700; font-size: 0.9rem; margin-bottom: 40px; }
.legal-page section { padding: 0; margin-bottom: 34px; max-width: 860px; }
.legal-page h2 { font-size: 1.25rem; margin-bottom: 10px; color: var(--accent); }
.legal-page p, .legal-page li { color: var(--text-2); font-size: 0.96rem; }
.legal-page ul { margin: 10px 0 0; }
.legal-page li + li { margin-top: 8px; }
.legal-address {
  margin-top: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 16px 20px;
  color: var(--text-2);
}

/* ---------- Cookie Banner ---------- */
.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 500;
  display: flex;
  justify-content: center;
}
.cookie-banner[hidden] {
  display: none !important;
}
.cookie-inner {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 20px 26px;
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: 760px;
  width: 100%;
}
.cookie-inner p { color: var(--text-2); font-size: 0.9rem; flex: 1; }
.cookie-inner a { color: var(--accent); text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }

/* ---------- Reveal Animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================
   Breakpoints
   ============================================ */

@media (max-width: 1200px) {
  .race-strip { grid-template-columns: repeat(3, 1fr); }
  .host-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-grid .footer-col:last-child { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  :root { --space-section: 56px; }
  .container, .header-inner { padding: 0 22px; }
  .main-nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(8, 8, 8, 0.98);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 16px 22px 24px;
    display: none;
    margin-left: 0;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 8px; font-size: 1rem; }
  .nav-toggle { display: flex; }
  .header-cta { display: none; }
  .hero { padding: 72px 0 64px; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .match-grid { grid-template-columns: 1fr; }
  .race-strip { grid-template-columns: repeat(2, 1fr); }
  .host-grid { grid-template-columns: 1fr; }
  .guide-grid { grid-template-columns: repeat(2, 1fr); }
  .compare-module { grid-template-columns: 1fr; gap: 14px; }
  .cm-team { text-align: left; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid .footer-brand { grid-column: 1 / -1; }
  .cookie-inner { flex-direction: column; align-items: stretch; text-align: center; }
  .cookie-actions { justify-content: center; }
  .preview-block { padding: 24px; }
}

@media (max-width: 480px) {
  :root { --space-section: 32px; }
  .container, .header-inner { padding: 0 16px; }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .hero-stat { padding: 14px; }
  .hero-ctas .btn { width: 100%; }
  .race-strip { grid-template-columns: 1fr; }
  .guide-grid { grid-template-columns: 1fr; }
  .group-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .preview-head h3 { font-size: 1.25rem; }
  .match-card { padding: 20px; }
  .cm-label { min-width: 100px; }
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; }
}