/* HappyBrookLodge — styles.css */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,700&family=Hanken+Grotesk:wght@400;500;600&display=swap');

/* ── Variables ──────────────────────────────────────────────────────── */
:root {
  --bg:            oklch(0.96 0.018 80);
  --surface:       oklch(0.99 0.01 85);
  --surface-2:     oklch(0.92 0.025 78);
  --ink:           oklch(0.26 0.03 50);
  --ink-muted:     oklch(0.45 0.03 55);
  --primary:       oklch(0.48 0.18 30);
  --primary-dark:  oklch(0.38 0.16 28);
  --primary-light: oklch(0.95 0.04 30);
  --accent:        oklch(0.78 0.14 75);
  --accent-dark:   oklch(0.65 0.14 72);
  --brook:         oklch(0.42 0.10 230);
  --brook-light:   oklch(0.92 0.06 230);
  --felt:          oklch(0.34 0.07 150);
  --felt-light:    oklch(0.42 0.08 150);
  --border:        oklch(0.85 0.02 70);
  --border-dark:   oklch(0.75 0.025 68);

  --font-display: 'Fraunces', Georgia, serif;
  --font-body:    'Hanken Grotesk', system-ui, sans-serif;

  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.25rem;
  --text-2xl:  1.5rem;
  --text-3xl:  1.875rem;
  --text-4xl:  2.25rem;
  --text-5xl:  3rem;

  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;

  --container: 1140px;
  --radius:    0.5rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;

  --shadow-sm: 0 1px 4px oklch(0.26 0.03 50 / 0.08);
  --shadow-md: 0 4px 14px oklch(0.26 0.03 50 / 0.12);
  --shadow-lg: 0 8px 28px oklch(0.26 0.03 50 / 0.16);
  --transition: 0.2s ease;
}

/* ── Reset ──────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
ul { list-style: none; }
p { line-height: 1.7; }

/* ── Typography ─────────────────────────────────────────────────────── */
h1,h2,h3,h4 { font-family: var(--font-display); line-height: 1.25; color: var(--ink); }
h1 { font-size: clamp(var(--text-3xl), 5vw, var(--text-5xl)); }
h2 { font-size: clamp(var(--text-2xl), 3.5vw, var(--text-4xl)); }
h3 { font-size: clamp(var(--text-xl), 2.5vw, var(--text-2xl)); }
h4 { font-size: var(--text-lg); }

/* ── Layout ─────────────────────────────────────────────────────────── */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--space-lg); }
.section { padding: var(--space-3xl) 0; }
.section-alt { background: var(--surface-2); }
.section-heading { text-align: center; margin-bottom: var(--space-sm); }
.section-sub {
  text-align: center; color: var(--ink-muted); font-size: var(--text-lg);
  margin: 0 auto var(--space-2xl); max-width: 600px;
}

/* ── Badge 18+ ──────────────────────────────────────────────────────── */
.badge-18 {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2rem; height: 2rem; background: var(--primary); color: #fff;
  border-radius: 50%; font-size: var(--text-xs); font-weight: 600;
  font-family: var(--font-body); line-height: 1; flex-shrink: 0;
}

