/* ════════════════════════════════════════════════════════════════════
   STOCK LIGA WORLD CUP — PUBLIC SITE STYLES
   Location: /var/www/worldcup-public/assets/css/public.css
   
   Design tokens are inherited from the locked design-system.html.
   Eggshell warm surfaces + Stock Liga blue gradient + gold accents.
   ════════════════════════════════════════════════════════════════════ */

:root {
  --surface-page:       #faf6ec;
  --surface-sky-1:      #f5ecd7;
  --surface-sky-2:      #fdf9ee;
  --surface-card:       #ffffff;
  --surface-card-tint:  #fdfaf2;
  --surface-elevated:   #ffffff;

  --sl-grad-start:      #1565c0;
  --sl-grad-mid:        #1e88e5;
  --sl-grad-end:        #42a5f5;
  --sl-grad-accent:     #64b5f6;
  --sl-gradient:        linear-gradient(135deg, #1565c0 0%, #1e88e5 35%, #42a5f5 65%, #64b5f6 100%);
  --sl-gradient-soft:   linear-gradient(135deg, #1e88e5 0%, #42a5f5 50%, #64b5f6 100%);

  --sl-blue-50:    #eff6ff;
  --sl-blue-100:   #dbeafe;
  --sl-blue-200:   #bfdbfe;
  --sl-blue-300:   #93c5fd;
  --sl-blue-400:   #60a5fa;
  --sl-blue-500:   #3b82f6;
  --sl-blue-600:   #1e88e5;
  --sl-blue-700:   #1565c0;
  --sl-blue-800:   #1e40af;
  --sl-blue-900:   #1e3a82;
  --sl-blue-ink:   #0c1e4d;

  --gold-50:    #fffbeb;
  --gold-100:   #fef3c7;
  --gold-200:   #fde68a;
  --gold-300:   #fcd34d;
  --gold-400:   #fbbf24;
  --gold-500:   #f59e0b;
  --gold-600:   #d97706;
  --gold-700:   #b45309;

  --win:         #16a34a;
  --win-light:   #dcfce7;
  --lose:        #dc2626;
  --lose-light:  #fee2e2;
  --warn:        #ea580c;
  --azzurro:       #1976d2;
  --azzurro-light: #e3f2fd;
  --azzurro-edge:  #bbdefb;

  --text-ink:        var(--sl-blue-ink);
  --text-primary:    var(--sl-blue-900);
  --text-secondary:  var(--sl-blue-700);
  --text-muted:      #64748b;
  --text-on-dark:    #ffffff;
  --text-on-gold:    var(--sl-blue-ink);

  --border-soft:     #ede7d8;
  --border:          #ddd0b3;
  --border-strong:   var(--sl-blue-200);
  --border-gold:     var(--gold-300);

  --grad-gold-rich: linear-gradient(135deg, #fcd34d 0%, #fbbf24 40%, #f59e0b 80%, #d97706 100%);
  --grad-trophy:    linear-gradient(135deg, #fffbeb 0%, #fde68a 25%, #fbbf24 60%, #d97706 100%);

  /* Readable on eggshell: ALL stops are darker than the page background.
     Use --grad-gold-readable for headline highlight text on light surfaces;
     keep --grad-trophy for highlights on dark blue surfaces (hero, footer). */
  --grad-gold-readable: linear-gradient(135deg, #f59e0b 0%, #d97706 50%, #92400e 100%);

  --shadow-xs:    0 1px 2px rgba(89, 56, 24, 0.06);
  --shadow-sm:    0 1px 3px rgba(89, 56, 24, 0.08), 0 1px 2px rgba(89, 56, 24, 0.04);
  --shadow-md:    0 4px 12px rgba(89, 56, 24, 0.08), 0 2px 4px rgba(89, 56, 24, 0.05);
  --shadow-lg:    0 12px 32px rgba(89, 56, 24, 0.10), 0 4px 12px rgba(89, 56, 24, 0.06);
  --shadow-xl:    0 24px 56px rgba(89, 56, 24, 0.14), 0 8px 24px rgba(89, 56, 24, 0.08);
  --shadow-gold:  0 8px 24px rgba(251, 191, 36, 0.35), 0 2px 6px rgba(217, 119, 6, 0.2);
  --shadow-blue:  0 4px 12px rgba(21, 101, 192, 0.35), 0 2px 4px rgba(21, 101, 192, 0.15);

  --ring-gold:    0 0 0 3px rgba(251, 191, 36, 0.25);
  --ring-blue:    0 0 0 3px rgba(30, 136, 229, 0.2);

  --font-display: 'Outfit', system-ui, sans-serif;
  --font-mono:    'Inter Tight', monospace;

  --space-2xs: 4px; --space-xs: 8px; --space-sm: 12px;
  --space-md: 20px; --space-lg: 32px; --space-xl: 48px; --space-2xl: 72px;

  --r-xs: 6px; --r-sm: 10px; --r-md: 14px; --r-lg: 22px; --r-xl: 32px;

  --header-h: 72px;
}

/* ══════ RESET ═══════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-display);
  color: var(--text-primary);
  background:
    linear-gradient(180deg,
      var(--surface-sky-1) 0%,
      var(--surface-sky-2) 35%,
      var(--surface-page) 85%);
  background-attachment: fixed;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  font-weight: 500;
  line-height: 1.55;
}
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
a { color: inherit; text-decoration: none; }

/* ══════ FLAG IMAGES ═════════════════════════════════════════════════ */
/* SVG flags from flagcdn.com — explicit width/height attrs control size.
   Fallback badge (no flag URL match) renders country initials in a colored chip. */
.flag-img {
  display: inline-block;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.12);
  vertical-align: middle;
  background: rgba(0, 0, 0, 0.03);   /* placeholder color while loading */
}
.flag-img--fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #cbd5e1, #94a3b8);
  color: #fff;
  font-family: var(--font-mono);
  font-weight: 800;
  letter-spacing: 0.5px;
  border-radius: 3px;
  text-transform: uppercase;
  box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.12);
}

/* ══════ HEADER ══════════════════════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--surface-page);
  border-bottom: 1px solid var(--border-soft);
  transition: box-shadow 0.2s;
}
.site-header.is-scrolled {
  box-shadow: var(--shadow-sm);
}
.site-header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-md);
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.brand-mark {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-primary);
}
.brand-mark-icon {
  width: 44px;
  height: 44px;
  background: #ffffff;
  border: 1px dashed var(--sl-blue-500);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: var(--shadow-xs);
}
.brand-mark-text {
  display: flex;
  flex-direction: column;
  line-height: 1.0;
  gap: 1px;
}
.brand-mark-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.4px;
  color: var(--text-muted);
  text-transform: none;
}
.brand-mark-subtitle {
  font-family: var(--font-mono);
  font-size: 19px;
  font-weight: 900;
  letter-spacing: -0.3px;
  color: var(--sl-blue-500);
  text-transform: uppercase;
  line-height: 1;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
.site-nav a {
  padding: 9px 16px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.1px;
  color: var(--text-secondary);
  border-radius: var(--r-sm);
  transition: background 0.15s, color 0.15s;
}
.site-nav a:hover { background: rgba(21, 101, 192, 0.05); color: var(--text-primary); }
.site-nav a.active {
  background: rgba(21, 101, 192, 0.10);
  color: var(--sl-blue-700);
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: var(--r-sm);
  align-items: center;
  justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; }

@media (max-width: 800px) {
  .site-nav { display: none; }
  .nav-toggle { display: flex; }
  .brand-mark-icon { width: 40px; height: 40px; font-size: 21px; }
  .brand-mark-title { font-size: 9px; }
  .brand-mark-subtitle { font-size: 16px; }
}

/* Mobile nav drawer — opens via JS */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--surface-page);
  z-index: 200;
  display: none;
  flex-direction: column;
  padding: var(--space-lg);
}
.mobile-nav.open { display: flex; }
.mobile-nav-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: var(--space-lg);
}
.mobile-nav-close {
  width: 42px; height: 42px; border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.04);
}
.mobile-nav-close svg { width: 20px; height: 20px; }
.mobile-nav a {
  padding: 16px 4px;
  font-size: 20px;
  font-weight: 700;
  border-bottom: 1px solid var(--border-soft);
  color: var(--text-primary);
}

