/* ═══════════════════════════════════════════════════════════════
   LegUp Picks — v2 design system (black + gold)
   Shared by all pages. Tokens from "LegUp Homepage v2" design.
   ═══════════════════════════════════════════════════════════════ */

:root {
  --bg: #0B0B09;
  --panel: #0D0D0B;
  --panel-2: #111110;
  --panel-3: #121210;
  --card-grad: linear-gradient(180deg, #16150F, #0F0F0D);
  --ink: #EDEDE8;
  --muted: #8A8A80;
  --muted-2: #C9C9C0;
  --muted-3: #B5B5AC;
  --faint: #55554D;
  --gold: #F2B01E;
  --gold-band: #F9AE02;
  --gold-hover: #ffc93d;
  --win: #25B96A;
  --loss: #B54545;
  --push: #8A8A80;
  --discord: #5865F2;
  --sky: #38BDF8;
  --line: rgba(255,255,255,0.06);
  --line-2: rgba(255,255,255,0.08);
  --line-3: rgba(255,255,255,0.1);
  --font-display: 'Anton', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --font-num: 'Space Grotesk', sans-serif;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
::-webkit-scrollbar { width: 4px; height: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.12); border-radius: 2px; }
@keyframes pulse-dot { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

/* ── Layout ── */
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.section { border-bottom: 1px solid var(--line-2); }
.section-inner { max-width: 1200px; margin: 0 auto; padding: 96px 32px; }
.section-inner--tight { padding: 56px 32px 96px; }
.section--panel { background: var(--panel); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--gold);
  margin-bottom: 14px;
}
.page-title { font-size: clamp(36px, 4.5vw, 60px); line-height: 0.98; letter-spacing: 0.01em; color: var(--ink); }
.section-title { font-size: clamp(32px, 4vw, 52px); line-height: 0.98; letter-spacing: 0.01em; color: var(--ink); }
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  flex-wrap: wrap; gap: 20px; margin-bottom: 48px;
}

/* ── Buttons ── */
.btn-gold {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--gold); color: var(--bg);
  font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
  font-family: var(--font-body);
  padding: 15px 28px; border-radius: 2px; white-space: nowrap;
}
.btn-gold:hover { background: var(--gold-hover); }
.btn-gold--sm { padding: 9px 18px; font-size: 12px; }
.btn-dark {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--bg); color: var(--gold);
  font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
  font-family: var(--font-body);
  padding: 16px 28px; border-radius: 2px; white-space: nowrap;
}
.btn-dark:hover { background: #1D1D18; }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid rgba(255,255,255,0.14); color: var(--muted);
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em;
  font-family: var(--font-body);
  padding: 13px 24px; border-radius: 2px;
}
.btn-ghost:hover { border-color: rgba(242,176,30,0.4); color: var(--gold); }
.link-gold {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em;
  font-family: var(--font-body); color: var(--gold); padding-bottom: 8px;
}
.link-gold:hover { color: var(--gold-hover); }

/* ── Header ── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11,11,9,0.92);
  border-bottom: 1px solid var(--line-2);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
}
.site-header-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 32px;
  height: 60px; display: flex; align-items: center;
}
.site-header-logo { flex-shrink: 0; margin-right: auto; }
.site-header-logo img { height: 30px; width: auto; }
.site-nav {
  display: flex; align-items: center; justify-content: space-evenly;
  flex: 1; margin: 0 12px;
}
.site-nav a, .site-header-signin {
  font-family: var(--font-body); font-weight: 600; font-size: 12px;
  text-transform: uppercase; letter-spacing: 0.1em; color: #FFFFFF;
}
.site-nav a:hover, .site-header-signin:hover { color: var(--gold); }
.site-nav a.active { color: var(--gold); }
.site-header-actions { display: flex; align-items: center; gap: 28px; }

/* ── Floating CTA ── */
.floating-cta {
  position: fixed; bottom: 20px; right: 20px; z-index: 999;
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold); color: var(--bg);
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
  font-family: var(--font-body);
  padding: 13px 20px; border-radius: 2px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.5);
}
.floating-cta:hover { background: var(--gold-hover); }

