/* =========================================
   SEED — Gamified Startup Prediction Market
   Fantasy sports meets Bloomberg terminal.
   Electric green, dark navy, finance-nerd.
   ========================================= */

/* === TOKENS === */
:root {
  --bg:         #F5F4F0;
  --bg-card:    #FFFFFF;
  --bg-dark:    #0D1117;
  --bg-panel:   #161B27;
  --fg:         #0D1117;
  --fg2:        #4B5563;
  --fg3:        #9CA3AF;

  --green:      #00E676;
  --green-dim:  rgba(0, 230, 118, 0.08);
  --green-mid:  rgba(0, 230, 118, 0.15);
  --green-glow: rgba(0, 230, 118, 0.25);
  --green-text: #00872A;
  --amber:      #FFB300;
  --amber-dim:  rgba(255, 179, 0, 0.12);
  --amber-text: #7A5500;
  --red:        #FF3B3B;
  --blue:       #448AFF;
  --blue-dim:   rgba(68, 138, 255, 0.10);
  --blue-text:  #1A237E;

  --border:     rgba(13, 17, 23, 0.08);
  --border-med: rgba(13, 17, 23, 0.12);
  --shadow-sm:  0 1px 4px rgba(0,0,0,0.06);
  --shadow-md:  0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg:  0 12px 40px rgba(0,0,0,0.10);
  --shadow-glow-green: 0 0 0 1px rgba(0,230,118,0.25), 0 8px 32px rgba(0,230,118,0.15), 0 0 60px rgba(0,230,118,0.08);

  /* Typography — distinctive, gamey */
  --font-head: 'Syne', system-ui, sans-serif;
  --font-body: 'Outfit', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;

  --max-w: 1180px;
  --section-py: 88px;
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul { list-style: none; }

::selection { background: var(--green); color: var(--bg-dark); }

/* Custom scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: var(--green-mid); border-radius: 3px; }

/* === NAV === */
.nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(13, 17, 23, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background 0.3s;
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.nav-logo {
  font-family: var(--font-head);
  font-size: 1.375rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: white;
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-logo-icon {
  width: 30px;
  height: 30px;
  background: var(--green);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-dark);
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-links a {
  padding: 6px 13px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.55);
  transition: color 0.15s, background 0.15s;
}
.nav-links a:hover { color: white; background: rgba(255,255,255,0.08); }
.nav-cta {
  background: var(--green) !important;
  color: var(--bg-dark) !important;
  font-weight: 700 !important;
  padding: 7px 14px !important;
  border-radius: 8px !important;
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0,200,83,0.35) !important;
}
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-sm);
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: white;
  border-radius: 2px;
  margin: 5px 0;
}

/* === HERO === */
.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 28px 110px;
  background: var(--bg-dark);
  color: white;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 55% at 50% -15%, rgba(0,230,118,0.10) 0%, transparent 60%),
    radial-gradient(ellipse 55% 40% at 88% 85%, rgba(255,179,0,0.08) 0%, transparent 55%);
  pointer-events: none;
}
.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(ellipse 85% 70% at 50% 0%, black 0%, transparent 100%);
  pointer-events: none;
  opacity: 0.8;
}
.hero-inner {
  position: relative;
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
  background: var(--green-dim);
  border: 1px solid var(--green-mid);
  padding: 6px 14px;
  border-radius: 24px;
  margin-bottom: 24px;
}
.hero-label-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2s infinite;
}
.hero-headline {
  font-family: var(--font-head);
  font-size: clamp(2.75rem, 5.5vw, 4.25rem);
  font-weight: 800;
  line-height: 1.03;
  letter-spacing: -0.04em;
  color: white;
  margin-bottom: 24px;
}
.hero-headline-accent {
  color: var(--green);
  display: block;
}
.hero-sub {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.58);
  line-height: 1.7;
  max-width: 490px;
  margin-bottom: 12px;
}
.hero-tagline {
  font-family: var(--font-head);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--amber);
  margin-bottom: 40px;
  letter-spacing: -0.01em;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green);
  color: var(--bg-dark);
  padding: 14px 26px;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 700;
  transition: transform 0.15s, box-shadow 0.15s;
  cursor: pointer;
  border: none;
  white-space: nowrap;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,200,83,0.4);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.06);
  color: white;
  padding: 14px 26px;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  border: 1.5px solid rgba(255,255,255,0.12);
  transition: transform 0.15s, border-color 0.15s, background 0.15s;
  cursor: pointer;
  white-space: nowrap;
}
.btn-secondary:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.20);
}

