/* ============================================
   SOLARIQNOW — World Cup 2026 Match Hub
   CYBER EDITION — Yellow / Red Neon Theme
   ============================================ */

:root {
  --bg-primary: #0a0a0c;
  --bg-secondary: #101014;
  --surface: #15151b;
  --surface-alt: #1d1d25;
  --accent: #ffd60a;        /* cyber yellow */
  --accent-2: #ffe75e;
  --accent-3: #ff2d3a;      /* cyber red */
  --accent-alert: #ff2d3a;
  --border: rgba(255, 214, 10, 0.14);
  --border-red: rgba(255, 45, 58, 0.35);
  --text-primary: #f8f8f5;
  --text-secondary: #c9c9c2;
  --muted: #8c8c85;
  --max-width: 1440px;
  --radius: 4px;
  --shadow: 0 14px 40px rgba(0, 0, 0, 0.6);
  --glow-yellow: 0 0 12px rgba(255, 214, 10, 0.35), 0 0 32px rgba(255, 214, 10, 0.12);
  --glow-red: 0 0 12px rgba(255, 45, 58, 0.4), 0 0 32px rgba(255, 45, 58, 0.15);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.012) 0px, rgba(255, 255, 255, 0.012) 1px, transparent 1px, transparent 4px),
    var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* Cyber grid overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255, 214, 10, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 214, 10, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
}
main, .site-header, .site-footer, .cookie-banner { position: relative; z-index: 1; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
address { font-style: normal; }

/* ---------- Keyframes ---------- */
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }
@keyframes flicker {
  0%, 100% { opacity: 1; }
  92% { opacity: 1; }
  93% { opacity: 0.55; }
  94% { opacity: 1; }
  96% { opacity: 0.7; }
  97% { opacity: 1; }
}
@keyframes glitchShift {
  0%, 88%, 100% { text-shadow: 0 0 14px rgba(255, 214, 10, 0.35); transform: translate(0, 0); }
  89% { text-shadow: -3px 0 var(--accent-3), 3px 0 rgba(255, 214, 10, 0.8); transform: translate(1px, -1px); }
  91% { text-shadow: 3px 0 var(--accent-3), -3px 0 rgba(255, 214, 10, 0.8); transform: translate(-1px, 1px); }
  93% { text-shadow: 0 0 14px rgba(255, 214, 10, 0.35); transform: translate(0, 0); }
}
@keyframes scanline {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100vh); }
}
@keyframes borderRun {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes barGrow {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}
@keyframes floatBoard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Moving scanline beam */
body::after {
  content: "";
  position: fixed;
  left: 0; right: 0;
  height: 110px;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(255, 214, 10, 0.025), transparent);
  animation: scanline 9s linear infinite;
}