/* ══════ LAYOUT ══════════════════════════════════════════════════════ */
.site-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: var(--space-lg) var(--space-md);
}

.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--sl-blue-700);
  margin-bottom: var(--space-xs);
}
.section-heading {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(22px, 3vw, 30px);
  letter-spacing: -0.5px;
  line-height: 1.15;
  color: var(--text-ink);
  margin-bottom: var(--space-md);
}
.section-heading .gold {
  background: var(--grad-gold-readable);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.section-sub {
  color: var(--text-muted);
  margin-bottom: var(--space-lg);
  max-width: 620px;
}

/* ══════ HOMEPAGE HERO ═══════════════════════════════════════════════ */
.hero {
  background: var(--sl-gradient);
  color: white;
  border-radius: var(--r-xl);
  padding: var(--space-xl) var(--space-lg);
  margin-bottom: var(--space-lg);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.hero::after {
  content: '⚽';
  position: absolute;
  right: -20px;
  bottom: -40px;
  font-size: 320px;
  opacity: 0.32;
  pointer-events: none;
  transform: rotate(-12deg);
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.35));
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 6px 14px;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 100px;
  margin-bottom: 16px;
  backdrop-filter: blur(8px);
}
.hero-eyebrow .live-dot {
  width: 8px; height: 8px;
  background: #fbbf24;
  border-radius: 50%;
  animation: pulse-gold 2s ease-in-out infinite;
}
@keyframes pulse-gold {
  0%, 100% { box-shadow: 0 0 0 0 rgba(251, 191, 36, 0.7); }
  50% { box-shadow: 0 0 0 10px rgba(251, 191, 36, 0); }
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(28px, 5vw, 48px);
  letter-spacing: -1px;
  line-height: 1.05;
  margin-bottom: 14px;
  position: relative;
}
.hero h1 .gold {
  background: var(--grad-trophy);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero p {
  font-size: 16px;
  opacity: 0.95;
  max-width: 540px;
  line-height: 1.55;
  margin-bottom: var(--space-md);
  position: relative;
}
.hero-stats {
  display: flex;
  gap: var(--space-lg);
  flex-wrap: wrap;
  position: relative;
}
.hero-stat {
  font-family: var(--font-mono);
}
.hero-stat-num {
  font-weight: 900;
  font-size: clamp(20px, 3vw, 26px);
  color: white;
  display: block;
  line-height: 1.1;
}
.hero-stat-label {
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  opacity: 0.8;
  font-weight: 700;
}

/* ══════ FIXTURE CARDS ═══════════════════════════════════════════════ */
.fixture-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}
@media (max-width: 540px) {
  .fixture-grid {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }
}