/* ── Buttons ─────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: var(--space-sm);
  padding: 0.625rem 1.25rem; border-radius: var(--radius); font-family: var(--font-body);
  font-weight: 600; font-size: var(--text-base); text-decoration: none;
  transition: all var(--transition); cursor: pointer; border: 2px solid transparent; line-height: 1.4;
}
.btn-primary { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); text-decoration: none; }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; text-decoration: none; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--border-dark); }
.btn-ghost:hover { background: var(--surface-2); text-decoration: none; }
.btn-lg { padding: 0.875rem 2rem; font-size: var(--text-lg); }
.btn-sm { padding: 0.375rem 0.875rem; font-size: var(--text-sm); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* ── Age Gate ────────────────────────────────────────────────────────── */
.age-gate {
  position: fixed; inset: 0; background: oklch(0.26 0.03 50 / 0.88);
  display: flex; align-items: center; justify-content: center; z-index: 9999; padding: var(--space-lg);
}
.age-gate.hidden { display: none; }
.age-gate-inner {
  background: var(--surface); border-radius: var(--radius-xl); padding: var(--space-2xl);
  max-width: 480px; width: 100%; text-align: center; box-shadow: var(--shadow-lg);
}
.age-gate-logo { font-family: var(--font-display); font-size: var(--text-2xl); color: var(--primary); margin-bottom: var(--space-sm); }
.age-gate-icon { font-size: 3rem; margin-bottom: var(--space-md); line-height: 1; }
.age-gate-inner h2 { margin-bottom: var(--space-md); }
.age-gate-inner > p { color: var(--ink-muted); font-size: var(--text-sm); margin-bottom: var(--space-lg); }
.age-gate-dob { margin-bottom: var(--space-xl); }
.age-gate-dob-label { font-weight: 600; font-size: var(--text-sm); color: var(--ink); margin-bottom: var(--space-sm); }
.age-gate-dob-fields { display: flex; gap: var(--space-sm); justify-content: center; flex-wrap: wrap; }
.ag-select {
  padding: 0.5rem 0.625rem; border: 2px solid var(--border); border-radius: var(--radius);
  font-family: var(--font-body); font-size: var(--text-sm); background: var(--bg); color: var(--ink);
}
.ag-select:focus { outline: 2px solid var(--primary); outline-offset: 2px; border-color: var(--primary); }
.age-gate-error { color: oklch(0.45 0.18 28); font-size: var(--text-sm); margin-top: var(--space-sm); min-height: 1.4em; }
.age-gate-buttons { display: flex; gap: var(--space-md); justify-content: center; flex-wrap: wrap; margin-bottom: var(--space-lg); }
.age-gate-note { font-size: var(--text-xs); color: var(--ink-muted); }

/* ── Header ──────────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 100; background: var(--surface);
  border-bottom: 1px solid var(--border); box-shadow: var(--shadow-sm);
}
.header-inner { display: flex; align-items: center; gap: var(--space-md); height: 4rem; }
.logo {
  display: flex; align-items: center; gap: 0.4rem; font-family: var(--font-display);
  font-size: var(--text-xl); color: var(--primary); text-decoration: none; font-weight: 700;
  flex-shrink: 0; white-space: nowrap;
}
.logo:hover { text-decoration: none; }
.logo-icon { font-size: 1.4em; line-height: 1; }
.logo-text { overflow: hidden; text-overflow: ellipsis; max-width: 200px; }
.site-nav { display: flex; align-items: center; gap: var(--space-xs); margin-left: auto; }
.site-nav a {
  color: var(--ink-muted); text-decoration: none; font-size: var(--text-sm); font-weight: 500;
  padding: 0.375rem 0.625rem; border-radius: var(--radius); transition: all var(--transition);
}
.site-nav a:hover, .site-nav a.active { color: var(--primary); background: var(--primary-light); text-decoration: none; }
.header-right { display: flex; align-items: center; gap: var(--space-md); flex-shrink: 0; }
.header-balance {
  display: flex; align-items: center; gap: 0.375rem; font-weight: 600; font-size: var(--text-sm);
  color: var(--ink); background: var(--accent); padding: 0.25rem 0.75rem; border-radius: 2rem;
  white-space: nowrap;
}
.nav-toggle { display: none; flex-direction: column; gap: 4px; padding: 0.5rem; border-radius: var(--radius); }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: all var(--transition); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ── Hero ────────────────────────────────────────────────────────────── */
.hero {
  position: relative; padding: var(--space-3xl) 0;
  background: linear-gradient(140deg, oklch(0.93 0.04 75) 0%, oklch(0.96 0.018 80) 55%, oklch(0.94 0.05 88) 100%);
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -10%; right: -8%; width: 55vw; height: 55vw;
  max-width: 640px; max-height: 640px; pointer-events: none;
  background: radial-gradient(circle, oklch(0.78 0.14 75 / 0.2) 0%, transparent 65%);
}
.hero-leaf {
  position: absolute; top: 6%; right: 5%; font-size: clamp(5rem, 12vw, 10rem);
  opacity: 0.07; pointer-events: none; line-height: 1; user-select: none;
}
.hero-content { position: relative; max-width: 740px; }
.hero-badge { display: flex; align-items: center; gap: 0.5rem; font-size: var(--text-sm); color: var(--ink-muted); margin-bottom: var(--space-lg); flex-wrap: wrap; }
.hero h1 { margin-bottom: var(--space-lg); }
.hero h1 em { font-style: normal; color: var(--primary); }
.hero-sub { font-size: var(--text-lg); color: var(--ink-muted); margin-bottom: var(--space-xl); max-width: 560px; }
.hero-actions { display: flex; gap: var(--space-md); flex-wrap: wrap; margin-bottom: var(--space-lg); }
.hero-meta { font-size: var(--text-xs); color: var(--ink-muted); max-width: 480px; line-height: 1.6; }
.hero-timer { font-size: var(--text-sm); color: var(--primary); font-weight: 500; min-height: 1.4em; }