/* === SECTION SHARED === */
.section { padding: var(--section-py) 28px; }
.section-alt { background: var(--bg-card); }
.section-tight { padding: 64px 28px; }
.container { max-width: var(--max-w); margin: 0 auto; }
.section-header { margin-bottom: 48px; }
.section-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg3);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.875rem, 3.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.1;
  color: var(--fg);
}
.section-title em {
  font-style: normal;
  color: var(--green);
}
.section-sub {
  font-size: 1rem;
  color: var(--fg2);
  margin-top: 14px;
  max-width: 540px;
  line-height: 1.7;
}

/* === MARKETS (HUNT BOARD) === */
.hunt-board-section { background: var(--bg-dark); color: white; }
.hunt-board-section .section-label,
.hunt-board-section .section-title,
.hunt-board-section .section-sub { color: white; }
.hunt-board-section .section-label { color: rgba(255,255,255,0.45); }
.hunt-board-section .section-sub { color: rgba(255,255,255,0.50); }

.filter-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.filter-btn {
  padding: 7px 16px;
  border-radius: 22px;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.55);
  transition: all 0.15s;
}
.filter-btn.active,
.filter-btn:hover {
  background: var(--green);
  color: var(--bg-dark);
  border-color: var(--green);
}
.sort-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
}
.sort-label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.35);
}
.sort-select {
  padding: 6px 14px;
  border-radius: 20px;
  border: 1.5px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.7);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  outline: none;
  transition: border-color 0.15s;
}
.sort-select:focus { border-color: var(--green); }
.sort-select option { background: #161B27; }

.markets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

/* Market card — gamey, card-like, glowing */
.market-card {
  background: #161B27;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-xl);
  padding: 24px;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.25s ease,
              border-color 0.25s ease;
  display: flex;
  flex-direction: column;
  gap: 16px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.market-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(0,230,118,0.03) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.25s;
}
.market-card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 0 0 1px rgba(0,230,118,0.35), 0 16px 48px rgba(0,230,118,0.12), 0 0 80px rgba(0,230,118,0.05);
  border-color: rgba(0,230,118,0.30);
}
.market-card:hover::before { opacity: 1; }

.market-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.market-company {
  display: flex;
  align-items: center;
  gap: 10px;
}
.market-icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  background: var(--green-dim);
  border: 1px solid rgba(0,230,118,0.15);
  flex-shrink: 0;
}
.market-icon.alt { background: var(--amber-dim); border-color: rgba(255,179,0,0.15); }
.market-name {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: -0.02em;
  color: white;
}

.stage-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 4px;
  flex-shrink: 0;
}
.stage-seed    { background: rgba(0,230,118,0.15); color: #00C853; }
.stage-series-a { background: rgba(68,138,255,0.15); color: #2979FF; }
.stage-series-b { background: rgba(255,179,0,0.15); color: #FF8F00; }

.market-tag {
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 20px;
}
.market-tag.industry { background: var(--amber-dim); color: var(--amber-text); }
.market-tag.revenue { background: var(--green-dim); color: var(--green-text); }
.market-tag.funding  { background: rgba(255,107,53,0.08); color: #8C2F0A; }
.market-tag.product { background: var(--blue-dim); color: var(--blue-text); }

.market-question {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  line-height: 1.5;
  flex: 1;
}

.market-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 14px;
  background: rgba(0,0,0,0.25);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.05);
}
.market-stat-label {
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: rgba(255,255,255,0.35);
  margin-bottom: 4px;
}
.market-stat-value {
  font-family: var(--font-mono);
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
}
.market-stat-value.price { color: var(--green); }
.market-stat-value.volume { color: rgba(255,255,255,0.55); }

/* Hero number — probability displayed in mono, large */
.market-prob {
  font-family: var(--font-mono);
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--green);
  line-height: 1;
  text-shadow: 0 0 30px rgba(0,230,118,0.4);
}
.market-change {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  margin-top: 4px;
}
.market-change.up { color: var(--green); }
.market-change.down { color: var(--red); }

.market-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.market-volume {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  color: rgba(255,255,255,0.35);
}
.market-trend {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  margin-left: auto;
  align-self: center;
}

.market-btn {
  padding: 9px 16px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  border: none;
  transition: transform 0.15s, box-shadow 0.15s;
  flex-shrink: 0;
}
.market-btn-bet {
  background: var(--green);
  color: var(--bg-dark);
}
.market-btn-bet:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0,200,83,0.3);
}