.fixture-card {
  background: var(--surface-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-md);
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.15s, transform 0.15s;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}
a.fixture-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}
.fixture-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
}
.stage-tag {
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 3px;
  background: rgba(0,0,0,0.04);
  color: var(--text-muted);
}
.stage-tag.stage-group     { background: var(--sl-blue-50); color: var(--sl-blue-700); }
.stage-tag.stage-r16       { background: #f3e8ff; color: #6b21a8; }
.stage-tag.stage-knockout  { background: #fce7f3; color: #9d174d; }
.stage-tag.stage-final     { background: var(--gold-100); color: var(--gold-700); }
.stage-tag.stage-third     { background: #fef3c7; color: #92400e; }

.kickoff-time {
  color: var(--text-muted);
  font-weight: 600;
}

.fixture-teams {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-xs) 0;
}
.team-cell {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.team-cell.away { justify-content: flex-end; flex-direction: row-reverse; }
.team-cell .flag-img {
  width: 30px; height: 22px;
  flex-shrink: 0;
}
.team-name {
  font-weight: 700;
  font-size: 15px;
  color: var(--text-primary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.fixture-score {
  font-family: var(--font-mono);
  font-weight: 900;
  font-size: 22px;
  color: var(--text-ink);
  text-align: center;
  white-space: nowrap;
  padding: 0 6px;
}
.fixture-score.upcoming {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 600;
}
.fixture-score-sub {
  display: block;
  font-size: 10px;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 2px;
  letter-spacing: 0.3px;
}

.fixture-card-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-xs);
  border-top: 1px solid var(--border-soft);
  font-size: 12px;
  color: var(--text-muted);
}
.fixture-venue {
  font-weight: 500;
}
.fixture-detail-link {
  color: var(--sl-blue-700);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.5px;
}

/* Live indicator */
.live-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--lose-light);
  color: var(--lose);
  font-weight: 800;
  font-size: 10px;
  letter-spacing: 1px;
  padding: 2px 6px;
  border-radius: 3px;
}
.live-tag::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--lose);
  border-radius: 50%;
  animation: pulse-red 1.5s ease-in-out infinite;
}
@keyframes pulse-red {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.4; }
}

