:root {
  --bg-deep: #0a0a12;
  --bg-surface: #12121e;
  --bg-card: #1a1a2e;
  --fg: #e8e6f0;
  --fg-muted: #9896a8;
  --fg-dim: #6b6980;
  --accent-primary: #7c3aed;
  --accent-secondary: #06d6a0;
  --accent-warm: #f59e0b;
  --gradient-main: linear-gradient(135deg, #7c3aed, #06d6a0);
  --gradient-warm: linear-gradient(135deg, #f59e0b, #ec4899);
  --gradient-cool: linear-gradient(135deg, #06b6d4, #7c3aed);
  --radius: 12px;
  --radius-lg: 20px;
  --font-display: 'Instrument Serif', serif;
  --font-body: 'Satoshi', sans-serif;
}

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

body {
  background: var(--bg-deep);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

/* ── Hero ── */
.hero {
  position: relative;
  padding: 140px 0 100px;
  overflow: hidden;
  text-align: center;
}

.hero-bg-shapes {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.3;
}

.shape-1 {
  width: 500px;
  height: 500px;
  background: var(--accent-primary);
  top: -150px;
  left: -100px;
}

.shape-2 {
  width: 400px;
  height: 400px;
  background: var(--accent-secondary);
  top: 50px;
  right: -120px;
}

.shape-3 {
  width: 300px;
  height: 300px;
  background: var(--accent-warm);
  bottom: -100px;
  left: 40%;
  opacity: 0.15;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: inline-block;
  padding: 5px 16px;
  border-radius: 100px;
  background: rgba(124, 58, 237, 0.12);
  border: 1px solid rgba(124, 58, 237, 0.28);
  color: #a78bfa;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 32px;
}

/* Kept for backward compat on any old partials */
.hero-badge { display: none; }

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 28px;
  letter-spacing: -1px;
  color: var(--fg);
}

.hero h1 em {
  font-style: italic;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--fg-muted);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-cta-primary {
  display: inline-block;
  padding: 15px 32px;
  border-radius: var(--radius);
  background: var(--gradient-main);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.2px;
  transition: opacity 0.2s, transform 0.2s;
}
.hero-cta-primary:hover { opacity: 0.88; transform: translateY(-2px); }

.hero-cta-secondary {
  display: inline-block;
  padding: 15px 32px;
  border-radius: var(--radius);
  background: transparent;
  border: 1px solid rgba(124, 58, 237, 0.5);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.2s, transform 0.2s, background 0.2s;
}
.hero-cta-secondary:hover {
  border-color: rgba(124, 58, 237, 0.9);
  background: rgba(124, 58, 237, 0.08);
  transform: translateY(-2px);
}

.hero-cta-text {
  display: inline-block;
  color: var(--fg-muted);
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  padding: 15px 12px;
  transition: color 0.2s;
}
.hero-cta-text:hover { color: var(--fg); }

.hero-proof {
  font-size: 0.8rem;
  color: var(--fg-dim);
  letter-spacing: 0.3px;
}

/* ── Stats ── */
.stats {
  padding: 80px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid rgba(124, 58, 237, 0.12);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: border-color 0.3s;
}

.stat-card:hover {
  border-color: rgba(124, 58, 237, 0.4);
}

.stat-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 400;
  font-style: italic;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  margin-bottom: 12px;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--fg);
  line-height: 1.4;
  margin-bottom: 8px;
}

.stat-source {
  font-size: 0.75rem;
  color: var(--fg-dim);
  font-style: italic;
}

/* ── Pillars / CTA Cards ── */
.pillars {
  padding: 100px 0;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 400;
  text-align: center;
  margin-bottom: 60px;
  line-height: 1.15;
  letter-spacing: -0.5px;
  color: var(--fg);
}

.section-title em {
  font-style: italic;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pillar-card {
  display: block;
  text-decoration: none;
  background: var(--bg-surface);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  transition: transform 0.25s, border-color 0.25s, background 0.25s;
  color: var(--fg);
}

.pillar-card:hover {
  transform: translateY(-5px);
  background: var(--bg-card);
}

.pillar-card--primary:hover { border-color: rgba(124, 58, 237, 0.4); }
.pillar-card--secondary:hover { border-color: rgba(6, 214, 160, 0.35); }
.pillar-card--tertiary:hover { border-color: rgba(245, 158, 11, 0.35); }

.pillar-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
  opacity: 0.5;
}

.pillar-card--primary .pillar-label { color: #a78bfa; opacity: 1; }
.pillar-card--secondary .pillar-label { color: #34d399; opacity: 1; }
.pillar-card--tertiary .pillar-label { color: #fbbf24; opacity: 1; }

.pillar-card h3 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 400;
  margin-bottom: 16px;
  color: var(--fg);
  line-height: 1.2;
}

.pillar-card p {
  color: var(--fg-muted);
  font-size: 0.93rem;
  line-height: 1.68;
  margin-bottom: 28px;
}

.pillar-cta {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--fg-dim);
  transition: color 0.2s;
}

.pillar-card--primary .pillar-cta { color: #a78bfa; }
.pillar-card--secondary .pillar-cta { color: #34d399; }
.pillar-card--tertiary .pillar-cta { color: #fbbf24; }

/* ── Games Section ── */
.games-section {
  padding: 80px 0 100px;
}

.section-sub {
  text-align: center;
  color: var(--fg-muted);
  font-size: 1.05rem;
  margin-top: -40px;
  margin-bottom: 48px;
}

.games-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  max-width: 800px;
  margin: 0 auto;
}

.game-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 100px;
  padding: 12px 22px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--fg);
  transition: border-color 0.3s, transform 0.2s;
}

.game-tag:hover {
  border-color: rgba(124, 58, 237, 0.3);
  transform: translateY(-2px);
}

.tag-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.dot-blue { background: #3b82f6; }
.dot-purple { background: #7c3aed; }
.dot-green { background: #06d6a0; }
.dot-amber { background: #f59e0b; }
.dot-rose { background: #ec4899; }
.dot-cyan { background: #06b6d4; }

.tag-benefit {
  font-size: 0.78rem;
  color: var(--fg-dim);
  font-weight: 400;
  font-family: var(--font-body);
}

/* ── Subscribe ── */
.subscribe-section {
  padding: 100px 0;
  background: linear-gradient(180deg, transparent, rgba(124, 58, 237, 0.04), transparent);
}

.subscribe-inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.subscribe-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 400;
  color: var(--fg);
  margin-bottom: 14px;
  letter-spacing: -0.4px;
}

.subscribe-inner p {
  font-size: 0.98rem;
  color: var(--fg-muted);
  margin-bottom: 36px;
  line-height: 1.6;
}

.subscribe-form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.subscribe-input {
  flex: 1;
  min-width: 220px;
  max-width: 340px;
  padding: 14px 20px;
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
}

.subscribe-input::placeholder { color: var(--fg-dim); }
.subscribe-input:focus { border-color: rgba(124, 58, 237, 0.5); }

.subscribe-btn {
  padding: 14px 28px;
  border-radius: var(--radius);
  background: var(--gradient-main);
  border: none;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
  white-space: nowrap;
}

.subscribe-btn:hover { opacity: 0.88; transform: translateY(-1px); }
.subscribe-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

.subscribe-feedback {
  margin-top: 16px;
  font-size: 0.88rem;
  min-height: 22px;
}

.subscribe-feedback--ok { color: var(--accent-secondary); }
.subscribe-feedback--err { color: #f87171; }

/* ── Closing ── */
.closing {
  padding: 100px 0;
}

.closing-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.closing-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 400;
  margin-bottom: 24px;
  letter-spacing: -0.4px;
  color: var(--fg);
}

.closing-content p {
  color: var(--fg-muted);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 20px;
}

.closing-bold {
  color: var(--fg) \!important;
  font-weight: 500;
  font-size: 1.15rem \!important;
}

/* ── Footer ── */
.site-footer {
  padding: 48px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 400;
  font-style: italic;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-tagline {
  color: var(--fg-dim);
  font-size: 0.85rem;
}

.footer-nav {
  display: flex;
  gap: 28px;
  margin-top: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-nav a {
  color: var(--fg-dim);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}

.footer-nav a:hover { color: var(--fg); }

/* ── Responsive ── */
@media (max-width: 768px) {
  .hero {
    padding: 100px 0 70px;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta-primary,
  .hero-cta-secondary {
    text-align: center;
  }

  .hero-cta-text { text-align: center; padding: 10px; }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .pillars-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .pillar-card {
    padding: 32px 24px;
  }

  .games-grid {
    gap: 10px;
  }

  .game-tag {
    padding: 10px 16px;
    font-size: 0.82rem;
  }

  .subscribe-form {
    flex-direction: column;
    align-items: center;
  }

  .subscribe-input {
    width: 100%;
    max-width: 100%;
  }

  .subscribe-btn {
    width: 100%;
    max-width: 340px;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .stat-number {
    font-size: 2.5rem;
  }

  .hero h1 {
    font-size: 2.2rem;
  }
}