/* ── Steps ────────────────────────────────────────────────────────────── */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: var(--space-xl); }
.step-card {
  text-align: center; padding: var(--space-xl); background: var(--surface);
  border-radius: var(--radius-lg); border: 1px solid var(--border); box-shadow: var(--shadow-sm);
}
.step-number {
  width: 3rem; height: 3rem; background: var(--primary); color: #fff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-family: var(--font-display);
  font-size: var(--text-xl); font-weight: 700; margin: 0 auto var(--space-md);
}
.step-icon { font-size: 2.25rem; margin-bottom: var(--space-sm); line-height: 1; }
.step-card h3 { font-size: var(--text-lg); margin-bottom: var(--space-xs); }
.step-card p { color: var(--ink-muted); font-size: var(--text-sm); }

/* ── Game cards ──────────────────────────────────────────────────────── */
.games-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--space-xl); }
.game-card {
  background: var(--surface); border-radius: var(--radius-xl); overflow: hidden;
  border: 1px solid var(--border); box-shadow: var(--shadow-md);
  transition: transform var(--transition), box-shadow var(--transition);
}
.game-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.game-card-preview {
  background: var(--felt); height: 168px; display: flex; align-items: center;
  justify-content: center; position: relative; overflow: hidden;
}
.game-card-preview::before { content: ''; position: absolute; inset: 0; background: oklch(0 0 0 / 0.18); }
.game-preview-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
.game-preview-grid span {
  background: var(--surface); border-radius: 4px; width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center; font-size: 1.4rem;
}
.scratch-preview-grid { position: relative; z-index: 1; display: flex; gap: 8px; }
.scratch-preview-grid span {
  background: oklch(0.55 0.08 65); border-radius: var(--radius); width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center; font-size: 1.75rem; font-weight: 700;
  color: oklch(0.7 0.06 62); font-family: var(--font-display);
}
.game-card-body { padding: var(--space-xl); }
.game-tag {
  display: inline-block; font-size: var(--text-xs); font-weight: 600; color: var(--brook);
  background: var(--brook-light); padding: 2px 8px; border-radius: 2rem; margin-bottom: var(--space-sm);
}
.game-card-body h3 { margin-bottom: var(--space-xs); }
.game-card-body p { color: var(--ink-muted); font-size: var(--text-sm); margin-bottom: var(--space-lg); }

/* ── Features ──────────────────────────────────────────────────────── */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--space-lg); }
.feature-tile {
  background: var(--surface); border-radius: var(--radius-lg); padding: var(--space-xl);
  border: 1px solid var(--border); display: flex; gap: var(--space-md); align-items: flex-start;
  box-shadow: var(--shadow-sm);
}
.feature-icon { font-size: 2rem; flex-shrink: 0; line-height: 1; }
.feature-text h4 { margin-bottom: 0.25rem; font-size: var(--text-base); }
.feature-text p { font-size: var(--text-sm); color: var(--ink-muted); }

/* ── Symbols showcase ────────────────────────────────────────────────── */
.symbols-row { display: flex; gap: var(--space-lg); flex-wrap: wrap; justify-content: center; }
.symbol-chip {
  text-align: center; background: var(--surface); border-radius: var(--radius-lg);
  padding: var(--space-lg) var(--space-xl); border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  flex: 0 0 auto;
}
.symbol-emoji { font-size: 2.75rem; line-height: 1; margin-bottom: var(--space-sm); }
.symbol-label { font-size: var(--text-xs); color: var(--ink-muted); font-weight: 500; }

/* ── Spotlight ────────────────────────────────────────────────────────── */
.spotlight-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--space-xl); }
.spotlight-item { text-align: center; }
.spotlight-icon { font-size: 2.25rem; margin-bottom: var(--space-md); line-height: 1; }
.spotlight-item h4 { margin-bottom: var(--space-sm); }
.spotlight-item p { font-size: var(--text-sm); color: var(--ink-muted); }

