/* ============================================================
   WC 2026 Fantasy — Shared Styles
   Mobile-first, target ~390px wide
   ============================================================ */

:root {
  --c-bg:          #0d0d0d;
  --c-surface:     #1a1a1a;
  --c-surface2:    #242424;
  --c-border:      #333;
  --c-text:        #e8e8e8;
  --c-muted:       #a0a0a0;
  --c-blue:        #3b82f6;
  --c-blue-dim:    #1e3a5f;
  --c-green:       #22c55e;
  --c-green-dim:   #14532d;
  --c-red:         #ef4444;
  --c-gold:        #f59e0b;
  --c-gold-dim:    #78350f;
  --radius:        8px;
  --radius-sm:     4px;
  --font:          -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

html { font-size: 16px; }

body {
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--font);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--c-blue); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Top bar ─────────────────────────────────────────────── */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--c-surface);
  border-bottom: 1px solid var(--c-border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.topbar__title {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.topbar__dates {
  font-size: 0.75rem;
  color: var(--c-muted);
  margin-top: 1px;
}
.topbar__sub {
  font-size: 0.75rem;
  color: var(--c-blue);
  margin-top: 2px;
  font-weight: 500;
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.12s, color 0.12s, border-color 0.12s;
  white-space: nowrap;
}
.btn--primary {
  background: var(--c-blue);
  color: #fff;
  border-color: var(--c-blue);
}
.btn--primary:hover { background: #2563eb; }
.btn--ghost {
  background: transparent;
  color: var(--c-text);
  border-color: var(--c-border);
}
.btn--ghost:hover { background: var(--c-surface2); }
.btn--sm { padding: 5px 12px; font-size: 0.78rem; }

/* ── Pick buttons (prediction) ───────────────────────────── */
.pick-btn {
  flex: 1;
  padding: 7px 4px;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 600;
  border: 1px solid var(--c-border);
  background: var(--c-surface2);
  color: var(--c-muted);
  cursor: pointer;
  transition: all 0.1s;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pick-btn--draw {
  flex: 0 0 auto;
  padding: 7px 10px;
}
.pick-btn:hover:not(:disabled) {
  border-color: var(--c-blue);
  color: var(--c-text);
}
.pick-btn--selected {
  background: var(--c-blue-dim);
  color: var(--c-blue);
  border-color: var(--c-blue);
}
.pick-btn--default {
  background: var(--c-surface2);
  color: var(--c-muted);
  border-color: var(--c-border);
  position: relative;
}
.pick-btn--default::after {
  content: "•";
  font-size: 0.6rem;
  position: absolute;
  top: 2px;
  right: 3px;
  color: var(--c-muted);
}
.pick-btn:disabled {
  cursor: default;
  opacity: 0.7;
}
.pick-btn.ko-card__score--correct {
  color: var(--c-green);
  font-weight: 700;
}
.pick-btn.ko-card__score--wrong {
  color: var(--c-red);
  font-weight: 700;
}

/* Results page team displays (read-only, no button styling) */
.ko-team {
  display: inline-block;
  padding: 7px 4px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--c-muted);
  text-align: center;
  flex: 1;
}
.ko-team.ko-card__score--correct {
  color: var(--c-green);
  font-weight: 700;
}
.ko-team.ko-card__score--wrong {
  color: var(--c-red);
  font-weight: 700;
}

/* ── Layout helpers ──────────────────────────────────────── */
.page-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 12px 12px 48px;
}

/* ── Section headings ────────────────────────────────────── */
.section-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin: 20px 0 10px;
}

/* ── Leaderboard ─────────────────────────────────────────── */
.podium {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 8px;
  margin: 16px 0 24px;
}
.podium__slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex: 1;
  max-width: 110px;
}
.podium__slot--1 .podium__block { background: var(--c-gold-dim); border-color: var(--c-gold); }
.podium__slot--1 .podium__rank { color: var(--c-gold); }
.podium__block {
  width: 100%;
  background: var(--c-surface2);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 4px 6px;
  gap: 4px;
}
.podium__slot--1 .podium__block { padding-top: 14px; }
.podium__slot--2 .podium__block { padding-top: 10px; }
.podium__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
}
.podium__name {
  font-size: 0.75rem;
  font-weight: 600;
  text-align: center;
  max-width: 90px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.podium__score {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--c-blue);
}
.podium__rank {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--c-muted);
  letter-spacing: 0.05em;
}