/* ---------- Layout ---------- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}
.container-narrow { max-width: 880px; }
.section { padding: 84px 0; }
.section-alt {
  background:
    linear-gradient(180deg, rgba(255, 45, 58, 0.03), transparent 40%),
    var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head { margin-bottom: 48px; max-width: 760px; }
.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  border-left: 3px solid var(--accent-3);
  padding-left: 10px;
  margin-bottom: 14px;
  font-family: "Consolas", "Courier New", monospace;
}
.eyebrow::before { content: ">_ "; color: var(--accent-3); }
h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.15;
  text-shadow: 0 0 18px rgba(255, 214, 10, 0.15);
}
.section-sub { color: var(--text-secondary); margin-top: 14px; font-size: 1.02rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 12, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.site-header::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), var(--accent-3), transparent);
  background-size: 200% 100%;
  animation: borderRun 5s linear infinite;
  opacity: 0.7;
}
.site-header.scrolled {
  background: rgba(10, 10, 12, 0.96);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.55), 0 1px 0 rgba(255, 214, 10, 0.12);
}
.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  color: var(--text-primary);
  font-family: "Consolas", "Courier New", monospace;
  animation: flicker 6s infinite;
}
.brand span { color: var(--accent); text-shadow: 0 0 10px rgba(255, 214, 10, 0.5); }
.main-nav { display: flex; align-items: center; gap: 26px; }
.main-nav a {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  position: relative;
  padding: 6px 0;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}
.main-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--accent-3);
  box-shadow: 0 0 8px rgba(255, 45, 58, 0.7);
  transition: width 0.25s ease;
}
.main-nav a:not(.btn):hover { color: var(--accent); text-shadow: 0 0 10px rgba(255, 214, 10, 0.4); }
.main-nav a:not(.btn):hover::after { width: 100%; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.hamburger span {
  width: 26px; height: 3px;
  background: var(--accent);
  box-shadow: 0 0 6px rgba(255, 214, 10, 0.5);
  border-radius: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.85rem;
  padding: 14px 28px;
  border-radius: 0;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  position: relative;
}
.btn-primary {
  background: var(--accent);
  color: #0a0a0c;
  box-shadow: var(--glow-yellow);
}
.btn-primary:hover {
  background: var(--accent-2);
  transform: translateY(-2px);
  box-shadow: 0 0 18px rgba(255, 214, 10, 0.55), 0 0 48px rgba(255, 214, 10, 0.2);
}
.btn-ghost {
  border: 2px solid var(--accent-3);
  color: var(--text-primary);
  box-shadow: inset 0 0 12px rgba(255, 45, 58, 0.12);
}
.btn-ghost:hover {
  background: var(--accent-3);
  color: #0a0a0c;
  transform: translateY(-2px);
  box-shadow: var(--glow-red);
}
.btn-nav {
  background: var(--accent-3);
  color: #fff !important;
  padding: 10px 18px;
  font-size: 0.78rem;
  box-shadow: var(--glow-red);
}
.btn-nav:hover { background: var(--accent); color: #0a0a0c !important; transform: translateY(-1px); box-shadow: var(--glow-yellow); }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(ellipse at 80% -10%, rgba(255, 214, 10, 0.1), transparent 55%),
    radial-gradient(ellipse at 10% 110%, rgba(255, 45, 58, 0.1), transparent 50%),
    var(--bg-primary);
  padding: 110px 0 96px;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 214, 10, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 214, 10, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 70% 30%, black, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, black, transparent 70%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
}
.hero-kicker {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--accent-3);
  margin-bottom: 18px;
  font-family: "Consolas", "Courier New", monospace;
}
.hero-kicker::after {
  content: "█";
  margin-left: 6px;
  color: var(--accent);
  animation: blink 1s step-end infinite;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  line-height: 1.08;
  animation: glitchShift 7s infinite;
}
.hero h1 .hl {
  color: var(--accent);
  text-shadow: 0 0 18px rgba(255, 214, 10, 0.55);
}
.hero-sub { color: var(--text-secondary); margin-top: 22px; font-size: 1.08rem; max-width: 580px; }
.hero-cta { display: flex; gap: 16px; margin-top: 36px; flex-wrap: wrap; }

.hero-board {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 22px 100%, 0 calc(100% - 22px));
  box-shadow: var(--shadow), inset 0 0 40px rgba(255, 214, 10, 0.03);
  overflow: hidden;
  animation: floatBoard 6s ease-in-out infinite;
}
.board-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
  color: var(--text-secondary);
}
.board-row:last-child { border-bottom: none; }
.board-row strong { color: var(--text-primary); font-size: 1.1rem; }
.board-row strong.acc { color: var(--accent); text-shadow: 0 0 10px rgba(255, 214, 10, 0.4); }
.board-head {
  background: var(--surface-alt);
  font-weight: 900;
  letter-spacing: 0.2em;
  font-size: 0.78rem;
  color: var(--text-primary);
  font-family: "Consolas", "Courier New", monospace;
}
.live-dot { color: var(--accent-3); font-weight: 800; }
.live-dot::before {
  content: "";
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent-3);
  box-shadow: 0 0 8px rgba(255, 45, 58, 0.8);
  margin-right: 8px;
  animation: pulse 1.6s infinite;
}

/* ---------- Title Race ---------- */
.title-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}
.title-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%);
  padding: 22px 18px;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.title-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--glow-yellow);
  border-left-color: var(--accent-3);
}
.rank-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 900;
  background: var(--surface-alt);
  color: var(--accent);
  border: 1px solid var(--border);
  padding: 3px 9px;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
  font-family: "Consolas", "Courier New", monospace;
}
.title-card h3 { font-size: 1.15rem; font-weight: 900; text-transform: uppercase; }
.meta-line { font-size: 0.8rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; margin-top: 2px; }
.title-stats { display: flex; gap: 18px; margin-top: 14px; }
.title-stats div { display: flex; flex-direction: column; }
.title-stats span { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); }
.title-stats strong { font-size: 1rem; color: var(--text-primary); }