/* === HOW IT WORKS === */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.step-card {
  background: var(--bg-dark);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}
.step-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg), 0 0 40px rgba(0,230,118,0.05);
}
.step-number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--green);
  color: var(--bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 1.125rem;
  font-weight: 900;
  margin-bottom: 24px;
  box-shadow: 0 4px 16px rgba(0,230,118,0.3);
}
.step-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-lg);
  background: var(--green-dim);
  border: 1px solid var(--green-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 22px;
}
.step-title {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 12px;
  color: white;
}
.step-desc {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.65;
}

/* === COMPANIES === */
.companies-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.company-card {
  background: var(--bg-card);
  border: 1px solid var(--border-med);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.company-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.company-icon {
  width: 52px;
  height: 52px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  background: var(--green-dim);
  border: 1px solid var(--green-mid);
}
.company-name {
  font-family: var(--font-head);
  font-size: 1.0625rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.company-industry {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fg3);
}
.company-stat {
  font-size: 0.8125rem;
  color: var(--fg2);
  line-height: 1.5;
  padding: 10px 13px;
  background: var(--amber-dim);
  border-radius: var(--radius-sm);
  font-weight: 600;
}
.company-link {
  margin-top: auto;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--green-text);
  display: flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.15s;
}
.company-link:hover { gap: 8px; }
.company-milestone-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 12px;
  background: var(--green-dim);
  border-radius: var(--radius-sm);
  margin-top: 2px;
}
.company-milestone-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--green-text);
}
.company-prob-badge {
  font-family: var(--font-mono);
  font-size: 0.9375rem;
  font-weight: 800;
  color: var(--green);
  text-shadow: 0 0 16px rgba(0,230,118,0.4);
  flex-shrink: 0;
}
.company-prob-badge.hot { color: #00E676; }
.company-prob-badge.caution { color: var(--amber); text-shadow: 0 0 16px rgba(255,179,0,0.3); }

/* === LEADERBOARD === */
.leaderboard-table {
  background: var(--bg-dark);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.lb-header, .lb-row {
  display: grid;
  grid-template-columns: 48px 1fr 90px 110px 70px 90px;
  padding: 14px 24px;
  align-items: center;
  gap: 12px;
}
.lb-header {
  background: #0A0E16;
  color: rgba(255,255,255,0.45);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.lb-row {
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: background 0.15s;
}
.lb-row:last-child { border-bottom: none; }
.lb-row:hover { background: var(--green-dim); }
.lb-rank {
  font-size: 1.125rem;
  font-weight: 800;
}
.lb-rank.gold { color: #FFD600; text-shadow: 0 0 20px rgba(255,214,0,0.4); }
.lb-rank.silver { color: #9CA3AF; }
.lb-rank.bronze { color: #C2783B; }
.lb-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.9375rem;
  color: white;
}
.lb-name span { color: rgba(255,255,255,0.3); font-weight: 400; }
.lb-win {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--green);
  font-size: 0.9375rem;
}
.lb-profit {
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 0.9375rem;
  color: white;
}
.lb-markets {
  font-family: var(--font-mono);
  color: rgba(255,255,255,0.4);
  font-size: 0.8125rem;
}
.lb-correct {
  font-family: var(--font-mono);
  font-weight: 700;
  color: rgba(255,255,255,0.65);
  font-size: 0.875rem;
}
.leaderboard-footer {
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #0A0E16;
}
.leaderboard-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--amber-dim);
  border-radius: 22px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--amber-text);
}

/* === RESOLVED MARKETS === */
.resolved-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.resolved-card {
  background: var(--bg-card);
  border: 1px solid var(--border-med);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: transform 0.2s;
}
.resolved-card:hover { transform: translateX(4px); }
.resolved-result {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.resolved-result.yes { background: var(--green-dim); }
.resolved-result.no  { background: rgba(255,59,59,0.07); }
.resolved-info { flex: 1; }
.resolved-company {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.9375rem;
  margin-bottom: 2px;
}
.resolved-q { font-size: 0.8125rem; color: var(--fg2); }
.resolved-payout {
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 0.9375rem;
  text-align: right;
}
.resolved-payout.won { color: var(--green-text); }
.resolved-payout.lost { color: var(--fg3); }
.resolved-label {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--fg3);
  margin-bottom: 3px;
}

/* === BLOG === */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.blog-card {
  background: var(--bg-dark);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.blog-img {
  width: 100%;
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 52px;
}
.blog-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.blog-tag {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: var(--green);
}
.blog-title {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.45;
  color: white;
  flex: 1;
}
.blog-meta {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
}
.blog-preview {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.55;
  flex: 1;
}
.blog-read-link {
  color: var(--green);
  font-weight: 700;
  transition: opacity 0.15s;
}
.blog-read-link:hover { opacity: 0.75; }

/* === FAQ === */
.faq-list { max-width: 740px; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:last-child { border-bottom: none; }
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 22px 0;
  font-family: var(--font-head);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--fg);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: color 0.15s;
}
.faq-q:hover { color: var(--green); }
.faq-toggle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--green-dim);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.faq-item.open .faq-toggle { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}
.faq-item.open .faq-a {
  max-height: 220px;
  padding-bottom: 22px;
}
.faq-a p {
  font-size: 0.9375rem;
  color: var(--fg2);
  line-height: 1.7;
}

