/* prestige-row — VIPLeague theme
 * Aesthetic: cool slate navy + prestige purple, Playfair Display + Lato + Courier Prime.
 * Layout: asymmetric hero+stack (7/12 + 5/12), loose card density (2rem padding).
 * Naming: SUIT (Component-descendant--modifier). */

:root {
  --pr-bg: #0a0e1a;
  --pr-surface: #141929;
  --pr-surface-2: #1c2238;
  --pr-text: #dde3ef;
  --pr-text-soft: #b6bccd;
  --pr-accent: #7c3aed;
  --pr-accent-2: #f59e0b;
  --pr-muted: #5c6880;
  --pr-border: #232a44;
  --pr-shadow: 0 4px 30px rgba(124, 58, 237, 0.12);

  --pr-font-display: "Playfair Display", "Georgia", serif;
  --pr-font-body: "Lato", "Helvetica Neue", system-ui, sans-serif;
  --pr-font-mono: "Courier Prime", "SF Mono", monospace;

  --pr-radius: 4px;
  --pr-pad: 2rem;
  --pr-pad-tight: 1.25rem;
  --pr-max: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--pr-font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--pr-text);
  background: var(--pr-bg);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--pr-accent-2); text-decoration: none; }
a:hover { color: #ffd07a; text-decoration: underline; }

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 { font-family: var(--pr-font-display); font-weight: 700; letter-spacing: -0.01em; line-height: 1.2; }
h1 { font-size: 2.6rem; margin: 0 0 0.5rem; }
h2 { font-size: 1.7rem; margin: 2.2rem 0 1rem; }
h3 { font-size: 1.3rem; margin: 1.5rem 0 0.6rem; }
code, kbd, time { font-family: var(--pr-font-mono); font-size: 0.92em; }

/* ───────── Nav ───────── */
.Nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 14, 26, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--pr-border);
}
.Nav-inner {
  max-width: var(--pr-max); margin: 0 auto;
  padding: 0.9rem 1.5rem;
  display: grid; grid-template-columns: auto 1fr auto;
  align-items: center; gap: 1.5rem;
}
.Nav-brand { display: flex; flex-direction: column; line-height: 1.1; }
.Nav-brandMark { font-family: var(--pr-font-display); font-size: 1.6rem; font-weight: 800; color: var(--pr-text); letter-spacing: -0.01em; }
.Nav-brandEdition { font-size: 0.72rem; color: var(--pr-muted); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 2px; }
.Nav-primary { display: flex; justify-content: center; }
.Nav-list { display: flex; flex-wrap: wrap; gap: 0.25rem; list-style: none; margin: 0; padding: 0; }
.Nav-item { display: inline-flex; }
.Nav-link {
  display: inline-block; padding: 0.5rem 0.85rem;
  color: var(--pr-text-soft); font-weight: 700; font-size: 0.92rem;
  text-transform: uppercase; letter-spacing: 0.06em;
  border-radius: var(--pr-radius);
}
.Nav-link:hover { color: var(--pr-text); background: var(--pr-surface); text-decoration: none; }
.Nav-link--current { color: var(--pr-accent-2); border-bottom: 2px solid var(--pr-accent); }
.Nav-langGroup { display: flex; gap: 0.35rem; }
.Nav-langItem {
  padding: 0.3rem 0.55rem; font-size: 0.78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--pr-muted); border: 1px solid var(--pr-border); border-radius: var(--pr-radius);
}
.Nav-langItem--current { color: var(--pr-accent); border-color: var(--pr-accent); }

/* ───────── DisclaimerBanner ───────── */
.DisclaimerBanner { background: var(--pr-surface); border-top: 1px solid var(--pr-border); border-bottom: 1px solid var(--pr-border); }
.DisclaimerBanner--header { padding: 0.7rem 1.5rem; }
.DisclaimerBanner--footer { padding: 1.25rem 1.5rem; margin-top: 1rem; }
.DisclaimerBanner-inner {
  max-width: var(--pr-max); margin: 0 auto;
  font-size: 0.85rem; color: var(--pr-text-soft); line-height: 1.55;
}
.DisclaimerBanner--header .DisclaimerBanner-inner::before {
  content: "EDITORIAL DISCLAIMER · ";
  color: var(--pr-accent); font-weight: 700; letter-spacing: 0.08em;
}

