/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── LIGHT MODE (default) ──────────────────────────────────── */
:root {
  --bg:       #f5f6fa;
  --bg2:      #eceef5;
  --bg3:      #e2e4ef;
  --card:     #ffffff;
  --border:   #d4d7e8;
  --accent:   #5b5fcf;
  --accent2:  #9333ea;
  --green:    #16a34a;
  --red:      #dc2626;
  --yellow:   #d97706;
  --text:     #1a1c2e;
  --muted:    #5a5f80;
  --shadow:   0 2px 12px rgba(0,0,0,0.08);
  --shadow-lg:0 8px 32px rgba(0,0,0,0.12);
  --radius:   16px;
  --radius-sm:10px;
  --pick-hero-bg: #eef0ff;
  --pick-hero-border: #c7caee;
  color-scheme: light;
}

/* ── DARK MODE ──────────────────────────────────────────────── */
[data-theme="dark"] {
  --bg:       #06070f;
  --bg2:      #0d0f1e;
  --bg3:      #12152a;
  --card:     rgba(255,255,255,0.05);
  --border:   rgba(255,255,255,0.09);
  --accent:   #6366f1;
  --accent2:  #a855f7;
  --green:    #22c55e;
  --red:      #ef4444;
  --yellow:   #f59e0b;
  --text:     #f0f0f5;
  --muted:    #7878a0;
  --shadow:   0 2px 12px rgba(0,0,0,0.4);
  --shadow-lg:0 8px 32px rgba(0,0,0,0.5);
  --pick-hero-bg: rgba(99,102,241,0.12);
  --pick-hero-border: rgba(99,102,241,0.3);
  color-scheme: dark;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
  transition: background .3s, color .3s;
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* ── Gradients ─────────────────────────────────────────────── */
.grad {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.accent { color: var(--accent); }
.accent-link { color: var(--accent); text-decoration: none; font-weight: 600; }
.accent-link:hover { text-decoration: underline; }

/* ── THEME TOGGLE ───────────────────────────────────────────── */
.theme-toggle {
  background: var(--bg3);
  border: 1.5px solid var(--border);
  color: var(--text);
  width: 38px; height: 38px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 17px;
  transition: all .2s;
  flex-shrink: 0;
}
.theme-toggle:hover { border-color: var(--accent); transform: rotate(20deg); }

/* ── NAV ───────────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: var(--card);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: background .3s;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1100px; margin: 0 auto; padding: 14px 20px;
}
.logo { display: flex; align-items: center; gap: 8px; font-size: 20px; font-weight: 800; color: var(--text); }
.logo-icon { font-size: 22px; }
.nav-links { display: flex; gap: 28px; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.btn-vip {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff; border: none; padding: 9px 20px; border-radius: 50px;
  font-weight: 700; font-size: 13px; cursor: pointer;
  transition: transform .2s, box-shadow .2s;
}
.btn-vip:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(99,102,241,.4); }

/* ── HERO ──────────────────────────────────────────────────── */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  justify-content: center; text-align: center;
  background: radial-gradient(ellipse at 50% 30%, rgba(99,102,241,.08) 0%, transparent 65%);
  padding: 100px 20px 60px;
  overflow: hidden;
}
.particles { position: absolute; inset: 0; pointer-events: none; }
.particle {
  position: absolute; width: 2px; height: 2px; border-radius: 50%;
  background: var(--accent); opacity: .3;
  animation: float linear infinite;
}
@keyframes float {
  0%   { transform: translateY(100vh) scale(0); opacity: 0; }
  10%  { opacity: .3; }
  90%  { opacity: .3; }
  100% { transform: translateY(-10vh) scale(1); opacity: 0; }
}

.hero-content { position: relative; z-index: 2; max-width: 720px; }
.hero-badge {
  display: inline-block; background: rgba(99,102,241,.1);
  border: 1px solid rgba(99,102,241,.25); border-radius: 50px;
  padding: 6px 18px; font-size: 13px; color: var(--accent);
  font-weight: 600; margin-bottom: 24px; letter-spacing: .5px;
}
.hero-title { font-size: clamp(52px, 9vw, 88px); font-weight: 900; line-height: 1.02; margin-bottom: 24px; color: var(--text); letter-spacing: -1.5px; }
.hero-sub { font-size: 19px; color: var(--muted); max-width: 560px; margin: 0 auto 36px; font-weight: 500; line-height: 1.65; }

.hero-stats { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 36px; }
.stat-pill {
  background: var(--card); border: 1px solid var(--border); border-radius: 14px;
  padding: 14px 24px; text-align: center; box-shadow: var(--shadow);
}
.stat-num { font-size: 32px; font-weight: 900; color: var(--accent); }
.stat-pct { font-size: 22px; font-weight: 800; color: var(--accent); }
.stat-label { display: block; font-size: 13px; color: var(--muted); margin-top: 4px; font-weight: 600; }

.hero-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 28px; }