/* ---------- Match Cards ---------- */
.match-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}
.match-card {
  background: var(--surface);
  border: 1px solid var(--border);
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
  padding: 28px;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.4);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
  overflow: hidden;
}
.match-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-3), var(--accent));
  background-size: 200% 100%;
  animation: borderRun 3s linear infinite;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.match-card::after {
  content: "";
  position: absolute;
  top: -60%; left: -60%;
  width: 50%; height: 220%;
  background: linear-gradient(105deg, transparent, rgba(255, 214, 10, 0.07), transparent);
  transform: rotate(8deg) translateX(-200%);
  transition: transform 0.7s ease;
  pointer-events: none;
}
.match-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--glow-yellow);
  border-color: rgba(255, 214, 10, 0.4);
}
.match-card:hover::before { opacity: 1; }
.match-card:hover::after { transform: rotate(8deg) translateX(520%); }

.match-card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.group-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: var(--surface-alt);
  color: var(--accent);
  border: 1px solid var(--border);
  padding: 5px 12px;
  font-family: "Consolas", "Courier New", monospace;
}
.edge-tag {
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-3);
  border: 1px solid var(--border-red);
  box-shadow: inset 0 0 10px rgba(255, 45, 58, 0.1);
  padding: 4px 11px;
}
.match-card h3 { font-size: 1.4rem; font-weight: 900; text-transform: uppercase; margin-bottom: 18px; letter-spacing: 0.01em; }

.mc-row {
  display: grid;
  grid-template-columns: 1.6fr 0.7fr 0.9fr 0.8fr 0.8fr;
  gap: 8px;
  padding: 10px 12px;
  font-size: 0.9rem;
  align-items: center;
}
.mc-row:nth-of-type(2) { background: var(--surface-alt); border-left: 2px solid var(--accent); }
.mc-row:nth-of-type(3) { background: rgba(255, 255, 255, 0.03); border-left: 2px solid var(--accent-3); }
.mc-head {
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  font-weight: 800;
  padding-bottom: 6px;
  font-family: "Consolas", "Courier New", monospace;
}
.mc-team { font-weight: 800; }
.mc-team.fav { color: var(--accent); text-shadow: 0 0 10px rgba(255, 214, 10, 0.3); }
.mc-summary { color: var(--text-secondary); font-size: 0.93rem; margin: 16px 0; }
.mc-link {
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  transition: color 0.2s ease, letter-spacing 0.2s ease, text-shadow 0.2s ease;
}
.mc-link:hover { color: var(--accent-3); letter-spacing: 0.14em; text-shadow: 0 0 10px rgba(255, 45, 58, 0.5); }

/* ---------- Expanded Previews ---------- */
.preview-block {
  background: var(--surface);
  border: 1px solid var(--border);
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 24px 100%, 0 calc(100% - 24px));
  padding: 36px;
  margin-bottom: 28px;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.4);
  scroll-margin-top: 96px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.preview-block:hover { border-color: rgba(255, 214, 10, 0.3); box-shadow: 0 8px 26px rgba(0, 0, 0, 0.4), var(--glow-yellow); }
.pb-head { display: flex; align-items: center; gap: 16px; margin-bottom: 26px; flex-wrap: wrap; }
.pb-head h3 { font-size: 1.55rem; font-weight: 900; text-transform: uppercase; }