/* ── RG Banner ────────────────────────────────────────────────────────── */
.rg-banner {
  background: linear-gradient(135deg, oklch(0.30 0.07 150) 0%, oklch(0.26 0.08 158) 100%);
  color: #fff; padding: var(--space-2xl); border-radius: var(--radius-xl); text-align: center;
}
.rg-banner h2 { color: #fff; margin-bottom: var(--space-md); font-size: var(--text-2xl); }
.rg-banner p { color: oklch(0.88 0.025 150); margin-bottom: var(--space-lg); max-width: 580px; margin-left: auto; margin-right: auto; }
.rg-banner .rg-btn { background: #fff; color: oklch(0.28 0.07 150); border-color: #fff; font-weight: 700; }
.rg-banner .rg-btn:hover { background: oklch(0.94 0.01 150); text-decoration: none; }
.rg-resources { margin-top: var(--space-lg); font-size: var(--text-sm); color: oklch(0.78 0.04 150); }
.rg-resources a { color: var(--accent); }

/* ── FAQ ─────────────────────────────────────────────────────────────── */
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: var(--space-sm); background: var(--surface); overflow: hidden; }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: var(--space-lg) var(--space-xl); text-align: left; font-family: var(--font-body);
  font-weight: 600; font-size: var(--text-base); color: var(--ink); background: none; border: none;
  cursor: pointer; gap: var(--space-md);
}
.faq-q::after { content: '+'; font-size: var(--text-xl); color: var(--primary); flex-shrink: 0; transition: transform var(--transition); font-weight: 400; line-height: 1; }
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a { display: none; padding: 0 var(--space-xl) var(--space-lg); color: var(--ink-muted); font-size: var(--text-sm); line-height: 1.7; }
.faq-item.open .faq-a { display: block; }

/* ── Footer ──────────────────────────────────────────────────────────── */
.site-footer { background: oklch(0.22 0.025 55); color: oklch(0.82 0.02 70); padding: var(--space-2xl) 0 var(--space-xl); }
.footer-brand { display: flex; align-items: center; gap: 0.4rem; font-family: var(--font-display); font-size: var(--text-xl); color: oklch(0.96 0.015 80); margin-bottom: var(--space-lg); }
.site-footer .badge-18 { background: var(--primary); }
.footer-nav { display: flex; flex-wrap: wrap; gap: var(--space-sm) var(--space-lg); margin-bottom: var(--space-lg); }
.footer-nav a { color: oklch(0.70 0.02 68); font-size: var(--text-sm); transition: color var(--transition); }
.footer-nav a:hover { color: oklch(0.96 0.015 80); text-decoration: none; }
.footer-compliance { border-top: 1px solid oklch(0.36 0.02 55); border-bottom: 1px solid oklch(0.36 0.02 55); padding: var(--space-lg) 0; margin-bottom: var(--space-lg); display: flex; flex-direction: column; gap: var(--space-sm); }
.footer-disclaimer { font-size: var(--text-xs); color: oklch(0.60 0.02 65); line-height: 1.65; }
.footer-rg { font-size: var(--text-xs); color: oklch(0.60 0.02 65); }
.footer-rg a { color: var(--accent); text-decoration: underline; }
.rg-link { font-weight: 600; }
.footer-copy { font-size: var(--text-xs); color: oklch(0.50 0.018 62); }

/* ── Page Hero ───────────────────────────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, oklch(0.93 0.04 75) 0%, oklch(0.96 0.018 80) 100%);
  padding: var(--space-2xl) 0 var(--space-xl); border-bottom: 1px solid var(--border);
}
.page-hero h1 { margin-bottom: var(--space-sm); font-size: clamp(var(--text-3xl), 4vw, var(--text-4xl)); }
.page-hero p { color: var(--ink-muted); max-width: 580px; }
.page-hero .badge-18 { margin-bottom: var(--space-md); }

/* ── Compliance strip ────────────────────────────────────────────────── */
.compliance-strip {
  background: var(--primary-light); border: 1px solid oklch(0.82 0.06 30); border-radius: var(--radius);
  padding: var(--space-md) var(--space-lg); display: flex; align-items: flex-start;
  gap: var(--space-md); font-size: var(--text-sm); color: var(--ink); margin-bottom: var(--space-xl);
}
.compliance-strip .badge-18 { flex-shrink: 0; margin-top: 2px; }

