:root {
  --bg: #121212;
  --surface: #1e1e1e;
  --border: #2d2d2d;
  --text: #e5e5e5;
  --muted: #a3a3a3;
  --gold: #d4af37;
  --gold-light: #f3da73;
  --gold-dark: #a68023;
  --green: #34d399;
  --red: #dc2626;
  --radius: 16px;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: 'Helvetica Neue', Arial, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 var(--sans); overflow-x: hidden; }
::selection { background: var(--gold); color: #fff; }
a { color: inherit; text-decoration: none; }
svg { width: 1em; height: 1em; flex-shrink: 0; }
h1, h2, h3 { margin: 0; line-height: 1.2; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.gold { color: var(--gold); }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgb(18 18 18 / 0.92); backdrop-filter: blur(10px); border-bottom: 1px solid rgb(92 69 16 / 0.5); }
.header-row { height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 900; letter-spacing: 0.15em; text-transform: uppercase; color: #fff; }
.brand svg { color: var(--gold); font-size: 28px; }
.site-nav { display: flex; align-items: center; gap: 22px; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.site-nav a:hover { color: var(--gold); }
.nav-history { color: var(--gold); background: var(--surface); border: 1px solid rgb(92 69 16 / 0.6); padding: 6px 12px; border-radius: 6px; }
.lang-switch { display: flex; border: 1px solid var(--border); border-radius: 6px; overflow: hidden; }
.lang-switch a { padding: 5px 9px; }
.lang-switch a[aria-current] { background: var(--gold); color: var(--bg); }
.menu-btn { display: none; background: none; border: 0; color: var(--gold); font-size: 28px; padding: 8px; cursor: pointer; }

@media (max-width: 860px) {
  .menu-btn { display: block; }
  .site-nav { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg); border-bottom: 1px solid var(--border); padding: 8px 16px 16px; font-size: 16px; }
  .site-nav.open { display: flex; }
  .site-nav > a { padding: 12px 0; border-bottom: 1px solid var(--border); }
  .nav-history { margin-top: 12px; text-align: center; }
  .lang-switch { margin-top: 12px; justify-content: center; }
  .lang-switch a { flex: 1; text-align: center; padding: 10px; }
}

/* Hero */
.hero { min-height: 52vh; display: flex; align-items: center; background: linear-gradient(135deg, #121212, #1e1e1e 50%, #000); text-align: center; padding: 64px 0; }
.hero-inner { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.hero-icon { color: var(--gold); font-size: 36px; }
.hero h1 { font-size: clamp(40px, 9vw, 84px); font-weight: 900; text-transform: uppercase; letter-spacing: -0.02em; color: #fff; }
.hero-tag { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: clamp(18px, 2.6vw, 24px); margin: 0; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; border: 0; border-radius: 999px; padding: 12px 22px; font: 700 14px var(--sans); letter-spacing: 0.06em; text-transform: uppercase; cursor: pointer; transition: transform 0.1s, background 0.2s; }
.btn:active { transform: scale(0.97); }
.btn-sm { padding: 8px 14px; font-size: 12px; border-radius: 8px; }
.btn-gold { background: var(--gold); color: var(--bg); }
.btn-gold:hover { background: var(--gold-light); }
.btn-dark { background: #000; color: #fff; border: 1px solid #3f3f46; }
.btn-red { background: var(--red); color: #fff; border-radius: 12px; }

/* Sections */
.sections { padding: 48px 16px 0; }
.section { margin-bottom: 88px; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--border); padding-bottom: 14px; margin-bottom: 24px; }
.section h2 { font-size: clamp(24px, 4vw, 32px); font-weight: 900; text-transform: uppercase; letter-spacing: 0.04em; color: #fff; }
.section > h2 { margin-bottom: 20px; }
.sub { color: var(--gold); font-size: 13px; margin: 6px 0 0; }
.more { margin-top: 16px; }
.more a { display: inline-flex; align-items: center; gap: 6px; color: var(--gold); font-weight: 700; font-size: 14px; }
.loading { color: var(--gold); grid-column: 1 / -1; text-align: center; padding: 40px 0; }

.grid { display: grid; gap: 20px; }
@media (min-width: 720px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

/* Cards */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 12px; transition: border-color 0.2s; }
.card:hover { border-color: rgb(166 128 35 / 0.6); }
.card h3 { font-size: 18px; color: #fff; }
.card p { margin: 0; }
.card-label { color: var(--gold); font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.card-link:hover { border-color: var(--gold); }
.card-link:hover h3 { color: var(--gold); }
.card-foot { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--border); display: flex; justify-content: flex-end; }
.quote-text { margin: 0; font-family: var(--serif); font-size: clamp(19px, 2.4vw, 24px); color: #fff; line-height: 1.5; }
.quote-context { color: var(--muted); font-size: 13px; }

/* News */
.news-meta { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--muted); }
.news-meta time { color: var(--green); font-weight: 600; }
.news-card h3 { font-size: 15px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.read { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--border); color: var(--gold); font-size: 12px; font-weight: 700; display: flex; align-items: center; gap: 6px; }

/* Matches */
.match { position: relative; text-align: center; align-items: center; }
.match.next { border-bottom: 2px solid var(--gold); }
.match-tag { position: absolute; top: 0; right: 0; padding: 4px 12px; font-size: 11px; font-weight: 700; border-radius: 0 var(--radius) 0 10px; background: var(--border); color: var(--muted); }
.match.next .match-tag { background: var(--gold); color: var(--bg); }
.teams { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 12px; }
.team { width: 110px; font-size: 13px; font-weight: 700; color: #fff; }
.team img { width: 52px; height: 52px; object-fit: contain; background: rgb(255 255 255 / 0.08); border-radius: 50%; padding: 4px; display: block; margin: 0 auto 6px; }
.team small { display: block; font-size: 10px; color: var(--muted); font-weight: 400; }
.score { font-size: 28px; font-weight: 900; color: var(--gold); white-space: nowrap; }
.match-date { font-size: 13px; color: var(--muted); }
.highlights { margin-top: 20px; flex-direction: row; justify-content: space-between; align-items: center; flex-wrap: wrap; }

/* Videos */
.video { position: relative; padding-top: 0; overflow: hidden; }
.video-play { margin: 0 -28px 8px; aspect-ratio: 16 / 9; display: flex; align-items: center; justify-content: center; background: radial-gradient(circle at 50% 40%, #2d2d2d, #000); font-size: 22px; color: #fff; }
.video-play svg { width: 52px; height: 52px; padding: 14px; background: rgb(220 38 38 / 0.9); border-radius: 50%; transition: transform 0.2s; }
.video:hover .video-play svg { transform: scale(1.1); }

/* Inner pages */
.page { padding-top: 56px; }
.page-head { text-align: center; margin-bottom: 56px; display: flex; flex-direction: column; gap: 12px; align-items: center; }
.page-head h1 { font-size: clamp(34px, 6vw, 52px); font-weight: 900; text-transform: uppercase; color: #fff; }
.intro { max-width: 640px; font-size: 15px; }

/* Timeline */
.timeline { list-style: none; margin: 0; padding: 0 0 0 28px; position: relative; display: flex; flex-direction: column; gap: 32px; }
.timeline::before { content: ''; position: absolute; left: 8px; top: 0; bottom: 0; width: 3px; background: linear-gradient(var(--gold), var(--border), var(--bg)); }
.timeline-item { position: relative; }
.timeline-item::before { content: ''; position: absolute; left: -28px; top: 32px; width: 19px; height: 19px; border-radius: 50%; background: var(--gold); border: 4px solid var(--bg); }
.timeline h2 { font-size: 24px; text-transform: uppercase; color: #fff; }
.pill { align-self: flex-start; background: rgb(92 69 16 / 0.35); color: var(--gold); border: 1px solid rgb(92 69 16 / 0.7); font-size: 12px; font-weight: 700; padding: 3px 12px; border-radius: 999px; }
.trophies { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; font-weight: 700; color: var(--muted); }
.trophies svg { color: var(--gold); margin-top: 3px; }
.timeline ul { margin: 4px 0 0; padding: 18px 18px 18px 36px; background: rgb(18 18 18 / 0.6); border: 1px solid var(--border); border-radius: 12px; display: flex; flex-direction: column; gap: 10px; font-size: 14px; color: #d4d4d4; }
.timeline li::marker { color: var(--gold-dark); }
@media (min-width: 900px) {
  .timeline { padding: 0; }
  .timeline::before { left: 50%; transform: translateX(-50%); }
  .timeline-item { width: 50%; padding-right: 48px; }
  .timeline-item:nth-child(even) { margin-left: 50%; padding: 0 0 0 48px; }
  .timeline-item::before { left: auto; right: -10px; }
  .timeline-item:nth-child(even)::before { right: auto; left: -9px; }
}

/* Footer */
.site-footer { border-top: 1px solid var(--border); margin-top: 80px; padding: 48px 0; text-align: center; color: #737373; font-size: 13px; }
.site-footer p { margin: 0 0 8px; }
.footer-name { font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; }
.footer-tag { color: var(--gold); font-style: italic; }
.footer-nav { margin: 16px 0; }
.footer-nav a:hover { color: var(--gold); }
.footer-note { max-width: 560px; margin: 0 auto; font-size: 12px; }

/* Language suggestion banner */
.lang-banner { position: fixed; bottom: 16px; left: 16px; right: 16px; max-width: 480px; margin: 0 auto; z-index: 60; background: var(--surface); border: 1px solid var(--gold-dark); border-radius: 12px; padding: 12px 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 14px; box-shadow: 0 10px 30px rgb(0 0 0 / 0.5); }
.lang-banner a { color: var(--gold); font-weight: 700; }
.lang-banner button { background: none; border: 0; color: var(--muted); font-size: 20px; cursor: pointer; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