.compare {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 22px;
  align-items: stretch;
  margin-bottom: 24px;
}
.compare-team {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
  padding: 24px;
  position: relative;
  transition: box-shadow 0.25s ease;
}
.compare-team.fav-side {
  border-color: rgba(255, 214, 10, 0.5);
  box-shadow: inset 0 0 0 1px rgba(255, 214, 10, 0.25), inset 0 0 30px rgba(255, 214, 10, 0.05);
}
.fav-marker {
  position: absolute;
  top: 0; left: 0;
  background: var(--accent);
  color: #0a0a0c;
  font-size: 0.64rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 4px 12px;
  box-shadow: 0 0 12px rgba(255, 214, 10, 0.4);
}
.compare-team h4 { font-size: 1.2rem; font-weight: 900; text-transform: uppercase; margin-top: 10px; }
.rank-line { font-size: 0.78rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.12em; margin: 4px 0 14px; font-family: "Consolas", "Courier New", monospace; }
.compare-team ul li {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
}
.compare-team ul li:last-child { border-bottom: none; }
.compare-team ul li span { color: var(--muted); text-transform: uppercase; font-size: 0.72rem; letter-spacing: 0.1em; align-self: center; }
.compare-team ul li strong { color: var(--text-primary); font-size: 1rem; }
.compare-vs {
  align-self: center;
  font-weight: 900;
  font-size: 1.1rem;
  color: var(--accent-3);
  letter-spacing: 0.14em;
  padding: 12px;
  text-shadow: 0 0 12px rgba(255, 45, 58, 0.6);
  animation: pulse 2.4s ease-in-out infinite;
  font-family: "Consolas", "Courier New", monospace;
}
.pb-text p { color: var(--text-secondary); font-size: 0.97rem; margin-bottom: 12px; }
.pb-text p:last-child { margin-bottom: 0; }
.pb-text strong { color: var(--accent); }

/* ---------- Group Race ---------- */
.group-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.group-card {
  background: var(--surface);
  border: 1px solid var(--border);
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%);
  padding: 26px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.group-card:hover { transform: translateY(-4px); box-shadow: var(--glow-yellow); border-color: rgba(255, 214, 10, 0.35); }
.group-card h3 { font-size: 1.1rem; font-weight: 900; text-transform: uppercase; margin: 12px 0 18px; }
.bar-row {
  display: grid;
  grid-template-columns: 110px 1fr 64px;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
  font-size: 0.88rem;
}
.bar-row span { color: var(--text-secondary); font-weight: 700; }
.bar-row strong { text-align: right; color: var(--text-primary); font-family: "Consolas", "Courier New", monospace; }
.bar {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  height: 12px;
  overflow: hidden;
  clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 100%, 0 100%);
}
.bar-fill {
  height: 100%;
  background: repeating-linear-gradient(-45deg, var(--accent), var(--accent) 8px, var(--accent-2) 8px, var(--accent-2) 16px);
  box-shadow: 0 0 10px rgba(255, 214, 10, 0.4);
  transform-origin: left center;
}
.bar-fill.alt {
  background: repeating-linear-gradient(-45deg, var(--accent-3), var(--accent-3) 8px, #c8101f 8px, #c8101f 16px);
  box-shadow: 0 0 10px rgba(255, 45, 58, 0.4);
}
.reveal.visible .bar-fill { animation: barGrow 1s cubic-bezier(0.22, 1, 0.36, 1) both; }
.group-fav { margin-top: 14px; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.group-fav strong { color: var(--accent); text-shadow: 0 0 8px rgba(255, 214, 10, 0.35); }

/* ---------- Hosts ---------- */
.host-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.host-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-bottom: 4px solid var(--accent-3);
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 0 100%);
  padding: 32px 28px;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.host-card:hover { transform: translateY(-6px); box-shadow: var(--glow-red); border-color: var(--border-red); }
.host-flag { font-size: 2.6rem; display: block; margin-bottom: 12px; filter: drop-shadow(0 0 10px rgba(255, 214, 10, 0.25)); }
.host-card h3 { font-size: 1.4rem; font-weight: 900; text-transform: uppercase; }
.host-stats { margin-top: 20px; text-align: left; }
.host-stats li {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
}
.host-stats li:last-child { border-bottom: none; }
.host-stats span { color: var(--muted); text-transform: uppercase; font-size: 0.72rem; letter-spacing: 0.1em; align-self: center; }
.host-stats strong { font-size: 1.05rem; }

/* ---------- Guide ---------- */
.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.guide-card {
  background: var(--surface);
  border: 1px solid var(--border);
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%);
  padding: 28px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.guide-card:hover { transform: translateY(-4px); border-color: rgba(255, 214, 10, 0.4); box-shadow: var(--glow-yellow); }
.guide-num {
  font-size: 0.85rem;
  font-weight: 900;
  color: var(--accent-3);
  letter-spacing: 0.22em;
  font-family: "Consolas", "Courier New", monospace;
  text-shadow: 0 0 8px rgba(255, 45, 58, 0.4);
}
.guide-card h3 { font-size: 1.05rem; font-weight: 900; text-transform: uppercase; margin: 10px 0 10px; }
.guide-card p { color: var(--text-secondary); font-size: 0.93rem; }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.faq-item[open] { border-left-color: var(--accent-3); box-shadow: inset 0 0 24px rgba(255, 214, 10, 0.03); }
.faq-item summary {
  cursor: pointer;
  padding: 20px 24px;
  font-weight: 800;
  font-size: 1rem;
  list-style: none;
  position: relative;
  transition: color 0.2s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent);
  font-size: 1.4rem;
  font-weight: 900;
  text-shadow: 0 0 8px rgba(255, 214, 10, 0.45);
  transition: transform 0.25s ease;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); color: var(--accent-3); text-shadow: 0 0 8px rgba(255, 45, 58, 0.5); }
