/* ══════════════════════════════════════════════════════════════
   BERITABOLA — Stadium-Floodlight Editorial design system
   ══════════════════════════════════════════════════════════════ */

/* ---- FONTS ---- */
@import url('https://fonts.googleapis.com/css2?family=Anton&family=Hanken+Grotesk:wght@400;500;700;800&family=Space+Mono:wght@400;700&display=swap');

/* ---- TOKENS ---- */
:root {
  /* color */
  --canvas: #0A0F0C;
  --surface: #111A14;
  --surface-elevated: #18241C;
  --primary: #16E06A;
  --primary-pressed: #0FB857;
  --lime: #C6FF3F;
  --live-red: #FF2D55;
  --card-yellow: #FFD23F;
  --link-sky: #4CC2FF;
  --ink: #F5FBF6;
  --body-text: #C7D2CB;
  --muted: #7E8C84;
  --hairline: #233029;
  --hairline-glow: #16E06A33;
  --inverted-ink: #07120B;
  --scrim: rgba(10,15,12,0.72);

  /* type */
  --display: 'Anton', 'Archivo Black', Impact, sans-serif;
  --body: 'Hanken Grotesk', 'Space Grotesk', system-ui, sans-serif;
  --mono: 'Space Mono', 'JetBrains Mono', monospace;

  /* spacing */
  --s4: 4px; --s8: 8px; --s12: 12px; --s16: 16px; --s24: 24px;
  --s32: 32px; --s48: 48px; --s64: 64px; --s96: 96px;

  /* radius */
  --r-sm: 8px; --r-md: 14px; --r-lg: 20px; --r-pill: 9999px;

  --maxw: 1280px;
  --ease-out: cubic-bezier(0.16,1,0.3,1);
  --ease-spring: cubic-bezier(0.34,1.56,0.64,1);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--canvas);
  color: var(--body-text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* page-load floodlight reveal */
body.reveal-on { animation: floodOn 0.6s var(--ease-out) both; }
@keyframes floodOn { from { background:#000; } to { background:var(--canvas); } }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }

/* ---- TYPE UTILITIES ---- */
.display-hero { font-family: var(--display); font-weight: 400; font-size: clamp(40px,6vw,72px); line-height: 1.0; letter-spacing: -0.5px; color: var(--ink); text-transform: uppercase; }
.display-section { font-family: var(--display); font-weight: 400; font-size: clamp(32px,4vw,48px); line-height: 1.04; letter-spacing: -0.3px; color: var(--ink); text-transform: uppercase; }
.heading-xl { font-family: var(--display); font-weight: 400; font-size: clamp(26px,3vw,32px); line-height: 1.08; color: var(--ink); text-transform: uppercase; letter-spacing: 0; }
.heading-lg { font-family: var(--body); font-weight: 800; font-size: clamp(20px,2.2vw,24px); line-height: 1.1; color: var(--ink); }
.heading-md { font-family: var(--body); font-weight: 800; font-size: 20px; line-height: 1.18; color: var(--ink); }
.body-lg { font-size: 18px; line-height: 1.6; color: var(--body-text); }
.body-md { font-size: 16px; line-height: 1.55; color: var(--body-text); }
.body-strong { font-size: 16px; font-weight: 700; line-height: 1.5; }

.kicker { font-family: var(--mono); font-weight: 700; font-size: 12px; line-height: 1.3; letter-spacing: 1.8px; text-transform: uppercase; color: var(--primary); }
.match-minute { font-family: var(--mono); font-weight: 700; font-size: 13px; line-height: 1.2; letter-spacing: 1px; text-transform: uppercase; }
.timestamp { font-family: var(--mono); font-weight: 500; font-size: 11px; line-height: 1.4; letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted); }
.tag-label { font-family: var(--mono); font-weight: 700; font-size: 11px; line-height: 1.2; letter-spacing: 1.5px; text-transform: uppercase; }
.caption { font-size: 13px; line-height: 1.5; color: var(--muted); }
.scoreline { font-family: var(--mono); font-weight: 700; font-size: clamp(36px,4.5vw,56px); line-height: 1; letter-spacing: 1px; color: var(--ink); }

/* ---- LAYOUT ---- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--s24); }
section.block { padding-block: clamp(48px, 7vw, 96px); }

.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: var(--s16); margin-bottom: var(--s32); flex-wrap: wrap;
}
.section-head .titlewrap { display: flex; flex-direction: column; gap: var(--s8); }
.link-more {
  font-family: var(--mono); font-weight: 700; font-size: 13px; letter-spacing: 1px;
  text-transform: uppercase; color: var(--primary); display: inline-flex; align-items: center; gap: 6px;
  transition: gap .2s var(--ease-out), color .15s;
}
.link-more:hover { gap: 12px; color: var(--lime); }

/* ════════ TOP SCORE TICKER (L5) ════════ */
.score-ticker {
  position: sticky; top: 0; z-index: 60;
  background: var(--surface-elevated);
  border-bottom: 1px solid var(--hairline);
  backdrop-filter: blur(12px);
  height: 44px; display: flex; align-items: center; overflow: hidden;
}
.score-ticker .ticker-label {
  flex: 0 0 auto; height: 100%; display: flex; align-items: center; gap: 8px;
  padding: 0 16px; background: var(--live-red); color: #fff;
  font-family: var(--mono); font-weight: 700; font-size: 11px; letter-spacing: 1.5px;
  z-index: 2;
}
.ticker-viewport { flex: 1; overflow: hidden; height: 100%; position: relative; }
.ticker-track {
  display: flex; align-items: center; gap: 0; height: 100%;
  width: max-content; animation: marquee 40s linear infinite;
}
.ticker-track:hover { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.tick-chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 0 18px; height: 100%;
  border-right: 1px solid var(--hairline); white-space: nowrap;
  transition: transform .2s var(--ease-out);
}
.tick-chip:hover { transform: translateY(-2px); }
.tick-chip .tk-club { font-family: var(--mono); font-size: 12px; font-weight: 700; color: var(--body-text); letter-spacing: .5px; }
.tick-chip .tk-score { font-family: var(--mono); font-size: 12px; font-weight: 700; color: var(--ink); }
.tick-chip .tk-min { font-family: var(--mono); font-size: 10px; color: var(--primary); letter-spacing: .5px; }
.tick-chip.is-live .tk-min { color: var(--live-red); }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--live-red); flex: 0 0 auto; position: relative; }
.live-dot.pulse { animation: dotPulse 1.4s infinite ease-in-out; }
.live-dot.pulse::after {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  background: var(--live-red); animation: dotPing 1.4s infinite ease-out;
}
@keyframes dotPulse { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.25); opacity: .5; } }
@keyframes dotPing { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(3); opacity: 0; } }

