@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,500&family=Nunito+Sans:opsz,wght@6..12,400;6..12,500;6..12,600;6..12;700;800&display=swap');

:root {
  --bg: #140e12;
  --bg-alt: #1c1419;
  --bg-panel: #231820;
  --surface: #2a1f26;
  --border: rgba(201, 169, 98, 0.18);
  --border-strong: rgba(201, 169, 98, 0.35);
  --text: #f3ebe3;
  --text-muted: #a8948a;
  --gold: #c9a962;
  --gold-light: #e8d5a3;
  --gold-dim: rgba(201, 169, 98, 0.12);
  --rose: #8b3a4a;
  --rose-glow: rgba(139, 58, 74, 0.35);
  --cream: #faf6f0;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Nunito Sans', system-ui, sans-serif;
  --radius: 4px;
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    repeating-linear-gradient(
      -12deg,
      transparent,
      transparent 80px,
      rgba(201, 169, 98, 0.025) 80px,
      rgba(201, 169, 98, 0.025) 81px
    );
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse at 80% 0%, var(--rose-glow) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

a { color: var(--gold-light); text-decoration: none; transition: color 0.25s; }
a:hover { color: var(--gold); }

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.topbar.scrolled {
  background: rgba(20, 14, 18, 0.92);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border);
}

.topbar-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.nav-left, .nav-right {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.nav-left { justify-content: flex-end; padding-right: 2rem; }
.nav-right { justify-content: flex-start; padding-left: 2rem; }

.nav-left a, .nav-right a {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.nav-left a:hover, .nav-right a:hover { color: var(--gold); }

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--cream);
  white-space: nowrap;
}

.brand .icon { width: 22px; height: 22px; color: var(--gold); }

.header-play {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 1rem;
  background: var(--gold);
  color: var(--bg);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: background 0.25s, transform 0.25s;
}

.header-play:hover { background: var(--gold-light); color: var(--bg); transform: translateY(-1px); }
.header-play .icon { width: 14px; height: 14px; }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gold);
  transition: transform 0.3s, opacity 0.3s;
}

.burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 150;
  opacity: 0;
  transition: opacity 0.3s;
}

.drawer-overlay.open { display: block; opacity: 1; }

.drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: min(300px, 85vw);
  height: 100%;
  background: var(--bg-panel);
  border-right: 1px solid var(--border);
  z-index: 160;
  transform: translateX(-100%);
  transition: transform 0.35s var(--ease);
  padding: 5rem 1.5rem 2rem;
}

.drawer.open { transform: translateX(0); }

.drawer-nav { list-style: none; display: flex; flex-direction: column; gap: 0.25rem; }

.drawer-nav a {
  display: block;
  padding: 0.85rem 0;
  font-weight: 600;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}

.drawer-play {
  display: block;
  margin-top: 1.5rem;
  text-align: center;
  padding: 0.85rem;
  background: var(--gold);
  color: var(--bg);
  font-weight: 700;
  border-radius: var(--radius);
}

.hero {
  padding: calc(var(--header-h) + 4rem) 0 5rem;
  min-height: 88vh;
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.hero-eyebrow .icon { width: 14px; height: 14px; }

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 600;
  line-height: 1.12;
  color: var(--cream);
  margin-bottom: 1.25rem;
}

.hero h1 em {
  font-style: italic;
  color: var(--gold);
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 2rem;
}

.hero-btns { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.25s;
}

.btn .icon { width: 16px; height: 16px; }

.btn-gold {
  background: var(--gold);
  color: var(--bg);
}

.btn-gold:hover { background: var(--gold-light); transform: translateY(-2px); }

.btn-line {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-strong);
}

.btn-line:hover { border-color: var(--gold); color: var(--gold); }

.hero-side {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  padding: 2rem;
  position: relative;
}

.hero-side::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 2rem;
  right: 2rem;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.hero-side-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.hero-side-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
}

.hero-side-item:last-child { border-bottom: none; }