/* ── Content article ─────────────────────────────────────────────────── */
.content-article { max-width: 760px; }
.content-article h2 { font-size: var(--text-2xl); margin-top: var(--space-2xl); margin-bottom: var(--space-md); color: var(--primary); }
.content-article h2:first-child { margin-top: 0; }
.content-article h3 { font-size: var(--text-xl); margin-top: var(--space-xl); margin-bottom: var(--space-sm); }
.content-article p { color: var(--ink-muted); margin-bottom: var(--space-md); }
.content-article ul, .content-article ol { list-style: disc; padding-left: 1.5rem; margin-bottom: var(--space-md); color: var(--ink-muted); }
.content-article li { margin-bottom: var(--space-xs); line-height: 1.65; }
.content-article a { color: var(--primary); text-decoration: underline; }

/* ── Contact ─────────────────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2xl); align-items: start; }
.contact-form-wrap { background: var(--surface); padding: var(--space-2xl); border-radius: var(--radius-xl); border: 1px solid var(--border); box-shadow: var(--shadow-md); }
.form-group { margin-bottom: var(--space-lg); }
.form-group label { display: block; font-weight: 600; font-size: var(--text-sm); margin-bottom: 0.375rem; color: var(--ink); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 0.625rem 0.875rem; border: 2px solid var(--border); border-radius: var(--radius);
  font-family: var(--font-body); font-size: var(--text-base); color: var(--ink); background: var(--bg);
  transition: border-color var(--transition); resize: vertical;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--primary); }
.form-success { display: none; background: oklch(0.92 0.06 150); color: oklch(0.25 0.08 150); border: 1px solid oklch(0.6 0.1 150); border-radius: var(--radius); padding: var(--space-md) var(--space-lg); font-size: var(--text-sm); margin-top: var(--space-md); }
.contact-info { display: flex; flex-direction: column; gap: var(--space-lg); }
.contact-info-card { background: var(--surface); border-radius: var(--radius-lg); padding: var(--space-xl); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.contact-info-card h3 { font-size: var(--text-lg); margin-bottom: var(--space-sm); }
.contact-info-card p { font-size: var(--text-sm); color: var(--ink-muted); }
.contact-info-icon { font-size: 1.75rem; margin-bottom: var(--space-sm); }

/* ── Game page ──────────────────────────────────────────────────────── */
.game-page body, body.game-page { background: oklch(0.20 0.022 62); }
.game-header-dark { background: oklch(0.22 0.025 60) !important; border-bottom-color: oklch(0.32 0.022 62) !important; }
.game-header-dark .logo { color: oklch(0.90 0.03 80) !important; }
.game-header-dark .site-nav a { color: oklch(0.65 0.02 70) !important; }
.game-header-dark .site-nav a:hover { color: var(--accent) !important; background: oklch(0.30 0.025 65) !important; }
.game-header-dark .header-balance { background: oklch(0.30 0.025 65) !important; color: var(--accent) !important; }
.game-header-dark .nav-toggle span { background: oklch(0.75 0.02 70) !important; }

.game-hud { background: oklch(0.24 0.025 60); border-bottom: 1px solid oklch(0.34 0.022 62); padding: var(--space-md) 0; }
.game-hud-inner { display: flex; align-items: center; flex-wrap: wrap; gap: var(--space-md); justify-content: space-between; }
.game-balance { display: flex; align-items: center; gap: 0.5rem; font-family: var(--font-display); font-size: var(--text-xl); color: var(--accent); font-weight: 700; }
.game-hud-actions { display: flex; align-items: center; gap: var(--space-sm); flex-wrap: wrap; }
.btn-daily {
  background: var(--accent); color: oklch(0.20 0.03 55); border: none; padding: 0.5rem 1.125rem;
  border-radius: var(--radius); font-family: var(--font-body); font-weight: 600; font-size: var(--text-sm);
  cursor: pointer; transition: all var(--transition); display: flex; align-items: center; gap: 0.375rem;
}
.btn-daily:hover:not(:disabled) { background: var(--accent-dark); }
.btn-daily:disabled { opacity: 0.5; cursor: not-allowed; }
.daily-timer { font-size: var(--text-xs); color: oklch(0.60 0.02 68); }
.sound-btn {
  width: 2.25rem; height: 2.25rem; border-radius: var(--radius); background: oklch(0.34 0.022 62);
  color: oklch(0.72 0.02 70); display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; border: none; cursor: pointer; transition: all var(--transition);
}
.sound-btn:hover { background: oklch(0.40 0.025 65); }