/* ───────── Hero ───────── */
.Hero { padding: 2rem 1.5rem; }
.Hero--home .Hero-grid {
  max-width: var(--pr-max); margin: 0 auto;
  display: grid; grid-template-columns: 7fr 5fr; gap: 1.5rem;
}
.Hero-primary {
  position: relative; min-height: 380px;
  border-radius: var(--pr-radius); overflow: hidden;
  background-size: cover; background-position: center;
  border: 1px solid var(--pr-border);
}
.Hero-primaryOverlay {
  position: absolute; inset: 0;
  padding: var(--pr-pad);
  background: linear-gradient(180deg, rgba(10,14,26,0.55) 0%, rgba(10,14,26,0.95) 100%);
  display: flex; flex-direction: column; justify-content: flex-end;
}
.Hero--section { min-height: 320px; background-size: cover; background-position: center; position: relative; border-bottom: 2px solid var(--pr-accent); }
.Hero-overlay {
  max-width: var(--pr-max); margin: 0 auto;
  padding: 4rem 1.5rem 3rem;
  background: linear-gradient(90deg, rgba(10,14,26,0.92) 0%, rgba(10,14,26,0.7) 60%, rgba(10,14,26,0.45) 100%);
}
.Hero-kicker { font-size: 0.78rem; color: var(--pr-accent-2); font-weight: 700; letter-spacing: 0.12em; margin: 0 0 0.5rem; }
.Hero-title { color: var(--pr-text); }
.Hero-deck { font-size: 1.15rem; color: var(--pr-text-soft); max-width: 36em; line-height: 1.5; margin: 0.4rem 0 0; }
.Hero-secondary {
  background: var(--pr-surface); border: 1px solid var(--pr-border);
  border-radius: var(--pr-radius); padding: var(--pr-pad);
}

/* ───────── BroadcasterPanel ───────── */
.BroadcasterPanel-heading {
  font-family: var(--pr-font-display); font-size: 1.1rem; font-weight: 700;
  color: var(--pr-accent-2); margin: 0 0 0.8rem;
}
.BroadcasterPanel-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.4rem; }
.BroadcasterPanel-list--full { display: flex; flex-direction: column; gap: 0.35rem; }
.BroadcasterPanel-item {
  font-family: var(--pr-font-mono); font-size: 0.88rem;
  color: var(--pr-text); padding: 0.4rem 0.7rem;
  background: var(--pr-surface-2); border-left: 3px solid var(--pr-accent);
  border-radius: 2px;
}

/* ───────── PageGrid ───────── */
.PageGrid {
  max-width: var(--pr-max); margin: 1.5rem auto;
  padding: 0 1.5rem;
  display: grid; grid-template-columns: 7fr 5fr; gap: 2rem;
}
.PageGrid-main { min-width: 0; }
.PageGrid-aside { min-width: 0; align-self: start; position: sticky; top: 100px; }

/* ───────── Prose ───────── */
.Prose { background: var(--pr-surface); border: 1px solid var(--pr-border); border-radius: var(--pr-radius); padding: var(--pr-pad); margin-bottom: 1.5rem; }
.Prose p { margin: 0 0 1rem; }
.Prose ul, .Prose ol { padding-left: 1.4rem; margin: 0 0 1rem; }
.Prose li { margin-bottom: 0.4rem; }
.Prose a { color: var(--pr-accent-2); border-bottom: 1px dotted rgba(245,158,11,0.5); }
.Prose a:hover { color: #ffd07a; border-bottom-color: #ffd07a; text-decoration: none; }
.Prose blockquote {
  margin: 1.2rem 0; padding: 0.8rem 1.2rem;
  border-left: 3px solid var(--pr-accent); background: var(--pr-surface-2);
  color: var(--pr-text-soft); font-style: italic;
}
.Prose table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: 0.92rem; }
.Prose th, .Prose td { padding: 0.6rem 0.8rem; text-align: left; border-bottom: 1px solid var(--pr-border); }
.Prose th { color: var(--pr-accent-2); font-weight: 700; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; }
.Prose code { background: var(--pr-bg); padding: 1px 5px; border-radius: 2px; }
.ProseInline { margin: 1.5rem 0; border-radius: var(--pr-radius); overflow: hidden; }

/* ───────── SportGrid ───────── */
.SportGrid { margin: 1.5rem 0; }
.SportGrid-heading { font-family: var(--pr-font-display); font-size: 1.4rem; margin: 0 0 1rem; color: var(--pr-text); }
.SportGrid-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 0.8rem; }
.SportGrid-card { background: var(--pr-surface); border: 1px solid var(--pr-border); border-left: 3px solid var(--pr-accent); border-radius: var(--pr-radius); transition: border-color 0.15s; }
.SportGrid-card:hover { border-left-color: var(--pr-accent-2); }
.SportGrid-cardLink {
  display: block; padding: var(--pr-pad-tight);
  font-family: var(--pr-font-display); font-size: 1.1rem; font-weight: 700;
  color: var(--pr-text); text-decoration: none;
}
.SportGrid-cardLink:hover { text-decoration: none; color: var(--pr-accent-2); }
.SportGrid-card--featured { grid-column: span 2; }