/* ════════ MASTHEAD NAV ════════ */
.masthead {
  position: sticky; top: 44px; z-index: 55;
  background: rgba(10,15,12,0.82); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hairline); height: 64px;
}
.masthead .wrap { display: flex; align-items: center; gap: var(--s24); height: 100%; }
.wordmark {
  font-family: var(--display); font-size: 26px; letter-spacing: 0.5px; color: var(--ink);
  text-transform: uppercase; display: inline-flex; align-items: center; flex: 0 0 auto;
}
.wordmark .ball {
  display: inline-block; width: 20px; height: 20px; border-radius: 50%;
  background: var(--primary); margin: 0 1px; position: relative; top: 2px;
  box-shadow: 0 0 12px rgba(22,224,106,0.5);
}
.nav-links { display: flex; align-items: center; gap: var(--s24); margin-left: var(--s16); flex: 1; }
.nav-links a {
  font-family: var(--body); font-weight: 700; font-size: 14px; color: var(--body-text);
  position: relative; padding: 6px 0; letter-spacing: .3px; transition: color .15s; white-space: nowrap;
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--link-sky); transition: width .25s var(--ease-out);
}
.nav-links a:hover { color: var(--link-sky); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--ink); }
.nav-links a.active::after { width: 100%; background: var(--primary); }
.nav-right { display: flex; align-items: center; gap: var(--s12); flex: 0 0 auto; }
.icon-btn {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--hairline); color: var(--body-text); transition: border-color .2s, color .2s;
}
.icon-btn:hover { border-color: var(--primary); color: var(--primary); }
.nav-toggle { display: none; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--body); font-weight: 700; font-size: 16px;
  border-radius: var(--r-pill); padding: 14px 28px; height: 48px;
  transition: transform .2s var(--ease-spring), background .2s, box-shadow .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.btn-sm { height: 40px; padding: 10px 20px; font-size: 14px; }