.picks-timer {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(249,115,22,.08); border: 1px solid rgba(249,115,22,.2);
  border-radius: 50px; padding: 8px 20px; font-size: 14px;
}
.timer-label { color: #f97316; font-weight: 600; }
.timer-display { font-size: 16px; font-weight: 800; color: var(--text); font-variant-numeric: tabular-nums; }

/* ── BUTTONS ───────────────────────────────────────────────── */
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff; border: none; padding: 14px 28px; border-radius: 50px;
  font-weight: 700; font-size: 15px; cursor: pointer;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 4px 16px rgba(91,95,207,.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(91,95,207,.4); }

.btn-secondary {
  background: var(--card); color: var(--text);
  border: 1.5px solid var(--border); padding: 14px 28px; border-radius: 50px;
  font-weight: 600; font-size: 15px; cursor: pointer;
  transition: border-color .2s, background .2s;
  box-shadow: var(--shadow);
}
.btn-secondary:hover { border-color: var(--accent); background: var(--bg2); }

.btn-free {
  background: var(--bg3); color: var(--text); border: 1.5px solid var(--border);
  padding: 12px 28px; border-radius: 50px; font-weight: 600; font-size: 14px;
  cursor: pointer; transition: border-color .2s; width: 100%;
}
.btn-free:hover { border-color: var(--muted); }

/* ── HOT TAKE ──────────────────────────────────────────────── */
.hot-take-section { padding: 24px 0 0; }
.hot-take-card {
  background: var(--card);
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px 32px; max-width: 700px; margin: 0 auto;
  box-shadow: var(--shadow);
}
.hot-take-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.fire-badge {
  background: rgba(249,115,22,.1); border: 1px solid rgba(249,115,22,.25);
  color: #f97316; border-radius: 50px; padding: 4px 14px; font-size: 12px; font-weight: 700;
}
.hot-take-votes { color: var(--muted); font-size: 13px; }
.hot-take-text { font-size: 18px; font-weight: 700; margin-bottom: 20px; line-height: 1.4; color: var(--text); }
.vote-buttons { display: flex; gap: 12px; }
.vote-agree, .vote-disagree {
  flex: 1; padding: 12px; border-radius: var(--radius-sm); border: none;
  font-weight: 700; font-size: 14px; cursor: pointer; transition: all .2s;
}
.vote-agree { background: rgba(22,163,74,.1); color: var(--green); border: 1px solid rgba(22,163,74,.25); }
.vote-agree:hover, .vote-agree.voted { background: rgba(22,163,74,.2); transform: scale(1.02); }
.vote-disagree { background: rgba(91,95,207,.08); color: var(--accent); border: 1px solid rgba(91,95,207,.2); }
.vote-disagree:hover, .vote-disagree.voted { background: rgba(91,95,207,.15); transform: scale(1.02); }

/* ── SECTIONS ──────────────────────────────────────────────── */
.picks-section, .analysis-section, .leaderboard-section, .faq-section, .injuries-section, .news-section { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 { font-size: clamp(32px, 5vw, 48px); font-weight: 900; margin-bottom: 12px; color: var(--text); letter-spacing: -0.5px; }
.section-header p { color: var(--muted); font-size: 17px; font-weight: 500; }
.section-title { font-size: 36px; font-weight: 900; text-align: center; margin-bottom: 36px; color: var(--text); letter-spacing: -0.5px; }

/* ── SPORT TABS ─────────────────────────────────────────────── */
.sport-tabs { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 32px; }
.tab-btn {
  background: var(--card); border: 1.5px solid var(--border); color: var(--muted);
  padding: 10px 20px; border-radius: 50px; font-weight: 600; font-size: 14px;
  cursor: pointer; transition: all .2s; box-shadow: var(--shadow);
  text-transform: uppercase; letter-spacing: .5px;
}
.tab-btn:hover { border-color: var(--accent); color: var(--text); }
.tab-btn.active {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border-color: transparent; color: #fff;
  box-shadow: 0 4px 16px rgba(91,95,207,.3);
}

/* ── PICKS TOGGLE (ML vs Props) ─────────────────────────────── */
.picks-toggle-wrap {
  display: flex; justify-content: center; margin-bottom: 24px;
}
.picks-toggle {
  display: flex; position: relative;
  background: var(--card); border: 1.5px solid var(--border);
  border-radius: 50px; padding: 4px; gap: 0;
  box-shadow: var(--shadow);
}
.picks-toggle-btn {
  position: relative; z-index: 2;
  background: none; border: none; padding: 10px 24px;
  border-radius: 50px; font-size: 14px; font-weight: 700;
  color: var(--muted); cursor: pointer;
  transition: color .25s; font-family: inherit;
  white-space: nowrap;
}
.picks-toggle-btn.active { color: #fff; }
.picks-toggle-btn:hover:not(.active) { color: var(--text); }
.picks-toggle-slider {
  position: absolute; top: 4px; left: 4px;
  width: calc(50% - 4px); height: calc(100% - 8px);
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border-radius: 50px; z-index: 1;
  transition: transform .3s cubic-bezier(.4,0,.2,1);
  box-shadow: 0 4px 12px rgba(91,95,207,.3);
}
.picks-toggle-slider.right { transform: translateX(100%); }

/* ── PICKS GRID ─────────────────────────────────────────────── */
.picks-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; margin-bottom: 24px; }

/* ── PICK CARD — REDESIGNED FOR CLARITY ──────────────────────── */
.pick-card {
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 0;
  transition: border-color .2s, transform .2s, box-shadow .2s;
  position: relative; overflow: hidden;
  box-shadow: var(--shadow);
}
.pick-card:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: var(--shadow-lg); }

/* Sport badge header strip */
.pick-card-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 16px;
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
}
.pick-sport-badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11px; font-weight: 800; letter-spacing: 1px;
  padding: 3px 10px; border-radius: 50px;
  background: rgba(91,95,207,.12); color: var(--accent);
  border: 1px solid rgba(91,95,207,.2);
  text-transform: uppercase;
}
.pick-sport-emoji { font-size: 13px; }
.pick-matchup-head {
  font-size: 12px; color: var(--muted); font-weight: 500;
}