.lb-table { width: 100%; border-collapse: collapse; }
.lb-table td, .lb-table th {
  padding: 8px 10px;
  font-size: 0.82rem;
  border-bottom: 1px solid var(--c-border);
  text-align: left;
}
.lb-table th {
  font-size: 0.7rem;
  color: var(--c-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}
.lb-table td:last-child { text-align: right; font-weight: 700; }
.lb-row--me { background: var(--c-blue-dim); }
.lb-rank { color: var(--c-muted); font-variant-numeric: tabular-nums; width: 28px; }
.lb-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--c-surface2);
  border: 1px solid var(--c-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  vertical-align: middle;
  margin-right: 6px;
}

/* ── Group cards grid ────────────────────────────────────── */
.groups-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.group-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  overflow: hidden;
}
.group-card__header {
  padding: 7px 10px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  background: var(--c-surface2);
  border-bottom: 1px solid var(--c-border);
}

/* Standings table */
.standings { width: 100%; border-collapse: collapse; }
.standings td {
  padding: 4px 6px;
  font-size: 0.7rem;
  border-bottom: 1px solid var(--c-border);
}
.standings td:first-child { font-weight: 600; }
.standings td:not(:first-child) {
  text-align: center;
  color: var(--c-muted);
  width: 20px;
}
.standings .pts { font-weight: 700; color: var(--c-text); }
.standings .team-name { max-width: 70px; }
.standings .team-abbr { color: var(--c-muted); font-size: 0.72rem; margin-left: 3px; }
.standings tr.qualified td:first-child { color: var(--c-blue); }
.standings tr.qualified-actual td:first-child { color: var(--c-green); }

/* Fixtures divider */
.fixtures-divider {
  padding: 4px 10px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--c-muted);
  background: var(--c-surface2);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
}

/* Fixture rows */
.fixture { padding: 6px 8px; border-bottom: 1px solid var(--c-border); }
.fixture:last-child { border-bottom: none; }
.fixture__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  margin-bottom: 5px;
}
.fixture__team {
  font-size: 0.72rem;
  font-weight: 600;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.fixture__team--away { text-align: right; }
.fixture__score {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--c-muted);
  white-space: nowrap;
  min-width: 40px;
  text-align: center;
}
.fixture__score--live { color: var(--c-red); }
.fixture__buttons {
  display: flex;
  gap: 4px;
  align-items: center;
}

/* ── Lock banner ─────────────────────────────────────────── */
.lock-banner {
  background: var(--c-surface2);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-size: 0.78rem;
  color: var(--c-muted);
  margin-bottom: 12px;
  text-align: center;
}
.lock-banner--locked { color: var(--c-red); border-color: var(--c-red); opacity: 0.8; }

/* ── Tab strip (predictions page) ───────────────────────── */
.tab-strip {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 2px;
}
.tab-strip::-webkit-scrollbar { display: none; }
.tab {
  flex-shrink: 0;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid var(--c-border);
  background: transparent;
  color: var(--c-muted);
  cursor: pointer;
  transition: all 0.1s;
}
.tab--active {
  background: var(--c-text);
  color: var(--c-bg);
  border-color: var(--c-text);
}
.tab--locked { opacity: 0.6; }