.btn-primary { background: var(--primary); color: var(--inverted-ink); }
.btn-primary:hover { background: var(--lime); box-shadow: 0 0 20px rgba(198,255,63,0.3); }
.btn-primary:active { background: var(--primary-pressed); transform: scale(0.96); }
.btn-ghost { background: transparent; border: 1px solid var(--hairline); color: var(--ink); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn-ghost:active { background: var(--surface-elevated); transform: scale(0.97); }
:focus-visible { outline: 2px solid var(--link-sky); outline-offset: 2px; }

/* ════════ HERO ════════ */
.hero { padding-top: clamp(32px,4vw,48px); }
.hero-grid { display: grid; grid-template-columns: 2fr 1fr; gap: var(--s24); }
.hero-main {
  position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 520px;
  border: 1px solid var(--hairline); display: flex; align-items: flex-end;
}
.hero-main .photo, .ph {
  position: absolute; inset: 0;
  background:
    linear-gradient(135deg, rgba(22,224,106,0.10), rgba(76,194,255,0.06)),
    repeating-linear-gradient(45deg, #0d1711 0 14px, #0f1c14 14px 28px);
}
.ph-label {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  font-family: var(--mono); font-size: 10px; letter-spacing: 1px; color: var(--muted);
  background: rgba(7,18,11,0.6); padding: 4px 8px; border-radius: 4px; text-transform: uppercase;
}
.hero-main .scrim {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, var(--scrim) 0%, rgba(10,15,12,0.4) 45%, transparent 75%);
}
.hero-content { position: relative; z-index: 2; padding: clamp(24px,4vw,48px); width: 100%; }
.hero-content .display-hero { margin: 12px 0; max-width: 16ch; text-wrap: balance; }
.hero-meta { display: flex; align-items: center; gap: var(--s12); flex-wrap: wrap; }
.hero-secondary { display: flex; flex-direction: column; gap: var(--s24); }

/* story tile */
.tile {
  background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-md);
  overflow: hidden; display: flex; flex-direction: column;
  transition: border-color .25s, transform .15s;
}
.tile:hover { border-color: var(--hairline-glow); box-shadow: 0 0 0 1px var(--hairline-glow); }
.tile:active { transform: scale(0.99); }
.tile .thumb { position: relative; aspect-ratio: 16/9; overflow: hidden; }
.tile .thumb .ph { transition: transform .4s var(--ease-out); }
.tile:hover .thumb .ph { transform: scale(1.04); }
.tile .body { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.tile .title { transition: color .15s; }
.tile:hover .title { color: var(--link-sky); }
.tile .meta-row { display: flex; align-items: center; gap: 8px; margin-top: auto; }
.hero-secondary .tile { flex: 1; }
.hero-secondary .tile .thumb { aspect-ratio: 16/10; }

/* badges */
.badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px;
  border-radius: var(--r-pill); font-family: var(--mono); font-weight: 700;
  font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase;
}
.badge-live { background: var(--live-red); color: #fff; }
.badge-rumor { background: transparent; border: 1px solid var(--card-yellow); color: var(--card-yellow); }
.badge-resmi { background: var(--primary); color: var(--inverted-ink); }
.badge-ft { background: var(--surface); color: var(--muted); border: 1px solid var(--hairline); }
.badge-upcoming { background: var(--surface-elevated); color: var(--body-text); border: 1px solid var(--hairline); }

/* league chips */
.chip-row { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  padding: 8px 16px; border-radius: var(--r-pill); font-family: var(--mono); font-weight: 700;
  font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--body-text);
  background: var(--surface); border: 1px solid var(--hairline);
  transition: border-color .2s, background .2s, color .2s;
}
.chip:hover { border-color: var(--primary); }
.chip.active { background: var(--primary); color: var(--inverted-ink); border-color: var(--primary); }

