:root {
  --bg: #0A0A0B;
  --bg-card: #111115;
  --bg-card-2: #18181F;
  --surface: #1C1C24;
  --border: #2A2A35;
  --accent: #F5A623;
  --accent-dim: rgba(245, 166, 35, 0.12);
  --text: #F0EEE8;
  --text-muted: #8A8A9A;
  --text-dim: #5A5A6A;
  --red: #E84040;
  --green: #3DDD6E;
  --font-head: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── Navbar ── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 40px;
  height: 64px;
  display: flex;
  align-items: center;
  background: rgba(10, 10, 11, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.3px;
  color: var(--text);
  text-decoration: none;
}
.nav-links {
  display: flex;
  gap: 32px;
}
.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }

/* ── Hero ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 64px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
}
.hero-orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(245,166,35,0.18) 0%, transparent 70%);
  top: -100px; right: -100px;
}
.hero-orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(100,80,200,0.12) 0%, transparent 70%);
  bottom: 100px; left: -50px;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
}
.hero-inner {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 80px 40px;
  position: relative;
  z-index: 1;
}
.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(245,166,35,0.25);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 32px;
  letter-spacing: 0.5px;
}
.dot {
  width: 7px; height: 7px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}
.hero-title {
  font-family: var(--font-head);
  font-size: clamp(52px, 8vw, 96px);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -3px;
  color: var(--text);
  margin-bottom: 24px;
  max-width: 700px;
}
.highlight {
  color: var(--accent);
  position: relative;
}
.hero-sub {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 500px;
  line-height: 1.7;
  margin-bottom: 48px;
  font-weight: 300;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
}
.stat { display: flex; flex-direction: column; gap: 2px; }
.stat-num {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
}
.stat-label {
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.stat-div {
  width: 1px; height: 40px;
  background: var(--border);
}

/* ── Hero label row ── */
.hero-label-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 40px;
}

/* ── Picks Grid ── */
.picks-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 32px;
}

/* ── Pick Card ── */
.pick-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  transition: border-color 0.2s;
}
.pick-card:hover { border-color: rgba(245,166,35,0.25); }

.pick-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.pick-card-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
  padding: 5px 12px;
  border-radius: 4px;
}
.best-badge { background: var(--accent); color: #0D0D0D; }
.alt-badge { background: var(--surface); color: var(--text-muted); border: 1px solid var(--border); }
.league-badge {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-dim);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: 100px;
  letter-spacing: 0.5px;
}

/* Matchup inside card */
.pick-card .pick-matchup {
  padding: 16px;
  margin-bottom: 16px;
}
.pick-card .team-logo {
  width: 48px;
  height: 48px;
}
.pick-card .team-name { font-size: 14px; }
.pick-card .vs-label { font-size: 12px; }

/* Recommendation inside card */
.pick-card .pick-recommendation {
  padding: 16px;
  margin-bottom: 16px;
}
.pick-card .rec-team { font-size: 28px; }
.pick-card .rec-type { font-size: 12px; }

/* Odds inside card */
.pick-card .odds-row { margin-bottom: 16px; }
.pick-card .odds-card { padding: 14px; }
.pick-card .odds-value { font-size: 18px; }

/* Reasoning inside card */
.pick-card .reasoning-box { margin-bottom: 0; }