/* ══════ STOCK LIGA TEASER (sl-promo) ════════════════════════════════ */
.sl-promo {
  background-image:
    linear-gradient(135deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.18) 100%),
    var(--sl-gradient);
  color: white;
  border-radius: var(--r-lg);
  padding: var(--space-lg);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-md);
  align-items: center;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  margin: var(--space-lg) 0;
}
.sl-promo::after {
  content: '⚡';
  position: absolute;
  right: -60px;
  bottom: -80px;
  font-size: 320px;
  opacity: 0.04;
  pointer-events: none;
}
.sl-promo-text { position: relative; }
.sl-promo-eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono);
  font-weight: 800; font-size: 10px;
  letter-spacing: 2px; text-transform: uppercase;
  padding: 4px 12px;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.3);
  color: white;
  border-radius: 100px;
  margin-bottom: 12px;
  backdrop-filter: blur(8px);
}
.sl-promo h3 {
  font-family: var(--font-display);
  font-weight: 900; font-size: clamp(20px, 3vw, 26px);
  margin-bottom: 10px;
  letter-spacing: -0.5px;
  line-height: 1.2;
  position: relative;
}
.sl-promo h3 .gold {
  background: var(--grad-trophy);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.sl-promo p {
  font-size: 14px;
  opacity: 0.95;
  max-width: 540px;
  line-height: 1.55;
  position: relative;
}
.sl-promo-cta {
  white-space: nowrap;
  position: relative;
}
@media (max-width: 720px) {
  .sl-promo {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .sl-promo-cta { justify-self: start; }
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--grad-gold-rich);
  color: var(--text-on-gold);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14px;
  padding: 12px 22px;
  border-radius: var(--r-sm);
  box-shadow: var(--shadow-gold);
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-gold), 0 6px 18px rgba(251, 191, 36, 0.45);
}

/* When the gold CTA appears on a dark Stock Liga blue panel,
   the orange-tinted shadow reads as smudge. Switch to white-tinted glow. */
.sl-promo .btn-primary {
  box-shadow:
    0 4px 14px rgba(255, 255, 255, 0.18),
    0 1px 3px rgba(0, 0, 0, 0.15);
}
.sl-promo .btn-primary:hover {
  box-shadow:
    0 4px 14px rgba(255, 255, 255, 0.25),
    0 8px 22px rgba(255, 255, 255, 0.18),
    0 1px 3px rgba(0, 0, 0, 0.15);
}