/* ════════ MATCH CENTER ════════ */
.match-row {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 1fr);
  gap: var(--s16); overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory;
  scrollbar-width: thin; scrollbar-color: var(--hairline) transparent;
}
.match-row::-webkit-scrollbar { height: 6px; }
.match-row::-webkit-scrollbar-thumb { background: var(--hairline); border-radius: 99px; }
.match-card {
  background: var(--surface-elevated); border: 1px solid var(--hairline); border-radius: var(--r-md);
  padding: 20px; display: flex; flex-direction: column; gap: 16px; scroll-snap-align: start;
  transition: border-color .25s, box-shadow .25s;
}
.match-card:hover { border-color: var(--hairline-glow); box-shadow: 0 0 0 1px var(--hairline-glow); }
.match-card.is-live { border-color: var(--live-red); box-shadow: 0 0 24px rgba(255,45,85,0.18); }
.mc-top { display: flex; align-items: center; justify-content: space-between; }
.mc-teams { display: flex; align-items: center; justify-content: center; gap: 16px; }
.crest {
  width: 44px; height: 44px; border-radius: 50%; flex: 0 0 auto;
  background: var(--surface); border: 1px solid var(--hairline);
  display: grid; place-items: center; font-family: var(--mono); font-weight: 700;
  font-size: 13px; color: var(--ink); letter-spacing: .5px;
}
.mc-score { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.mc-min { text-align: center; }
.mc-min.live { color: var(--live-red); }
.mc-min.upcoming { color: var(--body-text); }
.mc-labels { display: flex; align-items: center; justify-content: space-between; }
.mc-club-name { font-family: var(--mono); font-size: 11px; color: var(--muted); letter-spacing: .5px; text-align: center; min-width: 44px; }
.mc-teamcol { display: flex; flex-direction: column; align-items: center; gap: 6px; }

/* ════════ LIVETICKER + RAIL ════════ */
.feed-layout { display: grid; grid-template-columns: 2fr 1fr; gap: var(--s48); align-items: start; }

.storystream { position: relative; padding-left: 36px; }
.storystream::before {
  content: ''; position: absolute; left: 11px; top: 6px; bottom: 6px; width: 2px;
  background: var(--hairline);
}
.stream-item { position: relative; margin-bottom: var(--s24); }
.stream-item .node {
  position: absolute; left: -36px; top: 2px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--surface-elevated); border: 2px solid var(--hairline);
  display: grid; place-items: center; font-size: 11px; z-index: 2;
}
.stream-item.event .node { border-color: var(--primary); }
.stream-item.breaking .node { border-color: var(--live-red); }
.stream-card {
  background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-md);
  padding: 16px 20px; transition: border-color .25s;
}
.stream-card:hover { border-color: var(--hairline-glow); }
.stream-item.flash .stream-card { animation: limeFlash 1.2s var(--ease-out); }
@keyframes limeFlash {
  0% { border-left: 3px solid var(--lime); box-shadow: -3px 0 12px rgba(198,255,63,0.4); }
  100% { border-left: 1px solid var(--hairline); box-shadow: none; }
}
.stream-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; flex-wrap: wrap; }
.stream-card .title { color: var(--ink); transition: color .15s; }
.stream-card:hover .title { color: var(--link-sky); }
.stream-card p { margin-top: 6px; font-size: 15px; color: var(--body-text); }