/* ── Skeletons ── */
.pick-card-skeleton {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.skeleton-badge {
  width: 100px;
  height: 28px;
  border-radius: 4px;
  background: #2A2A35;
  animation: shimmer 1.5s infinite;
}
.sk-alt { opacity: 0.5; }
.skeleton-matchup {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 16px;
  background: var(--surface);
  border-radius: var(--radius);
}
.sk-team { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.sk-logo {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: #2A2A35;
  animation: shimmer 1.5s infinite;
}
.sk-name {
  width: 80px;
  height: 14px;
  border-radius: 4px;
  background: #2A2A35;
  animation: shimmer 1.5s infinite;
}
.sk-vs {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-dim);
  letter-spacing: 2px;
}
.sk-pick-label {
  height: 36px;
  border-radius: var(--radius);
  background: #2A2A35;
  animation: shimmer 1.5s infinite;
}
.sk-odds-row { display: flex; gap: 10px; }
.sk-odds {
  flex: 1;
  height: 72px;
  border-radius: var(--radius);
  background: var(--surface);
  animation: shimmer 1.5s infinite;
}
.sk-reasoning {
  height: 14px;
  border-radius: 4px;
  background: #2A2A35;
  animation: shimmer 1.5s infinite;
  width: 100%;
}
@keyframes shimmer {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

/* ── Refresh Button ── */
.hero-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.pick-count {
  font-size: 13px;
  color: var(--text-dim);
}
.refresh-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 10px 20px;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font-body);
}
.refresh-btn:hover {
  background: var(--accent-dim);
  border-color: rgba(245,166,35,0.4);
  color: var(--accent);
}
.refresh-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.pick-section {
  padding: 80px 40px 100px;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
}
.pick-inner {
  max-width: 760px;
  margin: 0 auto;
}
.pick-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}
.pick-date {
  font-size: 13px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.ai-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(245,166,35,0.2);
  padding: 5px 12px;
  border-radius: 100px;
  letter-spacing: 0.3px;
}
.pick-matchup {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 24px;
}
.team-side { text-align: center; }
.team-side.team-right .team-logo { background: #3B82F6; }
.team-logo {
  width: 56px; height: 56px;
  background: #E84040;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 800;
  color: white;
  margin: 0 auto 10px;
}
.team-name {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}
.team-record {
  font-size: 12px;
  color: var(--text-dim);
}
.matchup-center { text-align: center; }
.vs-label {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 6px;
}
.game-time {
  font-size: 12px;
  color: var(--accent);
  font-weight: 500;
}
.pick-recommendation {
  text-align: center;
  padding: 20px;
  background: linear-gradient(135deg, rgba(245,166,35,0.12) 0%, rgba(245,166,35,0.04) 100%);
  border: 1px solid rgba(245,166,35,0.25);
  border-radius: var(--radius);
  margin-bottom: 20px;
}
.rec-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 8px;
}
.rec-best { background: var(--accent); color: #0D0D0D; }
.rec-alt { background: var(--surface); color: var(--text-muted); border: 1px solid var(--border); }
.rec-team {
  font-family: var(--font-head);
  font-size: 32px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -1px;
}
.rec-type {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}
.odds-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}
.odds-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  text-align: center;
}
.odds-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-dim);
  margin-bottom: 6px;
}
.odds-value {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 4px;
}
.odds-note {
  font-size: 11px;
  color: var(--text-dim);
}
.reasoning-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 20px;
}
.reasoning-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}
.reasoning-box p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}
.reasoning-box strong { color: var(--text); font-weight: 600; }
.second-pick {
  background: var(--bg-card-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.second-header {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-dim);
  margin-bottom: 10px;
}
.second-content {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.second-team {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
}
.second-type {
  font-size: 13px;
  color: var(--text-dim);
  margin-left: 4px;
}
.second-reason {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── Features ── */
.features {
  padding: 100px 40px;
  background: var(--bg);
}
.features-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.section-tag {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  letter-spacing: -1.5px;
  color: var(--text);
  margin-bottom: 64px;
  line-height: 1.1;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: border-color 0.2s, transform 0.2s;
}
.feature-card:hover {
  border-color: rgba(245,166,35,0.3);
  transform: translateY(-3px);
}
.feature-icon {
  width: 48px; height: 48px;
  background: var(--accent-dim);
  border: 1px solid rgba(245,166,35,0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.feature-card h3 {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}
.feature-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── How It Works ── */
.how-it-works {
  padding: 100px 40px;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
}
.how-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.steps-row {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-top: 64px;
}
.step {
  flex: 1;
  padding: 0 40px 0 0;
}
.step-connector {
  flex: 0 0 60px;
  height: 1px;
  background: var(--border);
  margin-top: 28px;
}
.step-num {
  font-family: var(--font-head);
  font-size: 52px;
  font-weight: 800;
  color: rgba(245,166,35,0.2);
  letter-spacing: -2px;
  margin-bottom: 16px;
  line-height: 1;
}
.step h3 {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}
.step p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── Manifesto ── */
.manifesto {
  padding: 100px 40px;
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.manifesto-inner {
  max-width: 760px;
  margin: 0 auto;
}
.manifesto-quote {
  margin-bottom: 40px;
}
.manifesto-quote p {
  font-family: var(--font-head);
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -1px;
  color: var(--text);
}
.manifesto-quote em {
  font-style: normal;
  color: var(--accent);
}
.manifesto-body p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}
.manifesto-body p:last-child { margin-bottom: 0; }

/* ── Footer ── */
.site-footer {
  padding: 60px 40px;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}
.footer-tagline {
  font-size: 14px;
  color: var(--text-muted);
}
.footer-legal {
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 8px;
}
.footer-updated {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 6px;
}

/* ── 4-Card Picks Grid (MLB, NBA, NFL, NHL) ── */
.picks-4grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 16px;
  margin-bottom: 28px;
}

/* Per-card header */
.pick-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.card-meta {
  display: flex;
  align-items: center;
  gap: 6px;
}
.live-dot {
  display: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3DDD6E;
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* League pills */
.league-pill {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
  padding: 5px 12px;
  border-radius: 6px;
}
.mlb-pill   { background: #1A1A4B; color: #E84040; border: 1px solid rgba(224,64,64,0.3); }
.nba-pill   { background: #1A1A4B; color: #3B82F6; border: 1px solid rgba(59,130,246,0.3); }
.nfl-pill   { background: #1A1A4B; color: #F5A623; border: 1px solid rgba(245,166,35,0.3); }
.nhl-pill   { background: #1A1A4B; color: #8B5CF6; border: 1px solid rgba(139,92,246,0.3); }

/* Refresh card button */
.refresh-card-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-dim);
  cursor: pointer;
  transition: all 0.2s;
}
.refresh-card-btn:hover {
  background: var(--accent-dim);
  border-color: rgba(245,166,35,0.4);
  color: var(--accent);
}
.refresh-card-btn.spinning svg {
  animation: spin-rev 0.6s linear infinite;
}
@keyframes spin-rev { to { transform: rotate(360deg); } }
.refresh-card-btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* Source badge */
.source-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #3DDD6E;
  background: rgba(61,221,110,0.12);
  border: 1px solid rgba(61,221,110,0.25);
  padding: 5px 12px;
  border-radius: 100px;
}

/* Footer actions */
.footer-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.source-indicator {
  font-size: 12px;
  color: var(--text-dim);
}
.refresh-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 8px 18px;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font-body);
}
.refresh-all-btn:hover {
  background: var(--accent-dim);
  border-color: rgba(245,166,35,0.4);
  color: var(--accent);
}
.refresh-all-btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* ── Best Line Indicator ── */
#best-line-row {
  margin-bottom: 16px;
}
.best-line-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 6px;
  letter-spacing: 0.3px;
}
.best-line-badge.sharp {
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(245, 166, 35, 0.3);
}
.best-line-badge.aligned {
  color: var(--text-dim);
  background: var(--surface);
  border: 1px solid var(--border);
  font-weight: 600;
}
.alt-lines {
  font-size: 11px;
  color: var(--text-dim);
  padding: 0 2px;
}

/* Pick card tweaks for 4-col layout */
.picks-4grid .pick-card {
  padding: 18px;
}
.picks-4grid .pick-card .pick-matchup {
  padding: 12px;
  margin-bottom: 12px;
}
.picks-4grid .pick-card .pick-recommendation {
  padding: 12px;
  margin-bottom: 12px;
}
.picks-4grid .pick-card .rec-team {
  font-size: 18px;
}
.picks-4grid .pick-card .odds-card {
  padding: 10px;
}
.picks-4grid .pick-card .odds-value {
  font-size: 15px;
}

/* ── Mobile ── */
@media (max-width: 768px) {
  .navbar { padding: 0 20px; }
  .nav-links { display: none; }
  .hero-inner { padding: 60px 20px; }
  .hero-stats { flex-wrap: wrap; gap: 16px; }
  .pick-section { padding: 60px 20px; }
  .odds-row { grid-template-columns: 1fr; }
  .features { padding: 60px 20px; }
  .how-it-works { padding: 60px 20px; }
  .steps-row { flex-direction: column; gap: 40px; }
  .step-connector { display: none; }
  .manifesto { padding: 60px 20px; }
  .site-footer { padding: 40px 20px; }

  /* 4-card grid stacks on mobile */
  .picks-4grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .hero-footer-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}