/* ── Knockout bracket ────────────────────────────────────── */
.bracket-round-tabs {
  display: flex;
  gap: 5px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  margin-bottom: 12px;
  padding-bottom: 2px;
}
.bracket-round-tabs::-webkit-scrollbar { display: none; }
.round-tab {
  flex-shrink: 0;
  padding: 5px 12px;
  border-radius: 16px;
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid var(--c-border);
  background: transparent;
  color: var(--c-muted);
  cursor: pointer;
  transition: all 0.1s;
}
.round-tab--active {
  background: var(--c-text);
  color: var(--c-bg);
  border-color: var(--c-text);
}

.bracket-view {
  display: block;
  width: 100%;
}
.bracket-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 0 0 62%;
}
.bracket-col--next {
  flex: 0 0 34%;
  opacity: 0.4;
  pointer-events: none;
}
.bracket-connector {
  flex: 0 0 20px;
  position: relative;
  align-self: stretch;
}

/* Match card (knockout) */
.ko-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ko-card--dim {
  background: var(--c-surface);
  border-color: var(--c-border);
}
.ko-card__meta {
  font-size: 0.72rem;
  color: var(--c-muted);
}
.ko-card__matchup {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  font-weight: 600;
  gap: 4px;
}
.ko-card__team { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ko-card__team--away { text-align: right; }
.ko-card__score {
  font-size: 0.75rem;
  color: var(--c-muted);
  white-space: nowrap;
  padding: 0 4px;
}
.ko-card__score--live { color: var(--c-red); }
.ko-card__buttons { display: flex; gap: 4px; }
.ko-card__placeholder {
  font-size: 0.7rem;
  color: var(--c-muted);
  font-style: italic;
}

/* ── Tiebreaker ──────────────────────────────────────────── */
.tiebreaker {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 14px;
  margin-top: 14px;
}
.tiebreaker__label {
  font-size: 0.82rem;
  color: var(--c-muted);
  margin-bottom: 10px;
  line-height: 1.4;
}
.tiebreaker__input-row { display: flex; align-items: center; gap: 10px; }
.tiebreaker__input {
  width: 72px;
  padding: 8px 10px;
  background: var(--c-surface2);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  color: var(--c-text);
  font-size: 0.9rem;
  font-family: var(--font);
  text-align: center;
}
.tiebreaker__input:focus { outline: none; border-color: var(--c-blue); }
.tiebreaker__input:disabled { opacity: 0.6; cursor: default; }
.tiebreaker__hint { font-size: 0.72rem; color: var(--c-muted); }

/* ── Prediction overlay (results page) ───────────────────── */
.pred-overlay {
  font-size: 0.68rem;
  margin-top: 3px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.pred-overlay--correct { color: var(--c-green); }
.pred-overlay--wrong   { color: var(--c-red); }

/* Score color overlay — correct pick = green, wrong = red */
.fixture__score--correct  { color: var(--c-green) !important; font-weight: 700; }
.fixture__score--wrong    { color: var(--c-red)   !important; font-weight: 700; }
.ko-card__score--correct  { color: var(--c-green) !important; font-weight: 700; }
.ko-card__score--wrong    { color: var(--c-red)   !important; font-weight: 700; }

/* ── Login modal ─────────────────────────────────────────── */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 16px;
}
.modal-backdrop.hidden { display: none; }
.modal {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 24px;
  width: 100%;
  max-width: 360px;
}
.modal__title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.modal__sub {
  font-size: 0.8rem;
  color: var(--c-muted);
  margin-bottom: 20px;
  line-height: 1.4;
}
.form-group { margin-bottom: 14px; }
.form-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--c-muted);
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.form-input {
  width: 100%;
  padding: 10px 12px;
  background: var(--c-surface2);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  color: var(--c-text);
  font-size: 0.9rem;
  font-family: var(--font);
}
.form-input:focus { outline: none; border-color: var(--c-blue); }
.form-error {
  font-size: 0.75rem;
  color: var(--c-red);
  margin-top: 10px;
  min-height: 1em;
}