.hero-side-item span:first-child {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.hero-side-item strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--gold-light);
}

.section { padding: 5rem 0; }

.section-head { margin-bottom: 2.5rem; }

.section-head.center { text-align: center; }

.section-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 0.6rem;
}

.section-head p { color: var(--text-muted); max-width: 560px; }
.section-head.center p { margin: 0 auto; }

.game-rows { display: flex; flex-direction: column; gap: 0; }

.game-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.5rem;
  align-items: center;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--border);
  transition: background 0.3s, padding-left 0.3s;
  color: inherit;
  text-decoration: none;
}

.game-row:first-child { border-top: 1px solid var(--border); }

.game-row:hover {
  background: var(--gold-dim);
  padding-left: 1rem;
}

.game-row-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-strong);
  color: var(--gold);
}

.game-row-icon .icon { width: 24px; height: 24px; }

.game-row-body h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 0.35rem;
}

.game-row-body p { font-size: 0.92rem; color: var(--text-muted); max-width: 640px; }

.game-row-meta {
  text-align: right;
  min-width: 120px;
}

.game-row-meta .mult {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gold);
}

.game-row-meta .lbl {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.game-row-arrow {
  color: var(--text-muted);
  transition: color 0.25s, transform 0.25s;
}

.game-row:hover .game-row-arrow { color: var(--gold); transform: translateX(4px); }
.game-row-arrow .icon { width: 20px; height: 20px; }

.steps-wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--border);
}

.step-card {
  padding: 2.25rem 2rem;
  border-right: 1px solid var(--border);
  position: relative;
}

.step-card:last-child { border-right: none; }

.step-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 600;
  color: var(--gold-dim);
  line-height: 1;
  margin-bottom: 1rem;
  -webkit-text-stroke: 1px var(--border-strong);
  color: transparent;
}

.step-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 0.6rem;
}

.step-card p { font-size: 0.9rem; color: var(--text-muted); }

.step-card .icon-wrap {
  margin-top: 1.25rem;
  color: var(--gold);
}

.step-card .icon-wrap .icon { width: 20px; height: 20px; }

.ticker-band {
  background: var(--bg-panel);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 3rem 0;
}

.ticker-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.ticker-item .val {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--gold-light);
  line-height: 1.1;
}

.ticker-item .lbl {
  margin-top: 0.4rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.cta-band {
  padding: 4rem 0;
}

.cta-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
  padding: 3rem;
  background: linear-gradient(135deg, var(--surface) 0%, var(--bg-panel) 100%);
  border: 1px solid var(--border-strong);
  position: relative;
  overflow: hidden;
}

.cta-inner::after {
  content: '';
  position: absolute;
  right: -60px;
  top: -60px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--rose-glow) 0%, transparent 70%);
  pointer-events: none;
}

.cta-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 0.5rem;
}

.cta-inner p { color: var(--text-muted); max-width: 480px; }

.site-footer { padding: 0 0 2rem; }

.footer-cta-block {
  text-align: center;
  padding: 4rem 2rem;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  margin-bottom: 2rem;
}

.footer-cta-block h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 0.75rem;
}

.footer-cta-block p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem 2.5rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
}

.footer-links a {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links a:hover { color: var(--gold); }

.footer-copy {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  padding-top: 1rem;
}

.reveal {
  opacity: 0;
  filter: blur(8px);
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease), filter 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.visible {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
.reveal-d4 { transition-delay: 0.4s; }
.reveal-d5 { transition-delay: 0.5s; }

.stagger > .reveal:nth-child(1) { transition-delay: 0s; }
.stagger > .reveal:nth-child(2) { transition-delay: 0.08s; }
.stagger > .reveal:nth-child(3) { transition-delay: 0.16s; }
.stagger > .reveal:nth-child(4) { transition-delay: 0.24s; }
.stagger > .reveal:nth-child(5) { transition-delay: 0.32s; }

.page-hero {
  padding: calc(var(--header-h) + 2.5rem) 0 3rem;
  border-bottom: 1px solid var(--border);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb-sep { opacity: 0.4; }

.page-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--border-strong);
  padding: 0.35rem 0.75rem;
  margin-bottom: 1rem;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 1rem;
  max-width: 780px;
}

.page-lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 680px;
  margin-bottom: 1.5rem;
}

