:root {
  --green: #1b5e20;
  --green-light: #2e7d32;
  --gold: #fdd835;
  --red: #c62828;
  --dark: #0d1117;
  --card-bg: #161b22;
  --text: #e6edf3;
  --muted: #8b949e;
  --accent: #58a6ff;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: 'Source Sans 3', system-ui, sans-serif;
  background: var(--dark);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: 'Oswald', sans-serif; text-transform: uppercase; letter-spacing: 0.02em; }

/* ─── REVEAL ANIMATIONS ─── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.from-left { transform: translateX(-60px); }
.reveal.from-right { transform: translateX(60px); }
.reveal.from-scale { transform: scale(0.85); }
.reveal.visible {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
  background: linear-gradient(135deg, var(--dark) 0%, #112211 50%, var(--dark) 100%);
  position: relative;
  overflow: hidden;
}

/* Animated pitch lines */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(90deg, transparent, transparent 79px, rgba(255,255,255,0.02) 79px, rgba(255,255,255,0.02) 80px),
    repeating-linear-gradient(0deg, transparent, transparent 79px, rgba(255,255,255,0.02) 79px, rgba(255,255,255,0.02) 80px);
  animation: pitchDrift 20s linear infinite;
  pointer-events: none;
}

@keyframes pitchDrift {
  0% { transform: translate(0, 0); }
  100% { transform: translate(80px, 80px); }
}

/* Floating particles */
.particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0;
  animation: particleFloat linear infinite;
}
@keyframes particleFloat {
  0% { opacity: 0; transform: translateY(100vh) scale(0); }
  10% { opacity: 0.6; }
  90% { opacity: 0.6; }
  100% { opacity: 0; transform: translateY(-10vh) scale(1); }
}