/* ── Footer (gold band) ── */
.site-footer { background: var(--gold-band); padding: 56px 32px 36px; }
.site-footer-inner { max-width: 1200px; margin: 0 auto; }
.site-footer-grid { display: flex; flex-wrap: wrap; gap: 56px; margin-bottom: 48px; }
.site-footer-brand { flex: 2 1 240px; }
.site-footer-brand img { height: 34px; width: auto; margin-bottom: 16px; }
.site-footer-brand p { font-size: 13px; color: rgba(11,11,9,0.7); line-height: 1.7; max-width: 250px; }
.site-footer-col { flex: 1 1 120px; }
.site-footer-col h4 {
  font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.16em;
  color: rgba(11,11,9,0.55); margin-bottom: 18px; font-family: var(--font-mono);
}
.site-footer-col > div { display: flex; flex-direction: column; gap: 12px; }
.site-footer-col a { font-size: 13px; color: var(--bg); }
.site-footer-col a:hover { color: rgba(11,11,9,0.6); }
.site-footer-col a.bold { font-weight: 700; }
.site-footer-legal {
  border-top: 1px solid rgba(11,11,9,0.25); padding-top: 24px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px;
}
.site-footer-legal p { font-size: 11px; color: rgba(11,11,9,0.65); font-family: var(--font-mono); }

