/* ═══════════════════════════════════════════════════════════════
   Costanza Marketing Website — styles.css
   Self-contained. No external dependencies beyond Google Fonts.
   Material Design–inspired layout, dark poker aesthetic.
═══════════════════════════════════════════════════════════════ */

/* ── Reset & Base ──────────────────────────────────────────── */

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

:root {
  /* Palette */
  --bg-base:        #0d1117;
  --bg-surface:     #161b22;
  --bg-elevated:    #1c2330;
  --bg-card:        #1e2530;
  --bg-card-hover:  #242e3d;
  --felt-green:     #1a3a28;
  --felt-mid:       #1e4530;

  --gold:           #c8944a;
  --gold-light:     #e8b96a;
  --gold-dim:       #7a5a2a;
  --gold-glow:      rgba(200,148,74,0.15);

  --text-primary:   #f0f6fc;
  --text-secondary: #8b949e;
  --text-muted:     #484f58;

  --accent-blue:    #58a6ff;
  --accent-green:   #3fb950;
  --accent-red:     #f85149;
  --accent-orange:  #d29922;

  --border:         rgba(255,255,255,0.08);
  --border-gold:    rgba(200,148,74,0.3);

  /* Typography */
  --font:           'Inter', system-ui, -apple-system, sans-serif;
  --font-mono:      'JetBrains Mono', 'Courier New', monospace;

  /* Spacing */
  --section-pad:    4.5rem;
  --section-pad-sm: 3rem;

  /* Radius */
  --radius-sm:      6px;
  --radius-md:      12px;
  --radius-lg:      20px;
  --radius-xl:      28px;

  /* Elevation */
  --shadow-sm:      0 1px 3px rgba(0,0,0,0.3);
  --shadow-md:      0 4px 16px rgba(0,0,0,0.4);
  --shadow-lg:      0 8px 32px rgba(0,0,0,0.5);
  --shadow-gold:    0 0 24px rgba(200,148,74,0.2);
}

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

body {
  font-family: var(--font);
  background: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ── Layout ────────────────────────────────────────────────── */

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: var(--section-pad) 0;
}

.section-dark {
  background: var(--bg-surface);
}

/* ── Typography ────────────────────────────────────────────── */

.section-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(200,148,74,0.1);
  border: 1px solid var(--border-gold);
  border-radius: 20px;
  padding: 4px 12px;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.section-sub {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin-bottom: 3rem;
  line-height: 1.7;
}

/* ── Buttons ───────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.18s ease;
  white-space: nowrap;
  letter-spacing: 0.2px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, #e8a040 100%);
  color: #1a0e00;
  padding: 0.75rem 1.5rem;
  box-shadow: 0 2px 12px rgba(200,148,74,0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(200,148,74,0.5);
}

.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  padding: 0.75rem 1.5rem;
  border: 1.5px solid var(--border);
}

.btn-ghost:hover {
  border-color: rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.05);
}

.btn-nav {
  background: linear-gradient(135deg, var(--gold) 0%, #e8a040 100%);
  color: #1a0e00;
  padding: 0.5rem 1.1rem;
  font-size: 0.88rem;
  box-shadow: 0 2px 8px rgba(200,148,74,0.3);
}

.btn-nav:hover {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
  transform: translateY(-1px);
}

.btn-lg {
  padding: 0.9rem 1.75rem;
  font-size: 1.05rem;
  border-radius: var(--radius-lg);
}

.btn-xl {
  padding: 1.1rem 2.25rem;
  font-size: 1.15rem;
  border-radius: var(--radius-lg);
}

/* ── Navigation ────────────────────────────────────────────── */

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(13,17,23,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s ease;
}

.site-nav.scrolled {
  background: rgba(13,17,23,0.97);
  box-shadow: var(--shadow-md);
}