/* ══════ FOOTER ══════════════════════════════════════════════════════ */
.site-footer {
  background: var(--sl-blue-ink);
  color: rgba(255,255,255,0.85);
  padding: var(--space-xl) var(--space-md) var(--space-md);
  margin-top: var(--space-2xl);
  position: relative;
  overflow: hidden;
}
.site-footer::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-gold-rich);
}
.site-footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: var(--space-lg);
}
@media (max-width: 800px) {
  .site-footer-inner {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
}
.footer-col-title {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 800;
  color: rgba(251, 191, 36, 0.8);
  margin-bottom: var(--space-sm);
}
.footer-col a {
  display: block;
  padding: 4px 0;
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  transition: color 0.15s;
}
.footer-col a:hover { color: white; }
.footer-brand .brand-mark { margin-bottom: 12px; }
.footer-brand .brand-mark-title    { color: rgba(255, 255, 255, 0.65); }
.footer-brand .brand-mark-subtitle { color: #ffffff; }
.footer-brand-tag {
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255,255,255,0.65);
  max-width: 320px;
}
.footer-bottom {
  max-width: 1280px;
  margin: var(--space-lg) auto 0;
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  font-family: var(--font-mono);
  letter-spacing: 0.5px;
}

/* ══════ FALLBACK — ODDS NOT YET AVAILABLE ═════════════════════════ */
.odds-fallback {
  padding: var(--space-md);
  background: rgba(251, 191, 36, 0.06);
  border: 1px dashed var(--gold-300);
  border-radius: var(--r-md);
  color: var(--text-muted);
  text-align: center;
  font-size: 13px;
}
.odds-fallback-icon {
  font-size: 24px;
  margin-bottom: 6px;
  opacity: 0.6;
}

/* ══════ EMPTY STATES ═══════════════════════════════════════════════ */
.empty-state {
  padding: var(--space-xl);
  text-align: center;
  color: var(--text-muted);
  background: var(--surface-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-md);
}
.empty-state-icon {
  font-size: 42px;
  margin-bottom: var(--space-sm);
  opacity: 0.4;
}

/* ══════ DATE STRIP (matchday navigation) ═════════════════════════════ */
.date-strip {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  padding-bottom: var(--space-sm);
  margin-bottom: var(--space-md);
  scrollbar-width: thin;
}
.date-strip::-webkit-scrollbar { height: 4px; }
.date-strip::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }
.date-pill {
  flex-shrink: 0;
  padding: 8px 14px;
  border-radius: var(--r-sm);
  background: var(--surface-card);
  border: 1px solid var(--border-soft);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-align: center;
  min-width: 80px;
  line-height: 1.3;
}
.date-pill:hover { background: var(--surface-card-tint); color: var(--text-primary); }
.date-pill.active {
  background: var(--sl-gradient);
  border-color: transparent;
  color: white;
  font-weight: 800;
}
.date-pill-day {
  display: block;
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: 0.7;
}
.date-pill-date {
  display: block;
  font-size: 14px;
  font-weight: 800;
  margin-top: 2px;
}

/* ══════ BLOG CARD ══════════════════════════════════════════════════ */
.blog-card {
  background: var(--surface-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-md);
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.15s, transform 0.15s;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}
a.blog-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}
.blog-card-type {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 3px;
}
.blog-card-type.preview { background: var(--sl-blue-50); color: var(--sl-blue-700); }
.blog-card-type.wrap    { background: var(--win-light); color: var(--win-dark); }
.blog-card h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  line-height: 1.25;
  color: var(--text-ink);
  letter-spacing: -0.3px;
}
.blog-card-excerpt {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.55;
}
.blog-card-byline {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: var(--space-xs);
  border-top: 1px solid var(--border-soft);
  font-size: 11px;
  color: var(--text-muted);
}
.blog-card-byline-emoji { font-size: 16px; }
.blog-card-byline-name { font-weight: 700; color: var(--text-secondary); }