/* rail */
.rail { display: flex; flex-direction: column; gap: var(--s32); }
.rail-widget { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-md); overflow: hidden; }
.rail-widget .rw-head {
  padding: 16px 20px; border-bottom: 1px solid var(--hairline);
  display: flex; align-items: center; gap: 10px;
}
.trending-list { padding: 8px 0; }
.trending-list li {
  display: flex; gap: 14px; padding: 12px 20px; align-items: flex-start;
  transition: background .15s;
}
.trending-list li:hover { background: var(--surface-elevated); }
.trending-list .num { font-family: var(--mono); font-weight: 700; font-size: 18px; color: var(--primary); flex: 0 0 auto; width: 22px; }
.trending-list .t-title { font-size: 15px; font-weight: 700; color: var(--ink); line-height: 1.25; }
.trending-list li:hover .t-title { color: var(--link-sky); }
.transfer-list { padding: 12px; display: flex; flex-direction: column; gap: 12px; }
.transfer-card { background: var(--surface-elevated); border: 1px solid var(--hairline); border-radius: var(--r-sm); padding: 14px; }
.transfer-card .t-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.transfer-card .t-move { font-size: 14px; color: var(--body-text); }
.transfer-card .t-move b { color: var(--ink); }

/* ════════ KLASEMEN ════════ */
.standings-wrap { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-md); overflow: hidden; }
.standings-tabs { display: flex; gap: 8px; padding: 16px 20px; border-bottom: 1px solid var(--hairline); overflow-x: auto; }
.table-scroll { overflow-x: auto; }
table.standings { width: 100%; border-collapse: collapse; min-width: 560px; }
table.standings th {
  text-align: right; padding: 12px 10px; font-family: var(--mono); font-weight: 700;
  font-size: 11px; letter-spacing: 1px; color: var(--muted); text-transform: uppercase;
  border-bottom: 1px solid var(--hairline);
}
table.standings th.club-col, table.standings td.club-col { text-align: left; }
table.standings td { padding: 12px 10px; text-align: right; border-bottom: 1px solid var(--hairline); font-family: var(--mono); font-size: 14px; color: var(--body-text); }
table.standings tbody tr { transition: background .2s; position: relative; }
table.standings tbody tr:hover { background: var(--surface-elevated); }
table.standings tbody tr:hover .crest-sm { transform: rotate(6deg); }
table.standings td.pts { color: var(--ink); font-weight: 700; }
.club-cell { display: flex; align-items: center; gap: 10px; }
.crest-sm { width: 24px; height: 24px; border-radius: 50%; background: var(--surface-elevated); border: 1px solid var(--hairline); display: grid; place-items: center; font-family: var(--mono); font-size: 9px; color: var(--ink); flex: 0 0 auto; transition: transform .2s; }
.club-name { font-family: var(--body); font-weight: 700; font-size: 14px; color: var(--ink); }
.rank { color: var(--muted); }
tr.ucl td:first-child { box-shadow: inset 3px 0 0 var(--primary); }
tr.releg td:first-child { box-shadow: inset 3px 0 0 var(--live-red); }
.standings-legend { display: flex; gap: 20px; padding: 14px 20px; border-top: 1px solid var(--hairline); flex-wrap: wrap; }
.leg { display: flex; align-items: center; gap: 8px; }
.leg .swatch { width: 10px; height: 10px; border-radius: 2px; }