/* === CTA === */
.cta-section {
  padding: var(--section-py) 28px;
  background: var(--bg-dark);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 50%, rgba(0,200,83,0.12) 0%, transparent 70%),
    linear-gradient(135deg, transparent 40%, rgba(255,214,0,0.04) 100%);
  pointer-events: none;
}
.cta-inner { position: relative; max-width: 660px; margin: 0 auto; }
.cta-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 18px;
}
.cta-sub {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 40px;
  line-height: 1.7;
}
.cta-form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto 18px;
}
.cta-input {
  flex: 1;
  padding: 14px 20px;
  border-radius: 10px;
  border: 1.5px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  color: white;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  outline: none;
  transition: border-color 0.15s, background 0.15s;
}
.cta-input::placeholder { color: rgba(255,255,255,0.35); }
.cta-input:focus {
  border-color: var(--green);
  background: rgba(255,255,255,0.09);
}
.cta-note {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
  margin-bottom: 28px;
  letter-spacing: 0.02em;
}
.cta-disclaimer {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.25);
  line-height: 1.65;
  max-width: 500px;
  margin: 0 auto;
}

/* === FOOTER === */
.footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.45);
  padding: 48px 28px 28px;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.footer-inner { max-width: var(--max-w); margin: 0 auto; }
.footer-top {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  margin-bottom: 24px;
  align-items: start;
}
.footer-brand { display: flex; flex-direction: column; gap: 10px; }
.footer-logo {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: white;
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-tagline { font-size: 0.875rem; line-height: 1.5; }
.footer-links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  align-items: center;
}
.footer-links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.45);
  transition: color 0.15s;
}
.footer-links a:hover { color: white; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-disclaimer { font-size: 0.75rem; line-height: 1.6; max-width: 540px; }

/* === FOUNDERS SECTION === */
.founders-section {
  background: linear-gradient(135deg, #0D1117 0%, #111827 100%);
  color: white;
  padding: var(--section-py) 28px;
}
.founders-inner { max-width: var(--max-w); margin: 0 auto; }
.founders-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.founders-headline {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 14px;
}
.founders-headline em { color: var(--amber); font-style: normal; }
.founders-sub {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.50);
  line-height: 1.65;
  margin-bottom: 36px;
}
.founders-vps { display: flex; flex-direction: column; gap: 22px; }
.founders-vp { display: flex; gap: 16px; align-items: flex-start; }
.founders-vp-icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: var(--green-dim);
  border: 1px solid var(--green-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.founders-vp-title { font-family: var(--font-head); font-size: 1rem; font-weight: 700; margin-bottom: 3px; }
.founders-vp-desc { font-size: 0.875rem; color: rgba(255,255,255,0.50); line-height: 1.55; }
.founders-cta-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  padding: 48px 40px;
  background: rgba(0,230,118,0.04);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(0,230,118,0.12);
}
.founders-cta-icon { font-size: 52px; line-height: 1; }
.founders-cta-tagline {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
}
.btn-amber {
  background: var(--amber);
  color: var(--bg-dark);
  padding: 14px 30px;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.15s, box-shadow 0.15s;
  cursor: pointer;
  border: none;
}
.btn-amber:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255,179,0,0.35);
}