/* Team logos in pick cards */
.team-logo {
  width: 28px; height: 28px; border-radius: 50%;
  object-fit: contain; vertical-align: middle;
  background: var(--bg2); border: none;
  padding: 2px;
}
.matchup-logos {
  display: flex; align-items: center; gap: 8px;
}
.matchup-vs {
  font-size: 11px; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
}

/* Card body */
.pick-card-body { padding: 16px 16px 14px; }

/* WHO TO PICK — hero element */
.pick-hero {
  background: var(--pick-hero-bg);
  border: 1.5px solid var(--pick-hero-border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin-bottom: 12px;
  text-align: center;
}
.pick-hero-label {
  font-size: 10px; font-weight: 800; letter-spacing: 2px;
  color: var(--accent); text-transform: uppercase;
  display: block; margin-bottom: 4px;
}
.pick-hero-play {
  font-size: 20px; font-weight: 900; color: var(--text); line-height: 1.2;
}

.pick-matchup {
  font-size: 13px; color: var(--muted); margin-bottom: 10px;
  font-weight: 600; text-align: center;
}
.pick-meta { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.confidence-bar-wrap { margin-top: 10px; }
.confidence-label { font-size: 11px; color: var(--muted); margin-bottom: 4px; font-weight: 600; }
.confidence-bar { height: 6px; background: var(--bg3); border-radius: 3px; }
.confidence-fill { height: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--accent), var(--green)); transition: width 1s ease; }
.pick-insight {
  font-size: 12px; color: var(--muted); line-height: 1.6;
  margin-top: 8px; padding-top: 8px;
  border-top: 1px solid var(--border);
}