.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-mark {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--gold) 0%, #e8a040 100%);
  color: #1a0e00;
  font-weight: 900;
  font-size: 1.1rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-logo-text {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-links a:not(.btn) {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-sm);
  transition: color 0.15s ease, background 0.15s ease;
}

.nav-links a:not(.btn):hover {
  color: var(--text-primary);
  background: rgba(255,255,255,0.06);
}

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

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.25s ease;
}

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

/* ── Hero ──────────────────────────────────────────────────── */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 0 5rem;
  overflow: hidden;
}

.hero-bg-grid {
  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: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 100%);
}

.hero-felt {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 140%;
  height: 55%;
  background: radial-gradient(ellipse 70% 100% at 50% 100%, var(--felt-green) 0%, transparent 75%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--accent-green);
  background: rgba(63,185,80,0.1);
  border: 1px solid rgba(63,185,80,0.3);
  border-radius: 20px;
  padding: 5px 14px;
  margin-bottom: 1.75rem;
}

.hero-headline {
  font-size: clamp(3.2rem, 4vw, 4.2rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.04em;
  max-width: 960px;
  width: 100%;
  margin-bottom: 1.5rem;
}

.hero-highlight {
  background: linear-gradient(90deg, var(--gold-light), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 960px;
  line-height: 1.75;
  margin-bottom: 2.5rem;
  text-wrap: pretty;
}

.hero-sub strong { color: var(--text-primary); }

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 3.5rem;
}

.hero-cards {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.25rem;
}

.hero-card-group {
  display: flex;
  gap: 0.4rem;
}

.hero-vs {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 1px;
}

.hero-verdict {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 1rem;
}

.verdict-arrow { color: var(--text-muted); }

.hero-micro {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
}

/* ── Playing Cards ─────────────────────────────────────────── */

.playing-card {
  width: 70px;
  height: 98px;
  background: #f8f4ef;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.9);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  position: relative;
  flex-shrink: 0;
}

.playing-card.small {
  width: 56px;
  height: 78px;
  border-radius: 7px;
}

.playing-card.mini {
  width: 38px;
  height: 54px;
  border-radius: 5px;
}

.playing-card .c-rank {
  font-family: var(--font);
  font-size: 1.5rem;
  font-weight: 900;
  color: #1a1a2e;
  line-height: 1;
}

.playing-card.small .c-rank { font-size: 1.2rem; }
.playing-card.mini .c-rank  { font-size: 0.85rem; }

.playing-card .c-suit {
  font-size: 1.4rem;
  line-height: 1;
  color: #1a1a2e;
}

.playing-card.small .c-suit { font-size: 1.1rem; }
.playing-card.mini .c-suit  { font-size: 0.8rem; }

.playing-card.red .c-rank,
.playing-card.red .c-suit { color: #c0392b; }

/* Back of card */
.playing-card.back {
  background: linear-gradient(135deg, #1a3a6e 0%, #0d2454 100%);
  border: 2px solid rgba(88,166,255,0.3);
}

.playing-card.back .c-back-pattern {
  font-size: 2rem;
  color: rgba(88,166,255,0.4);
}

.playing-card.small.back .c-back-pattern { font-size: 1.5rem; }

/* Verdict labels */
.verdict-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
}

.verdict-label.win {
  background: rgba(63,185,80,0.15);
  border: 1px solid rgba(63,185,80,0.4);
  color: var(--accent-green);
}

.verdict-label.loss {
  background: rgba(248,81,73,0.12);
  border: 1px solid rgba(248,81,73,0.35);
  color: var(--accent-red);
}

/* ── Concept Section ───────────────────────────────────────── */

.concept-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.concept-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.concept-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-gold);
}

.concept-card--accent {
  background: linear-gradient(135deg, rgba(200,148,74,0.08) 0%, rgba(200,148,74,0.03) 100%);
  border-color: var(--border-gold);
  box-shadow: var(--shadow-gold);
}

.concept-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: block;
}

.concept-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--text-primary);
}