/* === BET AMOUNT INPUT === */
.bet-amount-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding: 14px 16px;
  background: rgba(0,0,0,0.25);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.07);
  flex-wrap: wrap;
}
.bet-amount-label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.4);
  flex-shrink: 0;
}
.bet-amount-input-wrap {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(255,255,255,0.06);
  border: 1.5px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  padding: 0 10px;
  transition: border-color 0.15s;
}
.bet-amount-input-wrap:focus-within { border-color: var(--green); }
.bet-currency {
  font-family: var(--font-mono);
  font-size: 0.9375rem;
  font-weight: 700;
  color: rgba(255,255,255,0.5);
}
.bet-amount-input {
  background: none;
  border: none;
  outline: none;
  font-family: var(--font-mono);
  font-size: 1.125rem;
  font-weight: 800;
  color: white;
  width: 90px;
  padding: 10px 0;
}
.bet-amount-input::-webkit-inner-spin-button { opacity: 0.5; }
.bet-presets { display: flex; gap: 6px; flex-wrap: wrap; }
.bet-preset {
  padding: 6px 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255,255,255,0.6);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.bet-preset:hover {
  background: var(--green-dim);
  border-color: var(--green-mid);
  color: var(--green);
}

/* === MARKET MODAL === */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.80);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(8px);
}
.modal-overlay.open { display: flex; }
.modal-card {
  background: #0F1520;
  border-radius: var(--radius-xl);
  padding: 40px;
  max-width: 540px;
  width: 100%;
  color: white;
  position: relative;
  box-shadow: 0 0 80px rgba(0,230,118,0.12), 0 24px 60px rgba(0,0,0,0.5);
  border: 1px solid rgba(0,230,118,0.15);
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255,255,255,0.08);
  border: none;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
  cursor: pointer;
  transition: background 0.15s;
}
.modal-close:hover { background: rgba(255,255,255,0.15); }
.modal-header { margin-bottom: 28px; }
.modal-company {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.modal-company-name {
  font-family: var(--font-head);
  font-size: 1.375rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.modal-milestone {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 600;
  color: rgba(255,255,255,0.80);
  line-height: 1.45;
  margin-bottom: 8px;
}
.modal-odds {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
  padding: 18px;
  background: rgba(0,230,118,0.06);
  border-radius: var(--radius-md);
  border: 1px solid rgba(0,230,118,0.12);
}
.modal-odds-value {
  font-family: var(--font-mono);
  font-size: 3rem;
  font-weight: 900;
  color: var(--green);
  letter-spacing: -0.04em;
  line-height: 1;
  text-shadow: 0 0 40px rgba(0,230,118,0.5);
}
.modal-odds-label { font-size: 0.8125rem; color: rgba(255,255,255,0.45); line-height: 1.4; }
.modal-odds-change {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--green);
  margin-left: auto;
}
.modal-odds-change.down { color: var(--red); }
.modal-story {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.65;
  margin-bottom: 28px;
  padding: 16px;
  background: rgba(255,255,255,0.03);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.05);
}
.modal-bet-section { display: flex; gap: 14px; }
.bet-btn {
  flex: 1;
  padding: 16px 12px;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 800;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}