/* ── Picks grid (Today's Free Plays table) ── */
.picks-table-wrap { border-top: 1px solid var(--line-3); }
.picks-head, .pick-row {
  display: grid; grid-template-columns: 56px 1.6fr 1fr 70px 44px;
  gap: 12px; padding: 12px 8px;
  border-bottom: 1px solid var(--line-3);
}
.picks-head span {
  font-size: 9px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--faint); font-family: var(--font-mono);
}
.picks-head .col-odds { font-family: var(--font-num); font-weight: 700; text-align: right; }
.picks-head .col-res { text-align: center; }
.picks-scroll { overflow-x: auto; }
.pick-row {
  align-items: center; padding: 16px 8px;
  border-bottom: 1px solid var(--line); min-width: 520px;
}
.pick-row:hover { background: rgba(242,176,30,0.025); }
.pick-row .pick-sport { font-size: 10px; font-weight: 600; color: var(--muted); font-family: var(--font-mono); }
.pick-row .pick-game { min-width: 0; }
.pick-row .pick-teams {
  font-size: 14px; font-weight: 600; color: var(--ink);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pick-row .pick-time { font-size: 11px; color: var(--faint); margin-top: 2px; font-family: var(--font-mono); }
.pick-row .pick-sel {
  font-size: 14px; font-weight: 600; color: var(--ink);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pick-row .pick-odds { font-size: 12px; color: var(--muted); font-family: var(--font-num); font-weight: 700; text-align: right; }
.pick-row .pick-res { font-size: 11px; font-weight: 700; font-family: var(--font-mono); text-align: center; }
.picks-msg {
  padding: 56px; text-align: center; color: var(--faint);
  font-size: 13px; font-family: var(--font-mono);
  border-bottom: 1px solid var(--line);
}
.picks-locked-row {
  padding: 18px 8px; display: flex; align-items: center; gap: 12px;
  border-bottom: 1px solid var(--line);
}
.picks-locked-row .note { font-size: 13px; color: var(--muted); }
.picks-locked-row .note b { font-weight: 600; color: var(--gold); }
.picks-locked-row .btn-gold--sm { margin-left: auto; flex-shrink: 0; padding: 8px 16px; font-size: 11px; }

/* ── Pills / tabs / filter chips ── */
.pill-bar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.pill {
  font-family: var(--font-mono); font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--muted); background: none;
  border: 1px solid var(--line-3); border-radius: 2px;
  padding: 8px 16px; transition: all 0.15s;
}
.pill:hover { border-color: rgba(242,176,30,0.4); color: var(--gold); }
.pill.active { background: var(--gold); color: var(--bg); border-color: var(--gold); }
.pill.active-win { background: var(--win); color: #fff; border-color: var(--win); }
.pill.active-loss { background: var(--loss); color: #fff; border-color: var(--loss); }
.pill.active-push { background: var(--faint); color: #fff; border-color: var(--faint); }

/* ── Stat strip (records / worldcup) ── */
.stat-strip {
  display: flex; flex-wrap: wrap; gap: 0;
  border: 1px solid var(--line-3); border-radius: 3px; overflow: hidden;
  margin-bottom: 32px;
}
.stat-cell {
  flex: 1 1 140px; padding: 24px 28px;
  border-right: 1px solid var(--line-2);
}
.stat-cell:last-child { border-right: none; }
.stat-value { font-family: var(--font-num); font-size: 28px; font-weight: 700; color: var(--ink); line-height: 1.1; }
.stat-value.positive { color: var(--win); }
.stat-value.negative { color: var(--loss); }
.stat-label {
  font-size: 9px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--faint); font-family: var(--font-mono); margin-top: 6px;
}

/* ── Data table (records / worldcup) ── */
.data-table-wrap { border: 1px solid var(--line-3); border-radius: 3px; overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.data-table thead th {
  padding: 12px 14px;
  font-size: 9px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--faint); font-family: var(--font-mono);
  background: var(--panel-2); border-bottom: 1px solid var(--line-3);
  text-align: left; white-space: nowrap;
}
.data-table thead th.col-right { text-align: right; }
.data-table thead th.col-center { text-align: center; }
.data-table tbody tr { border-bottom: 1px solid var(--line); }
.data-table tbody tr:last-child { border-bottom: none; }
.data-table tbody tr:hover { background: rgba(242,176,30,0.025); }
.data-table td { padding: 14px; font-size: 13px; color: var(--ink); vertical-align: middle; }
.td-date { font-family: var(--font-mono); font-size: 11px; color: var(--faint); white-space: nowrap; }
.td-match .teams { font-weight: 600; }
.td-match .vs { color: var(--faint); font-size: 11px; }
.td-type {
  font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--muted); font-family: var(--font-mono); white-space: nowrap;
}
.td-pick { font-weight: 600; max-width: 200px; }
.td-odds { font-family: var(--font-num); font-size: 12px; font-weight: 700; color: var(--muted-2); text-align: right; white-space: nowrap; }
.td-units {
  font-family: var(--font-mono); font-size: 11px; font-weight: 700;
  color: var(--gold); background: rgba(242,176,30,0.08);
  border: 1px solid rgba(242,176,30,0.25);
  padding: 3px 8px; border-radius: 2px; display: inline-block; white-space: nowrap;
}
.td-result-cell { text-align: center; }
.td-result {
  font-family: var(--font-mono); font-size: 11px; font-weight: 700;
  padding: 3px 9px; border-radius: 2px; display: inline-block; min-width: 26px; text-align: center;
}
.td-result.win { color: var(--win); background: rgba(37,185,106,0.12); }
.td-result.loss { color: var(--loss); background: rgba(181,69,69,0.12); }
.td-result.push { color: var(--muted); background: rgba(255,255,255,0.06); }
.td-result.pending { color: var(--faint); background: transparent; }
.td-net { font-family: var(--font-num); font-size: 13px; font-weight: 700; text-align: right; white-space: nowrap; }
.td-net.positive { color: var(--win); }
.td-net.negative { color: var(--loss); }
.td-net.neutral { color: var(--faint); }
.empty-state {
  text-align: center; padding: 48px 20px; color: var(--faint);
  font-size: 13px; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.1em;
}

/* ── Analyst hero (records / worldcup) ── */
.analyst-hero {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  margin-bottom: 32px;
}
.analyst-avatar {
  width: 64px; height: 64px; border-radius: 2px; flex-shrink: 0;
  background: #8A6D1F; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 700; font-family: var(--font-body);
  overflow: hidden;
}
.analyst-avatar img { width: 100%; height: 100%; object-fit: cover; }
.analyst-name { font-size: clamp(28px, 3.5vw, 44px); line-height: 1; color: var(--ink); }
.analyst-meta {
  font-size: 11px; color: var(--faint); font-family: var(--font-mono);
  text-transform: uppercase; letter-spacing: 0.12em; margin-top: 8px;
}

/* ── Blog cards ── */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.blog-card {
  display: block; background: var(--panel-2);
  border: 1px solid var(--line-2); border-radius: 3px; overflow: hidden;
}
.blog-card:hover { border-color: rgba(242,176,30,0.3); }
.blog-card-media {
  width: 100%; aspect-ratio: 16/9;
  background: linear-gradient(160deg, #191915, #101010);
  position: relative; overflow: hidden;
}
.blog-card-media img { width: 100%; height: 100%; object-fit: contain; }
.blog-card-media img.is-logo { padding: 24px; background: #17170f; }
.blog-card-sport {
  position: absolute; bottom: 14px; left: 14px;
  font-size: 9px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--gold); background: rgba(11,11,9,0.85);
  border: 1px solid rgba(242,176,30,0.3);
  padding: 4px 10px; border-radius: 2px; font-family: var(--font-mono);
}
.blog-card-body { padding: 18px 20px 20px; }
.blog-card-title {
  font-size: 16px; font-weight: 600; color: var(--ink); line-height: 1.4; margin-bottom: 16px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.blog-card-meta { display: flex; align-items: center; gap: 10px; }
.blog-card-avatar {
  width: 24px; height: 24px; border-radius: 2px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 9px; font-weight: 700; color: #fff; overflow: hidden;
}
.blog-card-avatar img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-analyst {
  font-size: 10px; font-weight: 600; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.1em; font-family: var(--font-mono);
  flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.blog-card-date { font-size: 10px; color: var(--faint); white-space: nowrap; font-family: var(--font-mono); }
.blog-card-pick {
  font-family: var(--font-mono); font-size: 11px; font-weight: 600;
  color: var(--gold); background: rgba(242,176,30,0.08);
  border: 1px solid rgba(242,176,30,0.25);
  padding: 4px 10px; border-radius: 2px; display: inline-block; margin-bottom: 14px;
}
.blog-empty-box {
  padding: 56px; text-align: center; color: var(--faint); font-size: 13px;
  border: 1px solid var(--line-2); border-radius: 3px; font-family: var(--font-mono);
  text-transform: uppercase; letter-spacing: 0.1em;
}

/* ── FAQ ── */
.faq-list { border-top: 1px solid var(--line-3); }
.faq-item { border-bottom: 1px solid var(--line-2); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 22px 0; text-align: left;
}
.faq-q span:first-child { font-size: 15px; font-weight: 600; color: var(--ink); line-height: 1.4; }
.faq-arrow {
  font-size: 14px; color: var(--gold); flex-shrink: 0; font-weight: 700;
  width: 18px; text-align: center; font-family: var(--font-mono);
}
.faq-a { display: none; padding: 0 0 22px; font-size: 14px; color: var(--muted); line-height: 1.75; max-width: 520px; }
.faq-item.open .faq-a { display: block; }

/* ── Forms (login) ── */
.form-label {
  display: block; font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--muted); font-family: var(--font-mono); margin-bottom: 8px;
}
.form-input {
  width: 100%; padding: 13px 16px; font-size: 15px;
  font-family: var(--font-body);
  border: 1px solid var(--line-2); border-radius: 2px;
  background: var(--panel-3); color: var(--ink);
  margin-bottom: 18px; transition: border-color 0.15s, box-shadow 0.15s;
}
.form-input:focus {
  outline: none; border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(242,176,30,0.2);
}
.form-input::placeholder { color: var(--faint); }

/* ── Back link ── */
.back-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 600; color: var(--muted);
  font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.12em;
  margin-bottom: 24px; transition: color 0.15s;
}
.back-link:hover { color: var(--gold); }

/* ── Scores ticker (covers page) ── */
.scores-bar { border-bottom: 1px solid var(--line-2); background: var(--panel); overflow: hidden; }
.scores-inner { max-width: 1200px; margin: 0 auto; padding: 0 32px; display: flex; align-items: center; height: 44px; gap: 16px; }
.scores-label {
  font-size: 9px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--gold); font-family: var(--font-mono); flex-shrink: 0;
}
.scores-marquee { overflow: hidden; flex: 1; }
.scores-track { display: flex; align-items: center; gap: 12px; white-space: nowrap; }
.scores-track.is-marquee { width: max-content; animation: scores-scroll 60s linear infinite; }
.scores-set { display: flex; align-items: center; gap: 12px; padding-right: 12px; }
@keyframes scores-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.score-chip {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 11px; font-family: var(--font-mono);
  border: 1px solid var(--line); border-radius: 2px;
  padding: 5px 10px; color: var(--muted-2); flex-shrink: 0;
}
.score-chip .team { font-weight: 600; color: var(--ink); }
.score-chip .score { font-weight: 700; color: var(--gold); font-family: var(--font-num); }
.score-chip .status { color: var(--faint); font-size: 9px; text-transform: uppercase; letter-spacing: 0.08em; }

/* ── News list (covers page) ── */
.news-item {
  display: flex; gap: 16px; padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.news-item:hover .news-title { color: var(--gold); }
.news-thumb {
  width: 44px; height: 44px; flex-shrink: 0; border-radius: 2px;
  background: var(--panel-3); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.news-tag {
  font-size: 9px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--gold); font-family: var(--font-mono); margin-bottom: 4px;
}
.news-title { font-size: 14px; font-weight: 600; color: var(--ink); line-height: 1.4; }
.news-excerpt { font-size: 12px; color: var(--muted); margin-top: 4px; line-height: 1.5; }
.news-meta { font-size: 10px; color: var(--faint); font-family: var(--font-mono); margin-top: 6px; }

/* ── Cards / panels ── */
.gold-card {
  background: var(--card-grad);
  border: 1px solid rgba(242,176,30,0.4);
  border-radius: 20px; padding: 28px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.4);
}
.panel-card {
  background: var(--panel-2); border: 1px solid var(--line-2);
  border-radius: 3px;
}

/* ── Responsive ── */
@media (max-width: 720px) {
  .wrap, .section-inner, .site-header-inner { padding-left: 20px; padding-right: 20px; }
  .section-inner { padding-top: 64px; padding-bottom: 64px; }
  .site-nav { display: none; }
  .site-header-actions { gap: 16px; }
  .stat-cell { padding: 18px 20px; flex: 1 1 110px; }
  .stat-value { font-size: 22px; }
}