/* ───────── FixtureList ───────── */
.FixtureList { margin: 1.5rem 0; }
.FixtureList-heading { font-family: var(--pr-font-display); font-size: 1.4rem; color: var(--pr-accent-2); margin: 0 0 0.8rem; }
.FixtureList-rows { list-style: none; margin: 0; padding: 0; }
.FixtureList-row { display: flex; justify-content: space-between; padding: 0.7rem 0; border-bottom: 1px solid var(--pr-border); }
.FixtureList-link { color: var(--pr-text); font-weight: 700; }
.FixtureList-date { font-family: var(--pr-font-mono); font-size: 0.85rem; color: var(--pr-muted); }

/* ───────── MatchBoard ───────── */
.MatchBoard { margin: 1.5rem 0; padding: var(--pr-pad-tight); background: var(--pr-surface); border: 1px solid var(--pr-border); border-radius: var(--pr-radius); }
.MatchBoard-wrap { margin: 1.5rem 0; }
.MatchBoard-heading { font-family: var(--pr-font-display); color: var(--pr-accent-2); margin: 0 0 0.8rem; font-size: 1.3rem; }
.MatchBoard-fallback { padding: 1rem; background: var(--pr-surface-2); border-radius: var(--pr-radius); }
.MatchBoard-fallbackHeading { margin: 0 0 0.6rem; color: var(--pr-text); }
.MatchBoard-fallbackList { list-style: none; margin: 0; padding: 0; }
.MatchBoard-fallbackItem { padding: 0.5rem 0; border-bottom: 1px solid var(--pr-border); display: grid; grid-template-columns: 7em 1fr auto; gap: 0.7rem; font-size: 0.9rem; }
.MatchBoard-fallbackTime { font-family: var(--pr-font-mono); color: var(--pr-muted); }
.MatchBoard-fallbackLeague { font-size: 0.78rem; color: var(--pr-accent-2); text-transform: uppercase; letter-spacing: 0.06em; }

/* ───────── Article ───────── */
.VipArticle { max-width: var(--pr-max); margin: 1.5rem auto; padding: 0 1.5rem; }
.VipArticle-header { padding: 1.5rem 0 1rem; border-bottom: 1px solid var(--pr-border); }
.VipArticle-kicker { font-size: 0.78rem; color: var(--pr-accent-2); font-weight: 700; letter-spacing: 0.12em; margin: 0 0 0.4rem; text-transform: uppercase; }
.VipArticle-title { color: var(--pr-text); }
.VipArticle-deck { font-size: 1.15rem; color: var(--pr-text-soft); margin: 0.5rem 0 0; max-width: 38em; }
.VipArticle-meta { font-family: var(--pr-font-mono); font-size: 0.85rem; color: var(--pr-muted); }
.VipArticle-hero { margin: 1.5rem 0; border-radius: var(--pr-radius); overflow: hidden; border: 1px solid var(--pr-border); }
.VipArticle-hero img { width: 100%; height: auto; }
.VipArticle-inlines { display: grid; grid-template-columns: 1fr; gap: 1rem; margin: 1.5rem 0; }
.VipArticle-inline img { width: 100%; border-radius: var(--pr-radius); }
.VipArticle--legal .Prose { background: var(--pr-surface); }
.VipArticle--notfound { padding: 4rem 1.5rem; text-align: center; }

/* ───────── SiteFooter ───────── */
.SiteFooter { margin-top: 3rem; padding: 2rem 1.5rem; background: var(--pr-surface); border-top: 2px solid var(--pr-accent); }
.SiteFooter-inner { max-width: var(--pr-max); margin: 0 auto; }
.SiteFooter-mark { font-family: var(--pr-font-display); font-size: 1.4rem; font-weight: 800; margin: 0 0 0.8rem; color: var(--pr-text); }
.SiteFooter-links { list-style: none; margin: 1.2rem 0; padding: 0; display: flex; flex-wrap: wrap; gap: 1.5rem; }
.SiteFooter-links a { color: var(--pr-text-soft); font-size: 0.9rem; }
.SiteFooter-copy { font-size: 0.82rem; color: var(--pr-muted); margin: 1rem 0 0; }

/* ───────── Responsive ───────── */
@media (max-width: 900px) {
  .Hero--home .Hero-grid { grid-template-columns: 1fr; }
  .PageGrid { grid-template-columns: 1fr; }
  .PageGrid-aside { position: static; }
  .Nav-inner { grid-template-columns: 1fr; gap: 0.6rem; }
  .Nav-primary { justify-content: flex-start; }
  .Nav-list { gap: 0; flex-wrap: wrap; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
}

/* Bidi/print niceties */
@media print {
  .Nav, .DisclaimerBanner, .SiteFooter { display: none; }
}