.bet-btn:hover { transform: translateY(-2px); }
.bet-btn-yes { background: var(--green); color: var(--bg-dark); }
.bet-btn-yes:hover { box-shadow: 0 6px 24px rgba(0,230,118,0.45); }
.bet-btn-no { background: rgba(255,255,255,0.06); color: white; border: 1.5px solid rgba(255,255,255,0.12); }
.bet-btn-no:hover { box-shadow: 0 6px 24px rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.2); }
.bet-btn-label { font-size: 0.875rem; font-weight: 700; }
.bet-btn-odds { font-family: var(--font-mono); font-size: 0.75rem; opacity: 0.65; }
.modal-resolve-date {
  text-align: center;
  margin-top: 20px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
}

/* === ANIMATIONS === */
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up {
  opacity: 0;
  animation: fadeUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.fade-up-delay-1 { animation-delay: 0.10s; }
.fade-up-delay-2 { animation-delay: 0.20s; }
.fade-up-delay-3 { animation-delay: 0.30s; }
.fade-up-delay-4 { animation-delay: 0.40s; }

/* === RESPONSIVE === */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .steps-grid { grid-template-columns: 1fr; }
  .companies-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .lb-header, .lb-row { grid-template-columns: 44px 1fr 80px 100px 60px 80px; }
  .lb-header > :nth-child(5),
  .lb-row > :nth-child(5) { display: none; }
  .founders-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .hamburger { display: block; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 62px;
    left: 0;
    right: 0;
    background: var(--bg-dark);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding: 16px;
    gap: 4px;
    z-index: 200;
  }
  .nav-links.open a { color: rgba(255,255,255,0.7); padding: 10px 14px; }
  .hero { padding: 72px 20px 90px; }
  .hero-headline { font-size: 2.5rem; }
  .companies-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .resolved-grid { grid-template-columns: 1fr; }
  .cta-form { flex-direction: column; }
  .section { padding: 64px 20px; }
  .leaderboard-table { overflow-x: auto; }
  .footer-top { grid-template-columns: 1fr; }
  .modal-card { padding: 28px 24px; }
  .modal-odds-value { font-size: 2.25rem; }
}

/* === MISC === */
.section-divider { border: none; border-top: 1px solid var(--border); }

/* Hero image styling */
.hero-img-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-img {
  width: 100%;
  max-width: 540px;
  border-radius: var(--radius-xl);
  box-shadow: 0 24px 64px rgba(0,230,118,0.12);
  border: 1px solid rgba(0,230,118,0.12);
}
.hero-img-badge {
  position: absolute;
  bottom: 18px;
  left: 18px;
  background: rgba(13,17,23,0.92);
  border-radius: var(--radius-md);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: white;
  border: 1px solid rgba(255,255,255,0.08);
}
.badge-dot { color: var(--green); animation: pulse 2s infinite; }

/* Blog image backgrounds */
.blog-img-1 { background: linear-gradient(135deg, #e6f9ee 0%, #b2e0c4 100%); }
.blog-img-2 { background: linear-gradient(135deg, #fff8e1 0%, #ffe082 100%); }
.blog-img-3 { background: linear-gradient(135deg, #e3f2fd 0%, #90caf9 100%); }

/* Dark section helpers */
.section-dark, .hunt-board-dark { background: var(--bg-dark); color: white; }
.section-dark .section-title, .hunt-board-dark .section-title { color: white; }
.section-dark .section-sub, .hunt-board-dark .section-sub { color: rgba(255,255,255,0.50); }
.section-dark .section-label, .hunt-board-dark .section-label { color: rgba(255,255,255,0.40); }
.section-dark .step-card { background: var(--bg-panel); border-color: rgba(255,255,255,0.07); }
.section-dark .step-title { color: white; }
.section-dark .step-desc { color: rgba(255,255,255,0.50); }
.section-dark .blog-card { background: var(--bg-panel); border-color: rgba(255,255,255,0.07); }
.section-dark .blog-title { color: white; }
.section-dark .blog-meta { color: rgba(255,255,255,0.35); }
.section-dark .resolved-card { background: var(--bg-panel); border-color: rgba(255,255,255,0.07); }
.section-dark .resolved-company { color: white; }
.section-dark .resolved-q { color: rgba(255,255,255,0.50); }