/* ════════ VIDEO HIGHLIGHTS ════════ */
.video-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--s24); }
.video-card { display: flex; flex-direction: column; gap: 12px; }
.video-thumb { position: relative; aspect-ratio: 16/9; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--hairline); }
.video-thumb .ph { transition: transform .4s var(--ease-out); }
.video-card:hover .video-thumb .ph { transform: scale(1.04); }
.play-overlay {
  position: absolute; inset: 0; display: grid; place-items: center; z-index: 2;
  background: linear-gradient(to top, rgba(10,15,12,0.5), transparent 60%);
}
.play-btn { width: 56px; height: 56px; border-radius: 50%; background: rgba(22,224,106,0.92); display: grid; place-items: center; transition: transform .25s var(--ease-spring), background .2s; }
.video-card:hover .play-btn { transform: scale(1.1); background: var(--lime); }
.play-btn svg { fill: var(--inverted-ink); }
.dur-badge { position: absolute; bottom: 10px; right: 10px; z-index: 3; background: rgba(7,18,11,0.85); color: var(--ink); }

/* ════════ NEWSLETTER ════════ */
.newsletter { background: var(--surface-elevated); border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.newsletter .inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s48); flex-wrap: wrap; padding-block: clamp(40px,6vw,72px); }
.newsletter .nl-copy { flex: 1; min-width: 280px; }
.newsletter .nl-copy .display-section span { color: var(--lime); }
.nl-form { display: flex; gap: 12px; flex: 1; min-width: 300px; max-width: 480px; }
.input {
  flex: 1; height: 48px; background: var(--surface); border: 1px solid var(--hairline);
  border-radius: var(--r-sm); padding: 0 16px; color: var(--ink); font-family: var(--body); font-size: 16px;
  transition: border-color .2s, box-shadow .2s;
}
.input::placeholder { color: var(--muted); }
.input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--hairline-glow); }

/* ════════ FOOTER ════════ */
footer.site-footer { background: var(--surface); border-top: 1px solid var(--hairline); padding-block: var(--s48) var(--s32); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: var(--s32); margin-bottom: var(--s48); }
.footer-grid h4 { font-family: var(--mono); font-weight: 700; font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.footer-grid ul { display: flex; flex-direction: column; gap: 10px; }
.footer-grid a { font-size: 15px; color: var(--body-text); transition: color .15s; }
.footer-grid a:hover { color: var(--primary); }
.footer-brand .wordmark { margin-bottom: 12px; }
.footer-brand p { font-size: 14px; color: var(--muted); max-width: 30ch; }
.social-row { display: flex; gap: 10px; margin-top: 16px; }
.footer-bottom { border-top: 1px solid var(--hairline); padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ════════ MOBILE DRAWER ════════ */
.drawer-scrim { position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 70; opacity: 0; pointer-events: none; transition: opacity .25s; }
.drawer-scrim.open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: min(320px, 84vw); z-index: 80;
  background: var(--surface-elevated); border-left: 1px solid var(--hairline);
  transform: translateX(100%); transition: transform .3s var(--ease-out);
  padding: 24px; display: flex; flex-direction: column; gap: 24px;
}
.drawer.open { transform: translateX(0); }
.drawer .drawer-head { display: flex; align-items: center; justify-content: space-between; }
.drawer nav { display: flex; flex-direction: column; gap: 20px; }
.drawer nav a { font-family: var(--mono); font-weight: 700; font-size: 16px; letter-spacing: 1px; text-transform: uppercase; color: var(--ink); }
.drawer nav a:hover { color: var(--primary); }

/* ---- reveal animation (scroll) ---- */
.reveal { opacity: 0; transform: translateY(20px); }
.reveal.in { opacity: 1; transform: translateY(0); transition: transform .45s var(--ease-out); }

/* ════════ ARTICLE PAGE ════════ */
.article-hero { position: relative; min-height: clamp(440px, 60vh, 620px); display: flex; align-items: flex-end; border-bottom: 1px solid var(--hairline); }
.article-hero .scrim { position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, var(--scrim) 0%, rgba(10,15,12,0.5) 50%, transparent 80%); }
.article-hero .ah-content { position: relative; z-index: 2; width: 100%; max-width: var(--maxw); margin: 0 auto; padding: clamp(32px,5vw,64px) var(--s24); }
.article-hero .display-hero { max-width: 20ch; margin: 12px 0 20px; text-wrap: balance; }
.byline-row { display: flex; align-items: center; gap: var(--s16); flex-wrap: wrap; }
.byline-row .author { display: flex; align-items: center; gap: 10px; }
.byline-row .avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--surface-elevated); border: 1px solid var(--hairline); display: grid; place-items: center; font-family: var(--mono); font-size: 12px; color: var(--ink); }
.byline-row .author-name { font-weight: 700; color: var(--ink); font-size: 14px; }
.byline-sep { width: 4px; height: 4px; border-radius: 50%; background: var(--muted); }