.tag {
  font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 50px;
  border: 1px solid var(--border); color: var(--muted);
}
.tag.high { background: rgba(22,163,74,.1); color: var(--green); border-color: rgba(22,163,74,.25); }
.tag.medium { background: rgba(217,119,6,.1); color: var(--yellow); border-color: rgba(217,119,6,.25); }

/* LOCKED card — dim the body, overlay handled by JS div */
.pick-card.locked .pick-card-body {
  filter: blur(4px);
  pointer-events: none;
  user-select: none;
}
.pick-card.free .pick-card-body { filter: none; }

/* Locked overlay div (injected by renderPicks) */
.pick-locked-overlay {
  position: absolute;
  inset: 0;
  background: rgba(245,246,250,.88);
  backdrop-filter: blur(3px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 0 0 var(--radius) var(--radius);
  text-align: center;
  z-index: 2;
  padding: 16px;
}
[data-theme="dark"] .pick-locked-overlay {
  background: rgba(6,7,15,.88);
}
.pick-locked-overlay div { color: var(--text); }

/* ── PICKS LOCKED CTA ─────────────────────────────────────── */
.picks-locked-cta {
  text-align: center; background: var(--card); border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 32px; margin-top: 8px;
  box-shadow: var(--shadow);
}
.lock-icon { font-size: 32px; margin-bottom: 10px; }
.picks-locked-cta p { color: var(--muted); margin-bottom: 20px; font-size: 15px; }

/* ── ANALYSIS ──────────────────────────────────────────────── */
.analysis-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.analysis-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; transition: border-color .2s, transform .2s;
  box-shadow: var(--shadow);
}
.analysis-card:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.analysis-sport { font-size: 12px; font-weight: 800; color: var(--accent); letter-spacing: 1.5px; margin-bottom: 8px; text-transform: uppercase; }
.analysis-game { font-size: 16px; font-weight: 700; margin-bottom: 12px; color: var(--text); }
.analysis-text { font-size: 14px; color: var(--muted); line-height: 1.7; margin-bottom: 16px; }
.analysis-verdict {
  background: rgba(22,163,74,.08); border: 1px solid rgba(22,163,74,.2);
  border-radius: var(--radius-sm); padding: 10px 14px; font-size: 13px; font-weight: 700; color: var(--green);
}