.hero h1 {
  font-size: clamp(3rem, 10vw, 8rem);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.3em;
  background: linear-gradient(180deg, #fff 30%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  z-index: 1;
  animation: heroIn 1s cubic-bezier(0.22, 1, 0.36, 1) both, glitch 0.6s steps(1) 1s both;
}

@keyframes heroIn {
  from { opacity: 0; transform: translateY(30px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes glitch {
  0% { clip-path: inset(40% 0 61% 0); text-shadow: -2px 0 #ff0040, 2px 0 #0ff; }
  10% { clip-path: inset(92% 0 1% 0); text-shadow: 2px 0 #ff0040, -2px 0 #0ff; }
  20% { clip-path: inset(43% 0 1% 0); text-shadow: -1px 0 #ff0040, 1px 0 #0ff; }
  30% { clip-path: inset(25% 0 58% 0); text-shadow: 2px 0 #ff0040, -2px 0 #0ff; }
  40% { clip-path: inset(54% 0 7% 0); text-shadow: -2px 0 #ff0040, 2px 0 #0ff; }
  50% { clip-path: inset(58% 0 43% 0); text-shadow: 1px 0 #ff0040, -1px 0 #0ff; }
  60% { clip-path: inset(70% 0 7% 0); text-shadow: -1px 0 #ff0040, 1px 0 #0ff; }
  70% { clip-path: inset(20% 0 61% 0); text-shadow: 2px 0 #ff0040, -2px 0 #0ff; }
  80% { clip-path: inset(75% 0 1% 0); text-shadow: -2px 0 #ff0040, 2px 0 #0ff; }
  90% { clip-path: inset(10% 0 85% 0); text-shadow: 1px 0 #ff0040, -1px 0 #0ff; }
  100% { clip-path: inset(0 0 0 0); text-shadow: none; }
}

.hero .subtitle {
  font-size: clamp(1.1rem, 3vw, 1.6rem);
  color: var(--muted);
  max-width: 700px;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
  animation: heroIn 1s 0.3s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* Hero scoreline: 90:00 struck through, 55:00 real */
.scoreline {
  position: relative;
  z-index: 1;
  margin: 1.5rem 0 2rem;
  animation: heroIn 1s 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.scoreline .scoreline-was {
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(1.4rem, 3.5vw, 2.2rem);
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.05em;
  position: relative;
  display: inline-block;
}

.scoreline .scoreline-was::after {
  content: '';
  position: absolute;
  left: -8%;
  right: -8%;
  top: 50%;
  height: 0.09em;
  min-height: 3px;
  background: var(--red);
  transform: rotate(-4deg);
}

.scoreline .scoreline-real {
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(2.8rem, 8vw, 5rem);
  font-weight: 700;
  color: var(--gold);
  text-shadow: 0 0 30px rgba(253, 216, 53, 0.35);
  letter-spacing: 0.05em;
  line-height: 1.1;
}

.scoreline .scoreline-label {
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  font-size: 0.95rem;
  letter-spacing: 0.15em;
  color: var(--text);
  margin-top: 0.4rem;
}

.scoreline .scoreline-sub {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 0.3rem;
}

.hero .scroll-cue {
  position: relative;
  z-index: 1;
  font-size: 2rem;
  animation: bounce 2s 1.5s infinite;
  color: var(--gold);
  opacity: 0;
  animation-fill-mode: forwards;
  transition: opacity 0.4s ease;
}

.hero .scroll-cue.faded {
  opacity: 0 !important;
  animation: none;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(12px); opacity: 1; }
}

/* ─── NAV ─── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(13,17,23,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 0.8rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transform: translateY(-100%);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

nav.visible { transform: translateY(0); }

nav .logo {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--gold);
  text-transform: uppercase;
  text-decoration: none;
}

nav ul { list-style: none; display: flex; gap: 1.5rem; }

.hamburger { display: none; }

nav ul a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 0.2s;
  position: relative;
}

nav ul a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s;
}

nav ul a:hover { color: #fff; }
nav ul a:hover::after, nav ul a.active::after { width: 100%; }

/* ─── LANGUAGE SWITCHER ─── */
.lang-switcher {
  position: relative;
  margin-left: 1rem;
}

.lang-btn {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  padding: 0.35rem 0.6rem;
  color: var(--muted);
  font-size: 0.85rem;
  font-family: 'Source Sans 3', system-ui, sans-serif;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  transition: background 0.2s, border-color 0.2s;
}

.lang-btn:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
  color: #fff;
}

.lang-flag { font-size: 1rem; line-height: 1; }
.lang-code { font-weight: 600; letter-spacing: 0.05em; }
.lang-arrow { font-size: 0.7rem; transition: transform 0.2s; }
.lang-switcher.open .lang-arrow { transform: rotate(180deg); }

.lang-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: #1c2128;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 0.4rem 0;
  min-width: 170px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  z-index: 200;
}

.lang-switcher.open .lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.9rem;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: background 0.15s, color 0.15s;
}

.lang-option:hover {
  background: rgba(255,255,255,0.06);
  color: #fff;
}

.lang-option.active {
  color: var(--gold);
  font-weight: 600;
}

/* Progress bar */
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green-light), var(--gold));
  z-index: 101;
  width: 0%;
  transition: width 0.1s;
}

/* ─── BREADCRUMB ─── */
.breadcrumb {
  background: rgba(255,255,255,0.03);
  padding: 0.8rem 1.5rem;
  font-size: 0.9rem;
  color: var(--muted);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.breadcrumb a {
  color: var(--accent);
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

/* ─── LAYOUT ─── */
.container { max-width: 960px; margin: 0 auto; padding: 0 1.5rem; }

section { padding: 5rem 0; }
section:nth-child(even) { background: #0d1117; }
section:nth-child(odd) { background: #111820; }

.section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 0.3em;
  color: #fff;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
  transition: width 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.3s;
}

.reveal.visible .section-title::after,
.section-title.visible::after {
  width: 60px;
}

.section-subtitle {
  color: var(--gold);
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 2rem;
}

p { margin-bottom: 1.2em; font-size: 1.1rem; }

/* ─── COMPONENTS ─── */
.highlight {
  background: var(--card-bg);
  border-left: 4px solid var(--gold);
  padding: 1.5rem 2rem;
  margin: 2rem 0;
  border-radius: 0 8px 8px 0;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.highlight:hover {
  box-shadow: -4px 0 20px rgba(253, 216, 53, 0.15);
}
.highlight.red { border-left-color: var(--red); }
.highlight.red:hover { box-shadow: -4px 0 20px rgba(198, 40, 40, 0.2); }
.highlight.green { border-left-color: var(--green-light); }
.highlight.green:hover { box-shadow: -4px 0 20px rgba(46, 125, 50, 0.2); }

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin: 2.5rem 0;
}

.stat-card {
  background: var(--card-bg);
  border-radius: 12px;
  padding: 2rem 1.5rem;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.06);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s;
  cursor: default;
}

.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}

.stat-number {
  font-family: 'Oswald', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1.1;
}

/* Animated counting */
.stat-number[data-count] {
  transition: color 0.3s;
}

.stat-label {
  color: var(--muted);
  font-size: 0.95rem;
  margin-top: 0.4rem;
}

/* ─── INTERACTIVE COMPARISON ─── */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  font-size: 1rem;
}

.comparison-table th,
.comparison-table td {
  padding: 1rem 1.2rem;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background 0.2s;
}

.comparison-table tr:hover td { background: rgba(255,255,255,0.03); }

.comparison-table th {
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.comparison-table td:first-child { font-weight: 600; }

.comparison-table tr:last-child {
  animation: pulseRow 2s infinite;
}

@keyframes pulseRow {
  0%, 100% { background: rgba(198, 40, 40, 0.05); }
  50% { background: rgba(198, 40, 40, 0.15); }
}

.badge-yes {
  background: rgba(46,125,50,0.25);
  color: #66bb6a;
  padding: 0.2em 0.7em;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.badge-no {
  background: rgba(198,40,40,0.25);
  color: #ef5350;
  padding: 0.2em 0.7em;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

/* ─── ANIMATED BAR CHARTS ─── */
.chart-bar { margin: 1.5rem 0; }

.chart-bar-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.3rem;
  font-size: 0.95rem;
}

.chart-bar-track {
  background: rgba(255,255,255,0.08);
  border-radius: 6px;
  height: 32px;
  overflow: hidden;
  position: relative;
}

.chart-bar-fill {
  height: 100%;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--green-light), var(--gold));
  width: 0%;
  display: flex;
  align-items: center;
  padding-left: 10px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--dark);
  position: relative;
  overflow: hidden;
}

.chart-bar-fill.animated { transition: width 1.5s cubic-bezier(0.22, 1, 0.36, 1); }

/* Shimmer effect on bars */
.chart-bar-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0% { left: -100%; }
  50%, 100% { left: 100%; }
}

.chart-bar-fill.red {
  background: linear-gradient(90deg, var(--red), #e65100);
}

.emoji-big { font-size: 3rem; display: block; margin-bottom: 0.5rem; }

/* ─── INTERACTIVE SIDE-BY-SIDE ─── */
.split-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin: 2rem 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
}

.split-side {
  padding: 2rem;
  transition: flex 0.5s;
}

.split-side.bad {
  background: linear-gradient(135deg, rgba(198,40,40,0.1), rgba(198,40,40,0.05));
  border-right: 1px solid rgba(255,255,255,0.06);
}

.split-side.good {
  background: linear-gradient(135deg, rgba(46,125,50,0.05), rgba(46,125,50,0.1));
}

.split-side h4 { margin-bottom: 1rem; }

.split-side ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.split-side li {
  padding: 0.6rem 0;
  padding-left: 1.5rem;
  position: relative;
  font-size: 0.95rem;
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.4s, transform 0.4s;
}

.split-side.good li {
  transform: translateX(20px);
}

.split-side li.visible {
  opacity: 1;
  transform: translateX(0);
}

.split-side.bad li::before { content: '✗'; position: absolute; left: 0; color: var(--red); font-weight: 700; }
.split-side.good li::before { content: '✓'; position: absolute; left: 0; color: #66bb6a; font-weight: 700; }

/* ─── QUOTE ─── */
.quote-block {
  text-align: center;
  padding: 3rem 2rem;
  margin: 2rem 0;
  position: relative;
}

.quote-block::before {
  content: '"';
  font-family: 'Oswald', sans-serif;
  font-size: 8rem;
  color: rgba(253, 216, 53, 0.1);
  position: absolute;
  top: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
  line-height: 1;
}

.quote-block blockquote {
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-style: italic;
  color: #fff;
  max-width: 700px;
  margin: 0 auto 1rem;
  line-height: 1.5;
}

.quote-block cite {
  color: var(--muted);
  font-style: normal;
  font-size: 0.95rem;
}

/* ─── TIMELINE ─── */
.timeline {
  position: relative;
  padding-left: 2.5rem;
  margin: 2rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 0;
  height: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--gold), var(--green-light));
  transition: height 1.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.timeline.animated::before { height: 100%; }

.timeline-item {
  position: relative;
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s, transform 0.6s;
}

.timeline-item.visible {
  opacity: 1;
  transform: translateX(0);
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.5rem;
  top: 0.5rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--dark);
  transform: scale(0);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.timeline-item.visible::before { transform: scale(1); }

.timeline-item h4 {
  color: var(--gold);
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}

/* ─── FUN FACTS ─── */
.fun-fact {
  background: rgba(253,216,53,0.08);
  border: 1px dashed var(--gold);
  border-radius: 12px;
  padding: 1.5rem 2rem;
  margin: 2rem 0;
  font-size: 1rem;
  position: relative;
  overflow: hidden;
}

.fun-fact::before {
  content: '⚡ Fun Fact';
  display: block;
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  color: var(--gold);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

/* ─── INTERACTIVE POLL ─── */
.poll-widget {
  background: var(--card-bg);
  border-radius: 12px;
  padding: 2rem;
  margin: 2.5rem 0;
  border: 1px solid rgba(255,255,255,0.06);
}

.poll-widget h3 {
  color: var(--gold);
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
}

.poll-option {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.2rem;
  margin-bottom: 0.75rem;
  border-radius: 8px;
  background: rgba(255,255,255,0.03);
  border: 2px solid rgba(255,255,255,0.06);
  cursor: pointer;
  transition: border-color 0.3s, background 0.3s, transform 0.2s;
  position: relative;
  overflow: hidden;
}

.poll-option:hover {
  border-color: var(--gold);
  background: rgba(253, 216, 53, 0.05);
  transform: translateX(4px);
}

.poll-option.selected {
  border-color: var(--gold);
  background: rgba(253, 216, 53, 0.1);
}

.poll-option .poll-bar {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  background: rgba(253, 216, 53, 0.1);
  width: 0;
  transition: width 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  border-radius: 6px;
}

.poll-option .poll-text { position: relative; z-index: 1; flex: 1; font-weight: 600; }
.poll-option .poll-pct { position: relative; z-index: 1; font-family: 'JetBrains Mono', monospace; font-size: 0.9rem; color: var(--gold); opacity: 0; transition: opacity 0.4s; }
.poll-option.voted .poll-pct { opacity: 1; }

.poll-total {
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 1rem;
  opacity: 0;
  transition: opacity 0.4s;
}

.poll-total.show { opacity: 1; }

/* ─── ANGER METER ─── */
.anger-meter {
  margin: 2rem 0;
  text-align: center;
}

.anger-meter .meter-track {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 500px;
  margin: 1rem auto;
  position: relative;
}

.anger-meter .meter-track::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 4px;
  background: linear-gradient(90deg, #66bb6a, var(--gold), #ff9800, var(--red), #b71c1c);
  border-radius: 2px;
  transform: translateY(-50%);
}

.anger-face {
  font-size: 2.2rem;
  position: relative;
  z-index: 1;
  filter: grayscale(0.5);
  transition: filter 0.3s, transform 0.3s;
}

.anger-face.active {
  filter: grayscale(0);
  transform: scale(1.4);
}

.anger-slider {
  max-width: 500px;
  margin: 1rem auto;
}

.anger-slider input[type=range] {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(90deg, #66bb6a, var(--gold), #ff9800, var(--red), #b71c1c);
  outline: none;
}

.anger-slider input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  cursor: grab;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.anger-scenario {
  color: var(--muted);
  font-size: 0.95rem;
  margin-top: 0.5rem;
  min-height: 3em;
  transition: opacity 0.3s;
}

/* ─── NUMBERED LIST ─── */
ol.numbered {
  counter-reset: item;
  list-style: none;
  margin: 1.5rem 0;
}

ol.numbered li {
  counter-increment: item;
  margin-bottom: 1.5rem;
  padding-left: 3rem;
  position: relative;
}

ol.numbered li::before {
  content: counter(item);
  position: absolute;
  left: 0;
  top: 0;
  width: 2rem;
  height: 2rem;
  background: var(--gold);
  color: var(--dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
}

/* ─── ACCORDION ─── */
.accordion { margin: 2rem 0; }

.accordion-item {
  background: var(--card-bg);
  border-radius: 8px;
  margin-bottom: 0.75rem;
  border: 1px solid rgba(255,255,255,0.06);
  overflow: hidden;
}

.accordion-header {
  padding: 1.2rem 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-size: 1.05rem;
  transition: background 0.2s;
}

.accordion-header:hover { background: rgba(255,255,255,0.03); }

.accordion-icon {
  font-size: 1.5rem;
  color: var(--gold);
  transition: transform 0.3s;
  font-family: 'JetBrains Mono', monospace;
}

.accordion-item.open .accordion-icon { transform: rotate(45deg); }

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.22, 1, 0.36, 1), padding 0.3s;
  padding: 0 1.5rem;
}

.accordion-item.open .accordion-body {
  max-height: 500px;
  padding: 0 1.5rem 1.5rem;
}

/* ─── SOLUTION CARDS ─── */
.solution-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin: 2.5rem 0;
}

.solution-card {
  background: var(--card-bg);
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid rgba(255,255,255,0.06);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.solution-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.3);
}

.solution-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green-light), var(--gold));
}

.solution-card .emoji-big { font-size: 2.5rem; }
.solution-card h4 { color: var(--gold); margin: 0.5rem 0; font-size: 1.1rem; }
.solution-card p { font-size: 0.95rem; color: var(--muted); margin: 0; }

/* ─── CARD GRID (Homepage) ─── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.nav-card {
  background: var(--card-bg);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  border: 1px solid rgba(255,255,255,0.06);
  text-decoration: none;
  color: var(--text);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  position: relative;
  overflow: hidden;
}

.nav-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
  border-color: var(--gold);
}

.nav-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green-light), var(--gold));
  opacity: 0;
  transition: opacity 0.3s;
}

.nav-card:hover::before {
  opacity: 1;
}

.nav-card .card-emoji {
  font-size: 3.5rem;
  display: block;
  margin-bottom: 1rem;
}

.nav-card h3 {
  color: var(--gold);
  font-size: 1.5rem;
  margin-bottom: 0.8rem;
}

.nav-card p {
  color: var(--muted);
  font-size: 1rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.nav-card .read-more {
  color: var(--accent);
  font-weight: 600;
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}

/* ─── NEXT LINK ─── */
.next-link {
  display: inline-block;
  margin: 3rem 0 2rem;
  padding: 1.2rem 2.5rem;
  background: var(--card-bg);
  border: 2px solid var(--gold);
  border-radius: 50px;
  color: var(--gold);
  text-decoration: none;
  font-family: 'Oswald', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.next-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(253,216,53,0.3);
  background: var(--gold);
  color: var(--dark);
}

/* ─── CTA ─── */
.cta-section {
  text-align: center;
  padding: 6rem 2rem;
  background: linear-gradient(135deg, var(--green) 0%, var(--dark) 100%);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(253,216,53,0.05) 0%, transparent 70%);
  animation: ctaPulse 4s ease-in-out infinite;
}

@keyframes ctaPulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.2); opacity: 1; }
}