.article-layout { display: grid; grid-template-columns: 64px 1fr; gap: var(--s32); max-width: 860px; margin: 0 auto; padding: var(--s64) var(--s24); }
.share-rail { position: sticky; top: 130px; height: fit-content; display: flex; flex-direction: column; gap: 12px; }
.share-rail .share-label { font-family: var(--mono); font-size: 10px; letter-spacing: 1.5px; color: var(--muted); writing-mode: vertical-rl; margin: 0 auto 6px; }
.article-body { max-width: 720px; }
.article-body > * + * { margin-top: var(--s24); }
.article-body p { font-size: 18px; line-height: 1.7; color: var(--body-text); }
.article-body p .dropcap, .article-body p:first-of-type::first-letter { }
.article-body h2 { font-family: var(--display); font-weight: 400; font-size: 30px; color: var(--ink); text-transform: uppercase; letter-spacing: -0.2px; margin-top: var(--s48); }
.article-body a.inline { color: var(--link-sky); text-decoration: underline; text-underline-offset: 3px; }
.pullquote { border-left: 3px solid var(--primary); padding: 8px 0 8px 24px; margin: var(--s48) 0; }
.pullquote p { font-family: var(--display); font-weight: 400; font-size: clamp(28px,3.4vw,40px); line-height: 1.1; color: var(--ink); text-transform: uppercase; letter-spacing: -0.3px; }
.pullquote cite { display: block; margin-top: 12px; font-family: var(--mono); font-size: 11px; letter-spacing: 1.5px; color: var(--muted); font-style: normal; text-transform: uppercase; }
.article-figure { margin: var(--s32) 0; }
.article-figure .ph { position: relative; aspect-ratio: 16/9; border-radius: var(--r-md); border: 1px solid var(--hairline); }
.article-figure figcaption { margin-top: 10px; font-size: 13px; color: var(--muted); }

/* inline match-result embed */
.match-embed { background: var(--surface-elevated); border: 1px solid var(--hairline); border-radius: var(--r-md); padding: 20px 24px; margin: var(--s32) 0; }
.match-embed .me-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.match-embed .me-body { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.match-embed .me-team { display: flex; align-items: center; gap: 12px; }
.match-embed .me-team.away { justify-content: flex-end; }
.match-embed .me-team .club-name { font-size: 16px; }

.related-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--s24); }

@media (max-width: 767px) {
  .article-layout { grid-template-columns: 1fr; gap: var(--s24); padding: var(--s32) var(--s16); }
  .share-rail { position: static; flex-direction: row; }
  .share-rail .share-label { writing-mode: horizontal-tb; margin: 0; align-self: center; }
  .article-body p { font-size: 17px; }
  .related-grid { grid-template-columns: 1fr; }
}
@media (min-width:768px) and (max-width:1023px){ .related-grid { grid-template-columns: repeat(2,1fr); } }