/* ── Save indicator ──────────────────────────────────────── */
.save-indicator {
  position: fixed;
  bottom: 20px;
  right: 16px;
  background: var(--c-surface2);
  border: 1px solid var(--c-green);
  color: var(--c-green);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.2s;
  pointer-events: none;
  z-index: 150;
}
.save-indicator.visible { opacity: 1; }

/* ── Back link ───────────────────────────────────────────── */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8rem;
  color: var(--c-muted);
  margin-bottom: 14px;
}
.back-link:hover { color: var(--c-text); text-decoration: none; }

/* ── Last updated ────────────────────────────────────────── */
.last-updated {
  font-size: 0.7rem;
  color: var(--c-muted);
  text-align: center;
  padding: 6px 0 2px;
}

/* ── Utility ─────────────────────────────────────────────── */
.hidden { display: none !important; }
.text-muted { color: var(--c-muted); }
.text-blue  { color: var(--c-blue); }
.text-green { color: var(--c-green); }
.text-red   { color: var(--c-red); }
.mt-1 { margin-top: 4px; }
.mt-2 { margin-top: 8px; }

/* ── Countdown banner ────────────────────────────────────── */
.countdown-banner {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 10px 14px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.countdown-banner__time {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--c-text);
}
.countdown-banner__time span {
  color: var(--c-blue);
}
.countdown-banner__link {
  font-size: 0.75rem;
  color: var(--c-muted);
  white-space: nowrap;
}
.countdown-banner__link:hover { color: var(--c-text); }

/* ── Footer ──────────────────────────────────────────────── */
.site-footer {
  margin-top: 48px;
  padding: 20px 16px;
  border-top: 1px solid var(--c-border);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: center;
  font-size: 0.75rem;
  color: var(--c-muted);
}
.site-footer a {
  color: var(--c-muted);
}
.site-footer a:hover {
  color: var(--c-text);
  text-decoration: none;
}
.site-footer__sep {
  color: var(--c-border);
}
.site-footer__gh {
  display: inline-flex;
  align-items: center;
  color: var(--c-muted);
  line-height: 1;
}
.site-footer__gh:hover { color: var(--c-text); }
.site-footer__gh svg { width: 16px; height: 16px; fill: currentColor; }
.site-footer__cta {
  color: var(--c-gold) !important;
  border: 1px solid var(--c-gold);
  border-radius: 12px;
  padding: 3px 10px;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none !important;
  white-space: nowrap;
}
.site-footer__cta:hover {
  background: var(--c-gold-dim);
  color: var(--c-gold) !important;
}

/* ── Welcome Page ────────────────────────────────────────── */

.welcome-page {
  --c-bg-welcome:      #060c14;
  --c-bg-card-welcome: #0f1e35;
  --c-blue-text:       #dbeafe;
  --c-blue-muted:      #93c5fd;
  --c-red-welcome:     #c41e3a;
  --c-red-light:       #ff6b7a;
  --c-mystery-name:    #60a0d0;
  background: #060c14;
}

.welcome-hero {
  position: relative;
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  min-height: 100vh;
  padding: 48px 24px 80px;
  background: var(--c-bg-welcome);
  overflow: hidden;
}

/* Background grain texture */
.welcome-hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="4" height="4"><rect width="4" height="4" fill="%23060c14"/><circle cx="1" cy="1" r="0.8" fill="%230a1628" opacity="0.3"/><circle cx="3" cy="3" r="0.8" fill="%23040810" opacity="0.3"/></svg>');
  background-size: 4px 4px;
  opacity: 0.9;
  pointer-events: none;
}

/* Diagonal accent bands — sit behind content, above eyebrow area only */
.welcome-hero__band {
  position: absolute;
  pointer-events: none;
  z-index: 1;
}

.welcome-hero__band--wide {
  top: 20px;
  left: -50px;
  right: -50px;
  height: 60px;
  background: var(--c-blue-dim);
  opacity: 0.5;
  transform: skewY(-3deg);
}

.welcome-hero__band--highlight {
  top: 48px;
  left: -50px;
  right: -50px;
  height: 4px;
  background: var(--c-blue);
  opacity: 0.6;
  transform: skewY(-3deg);
}

