/* PropBetEdge Learn — Shared Styles
   Aesthetic: Dark Sports Newsroom × Bloomberg Terminal × ESPN Control Room
   Fonts: Bebas Neue (headlines) · IBM Plex Mono (data) · Barlow Condensed (body)
*/

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=IBM+Plex+Mono:wght@400;600&family=Barlow+Condensed:ital,wght@0,300;0,400;0,600;0,700;1,400&family=Barlow:wght@300;400;500;600&display=swap');

:root {
  --black:    #06080D;
  --deep:     #0A0E17;
  --surface:  #111827;
  --card:     #161D2E;
  --border:   #1E2A3A;
  --muted:    #2A3A52;
  --gold:     #F5C842;
  --gold2:    #E8A920;
  --red:      #E53E3E;
  --green:    #38A169;
  --blue:     #3182CE;
  --cyan:     #00C9FF;
  --white:    #F7FAFC;
  --gray:     #A0AEC0;
  --gray2:    #718096;

  --mlb:  #E53E3E;
  --nfl:  #3182CE;
  --nba:  #E8A920;
  --nhl:  #319795;

  --font-head: 'Bebas Neue', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
  --font-cond: 'Barlow Condensed', sans-serif;
  --font-body: 'Barlow', sans-serif;

  --radius: 6px;
  --radius-lg: 12px;
  --glow-gold: 0 0 20px rgba(245,200,66,0.3);
  --glow-cyan: 0 0 20px rgba(0,201,255,0.2);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── TICKER ─────────────────────────────────────────────────── */
.ticker-wrap {
  background: var(--gold);
  overflow: hidden;
  white-space: nowrap;
  height: 32px;
  display: flex;
  align-items: center;
}
.ticker {
  display: inline-flex;
  animation: ticker 40s linear infinite;
  gap: 0;
}
.ticker-item {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--black);
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.05em;
}
.ticker-item .sport { opacity: 0.6; }
.ticker-item .up { color: #1a5e1a; }
.ticker-item .dn { color: #8b0000; }
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ── NAV ─────────────────────────────────────────────────────── */
.site-nav {
  background: var(--deep);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.nav-logo {
  font-family: var(--font-head);
  font-size: 22px;
  color: var(--gold);
  text-decoration: none;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.nav-logo span { color: var(--white); }
.nav-links {
  display: flex;
  gap: 4px;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
}
.nav-links::-webkit-scrollbar { display: none; }
.nav-links a {
  font-family: var(--font-cond);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: var(--radius);
  white-space: nowrap;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); background: rgba(245,200,66,0.08); }
.nav-cta {
  font-family: var(--font-cond);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--black);
  background: var(--gold);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: var(--radius);
  white-space: nowrap;
  transition: background 0.2s, transform 0.1s;
  flex-shrink: 0;
}
.nav-cta:hover { background: var(--gold2); transform: translateY(-1px); }

/* ── HERO ─────────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 80px 20px 60px;
  text-align: center;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(245,200,66,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 20% 100%, rgba(0,201,255,0.06) 0%, transparent 60%);
  pointer-events: none;
}
.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(48px, 10vw, 96px);
  line-height: 0.95;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
}
.hero h1 em { color: var(--gold); font-style: normal; }
.hero-sub {
  font-family: var(--font-cond);
  font-size: clamp(16px, 3vw, 20px);
  font-weight: 300;
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto 32px;
  line-height: 1.5;
}
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.hero-stat {
  text-align: center;
}
.hero-stat .num {
  font-family: var(--font-head);
  font-size: 36px;
  color: var(--gold);
  line-height: 1;
}
.hero-stat .lbl {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--gray2);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ── SECTION ─────────────────────────────────────────────────── */
.section { padding: 60px 20px; max-width: 1200px; margin: 0 auto; }
.section-title {
  font-family: var(--font-head);
  font-size: clamp(28px, 5vw, 48px);
  letter-spacing: 0.03em;
  margin-bottom: 8px;
}
.section-title em { color: var(--gold); font-style: normal; }
.section-sub {
  font-family: var(--font-cond);
  font-size: 16px;
  color: var(--gray);
  margin-bottom: 40px;
  font-weight: 300;
}
.divider {
  width: 100%;
  height: 1px;
  background: var(--border);
  margin: 0;
}

/* ── CARDS ─────────────────────────────────────────────────────── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.card-grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 16px;
}
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-decoration: none;
  color: var(--white);
  display: block;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}
.card:hover { border-color: var(--gold); transform: translateY(-2px); box-shadow: var(--glow-gold); }
.card:hover::before { transform: scaleX(1); }
.card-sport { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.card h3 { font-family: var(--font-cond); font-size: 20px; font-weight: 700; margin-bottom: 8px; line-height: 1.2; }
.card p { font-size: 14px; color: var(--gray); line-height: 1.5; }
.card-arrow { position: absolute; top: 24px; right: 24px; font-size: 18px; color: var(--muted); transition: color 0.2s, transform 0.2s; }
.card:hover .card-arrow { color: var(--gold); transform: translate(2px, -2px); }

/* Sport color variants */
.card.mlb::before { background: var(--mlb); }
.card.mlb:hover { border-color: var(--mlb); box-shadow: 0 0 20px rgba(229,62,62,0.3); }
.card.nfl::before { background: var(--nfl); }
.card.nfl:hover { border-color: var(--nfl); box-shadow: 0 0 20px rgba(49,130,206,0.3); }
.card.nba::before { background: var(--nba); }
.card.nba:hover { border-color: var(--nba); box-shadow: 0 0 20px rgba(232,169,32,0.3); }
.card.nhl::before { background: var(--nhl); }
.card.nhl:hover { border-color: var(--nhl); box-shadow: 0 0 20px rgba(49,151,149,0.3); }

/* ── PROGRESS / TRACK ────────────────────────────────────────── */
.track-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 99px;
  margin-bottom: 8px;
}
.track-badge.beginner { background: rgba(56,161,105,0.15); color: var(--green); border: 1px solid rgba(56,161,105,0.3); }
.track-badge.intermediate { background: rgba(245,200,66,0.1); color: var(--gold); border: 1px solid rgba(245,200,66,0.3); }
.track-badge.advanced { background: rgba(229,62,62,0.1); color: var(--red); border: 1px solid rgba(229,62,62,0.3); }

/* ── DEFINITION BLOCKS ───────────────────────────────────────── */
.def-block {
  background: var(--card);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 24px;
  margin-bottom: 16px;
}
.def-block dt {
  font-family: var(--font-cond);
  font-size: 18px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 6px;
}
.def-block dd { font-size: 14px; color: var(--gray); line-height: 1.6; }

/* ── CALLOUT ─────────────────────────────────────────────────── */
.callout {
  background: rgba(245,200,66,0.08);
  border: 1px solid rgba(245,200,66,0.2);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  margin: 24px 0;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.callout-icon { font-size: 24px; flex-shrink: 0; line-height: 1; }
.callout-body { font-size: 14px; line-height: 1.6; color: var(--gray); }
.callout-body strong { color: var(--white); }
.callout.tip { background: rgba(49,130,206,0.08); border-color: rgba(49,130,206,0.2); }
.callout.warning { background: rgba(229,62,62,0.08); border-color: rgba(229,62,62,0.2); }
.callout.model { background: rgba(0,201,255,0.06); border-color: rgba(0,201,255,0.15); }

/* ── FORMULA BOX ─────────────────────────────────────────────── */
.formula {
  background: var(--deep);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--cyan);
  margin: 16px 0;
  overflow-x: auto;
}
.formula .comment { color: var(--gray2); }
.formula .highlight { color: var(--gold); }

/* ── FAQ ─────────────────────────────────────────────────────── */
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
.faq-q {
  font-family: var(--font-cond);
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  list-style: none;
  color: var(--white);
  user-select: none;
}
.faq-q::marker, .faq-q::-webkit-details-marker { display: none; }
.faq-q .faq-icon { color: var(--gold); font-size: 20px; transition: transform 0.2s; flex-shrink: 0; }
details[open] .faq-q .faq-icon { transform: rotate(45deg); }
.faq-a { padding-top: 12px; font-size: 14px; color: var(--gray); line-height: 1.7; }

/* ── STEP LIST ───────────────────────────────────────────────── */
.step-list { list-style: none; display: flex; flex-direction: column; gap: 20px; }
.step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.step-num {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--black);
  font-family: var(--font-head);
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.step-body h4 { font-family: var(--font-cond); font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.step-body p { font-size: 14px; color: var(--gray); line-height: 1.6; }

/* ── STAT CALLOUT ────────────────────────────────────────────── */
.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 16px;
  margin: 32px 0;
}
.stat-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
}
.stat-box .num {
  font-family: var(--font-head);
  font-size: 36px;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-box .lbl {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--gray2);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ── BREADCRUMB ──────────────────────────────────────────────── */
.breadcrumb {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 10px 20px;
}
.breadcrumb-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--gray2);
}
.breadcrumb a { color: var(--gray2); text-decoration: none; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb-sep { color: var(--muted); }
.breadcrumb span { color: var(--gray); }

/* ── PAGE HEADER ─────────────────────────────────────────────── */
.page-header {
  padding: 60px 20px 40px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}
.page-header::after {
  content: attr(data-sport);
  position: absolute;
  right: 20px;
  top: 40px;
  font-family: var(--font-head);
  font-size: clamp(80px, 15vw, 160px);
  color: rgba(255,255,255,0.03);
  line-height: 1;
  pointer-events: none;
  letter-spacing: 0.05em;
}
.page-header h1 {
  font-family: var(--font-head);
  font-size: clamp(36px, 7vw, 72px);
  line-height: 0.95;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}
.page-header h1 em { color: var(--gold); font-style: normal; }
.page-header p {
  font-family: var(--font-cond);
  font-size: 18px;
  font-weight: 300;
  color: var(--gray);
  max-width: 600px;
  line-height: 1.5;
}

/* ── CONTENT BODY ────────────────────────────────────────────── */
.content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px 80px;
}
.content h2 {
  font-family: var(--font-head);
  font-size: clamp(24px, 4vw, 36px);
  letter-spacing: 0.03em;
  margin: 48px 0 16px;
  padding-top: 48px;
  border-top: 1px solid var(--border);
  color: var(--white);
}
.content h2:first-child { border-top: none; margin-top: 0; padding-top: 0; }
.content h3 {
  font-family: var(--font-cond);
  font-size: 20px;
  font-weight: 700;
  margin: 28px 0 12px;
  color: var(--gold);
}
.content p { font-size: 15px; color: var(--gray); line-height: 1.75; margin-bottom: 16px; }
.content ul, .content ol {
  padding-left: 20px;
  margin-bottom: 16px;
}
.content li { font-size: 15px; color: var(--gray); line-height: 1.75; margin-bottom: 6px; }
.content strong { color: var(--white); font-weight: 600; }
.content a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.content a:hover { color: var(--gold2); }