/* ══════ UTILS ══════════════════════════════════════════════════════ */
.text-muted { color: var(--text-muted); }
.mono { font-family: var(--font-mono); }
.gold {
  background: var(--grad-gold-readable);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.spacer-md { height: var(--space-md); }
.spacer-lg { height: var(--space-lg); }

/* ════════════════════════════════════════════════════════════════════
   STEP 2 COMPONENTS — matchday + match detail pages
   ════════════════════════════════════════════════════════════════════ */

/* ══════ BREADCRUMB ══════════════════════════════════════════════════ */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-muted);
  margin: 0 0 var(--space-md);
  font-family: var(--font-mono);
  font-weight: 600;
  letter-spacing: 0.3px;
}
.breadcrumb a { color: var(--text-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--sl-blue-700); }
.breadcrumb-sep { color: var(--text-muted); opacity: 0.5; }
.breadcrumb .current { color: var(--text-primary); }

/* ══════ DATE STRIP (matchday navigator) ═════════════════════════════ */
.date-strip-wrap {
  position: relative;
  margin: 0 0 var(--space-lg);
  background: var(--surface-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-md);
  padding: var(--space-sm);
}
.date-strip {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: thin;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.date-strip::-webkit-scrollbar { height: 4px; }
.date-strip::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }
.date-strip .date-pill {
  flex-shrink: 0;
  padding: 10px 14px;
  border-radius: var(--r-sm);
  background: transparent;
  border: 1.5px solid transparent;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--text-muted);
  text-align: center;
  min-width: 88px;
  text-decoration: none;
  scroll-snap-align: start;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.date-strip .date-pill:hover {
  background: var(--sl-blue-50);
  color: var(--sl-blue-700);
}
.date-strip .date-pill.active {
  background: var(--sl-gradient);
  border-color: transparent;
  color: white;
  font-weight: 800;
  box-shadow: var(--shadow-blue);
}
.date-strip .date-pill.is-today {
  border-color: var(--gold-400);
}
.date-strip .date-pill .day {
  display: block;
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  opacity: 0.75;
  margin-bottom: 2px;
}
.date-strip .date-pill .num {
  display: block;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.1;
}
.date-strip .date-pill .mon {
  display: block;
  font-size: 10px;
  font-weight: 600;
  opacity: 0.7;
  letter-spacing: 0.5px;
  margin-top: 1px;
  text-transform: uppercase;
}

/* ══════ MATCH HERO ══════════════════════════════════════════════════ */
.match-hero {
  background: var(--sl-gradient);
  color: white;
  border-radius: var(--r-xl);
  padding: var(--space-xl) var(--space-lg);
  margin-bottom: var(--space-lg);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.match-hero::after {
  content: '⚽';
  position: absolute;
  right: -30px;
  bottom: -40px;
  font-size: 260px;
  opacity: 0.16;
  pointer-events: none;
  transform: rotate(-10deg);
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.3));
}
.match-hero-meta {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: var(--space-md);
  position: relative;
}
.match-hero-meta .pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 12px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 100px;
  backdrop-filter: blur(8px);
}
/* Gold kickoff time inside the hero meta — high contrast on blue */
.match-hero-meta .pill .kickoff-time,
.match-hero-meta .pill time {
  color: var(--gold-300);
  font-weight: 800;
  opacity: 1;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* ══════ MATCH STICKY BAR (slides in after hero scrolls past) ════════ */
.match-sticky {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  z-index: 90;
  background: var(--sl-gradient);
  color: white;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  box-shadow: var(--shadow-md);
  transform: translateY(-100%);
  opacity: 0;
  transition: transform 0.25s ease-out, opacity 0.25s ease-out;
  pointer-events: none;
}
.match-sticky.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.match-sticky-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 10px var(--space-md);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: var(--space-md);
  align-items: center;
}
.match-sticky-team {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.match-sticky-team.away {
  justify-content: flex-end;
  flex-direction: row-reverse;
}
.match-sticky-team .flag-img {
  width: 28px;
  height: 21px;
  flex-shrink: 0;
  box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.2);
}
.match-sticky-team-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: -0.2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.match-sticky-center {
  font-family: var(--font-mono);
  font-weight: 900;
  font-size: 18px;
  color: var(--gold-300);
  white-space: nowrap;
  text-align: center;
  line-height: 1;
}
.match-sticky-center .upcoming {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 700;
}
.match-sticky-meta {
  display: block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 3px;
  font-family: var(--font-mono);
}
/* Gold kickoff time inside the sticky bar — match the hero treatment */
.match-sticky-meta time,
.match-sticky-meta .kickoff-time {
  color: var(--gold-300);
  font-weight: 800;
  opacity: 1;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}