.concept-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.callout-bar {
  background: linear-gradient(135deg, rgba(200,148,74,0.1) 0%, rgba(200,148,74,0.04) 100%);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.75rem;
}

.callout-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.callout-text strong { color: var(--gold-light); }

/* ── Steps ─────────────────────────────────────────────────── */

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

.step-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  gap: 1.25rem;
  transition: border-color 0.2s ease;
}

.step-card:hover { border-color: rgba(255,255,255,0.15); }

.step-card--highlight {
  background: linear-gradient(135deg, rgba(63,185,80,0.06) 0%, rgba(63,185,80,0.02) 100%);
  border-color: rgba(63,185,80,0.25);
}

.step-num {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold-dim);
  line-height: 1;
  flex-shrink: 0;
  padding-top: 2px;
}

.step-content h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.step-content p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1rem;
}

.step-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.75rem;
}

.showdown-result {
  margin-top: 0.75rem;
}

/* ── Rankings Table ────────────────────────────────────────── */

.rankings-table {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 2rem;
}

.ranking-row {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1.5fr;
  gap: 1rem;
  padding: 0.9rem 1.5rem;
  border-bottom: 1px solid var(--border);
  align-items: center;
  transition: background 0.15s ease;
}

.ranking-row:last-child { border-bottom: none; }
.ranking-row:hover:not(.ranking-row--header) { background: rgba(255,255,255,0.03); }

.ranking-row--header {
  background: var(--bg-card);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.ranking-row--best { background: rgba(63,185,80,0.05); }
.ranking-row--worst { background: rgba(248,81,73,0.05); }

.hand-name {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  font-size: 0.95rem;
}

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

.dot-gold   { background: var(--gold); }
.dot-green  { background: var(--accent-green); }
.dot-blue   { background: var(--accent-blue); }
.dot-orange { background: var(--accent-orange); }
.dot-red    { background: var(--accent-red); }
.dot-purple { background: #a371f7; }

.hand-status {
  font-size: 0.88rem;
  font-weight: 600;
}

.hand-status.good    { color: var(--accent-green); }
.hand-status.bad     { color: var(--accent-red); }
.hand-status.neutral { color: var(--text-secondary); }

.rules-insight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.insight-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

.insight-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 0.6rem;
}

.insight-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ── Features Grid ─────────────────────────────────────────── */

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.feature-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-gold);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.feature-icon {
  font-size: 1.75rem;
  margin-bottom: 0.85rem;
  display: block;
}

.feature-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.feature-card p {
  font-size: 0.87rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.feature-card--acid {
  border-color: rgba(167,139,250,0.25);
  background: linear-gradient(135deg, rgba(167,139,250,0.06) 0%, rgba(56,189,248,0.04) 100%);
}

.feature-card--acid:hover {
  border-color: rgba(167,139,250,0.5);
  box-shadow: 0 8px 24px rgba(167,139,250,0.15);
}

.acid-badge-inline {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.65rem;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: linear-gradient(270deg, #ff6ec7, #a78bfa, #38bdf8, #34d399, #fbbf24, #f87171, #ff6ec7);
  background-size: 400% 400%;
  animation: acid-shimmer-web 3s ease infinite;
  color: #0a0e14;
  vertical-align: middle;
  box-shadow: 0 0 8px rgba(167,139,250,0.5);
  position: relative;
  top: -1px;
}

@keyframes acid-shimmer-web {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ── Walkthrough ───────────────────────────────────────────── */

.walkthrough-steps {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
}

.walkthrough-steps::before {
  content: '';
  position: absolute;
  left: 28px;
  top: 40px;
  bottom: 40px;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold-dim), transparent);
}

.wt-step {
  display: flex;
  gap: 1.75rem;
  align-items: flex-start;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  position: relative;
  transition: border-color 0.2s ease;
}

.wt-step:hover { border-color: rgba(255,255,255,0.12); }

.wt-step--final {
  border-color: rgba(63,185,80,0.25);
  background: linear-gradient(135deg, rgba(63,185,80,0.05) 0%, var(--bg-elevated) 100%);
}

.wt-step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dim));
  color: #1a0e00;
  font-weight: 900;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.wt-step-body { flex: 1; }