/* ── LEADERBOARD ───────────────────────────────────────────── */
.leaderboard-section { background: var(--bg2); }
.leaderboard { display: flex; flex-direction: column; gap: 10px; }
.lb-row {
  display: flex; align-items: center; gap: 16px;
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 14px 20px;
  transition: border-color .2s; box-shadow: var(--shadow);
}
.lb-row:hover { border-color: rgba(91,95,207,.3); }
.lb-rank { font-size: 18px; font-weight: 900; width: 30px; color: var(--muted); }
.lb-rank.gold { color: #d97706; }
.lb-rank.silver { color: #94a3b8; }
.lb-rank.bronze { color: #cd7c2f; }
.lb-pick { flex: 1; }
.lb-name { font-weight: 700; font-size: 14px; color: var(--text); }
.lb-sport { font-size: 12px; color: var(--muted); }
.lb-result { font-weight: 800; font-size: 14px; }
.lb-result.win { color: var(--green); }
.lb-result.loss { color: var(--red); }
.lb-odds { color: var(--muted); font-size: 13px; }

/* ── INJURIES SECTION ──────────────────────────────────────── */
.injuries-section { background: var(--bg); }
.injuries-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px;
}
.injury-sport-group {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); opacity: 0; transform: translateY(8px);
  transition: opacity .4s ease, transform .4s ease;
}
.injury-sport-group.visible { opacity: 1; transform: translateY(0); }
.injury-sport-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 16px; background: var(--bg2);
  border-bottom: 1px solid var(--border);
  font-weight: 800; font-size: 14px; color: var(--text);
}
.injury-count {
  font-size: 11px; font-weight: 600; color: var(--muted);
  background: var(--bg3); padding: 2px 10px; border-radius: 50px;
}
.injury-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 16px; border-bottom: 1px solid var(--border);
  gap: 12px;
}
.injury-row:last-child { border-bottom: none; }
.injury-player {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--text);
}
.injury-team { font-size: 12px; color: var(--muted); }
.injury-status-dot {
  width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
}
.injury-status-dot.status-out { background: var(--red); box-shadow: 0 0 6px rgba(239,68,68,.4); }
.injury-status-dot.status-dtd { background: var(--yellow); box-shadow: 0 0 6px rgba(245,158,11,.4); }
.injury-status-dot.status-probable { background: #22c55e; box-shadow: 0 0 6px rgba(34,197,94,.4); }
.injury-status-dot.status-suspended { background: #94a3b8; box-shadow: 0 0 6px rgba(148,163,184,.4); }
.injury-detail {
  display: flex; align-items: center; gap: 8px; flex-shrink: 0;
}
.injury-status-tag {
  font-size: 10px; font-weight: 800; letter-spacing: .5px;
  padding: 2px 8px; border-radius: 50px; text-transform: uppercase;
  background: rgba(239,68,68,.1); color: var(--red);
  border: 1px solid rgba(239,68,68,.2);
}
.injury-info { font-size: 11px; color: var(--muted); max-width: 120px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ── NEWS SECTION ──────────────────────────────────────────── */
.news-section { background: var(--bg2); }
.news-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px;
}
.news-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); text-decoration: none; color: inherit;
  transition: border-color .2s, transform .2s, box-shadow .2s;
  opacity: 0; transform: translateY(8px);
}
.news-card.visible { opacity: 1; transform: translateY(0); transition: opacity .4s ease, transform .4s ease, border-color .2s; }
.news-card:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.news-image {
  width: 100%; height: 160px;
  background-size: cover; background-position: center;
  border-bottom: 1px solid var(--border);
}
.news-body { padding: 14px 16px; }
.news-meta {
  display: flex; align-items: center; gap: 8px; margin-bottom: 8px;
}
.news-sport-tag {
  font-size: 10px; font-weight: 800; letter-spacing: .5px;
  padding: 2px 10px; border-radius: 50px; color: #fff;
  text-transform: uppercase;
}
.news-time { font-size: 11px; color: var(--muted); }
.news-headline {
  font-size: 15px; font-weight: 700; color: var(--text);
  line-height: 1.3; margin-bottom: 6px;
}
.news-desc { font-size: 12px; color: var(--muted); line-height: 1.5; }