@media (max-width: 540px) {
  .match-sticky-team-name { font-size: 12px; max-width: 110px; }
  .match-sticky-team .flag-img { width: 22px; height: 17px; }
  .match-sticky-center { font-size: 15px; }
  .match-sticky-inner { padding: 8px 12px; gap: 10px; }
}
.match-hero-teams {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: var(--space-md);
  align-items: center;
  position: relative;
}
.match-hero-team {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}
.match-hero-team .flag-img {
  width: 80px;
  height: 60px;
  border-radius: 4px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  background: rgba(255, 255, 255, 0.04);
}
.match-hero-team .flag-img--fallback {
  font-size: 24px;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), rgba(255,255,255,0.05));
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.match-hero-team-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(20px, 3vw, 28px);
  letter-spacing: -0.4px;
  line-height: 1.1;
}
.match-hero-vs {
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 2px;
  opacity: 0.7;
}
.match-hero-score {
  font-family: var(--font-mono);
  font-weight: 900;
  font-size: clamp(36px, 6vw, 56px);
  line-height: 1;
  color: var(--gold-300);
  letter-spacing: -1px;
  white-space: nowrap;
}
.match-hero-score-sub {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 8px;
}
.match-hero-venue {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: var(--space-md);
  font-size: 13px;
  opacity: 0.85;
  position: relative;
}

@media (max-width: 540px) {
  .match-hero-team .flag-img { width: 60px; height: 45px; }
  .match-hero { padding: var(--space-lg) var(--space-md); }
}

/* ══════ PUBLIC PICKS CARDS (3-tier) ══════════════════════════════════ */
.picks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}
@media (max-width: 800px) {
  .picks-grid { grid-template-columns: 1fr; }
}

.pick-card {
  background: var(--surface-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-md);
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}
.pick-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
}
.pick-card.safe::before  { background: linear-gradient(90deg, #16a34a 0%, #22c55e 100%); }
.pick-card.value::before { background: linear-gradient(90deg, #1565c0 0%, #42a5f5 100%); }
.pick-card.bold::before  { background: linear-gradient(90deg, #f59e0b 0%, #d97706 100%); }

.pick-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--space-sm);
  padding-top: 4px;
}
.pick-card-label {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.pick-card-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  color: var(--text-ink);
  letter-spacing: -0.2px;
}
.pick-card-tagline {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--text-muted);
}
.pick-card-combined {
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 20px;
  color: var(--text-ink);
  text-align: right;
  line-height: 1;
}
.pick-card-combined-label {
  display: block;
  font-size: 9px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 700;
  margin-top: 3px;
}
.pick-card.safe  .pick-card-combined { color: var(--win-dark); }
.pick-card.value .pick-card-combined { color: var(--sl-blue-700); }
.pick-card.bold  .pick-card-combined { color: var(--gold-700); }

.pick-card-legs {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: var(--space-sm);
}
.pick-leg {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  background: var(--surface-card-tint);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-xs);
}
.pick-leg-label {
  line-height: 1.3;
  color: var(--text-primary);
  min-width: 0;
}
.pick-leg-label .market {
  display: block;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 800;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 4px;
}
.pick-leg-label .pick {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--text-ink);
  letter-spacing: -0.1px;
}
.pick-leg-odd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  padding: 6px 10px;
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 14px;
  color: var(--text-ink);
  background: var(--surface-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-xs);
  white-space: nowrap;
}
/* Tier-tinted odd chip backgrounds */
.pick-card.safe  .pick-leg-odd { color: var(--win); border-color: rgba(22, 163, 74, 0.25); background: var(--win-light); }
.pick-card.value .pick-leg-odd { color: var(--sl-blue-700); border-color: var(--sl-blue-200); background: var(--sl-blue-50); }
.pick-card.bold  .pick-leg-odd { color: var(--gold-700); border-color: var(--gold-200); background: var(--gold-50); }
.pick-card-empty {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  padding: var(--space-md) 0;
  font-style: italic;
}