.game-area { padding: var(--space-xl) 0; }
.game-tabs { display: flex; gap: 2px; background: oklch(0.24 0.025 60); border-radius: var(--radius) var(--radius) 0 0; padding: 4px 4px 0; width: fit-content; }
.game-tab {
  padding: 0.5rem 1.25rem; border-radius: var(--radius) var(--radius) 0 0; font-family: var(--font-body);
  font-size: var(--text-sm); font-weight: 600; color: oklch(0.62 0.02 68); background: none; border: none; cursor: pointer; transition: all var(--transition);
}
.game-tab.active { background: var(--felt); color: #fff; }
.game-panel { display: none; background: var(--felt); border-radius: 0 var(--radius-lg) var(--radius-lg) var(--radius-lg); padding: var(--space-xl); }
.game-panel.active { display: block; }

/* Slot */
.slot-machine { display: flex; flex-direction: column; align-items: center; gap: var(--space-xl); }
.slot-reels {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
  background: oklch(0.26 0.08 152); border-radius: var(--radius-lg); padding: 12px;
  border: 3px solid oklch(0.35 0.08 148); box-shadow: inset 0 4px 14px oklch(0 0 0 / 0.35), var(--shadow-md);
  width: 100%; max-width: 360px;
}
.slot-cell {
  background: #fff; border-radius: var(--radius); aspect-ratio: 1; display: flex; align-items: center;
  justify-content: center; font-size: clamp(1.75rem, 8vw, 2.5rem); position: relative;
  box-shadow: inset 0 2px 6px oklch(0 0 0 / 0.14); user-select: none; overflow: hidden;
}
.slot-cell.spinning { animation: cell-blur 0.1s linear infinite; }
@keyframes cell-blur { 0%,100% { opacity:1; } 50% { opacity:0.35; } }
.slot-cell.landing { animation: cell-bounce 0.32s ease-out; }
@keyframes cell-bounce { 0% { transform:scale(0.82); } 60% { transform:scale(1.10); } 100% { transform:scale(1); } }
.slot-cell.win-hl { background: oklch(0.96 0.08 84); animation: win-pulse 0.7s ease-in-out; box-shadow: 0 0 0 3px var(--accent), inset 0 2px 6px oklch(0 0 0 / 0.08); }
@keyframes win-pulse { 0%,100% { box-shadow:0 0 0 3px var(--accent); } 50% { box-shadow:0 0 0 6px var(--accent), 0 0 22px oklch(0.78 0.14 75 / 0.45); } }

.slot-controls { display: flex; align-items: center; gap: var(--space-md); flex-wrap: wrap; justify-content: center; width: 100%; max-width: 360px; }
.bet-group { display: flex; gap: 4px; }
.bet-btn {
  padding: 0.375rem 0.75rem; border-radius: var(--radius); border: 2px solid oklch(0.46 0.07 148);
  background: oklch(0.28 0.07 148); color: oklch(0.84 0.025 148); font-family: var(--font-body);
  font-size: var(--text-sm); font-weight: 600; cursor: pointer; transition: all var(--transition);
}
.bet-btn:hover, .bet-btn.active { background: oklch(0.46 0.07 148); color: #fff; border-color: oklch(0.52 0.08 148); }
.spin-btn {
  flex: 1; min-width: 120px; padding: 0.75rem 1.5rem; background: var(--primary); color: #fff;
  border: none; border-radius: var(--radius); font-family: var(--font-display); font-size: var(--text-lg);
  font-weight: 700; cursor: pointer; transition: all var(--transition);
}
.spin-btn:hover:not(:disabled) { background: var(--primary-dark); }
.spin-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.spin-result { min-height: 2rem; text-align: center; font-size: var(--text-base); font-weight: 600; color: var(--accent); }
.spin-result.win { font-size: var(--text-lg); animation: result-pop 0.4s ease-out; }
@keyframes result-pop { 0% { transform:scale(0.8); opacity:0; } 100% { transform:scale(1); opacity:1; } }
.paylines-note { font-size: var(--text-xs); color: oklch(0.62 0.05 148); text-align: center; }

/* Scratch */
.scratch-game { display: flex; flex-direction: column; align-items: center; gap: var(--space-xl); }
.scratch-info { text-align: center; }
.scratch-info h3 { color: oklch(0.88 0.025 80); font-family: var(--font-display); margin-bottom: var(--space-sm); }
.scratch-info p { font-size: var(--text-sm); color: oklch(0.62 0.05 148); }
.scratch-board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; max-width: 320px; width: 100%; }
.scratch-cell {
  background: oklch(0.52 0.08 66); border-radius: var(--radius); aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center; font-size: 2.25rem;
  cursor: pointer; border: 3px solid oklch(0.44 0.07 62); transition: all var(--transition);
  position: relative; overflow: hidden; user-select: none;
}
.scratch-cell::before {
  content: '?'; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: 2rem; font-weight: 700; font-family: var(--font-display); color: oklch(0.68 0.06 62);
  background: oklch(0.48 0.08 66); border-radius: calc(var(--radius) - 3px); transition: all 0.28s ease;
}
.scratch-cell.revealed::before { opacity: 0; transform: scale(1.6); pointer-events: none; }
.scratch-cell:hover:not(.revealed) { border-color: var(--accent); transform: scale(1.05); }
.scratch-result { min-height: 2.5rem; text-align: center; font-size: var(--text-base); font-weight: 600; color: var(--accent); }
.scratch-result.win { animation: result-pop 0.4s ease-out; }
.scratch-buy-row { display: flex; align-items: center; gap: var(--space-md); flex-wrap: wrap; justify-content: center; }

/* History */
.history-panel { background: oklch(0.24 0.025 60); border-radius: var(--radius-lg); padding: var(--space-xl); margin-top: var(--space-xl); }
.history-panel h3 { color: oklch(0.84 0.025 78); font-size: var(--text-lg); margin-bottom: var(--space-md); font-family: var(--font-display); }
.history-list { display: flex; flex-direction: column; gap: 6px; max-height: 280px; overflow-y: auto; }
.history-item {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-md);
  padding: 0.5rem 0.75rem; background: oklch(0.27 0.025 62); border-radius: var(--radius);
  font-size: var(--text-sm); color: oklch(0.72 0.022 68);
}
.history-delta { font-weight: 700; white-space: nowrap; }
.history-delta.pos { color: oklch(0.72 0.14 145); }
.history-delta.neg { color: oklch(0.65 0.16 28); }
.history-empty { color: oklch(0.55 0.02 65); font-size: var(--text-sm); text-align: center; padding: var(--space-lg); }