/* ════════ MATCH-CENTER PAGE ════════ */
.mc-page-head { padding: var(--s48) 0 var(--s32); border-bottom: 1px solid var(--hairline); }
.mc-feature { display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--s32); align-items: start; margin-block: var(--s48); }
.mc-feature .big-board { background: var(--surface-elevated); border: 1px solid var(--live-red); box-shadow: 0 0 24px rgba(255,45,85,0.18); border-radius: var(--r-lg); padding: clamp(24px,4vw,40px); }
.bb-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 32px; }
.bb-teams { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.bb-team { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.bb-crest { width: 72px; height: 72px; border-radius: 50%; background: var(--surface); border: 1px solid var(--hairline); display: grid; place-items: center; font-family: var(--mono); font-weight: 700; font-size: 20px; color: var(--ink); }
.bb-team .club-name { font-size: 18px; text-align: center; }
.bb-score { text-align: center; }
.bb-score .scoreline { font-size: clamp(56px,8vw,80px); }
.bb-stats { display: flex; flex-direction: column; gap: 14px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--hairline); }
.stat-bar { display: grid; grid-template-columns: 48px 1fr 48px; align-items: center; gap: 12px; font-family: var(--mono); font-size: 13px; color: var(--ink); }
.stat-bar .bar { height: 6px; border-radius: 99px; background: var(--surface); position: relative; overflow: hidden; display: flex; }
.stat-bar .bar .home-fill { background: var(--primary); }
.stat-bar .bar .away-fill { background: var(--link-sky); }
.stat-bar .lbl { grid-column: 1/-1; text-align: center; font-size: 10px; letter-spacing: 1.5px; color: var(--muted); margin-bottom: -6px; }

.mc-list { display: flex; flex-direction: column; gap: var(--s24); }
.mc-day-group h3 { font-family: var(--mono); font-size: 12px; letter-spacing: 1.5px; color: var(--muted); text-transform: uppercase; margin-bottom: 12px; }
.fixture-row { display: grid; grid-template-columns: 64px 1fr auto 1fr 80px; align-items: center; gap: 12px; padding: 14px 16px; background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-sm); transition: border-color .2s; }
.fixture-row + .fixture-row { margin-top: 8px; }
.fixture-row:hover { border-color: var(--hairline-glow); }
.fixture-row.is-live { border-color: var(--live-red); }
.fixture-row .fx-team { display: flex; align-items: center; gap: 10px; }
.fixture-row .fx-team.home { justify-content: flex-end; }
.fixture-row .fx-team .club-name { font-size: 15px; }
.fixture-row .fx-score { font-family: var(--mono); font-weight: 700; font-size: 18px; color: var(--ink); text-align: center; min-width: 56px; }
.fixture-row .fx-status { text-align: right; }
@media (max-width: 1023px){ .mc-feature { grid-template-columns: 1fr; } }
@media (max-width: 767px){
  .fixture-row { grid-template-columns: 1fr auto 1fr; grid-template-areas: 'h s a' 'time time time'; row-gap: 8px; }
  .fixture-row .fx-time { grid-area: time; text-align: center; }
  .fixture-row .fx-status { grid-area: time; }
}
/* ════════ RESPONSIVE ════════ */
@media (max-width: 1023px) {
  .feed-layout { grid-template-columns: 1fr; gap: var(--s32); }
  .video-grid { grid-template-columns: repeat(2,1fr); }
  .nav-links { display: none; }
  .nav-toggle { display: grid; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-secondary { flex-direction: row; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
  .wrap { padding: 0 var(--s16); }
  .hero-secondary { flex-direction: column; }
  .hero-main { min-height: 400px; }
  .video-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--s24); }
  .newsletter .inner { flex-direction: column; align-items: flex-start; }
  .nl-form { width: 100%; max-width: none; flex-direction: column; }
  .nl-form .btn { width: 100%; }
  .match-row { grid-auto-columns: 84%; }
  .section-head { align-items: flex-start; }
}

/* ---- reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: opacity .2s !important; }
  .ticker-track { animation: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  html { scroll-behavior: auto; }
}