/* ══════ FULL ODDS TABLE (collapsible by tier) ═══════════════════════ */
.odds-section {
  background: var(--surface-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-md);
  padding: var(--space-md);
  margin-bottom: var(--space-lg);
}
.odds-section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-md);
}
.odds-section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  color: var(--text-ink);
}
.odds-section-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  text-transform: uppercase;
}

.odds-tier {
  margin-bottom: var(--space-md);
}
.odds-tier:last-child { margin-bottom: 0; }
.odds-tier-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background: var(--sl-blue-50);
  border-radius: var(--r-xs);
  margin-bottom: var(--space-xs);
}
.odds-tier-head .tier-name {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--sl-blue-700);
}
.odds-tier-head .leg-count {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
}

.market-block {
  margin: 12px 0;
}
.market-block-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 6px;
}
.market-legs-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.leg-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: var(--surface-card-tint);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-xs);
  font-size: 12px;
  color: var(--text-primary);
  font-weight: 600;
}
.leg-chip .o {
  font-family: var(--font-mono);
  font-weight: 800;
  color: var(--text-ink);
}

/* "Show more odds" expand button */
.odds-expand-btn {
  display: block;
  margin: var(--space-md) auto 0;
  padding: 10px 22px;
  background: var(--surface-card-tint);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-sm);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  color: var(--sl-blue-700);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.odds-expand-btn:hover {
  background: var(--sl-blue-50);
  border-color: var(--sl-blue-200);
}
.odds-tier-extra { display: none; }
.odds-tier-extra.open { display: block; }

/* ══════ ODDS FALLBACK (no data yet) ═══════════════════════════════════ */
/* (Already declared in step-1 section; here we add a richer version) */
.odds-fallback-rich {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-lg);
  background: linear-gradient(135deg, var(--surface-card-tint), var(--surface-card));
  border: 1px dashed var(--gold-300);
  border-radius: var(--r-md);
  margin-bottom: var(--space-lg);
}
.odds-fallback-rich .icon {
  font-size: 36px;
  flex-shrink: 0;
}
.odds-fallback-rich .text {
  flex: 1;
}
.odds-fallback-rich .text strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--text-ink);
  margin-bottom: 4px;
}
.odds-fallback-rich .text span {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ══════ BLOG EMBED CARDS (on match detail) ══════════════════════════ */
.blog-embeds {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}
@media (min-width: 720px) {
  .blog-embeds.dual { grid-template-columns: 1fr 1fr; }
}
.blog-embed {
  background: var(--surface-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-md);
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.15s, transform 0.15s;
}
.blog-embed:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}
.blog-embed-type {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 3px;
  align-self: flex-start;
}
.blog-embed-type.preview { background: var(--sl-blue-50); color: var(--sl-blue-700); }
.blog-embed-type.wrap    { background: var(--win-light); color: var(--win-dark); }
.blog-embed h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  line-height: 1.25;
  letter-spacing: -0.3px;
  color: var(--text-ink);
  margin: 0;
}
.blog-embed .subtitle {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  font-style: italic;
}
.blog-embed .excerpt {
  font-size: 13px;
  color: var(--text-primary);
  line-height: 1.55;
}
.blog-embed-byline {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid var(--border-soft);
  margin-top: auto;
  font-size: 11px;
  color: var(--text-muted);
}
.blog-embed-byline .emoji { font-size: 18px; }
.blog-embed-byline .name {
  font-weight: 700;
  color: var(--text-secondary);
}
.blog-embed-byline .meta {
  margin-left: auto;
  font-family: var(--font-mono);
  font-weight: 600;
}
.blog-embed-cta {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--sl-blue-700);
  margin-top: 4px;
}