.faq-item summary:hover { color: var(--accent); }
.faq-item p { padding: 0 24px 20px; color: var(--text-secondary); font-size: 0.95rem; }

.legal-note {
  margin-top: 40px;
  padding: 18px 24px;
  background: var(--surface);
  border: 1px dashed var(--border);
  color: var(--muted);
  font-size: 0.85rem;
  text-align: center;
}
.legal-note a { color: var(--accent); }
.legal-note a:hover { color: var(--accent-3); }

/* ---------- Legal Pages ---------- */
.legal-page { min-height: 60vh; }
.legal-content h3 {
  font-size: 1.1rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--accent);
  margin: 34px 0 12px;
}
.legal-content h3:first-child { margin-top: 0; }
.legal-content p {
  color: var(--text-secondary);
  font-size: 0.97rem;
  margin-bottom: 12px;
}
.legal-content a { color: var(--accent); }
.legal-content a:hover { color: var(--accent-3); }
.legal-list {
  list-style: disc;
  padding-left: 22px;
  color: var(--text-secondary);
  font-size: 0.97rem;
  margin-bottom: 12px;
}
.legal-list li { margin-bottom: 8px; }
.legal-list strong { color: var(--text-primary); }
.legal-address {
  margin-top: 6px;
  padding: 18px 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  color: var(--text-secondary);
  font-size: 0.95rem;
}
.legal-address strong { color: var(--text-primary); }

.cookie-table-wrap { overflow-x: auto; margin: 14px 0 18px; }
.cookie-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
}
.cookie-table th, .cookie-table td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
  vertical-align: top;
}
.cookie-table th {
  background: var(--surface-alt);
  color: var(--accent);
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  font-family: "Consolas", "Courier New", monospace;
}
.cookie-table tr:last-child td { border-bottom: none; }