/* Game footer/compliance */
.game-footer { background: oklch(0.18 0.02 60); border-top: 1px solid oklch(0.30 0.02 62); padding: var(--space-lg) 0; }
.game-compliance-note { font-size: var(--text-xs); color: oklch(0.52 0.018 65); text-align: center; margin-bottom: var(--space-md); }
.game-footer .footer-brand { color: oklch(0.80 0.025 78); }
.game-footer .footer-nav a { color: oklch(0.55 0.018 64); }
.game-footer .footer-nav a:hover { color: oklch(0.80 0.025 78); }
.game-footer .footer-compliance { border-color: oklch(0.28 0.02 60); }
.game-footer .footer-disclaimer, .game-footer .footer-rg { color: oklch(0.52 0.018 65); }
.game-footer .footer-rg a { color: var(--accent); }
.game-footer .footer-copy { color: oklch(0.42 0.015 62); }

/* ── Reveal animation ────────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── Reduced motion ──────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ── Responsive ─────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --space-3xl: 2.5rem; --space-2xl: 2rem; }
  .site-header { position: relative; }
  .site-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--surface); border-bottom: 1px solid var(--border);
    flex-direction: column; gap: 2px; padding: var(--space-sm); box-shadow: var(--shadow-md); z-index: 99;
  }
  .site-nav.open { display: flex; }
  .site-nav a { width: 100%; padding: 0.625rem 0.875rem; }
  .nav-toggle { display: flex; }
  .header-balance { display: none; }
}

@media (max-width: 480px) {
  .logo-text { font-size: 0.95rem; max-width: 150px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .age-gate-buttons { flex-direction: column; }
  .age-gate-buttons .btn, .age-gate-buttons a { width: 100%; justify-content: center; text-align: center; }
  .slot-controls { flex-direction: column; }
  .spin-btn { width: 100%; }
  .bet-group { justify-content: center; }
  .age-gate-inner { padding: var(--space-xl) var(--space-lg); }
  .age-gate-dob-fields { flex-direction: column; align-items: stretch; }
  .ag-select { width: 100%; }
}

/* Utilities */
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.text-center { text-align: center; }
.mt-xl { margin-top: var(--space-xl); }
.mt-lg { margin-top: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.mb-lg { margin-bottom: var(--space-lg); }