.wt-step-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.wt-step-body p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1rem;
}

.wt-step-body p strong { color: var(--text-primary); }

.wt-cards {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.wt-pot {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--gold-light);
  background: rgba(200,148,74,0.1);
  border: 1px solid var(--border-gold);
  border-radius: 20px;
  padding: 4px 14px;
  margin-top: 0.5rem;
}

.wt-showdown {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.wt-showdown-hand { display: flex; flex-direction: column; gap: 0.5rem; }

.wt-vs {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 2px;
}

.wt-hand-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 12px;
  border-radius: 20px;
}

.wt-hand-label.win {
  background: rgba(63,185,80,0.15);
  border: 1px solid rgba(63,185,80,0.35);
  color: var(--accent-green);
}

.wt-hand-label.loss {
  background: rgba(248,81,73,0.1);
  border: 1px solid rgba(248,81,73,0.3);
  color: var(--accent-red);
}

/* ── Hall of Fame ──────────────────────────────────────────── */

.hof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.hof-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.hof-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-gold);
  box-shadow: var(--shadow-gold);
}

.hof-rank { font-size: 1.75rem; }

.hof-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.hof-cards {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.25rem;
}

.hof-desc {
  font-size: 0.87rem;
  color: var(--text-secondary);
  line-height: 1.6;
  flex: 1;
}

.hof-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
  align-self: flex-start;
  white-space: nowrap;
}

.hof-badge.win {
  background: rgba(63,185,80,0.12);
  border: 1px solid rgba(63,185,80,0.3);
  color: var(--accent-green);
}

.hof-badge.warn {
  background: rgba(210,153,34,0.12);
  border: 1px solid rgba(210,153,34,0.3);
  color: var(--accent-orange);
}

/* ── Testimonials ──────────────────────────────────────────── */

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.testimonial-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-gold);
}

.t-quote-mark {
  font-size: 3.5rem;
  line-height: 0.5;
  color: var(--gold-dim);
  font-family: Georgia, serif;
  font-weight: 900;
}

.t-quote {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--text-secondary);
  flex: 1;
  font-style: italic;
}

.t-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}

.t-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.t-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
}

.t-title {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ── Why Fun ───────────────────────────────────────────────── */

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.why-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.why-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255,255,255,0.15);
}

.why-icon {
  font-size: 2rem;
  margin-bottom: 0.85rem;
  display: block;
}

.why-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.why-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ── FAQ ───────────────────────────────────────────────────── */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.faq-item {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item:has(.faq-question[aria-expanded="true"]) {
  border-color: var(--border-gold);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-primary);
  font-family: var(--font);
  font-size: 0.97rem;
  font-weight: 600;
  text-align: left;
  gap: 1rem;
  transition: background 0.15s ease;
}

.faq-question:hover { background: rgba(255,255,255,0.03); }
.faq-question[aria-expanded="true"]:hover { background: none; }
.faq-question[aria-expanded="true"] { cursor: default; }

.faq-item:has(.faq-question[aria-expanded="true"]):hover {
  background: var(--bg-elevated);
  cursor: pointer;
}

.faq-icon {
  font-size: 1.3rem;
  color: var(--gold);
  flex-shrink: 0;
  transition: transform 0.25s ease;
  line-height: 1;
  pointer-events: none;
}

.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
}

.faq-answer.open {
  max-height: 600px;
}