/* ── MOBILE NAV ──────────────────────────────────────────────── */
.mobile-nav {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--deep);
  border-top: 1px solid var(--border);
  z-index: 200;
  padding: 8px 0 max(8px, env(safe-area-inset-bottom));
}
.mobile-nav-inner {
  display: flex;
  justify-content: space-around;
}
.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  color: var(--gray2);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: var(--radius);
  transition: color 0.2s;
}
.mobile-nav-item .icon { font-size: 20px; }
.mobile-nav-item.active, .mobile-nav-item:hover { color: var(--gold); }

/* ── FOOTER ──────────────────────────────────────────────────── */
.site-footer {
  background: var(--deep);
  border-top: 1px solid var(--border);
  padding: 40px 20px 80px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: start;
}
.footer-brand .logo {
  font-family: var(--font-head);
  font-size: 24px;
  color: var(--gold);
  margin-bottom: 8px;
}
.footer-brand p { font-size: 13px; color: var(--gray2); max-width: 300px; line-height: 1.5; }
.footer-links { display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }
.footer-links a { font-family: var(--font-cond); font-size: 14px; color: var(--gray2); text-decoration: none; font-weight: 600; letter-spacing: 0.05em; transition: color 0.2s; }
.footer-links a:hover { color: var(--gold); }
.footer-copy { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--border); font-family: var(--font-mono); font-size: 11px; color: var(--gray2); max-width: 1200px; margin-left: auto; margin-right: auto; }

/* ── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-nav { display: flex; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { align-items: flex-start; }
  .card-grid, .card-grid-2 { grid-template-columns: 1fr; }
  .hero { padding: 48px 20px 40px; }
  body { padding-bottom: 70px; }
  .section { padding: 40px 20px; }
}

/* ── ANIMATIONS ──────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.5s ease forwards; }
.fade-up-1 { animation-delay: 0.1s; opacity: 0; }
.fade-up-2 { animation-delay: 0.2s; opacity: 0; }
.fade-up-3 { animation-delay: 0.3s; opacity: 0; }
.fade-up-4 { animation-delay: 0.4s; opacity: 0; }

/* ── PILL TAGS ───────────────────────────────────────────────── */
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tag {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 99px;
  background: var(--muted);
  color: var(--gray);
}

/* ── TABLE ───────────────────────────────────────────────────── */
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin: 20px 0;
}
.data-table th {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray2);
  padding: 10px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.data-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--gray);
}
.data-table tr:hover td { background: var(--surface); }
.data-table .highlight { color: var(--gold); font-weight: 600; }