.cta-section h2 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  margin-bottom: 1rem;
  position: relative;
}

.cta-section p {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto 2rem;
  position: relative;
}

.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: var(--gold);
  color: var(--dark);
  font-family: 'Oswald', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 50px;
  letter-spacing: 0.05em;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(253,216,53,0.3);
}

/* ─── BACK TO TOP ─── */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  text-decoration: none;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s, transform 0.3s;
  z-index: 99;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(253,216,53,0.4);
}

/* ─── FOOTER ─── */
footer {
  text-align: center;
  padding: 3rem 1.5rem;
  color: var(--muted);
  font-size: 0.9rem;
  background: var(--dark);
}

footer a { color: var(--accent); text-decoration: none; }

/* ─── VIDEO GRID ─── */
.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
}

.video-card {
  background: var(--card-bg);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
  transition: transform 0.3s, box-shadow 0.3s;
}

.video-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  background: #000;
}

.video-wrapper iframe,
.video-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-wrapper .play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 68px;
  height: 48px;
  background: rgba(0,0,0,0.75);
  border-radius: 14px;
  border: none;
  cursor: pointer;
  z-index: 2;
  transition: background 0.2s;
}

.video-wrapper .play-btn::after {
  content: '';
  display: block;
  margin-left: 26px;
  margin-top: 12px;
  border-style: solid;
  border-width: 12px 0 12px 20px;
  border-color: transparent transparent transparent #fff;
}