.page-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
}

.page-stat {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.page-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--gold-light);
  margin-bottom: 0.15rem;
}

.page-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 3rem;
  padding: 3rem 0 5rem;
  align-items: start;
}

.page-sidebar {
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
}

.sidebar-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.sidebar-list { list-style: none; }

.sidebar-list a {
  display: block;
  padding: 0.65rem 0;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  transition: color 0.2s, padding-left 0.2s;
}

.sidebar-list a:hover,
.sidebar-list a.active {
  color: var(--gold);
  padding-left: 0.5rem;
}

.page-content section {
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border);
}

.page-content section:first-child { padding-top: 0; }
.page-content section:last-child { border-bottom: none; }

.page-content section:nth-child(even) {
  background: var(--bg-alt);
  margin: 0 -1.5rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.page-content h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 1rem;
}

.page-content h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gold-light);
  margin: 1.5rem 0 0.6rem;
}

.page-content p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.page-content ul, .page-content ol {
  color: var(--text-muted);
  margin: 0 0 1rem 1.25rem;
}

.page-content li { margin-bottom: 0.4rem; }

.info-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.25rem 0;
  font-size: 0.9rem;
}

.info-table th,
.info-table td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.info-table th {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--gold-dim);
}

.info-table tr:hover td { background: rgba(201, 169, 98, 0.04); }

.info-table td:first-child { font-weight: 600; color: var(--text); }

.highlight-box {
  padding: 1.25rem 1.5rem;
  border-left: 3px solid var(--gold);
  background: var(--gold-dim);
  margin: 1.25rem 0;
}

.highlight-box p { margin: 0; color: var(--text); }

.inline-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem;
  margin-top: 2rem;
  background: var(--surface);
  border: 1px solid var(--border-strong);
}

.inline-cta p {
  margin: 0;
  font-weight: 600;
  color: var(--cream);
}

.article-cta {
  text-align: center;
  padding: 3rem 2rem;
  margin-top: 2rem;
  background: linear-gradient(180deg, var(--bg-panel) 0%, var(--bg-alt) 100%);
  border: 1px solid var(--border);
}

.article-cta h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--cream);
  margin-bottom: 0.5rem;
}

.article-cta p { color: var(--text-muted); margin-bottom: 1.25rem; }

@media (max-width: 768px) {
  .nav-left, .nav-right { display: none; }
  .topbar-inner { grid-template-columns: 1fr auto 1fr; }
  .brand { justify-self: center; grid-column: 2; font-size: 1.15rem; }
  .burger {
    display: flex;
    grid-column: 3;
    justify-self: end;
  }

  .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero { min-height: auto; padding-bottom: 3rem; }

  .game-row {
    grid-template-columns: auto 1fr;
    gap: 1rem;
  }

  .game-row-meta, .game-row-arrow { display: none; }

  .steps-wrap { grid-template-columns: 1fr; }
  .step-card { border-right: none; border-bottom: 1px solid var(--border); }
  .step-card:last-child { border-bottom: none; }

  .ticker-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }

  .cta-inner { grid-template-columns: 1fr; text-align: center; }
  .cta-inner .btn { justify-content: center; width: 100%; }

  .page-layout { grid-template-columns: 1fr; gap: 1.5rem; }

  .page-sidebar {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .sidebar-title { width: 100%; }
  .sidebar-list { display: flex; flex-wrap: wrap; gap: 0.5rem; width: 100%; }
  .sidebar-list a {
    border: 1px solid var(--border);
    padding: 0.45rem 0.85rem;
    border-radius: var(--radius);
    font-size: 0.82rem;
  }

  .page-content section:nth-child(even) { margin: 0; padding-left: 0; padding-right: 0; }
}