/* ---------- Cookie Consent Banner ---------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 200;
  background: rgba(16, 16, 20, 0.98);
  border-top: 2px solid var(--accent);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.6), 0 -1px 18px rgba(255, 214, 10, 0.15);
  transform: translateY(110%);
  transition: transform 0.4s ease;
}
.cookie-banner.show { transform: translateY(0); }
.cookie-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 20px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.cookie-text {
  color: var(--text-secondary);
  font-size: 0.92rem;
  max-width: 720px;
}
.cookie-text strong { color: var(--accent); }
.cookie-text a { color: var(--accent); text-decoration: underline; }
.cookie-text a:hover { color: var(--accent-3); }
.cookie-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-cookie {
  padding: 11px 22px;
  font-size: 0.78rem;
  cursor: pointer;
  font-family: inherit;
  border: none;
}
.btn-cookie.btn-ghost { border: 2px solid var(--accent-3); background: transparent; }

/* ---------- Footer ---------- */
.site-footer {
  background: #060608;
  border-top: 2px solid var(--accent);
  box-shadow: 0 -1px 24px rgba(255, 214, 10, 0.1);
  padding-top: 64px;
  position: relative;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: -2px; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-3), var(--accent));
  background-size: 200% 100%;
  animation: borderRun 6s linear infinite;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.7fr 0.7fr 1.2fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer-brand .brand { font-size: 1.3rem; }
.footer-desc { color: var(--text-secondary); margin-top: 14px; font-size: 0.95rem; max-width: 360px; }
.footer-nav { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  transition: color 0.2s ease, padding-left 0.2s ease, text-shadow 0.2s ease;
}
.footer-nav a:hover { color: var(--accent); padding-left: 6px; text-shadow: 0 0 8px rgba(255, 214, 10, 0.35); }
.footer-note { color: var(--muted); font-size: 0.82rem; }
.footer-address {
  margin-top: 18px;
  padding: 14px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent-3);
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.7;
}
.footer-address strong { color: var(--text-primary); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 22px 32px;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
}
.footer-bottom a { color: var(--text-secondary); }
.footer-bottom a:hover { color: var(--accent); }

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px) scale(0.99);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1), transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0) scale(1); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  body::after { display: none; }
}

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

@media (max-width: 1200px) {
  .title-strip { grid-template-columns: repeat(3, 1fr); }
  .hero-grid { gap: 44px; }
  .guide-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .container { padding: 0 24px; }
  .hero { padding: 72px 0 64px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .title-strip { grid-template-columns: repeat(2, 1fr); }
  .match-grid, .group-grid { grid-template-columns: 1fr; }
  .host-grid { grid-template-columns: 1fr; }
  .compare { grid-template-columns: 1fr; }
  .compare-vs { text-align: center; padding: 4px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }

  .hamburger { display: flex; }
  .main-nav {
    position: fixed;
    top: 72px;
    left: 0; right: 0;
    background: rgba(10, 10, 12, 0.98);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 32px 32px;
    gap: 18px;
    transform: translateY(-130%);
    transition: transform 0.3s ease;
    z-index: 99;
  }
  .main-nav.open { transform: translateY(0); }
  .guide-grid { grid-template-columns: 1fr; }
  .preview-block { padding: 26px 22px; }

  .cookie-inner { flex-direction: column; align-items: flex-start; gap: 16px; padding: 18px 24px; }
  .cookie-actions { width: 100%; }
  .btn-cookie { flex: 1; text-align: center; }
  .legal-content h3 { font-size: 1rem; }
}

@media (max-width: 480px) {
  .section { padding: 32px 0; }
  .container { padding: 0 18px; }
  .hero { padding: 52px 0 48px; }
  .hero-cta .btn { width: 100%; text-align: center; }
  .title-strip { grid-template-columns: 1fr; }
  .mc-row { grid-template-columns: 1.4fr 0.6fr 0.85fr 0.7fr 0.7fr; font-size: 0.78rem; padding: 8px 8px; }
  .match-card { padding: 20px 16px; }
  .match-card h3 { font-size: 1.15rem; }
  .pb-head h3 { font-size: 1.2rem; }
  .bar-row { grid-template-columns: 84px 1fr 56px; font-size: 0.8rem; }
  .board-row { padding: 14px 16px; font-size: 0.88rem; }
  .edge-tag { font-size: 0.62rem; }
  .cookie-table th, .cookie-table td { padding: 10px 12px; font-size: 0.8rem; }
  .cookie-actions { flex-direction: column; }
  .btn-cookie { width: 100%; }
}