.video-wrapper:hover .play-btn {
  background: #c00;
}

.video-info {
  padding: 1.2rem 1.5rem;
}

.video-info h4 {
  color: var(--gold);
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.video-info p {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}

/* ─── MATCH TIMELINE VIZ ─── */
.match-viz {
  background: var(--card-bg);
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid rgba(255,255,255,0.06);
  margin: 2rem 0;
}

.match-viz-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.match-viz-team {
  font-family: 'Oswald', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
}

.match-viz-league {
  font-size: 0.9rem;
  color: var(--muted);
}

.half-label {
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.match-bar {
  height: 48px;
  background: rgba(255,255,255,0.04);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  position: relative;
  cursor: crosshair;
}

.match-segment {
  height: 100%;
  transition: opacity 0.2s;
  position: relative;
}

.match-segment.play { background: #2e7d32; }
.match-segment.dead { background: #c62828; }
.match-segment.dead.goalkick { background: #b71c1c; }
.match-segment.dead.throwin { background: #d32f2f; }
.match-segment.dead.foul { background: #e53935; }
.match-segment.dead.injury { background: #ff5722; }
.match-segment.dead.sub { background: #ff7043; }
.match-segment.dead.var { background: #ff8a65; }
.match-segment.dead.celebration { background: #ef6c00; }
.match-segment.added { background: #555; }
.match-segment.vanished {
  background: repeating-linear-gradient(
    45deg,
    rgba(253,216,53,0.15),
    rgba(253,216,53,0.15) 4px,
    transparent 4px,
    transparent 8px
  );
}

.match-bar:hover .match-segment { opacity: 0.7; }
.match-bar .match-segment:hover { opacity: 1 !important; }

.match-tooltip {
  display: none;
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.9);
  color: #fff;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.8rem;
  white-space: nowrap;
  z-index: 10;
  pointer-events: none;
}

.match-legend-row {
  display: flex;
  justify-content: space-between;
  margin-top: 4px;
}

.match-time-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: var(--muted);
}

.match-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.match-summary-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
}

.match-summary-color {
  width: 14px;
  height: 14px;
  border-radius: 3px;
  flex-shrink: 0;
}

.match-dead-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.2rem;
  margin-top: 0.8rem;
  padding: 0.6rem 0;
  font-size: 0.8rem;
  color: var(--muted);
}
.dead-legend-label {
  font-weight: 600;
  color: var(--text);
  margin-right: 0.2rem;
}
.dead-legend-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.dead-legend-swatch {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  flex-shrink: 0;
  display: inline-block;
}

.match-controls {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.match-btn {
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 8px;
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  background: var(--gold);
  color: var(--dark);
  font-weight: 700;
  transition: transform 0.2s, box-shadow 0.2s;
}

.match-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(253,216,53,0.3);
}

.match-btn.secondary {
  background: rgba(255,255,255,0.1);
  color: var(--text);
}

.match-btn.secondary:hover {
  box-shadow: 0 4px 15px rgba(255,255,255,0.1);
}

/* ─── ACCESSIBILITY ─── */
.skip-to-content {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 200;
  background: var(--gold);
  color: var(--dark);
  padding: 0.8rem 1.5rem;
  border-radius: 0 0 8px 8px;
  font-weight: 700;
  font-family: 'Oswald', sans-serif;
  text-decoration: none;
  transition: top 0.2s;
}

.skip-to-content:focus {
  top: 0;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
.accordion-header:focus-visible,
.lang-btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* ─── SHARE BUTTONS ─── */
.share-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: transform 0.2s, box-shadow 0.2s;
  border: none;
  cursor: pointer;
}

.share-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

.share-btn.x {
  background: #000;
  color: #fff;
}

.share-btn svg {
  width: 1.1em;
  height: 1.1em;
  fill: currentColor;
  flex-shrink: 0;
}

.share-btn.reddit {
  background: #ff4500;
  color: #fff;
}

.share-btn.facebook {
  background: #1877f2;
  color: #fff;
}

.share-btn.copy-link {
  background: rgba(255,255,255,0.1);
  color: var(--text);
  border: 1px solid rgba(255,255,255,0.15);
}

.share-btn.copy-link.copied {
  background: var(--green-light);
  color: #fff;
  border-color: var(--green-light);
}

/* ─── TLDR BOX ─── */
.tldr-box {
  background: linear-gradient(135deg, rgba(253,216,53,0.08), rgba(253,216,53,0.03));
  border: 2px solid var(--gold);
  border-radius: 16px;
  padding: 2rem 2.5rem;
  margin: 2rem 0 3rem;
  position: relative;
}

.tldr-box h3 {
  color: var(--gold);
  font-size: 1.3rem;
  margin-bottom: 1rem;
  letter-spacing: 0.1em;
}

.tldr-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tldr-box li {
  padding: 0.4rem 0 0.4rem 1.5rem;
  position: relative;
  font-size: 1.05rem;
  color: var(--text);
}

.tldr-box li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

/* ─── TABLET ─── */
@media (max-width: 1024px) {
  nav ul { gap: 1rem; }
  nav ul a { font-size: 0.8rem; }
  .card-grid { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; }
  .solution-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
  .stat-grid { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
  .comparison-table { font-size: 0.9rem; }
  .comparison-table th, .comparison-table td { padding: 0.8rem; }
}

/* ─── MOBILE ─── */
@media (max-width: 700px) {
  .split-compare { grid-template-columns: 1fr; }
  .video-grid { grid-template-columns: 1fr; }
  .hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    z-index: 102;
  }
  .hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
  }
  .hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .hamburger.active span:nth-child(2) { opacity: 0; }
  .hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  nav.menu-open {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: #0d1117;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
  }
  nav.menu-open .logo { position: absolute; top: 0.8rem; left: 1.5rem; }
  nav.menu-open .hamburger { position: absolute; top: 0.8rem; right: 1.5rem; }

  nav ul {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }
  nav.menu-open ul { display: flex; }
  nav ul a { font-size: 1.3rem; color: var(--text); }
  nav ul a.active { color: var(--gold); }

  .lang-switcher { margin-left: auto; }
  .lang-code { display: none; }
  .comparison-table { font-size: 0.75rem; }
  .comparison-table th, .comparison-table td { padding: 0.5rem 0.4rem; }
  .match-summary { gap: 0.8rem; }
  .match-summary-item { font-size: 0.85rem; }

  section { padding: 3rem 0; }
  .container { padding: 0 1rem; }
  .highlight { padding: 1.2rem 1.5rem; }
  .fun-fact { padding: 1.2rem 1.5rem; }
  .quote-block { padding: 2rem 1rem; }
  .stat-number { font-size: 2.2rem; }
  .stat-card { padding: 1.5rem 1rem; }
  ol.numbered li { padding-left: 2.5rem; }
  .next-link { padding: 1rem 2rem; font-size: 1rem; }
  .cta-section { padding: 4rem 1.5rem; }
  .breadcrumb { padding-top: calc(60px + 0.8rem); }
  .nav-card { padding: 2rem 1.5rem; }
  .card-grid { grid-template-columns: 1fr; }
  .solution-grid { grid-template-columns: 1fr; }
  .match-viz { padding: 1.2rem; }
  .match-bar { height: 36px; }
  .match-dead-legend { font-size: 0.7rem; gap: 0.5rem 0.8rem; }
  .match-controls { flex-direction: column; }
  .match-controls .match-btn { width: 100%; text-align: center; }
  .anger-meter .meter-track { max-width: 100%; }
  .anger-slider { max-width: 100%; }
  .tldr-box { padding: 1.5rem; }
  .share-bar { flex-direction: column; }
  .share-btn { justify-content: center; width: 100%; }
  .back-to-top { bottom: 1rem; right: 1rem; width: 40px; height: 40px; font-size: 1.2rem; }
}

/* ─── SMALL MOBILE ─── */
@media (max-width: 480px) {
  .hero h1 { font-size: clamp(2.2rem, 12vw, 3.5rem); }
  .hero .subtitle { font-size: 1rem; }
  .scoreline .scoreline-real { font-size: 2.6rem; }
  .section-title { font-size: clamp(1.6rem, 6vw, 2.2rem); }
  .comparison-table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .stat-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .stat-number { font-size: 1.8rem; }
  .emoji-big { font-size: 2rem; }
  .accordion-header { font-size: 0.95rem; padding: 1rem; }
  .timeline { padding-left: 2rem; }
  .timeline-item h4 { font-size: 1rem; }
  p { font-size: 1rem; }
}

/* ─── PRINT ─── */
@media print {
  *, *::before, *::after { background: #fff !important; color: #000 !important; box-shadow: none !important; text-shadow: none !important; }
  nav, .progress-bar, .back-to-top, .scroll-cue, .particles, .hero::before, .share-bar, .lang-switcher, .skip-to-content { display: none !important; }
  body { font-size: 12pt; line-height: 1.5; }
  .container { max-width: 100%; padding: 0; }
  section { padding: 1rem 0; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .timeline-item { opacity: 1 !important; transform: none !important; }
  .split-side li { opacity: 1 !important; transform: none !important; }
  a { color: #000 !important; text-decoration: underline; }
  a[href]::after { content: " (" attr(href) ")"; font-size: 0.8em; color: #555 !important; }
  nav a[href]::after, .logo[href]::after, .breadcrumb a[href]::after { content: none; }
  .highlight, .fun-fact, .tldr-box { border: 1px solid #ccc !important; padding: 1rem; }
  .stat-card, .solution-card, .nav-card, .video-card { border: 1px solid #ccc !important; break-inside: avoid; }
  .video-wrapper { display: none; }
  .match-viz { break-inside: avoid; }
  h1, h2, h3 { break-after: avoid; }
  img { max-width: 100% !important; }
  @page { margin: 2cm; }
}

/* ─── SMOOTH SECTION TRANSITIONS ─── */
section {
  position: relative;
}

section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06), transparent);
}