/* ── CHAT ──────────────────────────────────────────────────── */
.chat-section { padding: 80px 0; }
.chat-container {
  max-width: 720px; margin: 0 auto;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-lg);
}
.chat-feed {
  height: 380px; overflow-y: auto; padding: 20px;
  display: flex; flex-direction: column; gap: 14px;
  scrollbar-width: thin; scrollbar-color: var(--border) transparent;
}
.chat-msg { display: flex; gap: 12px; align-items: flex-start; animation: slideIn .3s ease; }
@keyframes slideIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.chat-avatar {
  width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 800; color: #fff;
}
.chat-msg-body { flex: 1; }
.chat-msg-name { font-size: 12px; font-weight: 700; color: var(--accent); margin-bottom: 3px; }
.chat-msg-text { font-size: 14px; color: var(--text); line-height: 1.5; }
.chat-msg-time { font-size: 11px; color: var(--muted); margin-top: 3px; }
.chat-msg.own .chat-avatar { background: linear-gradient(135deg, var(--green), #15803d); order: 2; }
.chat-msg.own .chat-msg-body { order: 1; text-align: right; }
.chat-msg.own .chat-msg-name { color: var(--green); }

.chat-input-area {
  display: flex; gap: 10px; padding: 16px 20px;
  border-top: 1px solid var(--border); background: var(--bg2);
}
.chat-input {
  flex: 1; background: var(--card); border: 1.5px solid var(--border); border-radius: 50px;
  padding: 12px 18px; color: var(--text); font-size: 14px; font-family: inherit;
  outline: none; transition: border-color .2s;
}
.chat-input:focus { border-color: var(--accent); }
.chat-input::placeholder { color: var(--muted); }

.btn-send {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff; border: none; padding: 12px 22px; border-radius: 50px;
  font-weight: 700; font-size: 14px; cursor: pointer; transition: transform .2s;
}
.btn-send:hover { transform: scale(1.05); }

.chat-reactions {
  display: flex; align-items: center; gap: 8px; padding: 12px 20px;
  border-top: 1px solid var(--border); flex-wrap: wrap; background: var(--bg2);
}
.reaction-label { font-size: 12px; color: var(--muted); margin-right: 4px; }
.react-btn {
  background: var(--card); border: 1.5px solid var(--border); border-radius: 50px;
  padding: 6px 14px; font-size: 14px; cursor: pointer; color: var(--text);
  transition: border-color .2s, background .2s;
}
.react-btn:hover { border-color: var(--accent); background: rgba(91,95,207,.08); }

/* ── PRICING ───────────────────────────────────────────────── */
.pricing-section { padding: 80px 0; background: var(--bg2); }
.pricing-cards { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; margin-bottom: 32px; }
.price-card {
  background: var(--card); border: 1.5px solid var(--border); border-radius: 24px;
  padding: 36px 32px; width: 300px; position: relative; box-shadow: var(--shadow);
}
.price-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 40px rgba(91,95,207,.2), var(--shadow-lg);
}
.popular-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff; font-size: 11px; font-weight: 800; letter-spacing: 1px;
  padding: 4px 16px; border-radius: 50px; white-space: nowrap;
}
.price-tier { font-size: 13px; font-weight: 700; color: var(--muted); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 8px; }
.price-amount { font-size: 48px; font-weight: 900; margin-bottom: 24px; color: var(--text); }
.price-cents { font-size: 24px; }
.price-period { font-size: 16px; color: var(--muted); }
.price-features { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.price-features li { font-size: 14px; color: var(--muted); }
.price-features li:not(.locked-feat) { color: var(--text); }
.locked-feat { opacity: .5; }
.btn-checkout { width: 100%; margin-bottom: 12px; }
.price-note { font-size: 12px; color: var(--muted); text-align: center; }

.urgency-bar {
  max-width: 500px; margin: 0 auto; text-align: center; padding: 20px;
  background: rgba(217,119,6,.06); border: 1px solid rgba(217,119,6,.2);
  border-radius: var(--radius);
}
.urgency-bar span { font-size: 14px; font-weight: 600; color: var(--yellow); display: block; margin-bottom: 12px; }
.urgency-progress { height: 6px; background: var(--bg3); border-radius: 3px; }
.urgency-fill { height: 100%; background: linear-gradient(90deg, var(--yellow), #f97316); border-radius: 3px; transition: width 2s ease; }

/* ── FAQ ───────────────────────────────────────────────────── */
.faq-list { max-width: 680px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow); }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 18px 20px; background: none; border: none; color: var(--text);
  font-size: 15px; font-weight: 600; cursor: pointer; text-align: left; font-family: inherit;
  transition: color .2s;
}
.faq-q:hover { color: var(--accent); }
.faq-q span { font-size: 20px; transition: transform .3s; }
.faq-q.open span { transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden; transition: max-height .35s ease, padding .35s ease;
  font-size: 14px; color: var(--muted); line-height: 1.7; padding: 0 20px;
}
.faq-a.open { max-height: 200px; padding: 0 20px 18px; }

/* ── FOOTER ─────────────────────────────────────────────────── */
.footer { background: var(--bg2); border-top: 1px solid var(--border); padding: 48px 0 24px; }
.footer-top { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; margin-bottom: 24px; }
.footer-logo { font-size: 18px; color: var(--text); }
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: 14px; transition: color .2s; }
.footer-links a:hover { color: var(--text); }
.social-btn {
  background: var(--card); border: 1px solid var(--border); color: var(--text);
  padding: 8px 18px; border-radius: 50px; font-size: 13px; font-weight: 600;
  text-decoration: none; transition: border-color .2s;
  display: inline-block; box-shadow: var(--shadow);
}
.social-btn:hover { border-color: var(--accent); }
.footer-disclaimer { font-size: 12px; color: var(--muted); line-height: 1.7; padding: 20px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin-bottom: 20px; }
.footer-bottom { font-size: 13px; color: var(--muted); text-align: center; }

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 640px) {
  .nav-links { display: none; }
  .hero-title { font-size: 40px; }
  .hero-stats { gap: 10px; }
  .stat-pill { padding: 10px 16px; }
  .pricing-cards { flex-direction: column; align-items: center; }
  .footer-top { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
  .hot-take-card { padding: 20px; }
}

/* ── NAV AUTH ───────────────────────────────────────────────── */
.nav-right { display: flex; align-items: center; gap: 10px; }
.btn-login {
  background: transparent; color: var(--text);
  border: 1.5px solid var(--border); padding: 8px 18px;
  border-radius: 50px; font-weight: 600; font-size: 13px;
  cursor: pointer; transition: border-color .2s;
}
.btn-login:hover { border-color: var(--accent); }
.btn-logout {
  background: transparent; color: var(--muted);
  border: 1.5px solid var(--border); padding: 7px 14px;
  border-radius: 50px; font-weight: 600; font-size: 12px;
  cursor: pointer; transition: all .2s;
}
.btn-logout:hover { color: var(--red); border-color: var(--red); }

/* ── MODAL ──────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0; z-index: 999;
  background: rgba(0,0,0,.5); backdrop-filter: blur(10px);
  display: none; align-items: center; justify-content: center;
  padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal-box {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 24px; padding: 36px 32px; width: 100%;
  max-width: 400px; position: relative;
  animation: modalIn .25s ease; box-shadow: var(--shadow-lg);
}
@keyframes modalIn { from { opacity: 0; transform: scale(.95) translateY(10px); } to { opacity: 1; transform: none; } }
.modal-close {
  position: absolute; top: 16px; right: 16px;
  background: none; border: none; color: var(--muted);
  font-size: 18px; cursor: pointer; transition: color .2s;
}
.modal-close:hover { color: var(--text); }
.modal-logo { font-size: 22px; font-weight: 900; text-align: center; margin-bottom: 24px; color: var(--text); }
.modal-tabs {
  display: flex; background: var(--bg3); border-radius: 50px;
  padding: 4px; margin-bottom: 24px;
}
.mtab {
  flex: 1; background: none; border: none; color: var(--muted);
  padding: 9px; border-radius: 50px; font-weight: 600;
  font-size: 13px; cursor: pointer; transition: all .2s;
}
.mtab.active { background: var(--accent); color: #fff; }
.modal-input {
  width: 100%; background: var(--bg2); border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); padding: 13px 16px;
  color: var(--text); font-size: 14px; font-family: inherit;
  outline: none; transition: border-color .2s; margin-bottom: 10px;
  display: block;
}
.modal-input:focus { border-color: var(--accent); }
.modal-input::placeholder { color: var(--muted); }
.modal-error { color: var(--red); font-size: 13px; min-height: 18px; margin-bottom: 4px; }
.modal-hint { text-align: center; font-size: 13px; color: var(--muted); margin-top: 14px; }
.modal-hint a { color: var(--accent); text-decoration: none; }

/* Old top-bar vip-banner removed — now a fixed toast (see inline HTML) */

/* ── PARLAY BUILDER / PLAYER PROP SEARCH ──────────────────── */
.parlay-section { padding: 60px 0; background: var(--bg); }
.vip-inline-tag {
  background: linear-gradient(135deg, #6366f1, #a855f7);
  color: #fff; font-size: 11px; font-weight: 800;
  padding: 3px 10px; border-radius: 50px; letter-spacing: .5px;
  vertical-align: middle;
}
.parlay-search-box {
  max-width: 700px; margin: 0 auto 28px;
  background: var(--card); border: 1.5px solid var(--border);
  border-radius: 20px; padding: 20px; box-shadow: var(--shadow);
}
.parlay-input-row { display: flex; gap: 10px; }
.parlay-input {
  flex: 1; background: var(--bg2); border: 1.5px solid var(--border);
  border-radius: 50px; padding: 14px 20px; font-size: 15px;
  font-family: inherit; color: var(--text); outline: none;
  transition: border-color .2s;
}
.parlay-input:focus { border-color: var(--accent); }
.parlay-input::placeholder { color: var(--muted); }
.parlay-btn { white-space: nowrap; border-radius: 50px; padding: 14px 24px; }
.parlay-sport-pills {
  display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap;
}
.parlay-pill {
  background: var(--bg2); border: 1.5px solid var(--border);
  border-radius: 50px; padding: 8px 16px; font-size: 13px;
  font-weight: 700; color: var(--text); cursor: pointer;
  transition: all .2s; font-family: inherit;
}
.parlay-pill:hover { border-color: var(--accent); }
.parlay-pill.active {
  background: var(--accent); color: #fff; border-color: var(--accent);
}
.parlay-results {
  max-width: 720px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 14px;
}
.parlay-result-card {
  background: var(--card); border: 1.5px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: 18px; padding: 22px 24px;
  display: flex; justify-content: space-between; align-items: center;
  gap: 20px; box-shadow: var(--shadow);
  transition: border-color .2s, transform .15s, box-shadow .2s;
  opacity: 0; transform: translateY(12px);
  animation: propReveal .4s ease forwards;
}
.parlay-result-card:hover {
  border-color: var(--accent); transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(99,102,241,.15);
}
@keyframes propReveal {
  to { opacity: 1; transform: none; }
}
.prop-player-info { flex: 1; min-width: 0; }
.prop-player-name { font-size: 18px; font-weight: 900; color: var(--text); letter-spacing: -0.3px; line-height: 1.2; }
.prop-player-team { font-size: 13px; color: var(--muted); font-weight: 600; margin-top: 4px; }
.prop-line-info { text-align: center; min-width: 130px; padding: 0 8px; }
.prop-market { font-size: 11px; color: var(--muted); font-weight: 800; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
.prop-line { font-size: 24px; font-weight: 900; color: var(--text); margin: 4px 0; white-space: nowrap; }
.prop-odds { font-size: 14px; color: var(--accent); font-weight: 800; }
.prop-edge-info { text-align: right; min-width: 100px; }
.prop-edge {
  font-size: 15px; font-weight: 900;
  padding: 10px 18px; border-radius: 50px;
  background: rgba(34,197,94,.12); color: #22c55e;
  border: 1.5px solid rgba(34,197,94,.3);
  display: inline-block;
}
.prop-edge.negative { background: rgba(239,68,68,.1); color: var(--red); border-color: rgba(239,68,68,.25); }
.prop-pick-badge {
  font-size: 11px; font-weight: 900; margin-top: 8px;
  color: var(--accent); text-transform: uppercase; letter-spacing: 1px;
}
.parlay-no-results {
  text-align: center; padding: 32px; color: var(--muted);
  font-size: 14px; font-weight: 600;
}
.parlay-locked-cta {
  max-width: 500px; margin: 24px auto 0; text-align: center;
  background: var(--card); border: 1.5px dashed var(--accent);
  border-radius: 20px; padding: 32px; box-shadow: var(--shadow);
}
.parlay-locked-cta .lock-icon { font-size: 36px; margin-bottom: 10px; }
.parlay-locked-cta p { color: var(--muted); font-size: 14px; margin-bottom: 16px; line-height: 1.6; }

/* Responsive prop cards */
@media (max-width: 600px) {
  .parlay-result-card {
    flex-direction: column; align-items: flex-start; gap: 12px;
    padding: 18px 20px;
  }
  .prop-line-info { text-align: left; min-width: auto; padding: 0; }
  .prop-edge-info { text-align: left; }
}