.faq-answer p {
  padding: 0.25rem 1.5rem 1.25rem;
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ── CTA Section ───────────────────────────────────────────── */

.cta-section {
  position: relative;
  overflow: hidden;
  background: var(--bg-surface);
  padding: var(--section-pad) 0;
}

.cta-bg-felt {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 100% at 50% 100%, var(--felt-green) 0%, transparent 65%);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-cards-deco {
  display: flex;
  gap: 0.6rem;
  margin-bottom: 2.5rem;
  opacity: 0.8;
}

.deco-card { transform: rotate(-3deg); }
.deco-card:nth-child(2) { transform: rotate(2deg) translateY(-6px); }
.deco-card:nth-child(3) { transform: rotate(-4deg) translateY(4px); }

.cta-content { max-width: 780px; }

.cta-headline {
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.15;
  margin-bottom: 1rem;
  white-space: nowrap;
}

.cta-sub {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.65;
}

.cta-micro {
  margin-top: 1rem;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.2px;
}

/* ── Footer ────────────────────────────────────────────────── */

.site-footer {
  background: var(--bg-base);
  border-top: 1px solid var(--border);
}

.footer-inner {
  padding: 3.5rem 1.5rem;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem;
  align-items: start;
}

.footer-brand { max-width: 340px; }

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}

.footer-tagline {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.footer-nav-col {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-nav-col h4 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.footer-nav-col a {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.15s ease;
}

.footer-nav-col a:hover { color: rgba(255,255,255,0.65); }

.footer-bottom {
  border-top: 1px solid var(--border);
}

.footer-bottom-inner {
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-bottom-inner p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-author-link {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-author-link:hover {
  color: var(--text-secondary);
}

.footer-disclaimer { font-style: italic; }

.badge-coming-soon {
  display: inline-flex;
  align-items: center;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--text-secondary);
  vertical-align: middle;
  position: relative;
  top: -1px;
}

/* ── Scroll padding for fixed nav ─────────────────────────── */

#what-is, #how-to-play, #rules, #features,
#walkthrough, #hall-of-fame, #testimonials,
#why-fun, #faq, #play {
  scroll-margin-top: 70px;
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — Tablet
═══════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hof-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  :root {
    --section-pad: 4rem;
  }

  .concept-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .rules-insight {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — Mobile
═══════════════════════════════════════════════════════════ */

@media (max-width: 640px) {
  :root {
    --section-pad: var(--section-pad-sm);
  }

  .cta-headline { white-space: normal; }

  /* Nav */
  .nav-links {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(13,17,23,0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.5rem 1.5rem;
    border-bottom: 1px solid var(--border);
    gap: 0.25rem;
  }

  .nav-links.open { display: flex; }
  .nav-links a:not(.btn) { padding: 0.7rem 1rem; font-size: 1rem; color: var(--text-primary); }
  .nav-links .btn-nav { width: 100%; justify-content: center; padding: 0.85rem 1rem; font-size: 1rem; margin-top: 0.5rem; color: #1a0e00; }
  .nav-hamburger { display: flex; }

  /* Hero */
  .hero-ctas { flex-direction: column; align-items: center; }
  .hero-cards { gap: 1rem; }

  /* Grids → single column */
  .features-grid    { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .hof-grid         { grid-template-columns: 1fr; }
  .why-grid         { grid-template-columns: 1fr; }

  .ranking-row {
    grid-template-columns: 1.5fr 1fr 1fr;
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
  }

  .hand-name { font-size: 0.85rem; }

  /* Walkthrough */
  .walkthrough-steps::before { display: none; }

  .wt-step {
    flex-direction: column;
    gap: 1rem;
  }

  .wt-showdown {
    flex-direction: column;
    align-items: flex-start;
  }

  /* Footer */
  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-nav {
    grid-template-columns: 1fr 1fr;
  }

  .cta-cards-deco { gap: 0.4rem; }
}

/* ── Animations ────────────────────────────────────────────── */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-up {
  opacity: 0;
  animation: fadeUp 0.55s ease forwards;
}

.fade-up-delay-1 { animation-delay: 0.1s; }
.fade-up-delay-2 { animation-delay: 0.2s; }
.fade-up-delay-3 { animation-delay: 0.3s; }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}