/* Corner registration marks */
.welcome-hero__corner {
  position: absolute;
  width: 16px;
  height: 16px;
  border: 1px solid var(--c-blue-dim);
  border-radius: 50%;
  pointer-events: none;
  z-index: 2;
}

.welcome-hero__corner::before {
  content: '';
  position: absolute;
  width: 6px;
  height: 6px;
  background: var(--c-blue-dim);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.welcome-hero__corner--tl { top: 20px; left: 20px; }
.welcome-hero__corner--tr { top: 20px; right: 20px; }
.welcome-hero__corner--bl { bottom: 20px; left: 20px; }
.welcome-hero__corner--br { bottom: 20px; right: 20px; }

/* Side rules */
.welcome-hero__rule {
  position: absolute;
  background: var(--c-blue-dim);
  opacity: 0.3;
  pointer-events: none;
  width: 0.8px;
  z-index: 2;
}

.welcome-hero__rule--left  { left: 32px;  top: 40px; bottom: 40px; }
.welcome-hero__rule--right { right: 32px; top: 40px; bottom: 40px; }

/* Content container — above all decorative layers */
.welcome-hero__content {
  position: relative;
  z-index: 10;
  text-align: center;
}

/* Eyebrow */
.welcome-hero__eyebrow {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 12px;
  letter-spacing: 5px;
  color: var(--c-blue-muted);
  opacity: 0.8;
  margin-bottom: 48px;
  text-transform: uppercase;
}

/* Football circle motif */
.welcome-hero__circle {
  width: clamp(180px, 48vw, 240px);
  height: auto;
  margin: 0 auto 36px;
}

.welcome-hero__circle-outer { stroke: #1e3a5f; }
.welcome-hero__circle-mid   { stroke: #3b82f6; }
.welcome-hero__circle-inner { fill: #0c1628; stroke: #1e3a5f; }
.welcome-hero__hexagon-upper { stroke: #f59e0b; }
.welcome-hero__hexagon-lower { fill: #0c1628; stroke: #1e3a5f; }
.welcome-hero__crosshair    { stroke: #1e3a5f; }

/* Title block */
.welcome-hero__title {
  margin: 8px 0 28px;
}

.welcome-hero__title-line-1 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 13px;
  font-style: italic;
  letter-spacing: 6px;
  color: var(--c-blue-muted);
  opacity: 0.85;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.welcome-hero__title-line-2 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(40px, 13vw, 58px);
  font-weight: bold;
  letter-spacing: -1px;
  color: var(--c-blue-text);
  line-height: 1;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.welcome-hero__title-line-3 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(18px, 5.5vw, 28px);
  font-weight: normal;
  letter-spacing: 10px;
  color: var(--c-blue);
  text-transform: uppercase;
}

/* Divider */
.welcome-hero__divider {
  height: 1px;
  background: var(--c-blue-dim);
  margin: 20px auto;
  width: 60%;
  position: relative;
}

.welcome-hero__divider::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 0;
  right: 0;
  height: 0.5px;
  background: var(--c-gold);
  opacity: 0.4;
}

/* Roll of Honour label */
.welcome-hero__honour-label {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 12px;
  letter-spacing: 6px;
  color: var(--c-gold);
  opacity: 0.75;
  margin: 16px 0 12px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.welcome-hero__honour-label::before,
.welcome-hero__honour-label::after {
  content: '';
  display: inline-block;
  width: 40px;
  height: 0.7px;
  background: var(--c-gold);
  opacity: 0.5;
}

/* Champion cards */
.welcome-hero__cards {
  margin-top: 8px;
}

.welcome-hero__card {
  position: relative;
  border-radius: 3px;
  font-family: Georgia, 'Times New Roman', serif;
  text-align: left;
}

/* CTA Card */
.welcome-hero__card--cta {
  background: var(--c-red-welcome);
  border: 0.8px solid var(--c-red-light);
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-bottom: 12px;
  cursor: pointer;
  transition: opacity 0.15s;
}

.welcome-hero__card--cta:hover { opacity: 0.9; }

.welcome-hero__card--cta .welcome-hero__card-year {
  color: rgba(255, 255, 255, 0.75);
  font-size: 10px;
  letter-spacing: 4px;
  opacity: 0.8;
  margin-bottom: 6px;
  text-transform: uppercase;
  text-align: center;
}

.welcome-hero__card-cta-text {
  color: white;
  font-size: clamp(17px, 4.5vw, 22px);
  font-weight: bold;
  letter-spacing: 1px;
  text-align: center;
}

.welcome-hero__card-link {
  position: absolute;
  inset: 0;
  cursor: pointer;
}

/* Known champion cards */
.welcome-hero__card--known {
  background: var(--c-bg-card-welcome);
  border: 0.8px solid var(--c-blue-dim);
  padding: 12px 14px 14px;
  min-height: 130px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.welcome-hero__card-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent-color, var(--c-blue));
  border-radius: 3px 3px 0 0;
}

.welcome-hero__card-year {
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--c-blue-muted);
  opacity: 0.85;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.welcome-hero__card-name {
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: center;
  margin-bottom: 8px;
}

.welcome-hero__card-first {
  font-size: clamp(15px, 4vw, 19px);
  font-weight: bold;
  color: #e8f4ff;
  line-height: 1.15;
}

.welcome-hero__card-last {
  font-size: clamp(13px, 3.2vw, 16px);
  font-style: italic;
  color: var(--c-blue-muted);
  line-height: 1.15;
}

.welcome-hero__card-subtitle {
  font-size: 11px;
  color: var(--c-blue-muted);
  opacity: 0.85;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 3px;
  font-style: italic;
}

.welcome-hero__card-tagline {
  font-size: 11px;
  color: var(--c-blue-muted);
  opacity: 0.75;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Mystery cards */
.welcome-hero__card--mystery {
  background: var(--c-bg-welcome);
  border: 0.6px dashed #2a4a6f;
  padding: 12px 14px 14px;
  min-height: 130px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.welcome-hero__card--mystery .welcome-hero__card-year {
  color: var(--c-blue-muted);
  opacity: 0.7;
}

.welcome-hero__card-mystery-name {
  font-size: clamp(12px, 3vw, 15px);
  font-weight: bold;
  color: var(--c-mystery-name);
  line-height: 1.2;
  flex: 1;
  display: flex;
  align-items: center;
}

.welcome-hero__card-mystery-name--large {
  font-size: clamp(14px, 3.5vw, 17px);
}

.welcome-hero__card--mystery .welcome-hero__card-subtitle {
  color: var(--c-blue-muted);
  opacity: 0.55;
  font-style: italic;
}

.welcome-hero__card--mystery .welcome-hero__card-tagline {
  color: var(--c-mystery-name);
  opacity: 0.8;
}

/* Card rows for grid layout */
.welcome-hero__cards-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 10px;
}

.welcome-hero__cards-row--bottom {
  grid-template-columns: repeat(2, 1fr);
}

/* Footer */
.welcome-hero__footer {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--c-blue-muted);
  opacity: 0.7;
  margin-top: 40px;
  text-transform: uppercase;
  text-align: center;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 420px) {
  .groups-grid { grid-template-columns: 1fr; }
  .podium { gap: 4px; }
  
  /* Welcome page mobile */
  .welcome-hero {
    padding: 30px 16px;
  }
  
  .welcome-hero__cards-row {
    grid-template-columns: 1fr;
  }
  
  .welcome-hero__cards-row--bottom {
    grid-template-columns: 1fr;
  }
  
  .welcome-hero__circle {
    width: clamp(100px, 30vw, 140px);
  }
}

@media (max-width: 480px) {
  .site-footer {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  .site-footer__sep { display: none; }
  .countdown-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}
