/* ============================================
   canadabestplayhub.com — Global Styles
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Syne:wght@700;800&display=swap');

:root {
  /* Primary — deep Canadian forest green */
  --green-50:  #edfaf3;
  --green-100: #d0f4e2;
  --green-200: #a4e8c6;
  --green-300: #6dd4a3;
  --green-400: #38ba7e;
  --green-500: #1ea362;
  --green-600: #168550;
  --green-700: #12693f;
  --green-800: #0f5232;
  --green-900: #0a3922;

  /* Secondary — warm amber */
  --amber-50:  #fffbeb;
  --amber-100: #fef3c7;
  --amber-200: #fde68a;
  --amber-300: #fcd34d;
  --amber-400: #fbbf24;
  --amber-500: #f59e0b;
  --amber-600: #d97706;
  --amber-700: #b45309;

  /* Accent — Canadian red */
  --red-400: #f87171;
  --red-500: #ef4444;
  --red-600: #dc2626;
  --red-700: #b91c1c;

  /* Neutral */
  --neutral-50:  #f9fafb;
  --neutral-100: #f3f4f6;
  --neutral-200: #e5e7eb;
  --neutral-300: #d1d5db;
  --neutral-400: #9ca3af;
  --neutral-500: #6b7280;
  --neutral-600: #4b5563;
  --neutral-700: #374151;
  --neutral-800: #1f2937;
  --neutral-900: #111827;

  /* Surface */
  --bg-base:    #0b1a13;
  --bg-surface: #0f2219;
  --bg-card:    #142d1f;
  --bg-elevated:#1a3a28;

  /* Typography */
  --font-body:    'Inter', sans-serif;
  --font-display: 'Syne', sans-serif;

  /* Spacing */
  --sp-1: 8px;
  --sp-2: 16px;
  --sp-3: 24px;
  --sp-4: 32px;
  --sp-5: 40px;
  --sp-6: 48px;
  --sp-8: 64px;
  --sp-10: 80px;
  --sp-12: 96px;

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --duration-fast: 150ms;
  --duration-base: 250ms;
  --duration-slow: 400ms;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.4);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.5);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.6);
  --shadow-glow-green: 0 0 24px rgba(30, 163, 98, 0.35);
  --shadow-glow-amber: 0 0 24px rgba(245, 158, 11, 0.35);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--bg-base);
  color: var(--neutral-100);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; outline: none; }
input, textarea, select { font-family: inherit; }

/* ---- Typography ---- */
h1, h2, h3, h4, h5 { font-family: var(--font-display); line-height: 1.15; }
h1 { font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.8rem); font-weight: 700; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.75rem); font-weight: 700; }
h4 { font-size: 1.1rem; font-weight: 600; }
p  { font-size: 1rem; color: var(--neutral-300); line-height: 1.7; }

/* ---- Container ---- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--sp-3);
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  padding: 12px 28px;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 600;
  transition: all var(--duration-base) var(--ease-out);
  white-space: nowrap;
}
.btn-primary {
  background: var(--green-500);
  color: #fff;
  box-shadow: var(--shadow-glow-green);
}
.btn-primary:hover {
  background: var(--green-400);
  transform: translateY(-2px);
  box-shadow: 0 0 32px rgba(30,163,98,0.5);
}
.btn-secondary {
  background: transparent;
  color: var(--green-400);
  border: 2px solid var(--green-600);
}
.btn-secondary:hover {
  background: var(--green-900);
  border-color: var(--green-400);
  transform: translateY(-2px);
}
.btn-amber {
  background: var(--amber-500);
  color: var(--neutral-900);
  box-shadow: var(--shadow-glow-amber);
}
.btn-amber:hover {
  background: var(--amber-400);
  transform: translateY(-2px);
}
.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}

/* ---- Nav ---- */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 var(--sp-3);
  height: 68px;
  display: flex;
  align-items: center;
  transition: background var(--duration-base), backdrop-filter var(--duration-base);
}
.site-nav.scrolled {
  background: rgba(11, 26, 19, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(30,163,98,0.15);
}
.nav-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--green-300);
}
.nav-logo .logo-icon {
  width: 36px; height: 36px;
  background: var(--green-600);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  box-shadow: var(--shadow-glow-green);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}
.nav-links a {
  color: var(--neutral-300);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--duration-fast);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 2px;
  background: var(--green-400);
  transform: scaleX(0);
  transition: transform var(--duration-fast) var(--ease-out);
}
.nav-links a:hover { color: var(--green-300); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta { margin-left: var(--sp-2); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--neutral-200);
  border-radius: 2px;
  transition: all var(--duration-base);
}

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 68px; left: 0; right: 0;
  background: rgba(11,26,19,0.97);
  backdrop-filter: blur(20px);
  z-index: 99;
  padding: var(--sp-3);
  border-bottom: 1px solid rgba(30,163,98,0.15);
  flex-direction: column;
  gap: var(--sp-2);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  color: var(--neutral-200);
  font-size: 1rem;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-weight: 500;
}

/* ---- Hero ---- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 68px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 60% 40%, rgba(30,163,98,0.18) 0%, transparent 65%),
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(245,158,11,0.1) 0%, transparent 60%),
    var(--bg-base);
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(30,163,98,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30,163,98,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black, transparent);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(30,163,98,0.15);
  border: 1px solid rgba(30,163,98,0.3);
  border-radius: var(--radius-full);
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--green-300);
  margin-bottom: var(--sp-3);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.hero-badge .dot {
  width: 6px; height: 6px;
  background: var(--green-400);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.8); }
}
.hero h1 { margin-bottom: var(--sp-3); }
.hero h1 .highlight {
  color: var(--green-400);
  position: relative;
}
.hero-sub {
  font-size: 1.15rem;
  color: var(--neutral-300);
  max-width: 540px;
  margin-bottom: var(--sp-5);
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  gap: var(--sp-2);
  flex-wrap: wrap;
  margin-bottom: var(--sp-6);
}
.hero-stats {
  display: flex;
  gap: var(--sp-5);
  flex-wrap: wrap;
}
.hero-stat { text-align: left; }
.hero-stat .value {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--green-300);
  line-height: 1;
}
.hero-stat .label {
  font-size: 0.8rem;
  color: var(--neutral-500);
  margin-top: 4px;
}
.hero-visual {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 45%;
  max-width: 520px;
}
.hero-cards {
  position: relative;
  height: 420px;
}
.hero-card {
  position: absolute;
  background: var(--bg-card);
  border: 1px solid rgba(30,163,98,0.2);
  border-radius: var(--radius-lg);
  padding: var(--sp-3);
  box-shadow: var(--shadow-lg);
  animation: float var(--dur, 5s) ease-in-out infinite var(--delay, 0s);
}
@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(var(--rot, 0deg)); }
  50%       { transform: translateY(-12px) rotate(var(--rot, 0deg)); }
}
.hero-card-1 { width: 200px; top: 40px; left: 60px; --rot: -4deg; --delay: 0s; }
.hero-card-2 { width: 220px; top: 140px; right: 20px; --rot: 3deg; --dur: 6s; --delay: -2s; }
.hero-card-3 { width: 180px; bottom: 60px; left: 30px; --rot: 2deg; --dur: 7s; --delay: -1s; }
.hero-card .card-suit {
  font-size: 2.5rem;
  margin-bottom: var(--sp-1);
}
.hero-card .card-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--neutral-100);
}
.hero-card .card-desc {
  font-size: 0.75rem;
  color: var(--neutral-400);
  margin-top: 4px;
}

/* ---- Section shared ---- */
section { padding: var(--sp-12) 0; }
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-400);
  margin-bottom: var(--sp-2);
}
.section-heading { margin-bottom: var(--sp-2); }
.section-sub {
  font-size: 1.05rem;
  color: var(--neutral-400);
  max-width: 560px;
  margin-bottom: var(--sp-6);
}
.text-center { text-align: center; }
.text-center .section-sub { margin-left: auto; margin-right: auto; }

/* ---- Games Section ---- */
.games-section { background: var(--bg-surface); }
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--sp-4);
}
.game-card {
  background: var(--bg-card);
  border: 1px solid rgba(30,163,98,0.15);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--duration-base) var(--ease-out), border-color var(--duration-base);
}
.game-card:hover {
  transform: translateY(-6px);
  border-color: rgba(30,163,98,0.4);
}
.game-thumb {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  position: relative;
  overflow: hidden;
}
.game-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, var(--bg-card));
}
.game-info { padding: var(--sp-3); }
.game-tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber-400);
  margin-bottom: 8px;
}
.game-info h3 { margin-bottom: 8px; font-size: 1.3rem; }
.game-info p { font-size: 0.88rem; margin-bottom: var(--sp-3); }
.game-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.game-players {
  font-size: 0.8rem;
  color: var(--neutral-500);
}
.game-players strong { color: var(--green-400); }

/* ---- Features ---- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--sp-4);
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid rgba(30,163,98,0.12);
  border-radius: var(--radius-lg);
  padding: var(--sp-4);
  transition: border-color var(--duration-base), transform var(--duration-base) var(--ease-out);
}
.feature-card:hover {
  border-color: rgba(30,163,98,0.35);
  transform: translateY(-4px);
}
.feature-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-md);
  background: rgba(30,163,98,0.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: var(--sp-3);
}
.feature-card h4 { margin-bottom: 8px; font-size: 1.05rem; }
.feature-card p { font-size: 0.88rem; }

/* ---- Community Banner ---- */
.community-banner {
  background: linear-gradient(135deg, var(--green-800) 0%, var(--green-700) 100%);
  border-radius: var(--radius-xl);
  padding: var(--sp-8) var(--sp-6);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.community-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(245,158,11,0.12) 0%, transparent 70%);
}
.community-banner h2 { color: #fff; position: relative; }
.community-banner p  { color: var(--green-200); max-width: 500px; margin: var(--sp-2) auto var(--sp-4); position: relative; }

/* ---- Footer ---- */
.site-footer {
  background: var(--bg-surface);
  border-top: 1px solid rgba(30,163,98,0.12);
  padding: var(--sp-10) 0 var(--sp-4);
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--sp-6);
  margin-bottom: var(--sp-8);
}
.footer-brand .nav-logo { margin-bottom: var(--sp-3); }
.footer-brand p {
  font-size: 0.88rem;
  color: var(--neutral-500);
  max-width: 280px;
  line-height: 1.6;
}
.footer-col h5 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--neutral-400);
  margin-bottom: var(--sp-3);
}
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a {
  font-size: 0.88rem;
  color: var(--neutral-500);
  transition: color var(--duration-fast);
}
.footer-col ul li a:hover { color: var(--green-300); }

.footer-disclaimer {
  background: rgba(245,158,11,0.08);
  border: 1px solid rgba(245,158,11,0.2);
  border-radius: var(--radius-md);
  padding: var(--sp-3) var(--sp-4);
  margin-bottom: var(--sp-4);
}
.footer-disclaimer p {
  font-size: 0.8rem;
  color: var(--neutral-400);
  line-height: 1.6;
  margin-bottom: 8px;
}
.footer-disclaimer p:last-child { margin-bottom: 0; }
.footer-disclaimer strong { color: var(--amber-400); }
.footer-disclaimer a {
  color: var(--amber-400);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-2);
  padding-top: var(--sp-4);
  border-top: 1px solid rgba(30,163,98,0.08);
}
.footer-bottom p {
  font-size: 0.8rem;
  color: var(--neutral-600);
}
.footer-bottom-links {
  display: flex;
  gap: var(--sp-3);
}
.footer-bottom-links a {
  font-size: 0.8rem;
  color: var(--neutral-600);
  transition: color var(--duration-fast);
}
.footer-bottom-links a:hover { color: var(--green-400); }
.age-badge {
  background: rgba(239,68,68,0.15);
  border: 1px solid rgba(239,68,68,0.3);
  border-radius: var(--radius-sm);
  padding: 3px 10px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--red-400);
}

/* ---- Age Gate Modal ---- */
.age-ok .modal-overlay { display: none !important; }

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(8px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-3);
}
.modal-overlay.hidden { display: none; }
.age-modal {
  background: var(--bg-card);
  border: 1px solid rgba(30,163,98,0.25);
  border-radius: var(--radius-xl);
  padding: var(--sp-6);
  max-width: 480px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-lg);
  animation: modal-in var(--duration-slow) var(--ease-out);
}
@keyframes modal-in {
  from { opacity: 0; transform: scale(0.92) translateY(16px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.age-modal .modal-icon {
  font-size: 3rem;
  margin-bottom: var(--sp-3);
}
.age-modal h2 { margin-bottom: var(--sp-2); color: var(--neutral-100); }
.age-modal p {
  font-size: 0.9rem;
  color: var(--neutral-400);
  margin-bottom: var(--sp-4);
}
.age-modal .confirm-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  text-align: left;
  background: rgba(30,163,98,0.08);
  border: 1px solid rgba(30,163,98,0.2);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin-bottom: var(--sp-4);
  cursor: pointer;
}
.age-modal .confirm-check input[type="checkbox"] {
  width: 18px; height: 18px;
  accent-color: var(--green-500);
  flex-shrink: 0;
  margin-top: 2px;
  cursor: pointer;
}
.age-modal .confirm-check span {
  font-size: 0.88rem;
  color: var(--neutral-300);
  line-height: 1.5;
}
.age-modal .btn { width: 100%; justify-content: center; }
.age-modal .modal-note {
  font-size: 0.75rem;
  color: var(--neutral-600);
  margin-top: var(--sp-2);
}

/* ---- Cookie Banner ---- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 200;
  background: rgba(15, 34, 25, 0.97);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(30,163,98,0.2);
  padding: var(--sp-3) var(--sp-3);
  transform: translateY(100%);
  transition: transform var(--duration-slow) var(--ease-out);
}
.cookie-banner.visible { transform: translateY(0); }
.cookie-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  flex-wrap: wrap;
}
.cookie-inner p {
  font-size: 0.85rem;
  color: var(--neutral-300);
  max-width: 600px;
}
.cookie-inner p a {
  color: var(--green-400);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cookie-actions { display: flex; gap: var(--sp-2); flex-shrink: 0; }

/* ---- Inner Page Hero ---- */
.inner-hero {
  padding: calc(68px + var(--sp-10)) 0 var(--sp-10);
  background:
    radial-gradient(ellipse 70% 60% at 50% 30%, rgba(30,163,98,0.15) 0%, transparent 65%),
    var(--bg-base);
  text-align: center;
}
.inner-hero .section-label { display: block; margin-bottom: var(--sp-2); }
.inner-hero h1 { margin-bottom: var(--sp-3); }
.inner-hero p {
  font-size: 1.1rem;
  max-width: 580px;
  margin: 0 auto;
  color: var(--neutral-400);
}

/* ---- Content Card ---- */
.content-section { padding: var(--sp-10) 0; }
.content-card {
  background: var(--bg-card);
  border: 1px solid rgba(30,163,98,0.12);
  border-radius: var(--radius-lg);
  padding: var(--sp-5) var(--sp-6);
  margin-bottom: var(--sp-4);
}
.content-card h3 {
  color: var(--green-300);
  margin-bottom: var(--sp-2);
  font-size: 1.25rem;
}
.content-card p, .content-card li {
  font-size: 0.93rem;
  color: var(--neutral-400);
  line-height: 1.75;
}
.content-card ul, .content-card ol {
  padding-left: var(--sp-3);
  list-style: disc;
  margin-top: var(--sp-1);
}
.content-card ol { list-style: decimal; }
.content-card li { margin-bottom: 8px; }
.content-card p + p { margin-top: var(--sp-2); }
.content-card strong { color: var(--neutral-200); }

/* ---- How It Works steps ---- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--sp-4);
}
.step-card {
  background: var(--bg-card);
  border: 1px solid rgba(30,163,98,0.12);
  border-radius: var(--radius-lg);
  padding: var(--sp-4);
  text-align: center;
  position: relative;
  transition: transform var(--duration-base) var(--ease-out), border-color var(--duration-base);
}
.step-card:hover { transform: translateY(-5px); border-color: rgba(30,163,98,0.35); }
.step-number {
  width: 48px; height: 48px;
  background: var(--green-700);
  color: var(--green-200);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  margin: 0 auto var(--sp-3);
}
.step-card h4 { margin-bottom: 8px; }
.step-card p { font-size: 0.88rem; }

/* ---- FAQ ---- */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid rgba(30,163,98,0.12);
  border-radius: var(--radius-md);
  margin-bottom: var(--sp-2);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  background: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-3) var(--sp-4);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--neutral-100);
  text-align: left;
  gap: var(--sp-2);
}
.faq-question .chevron {
  font-size: 0.7rem;
  color: var(--green-400);
  transition: transform var(--duration-base);
  flex-shrink: 0;
}
.faq-item.open .chevron { transform: rotate(180deg); }
.faq-answer {
  display: none;
  padding: 0 var(--sp-4) var(--sp-3);
  font-size: 0.9rem;
  color: var(--neutral-400);
  line-height: 1.7;
}
.faq-item.open .faq-answer { display: block; }

/* ---- Game Pages ---- */
.game-page {
  min-height: 100vh;
  padding: calc(68px + var(--sp-6)) 0 var(--sp-10);
}
.game-header {
  text-align: center;
  margin-bottom: var(--sp-6);
}
.game-header .game-tag { font-size: 0.8rem; }
.game-arena {
  background: var(--bg-card);
  border: 1px solid rgba(30,163,98,0.18);
  border-radius: var(--radius-xl);
  padding: var(--sp-5);
  max-width: 860px;
  margin: 0 auto;
}
.game-coins {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-2);
  background: var(--bg-elevated);
  border-radius: var(--radius-md);
  padding: var(--sp-2) var(--sp-3);
  margin-bottom: var(--sp-4);
}
.coins-display {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--amber-400);
}
.coins-display small {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--neutral-500);
  font-family: var(--font-body);
  display: block;
}
.game-msg {
  text-align: center;
  min-height: 36px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--neutral-200);
  margin: var(--sp-3) 0;
}
.msg-win  { color: var(--amber-400); }
.msg-lose { color: var(--red-400); }
.msg-push { color: var(--neutral-300); }

/* ---- Blackjack ---- */
.bj-table {
  background: radial-gradient(ellipse 80% 90% at 50% 50%, #1a5c3a 0%, #0d3520 100%);
  border-radius: var(--radius-lg);
  padding: var(--sp-5) var(--sp-4);
  min-height: 320px;
  position: relative;
}
.bj-zone { margin-bottom: var(--sp-4); }
.bj-zone-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: var(--sp-2);
}
.bj-hand {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 90px;
}
.bj-card {
  width: 60px; height: 90px;
  background: #fff;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 5px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--neutral-900);
  box-shadow: 2px 2px 8px rgba(0,0,0,0.4);
  animation: card-flip 0.35s var(--ease-out);
  position: relative;
}
@keyframes card-flip {
  from { transform: rotateY(90deg); opacity: 0; }
  to   { transform: rotateY(0deg); opacity: 1; }
}
.bj-card.red { color: #dc2626; }
.bj-card.hidden {
  background: linear-gradient(135deg, #1e3a5f 0%, #0d2040 100%);
  color: transparent;
}
.bj-card.hidden::after {
  content: '?';
  position: absolute;
  color: rgba(255,255,255,0.3);
  font-size: 2rem;
}
.bj-score {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  margin-top: 6px;
}
.bj-controls {
  display: flex;
  gap: var(--sp-2);
  justify-content: center;
  flex-wrap: wrap;
}
.bj-bet-area {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  flex-wrap: wrap;
  margin-bottom: var(--sp-3);
}
.bet-chip {
  width: 52px; height: 52px;
  border-radius: 50%;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  border: 3px solid rgba(255,255,255,0.15);
  transition: transform var(--duration-fast), box-shadow var(--duration-fast);
}
.bet-chip:hover { transform: scale(1.12); box-shadow: 0 0 14px rgba(245,158,11,0.4); }
.chip-25  { background: #16a34a; color: #fff; }
.chip-50  { background: #2563eb; color: #fff; }
.chip-100 { background: #dc2626; color: #fff; }
.chip-250 { background: #7c3aed; color: #fff; }
.current-bet {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--amber-300);
  min-width: 80px;
  text-align: center;
}
.current-bet small { display: block; font-size: 0.72rem; font-weight: 400; font-family: var(--font-body); color: var(--neutral-500); }

/* ---- Slots ---- */
.slots-machine {
  background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
  border: 2px solid rgba(245,158,11,0.3);
  border-radius: var(--radius-lg);
  padding: var(--sp-4);
  max-width: 440px;
  margin: 0 auto;
}
.slots-reels {
  display: flex;
  gap: var(--sp-2);
  justify-content: center;
  background: rgba(0,0,0,0.4);
  border-radius: var(--radius-md);
  padding: var(--sp-3);
  margin-bottom: var(--sp-3);
  border: 1px solid rgba(245,158,11,0.2);
  position: relative;
  overflow: hidden;
}
.slots-reels::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 8px; right: 8px;
  height: 80px;
  transform: translateY(-50%);
  border-top: 2px solid rgba(245,158,11,0.5);
  border-bottom: 2px solid rgba(245,158,11,0.5);
  pointer-events: none;
  z-index: 2;
}
.reel {
  width: 90px; height: 300px;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: rgba(0,0,0,0.3);
  position: relative;
}
.reel-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform var(--duration-slow) cubic-bezier(0.25, 1.5, 0.5, 1);
}
.reel-symbol {
  width: 90px; height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.8rem;
  flex-shrink: 0;
}
.slots-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-3);
  flex-wrap: wrap;
}
.spin-btn {
  width: 68px; height: 68px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--red-500), var(--red-700));
  color: #fff;
  font-size: 1.6rem;
  box-shadow: 0 4px 16px rgba(239,68,68,0.5), inset 0 2px 4px rgba(255,255,255,0.2);
  transition: all var(--duration-fast);
  border: none;
}
.spin-btn:hover:not(:disabled) {
  transform: scale(1.05);
  box-shadow: 0 6px 24px rgba(239,68,68,0.7), inset 0 2px 4px rgba(255,255,255,0.2);
}
.spin-btn:active:not(:disabled) { transform: scale(0.96); }
.slots-paytable {
  margin-top: var(--sp-4);
  background: rgba(0,0,0,0.3);
  border-radius: var(--radius-md);
  padding: var(--sp-3);
}
.slots-paytable h5 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--neutral-500);
  margin-bottom: var(--sp-2);
}
.paytable-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  padding: 4px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.paytable-row:last-child { border-bottom: none; }
.paytable-row .pay-symbols { font-size: 0.9rem; }
.paytable-row .pay-mult { color: var(--amber-400); font-weight: 700; }

/* ---- Roulette ---- */
.roulette-table { max-width: 720px; margin: 0 auto; }
.wheel-container {
  display: flex;
  justify-content: center;
  margin-bottom: var(--sp-4);
}
.wheel-wrap {
  position: relative;
  width: 220px; height: 220px;
}
.roulette-wheel {
  width: 220px; height: 220px;
  border-radius: 50%;
  border: 8px solid var(--amber-600);
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 40px rgba(245,158,11,0.25), inset 0 0 20px rgba(0,0,0,0.5);
  transition: transform 4s cubic-bezier(0.17, 0.67, 0.25, 1);
}
.wheel-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 36px; height: 36px;
  background: radial-gradient(circle, #c0a050, #7a6030);
  border-radius: 50%;
  z-index: 5;
  border: 3px solid rgba(255,255,255,0.3);
}
.wheel-pointer {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  width: 0; height: 0;
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-top: 22px solid var(--amber-400);
  z-index: 6;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}

.bet-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
  margin-bottom: var(--sp-3);
}
.bet-number {
  aspect-ratio: 1;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--duration-fast);
  border: 2px solid transparent;
  color: #fff;
}
.bet-number.red-num  { background: rgba(220,38,38,0.7); }
.bet-number.black-num { background: rgba(30,30,30,0.8); }
.bet-number.zero-num { background: rgba(22,163,74,0.8); }
.bet-number:hover { transform: scale(1.1); border-color: var(--amber-400); }
.bet-number.selected { border-color: var(--amber-400); box-shadow: 0 0 10px rgba(245,158,11,0.6); }

.outside-bets {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-2);
  margin-bottom: var(--sp-3);
}
.outside-bet {
  background: var(--bg-elevated);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--neutral-300);
  cursor: pointer;
  transition: all var(--duration-fast);
  text-align: center;
}
.outside-bet:hover { border-color: var(--amber-400); color: var(--amber-300); }
.outside-bet.selected { border-color: var(--amber-400); background: rgba(245,158,11,0.1); color: var(--amber-300); }

.roulette-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-3);
  flex-wrap: wrap;
}

/* ---- Dice / Roll Game ---- */
.dice-arena {
  max-width: 560px;
  margin: 0 auto;
}
.dice-display {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-4);
  padding: var(--sp-5) 0;
}
.dice {
  width: 80px; height: 80px;
  background: #fff;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  box-shadow: 4px 4px 16px rgba(0,0,0,0.5), inset 0 1px 3px rgba(255,255,255,0.4);
  transition: transform 0.3s var(--ease-out);
}
.dice.rolling { animation: dice-roll 0.4s ease-in-out 4; }
@keyframes dice-roll {
  0%   { transform: rotate(0deg)   scale(1); }
  25%  { transform: rotate(-20deg) scale(1.05); }
  75%  { transform: rotate(20deg)  scale(1.05); }
  100% { transform: rotate(0deg)   scale(1); }
}
.dice-sum {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: var(--amber-400);
  min-width: 70px;
  text-align: center;
}
.dice-sum small { display: block; font-size: 0.75rem; font-weight: 400; font-family: var(--font-body); color: var(--neutral-500); }
.target-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-bottom: var(--sp-3);
}
.target-btn {
  background: var(--bg-elevated);
  border: 2px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  padding: 10px 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--neutral-300);
  cursor: pointer;
  transition: all var(--duration-fast);
  text-align: center;
}
.target-btn:hover { border-color: var(--green-500); color: var(--green-300); }
.target-btn.selected { border-color: var(--green-400); background: rgba(30,163,98,0.15); color: var(--green-300); }
.target-btn .odds { display: block; font-size: 0.7rem; color: var(--neutral-500); font-weight: 400; margin-top: 2px; }
.dice-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  flex-wrap: wrap;
}

/* ---- Grid helpers ---- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-6);
  align-items: start;
}

/* ---- Community page ---- */
.community-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--sp-4);
  margin-bottom: var(--sp-8);
}
.stat-card {
  background: var(--bg-card);
  border: 1px solid rgba(30,163,98,0.12);
  border-radius: var(--radius-lg);
  padding: var(--sp-4);
  text-align: center;
}
.stat-card .stat-value {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--green-400);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-card .stat-label { font-size: 0.85rem; color: var(--neutral-500); }

.leaderboard {
  background: var(--bg-card);
  border: 1px solid rgba(30,163,98,0.12);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.lb-header {
  display: grid;
  grid-template-columns: 48px 1fr 1fr 1fr;
  gap: var(--sp-2);
  padding: 12px var(--sp-3);
  background: var(--bg-elevated);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--neutral-500);
}
.lb-row {
  display: grid;
  grid-template-columns: 48px 1fr 1fr 1fr;
  gap: var(--sp-2);
  padding: 14px var(--sp-3);
  border-top: 1px solid rgba(255,255,255,0.04);
  align-items: center;
  transition: background var(--duration-fast);
}
.lb-row:hover { background: rgba(30,163,98,0.05); }
.lb-rank {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--neutral-600);
  text-align: center;
}
.lb-rank.gold   { color: var(--amber-400); }
.lb-rank.silver { color: var(--neutral-400); }
.lb-rank.bronze { color: #cd7f32; }
.lb-name { font-weight: 600; font-size: 0.9rem; }
.lb-score, .lb-games { font-size: 0.85rem; color: var(--neutral-400); }
.lb-score { color: var(--amber-400); font-weight: 700; }

/* ---- Responsible Gaming ---- */
.rg-warning {
  background: rgba(239,68,68,0.08);
  border: 1px solid rgba(239,68,68,0.25);
  border-radius: var(--radius-lg);
  padding: var(--sp-5) var(--sp-6);
  text-align: center;
  margin-bottom: var(--sp-6);
}
.rg-warning h3 { color: var(--red-400); margin-bottom: var(--sp-2); }
.rg-warning p  { color: var(--neutral-300); max-width: 560px; margin: 0 auto; }

.rg-resources {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--sp-4);
}
.rg-resource {
  background: var(--bg-card);
  border: 1px solid rgba(30,163,98,0.12);
  border-radius: var(--radius-lg);
  padding: var(--sp-4);
  text-align: center;
}
.rg-resource .resource-icon { font-size: 2rem; margin-bottom: var(--sp-2); }
.rg-resource h4 { margin-bottom: 8px; font-size: 1rem; }
.rg-resource p  { font-size: 0.85rem; margin-bottom: var(--sp-3); }
.rg-resource a {
  display: inline-block;
  color: var(--green-400);
  font-size: 0.85rem;
  font-weight: 600;
  border-bottom: 1px solid rgba(30,163,98,0.3);
  padding-bottom: 2px;
  transition: color var(--duration-fast), border-color var(--duration-fast);
}
.rg-resource a:hover { color: var(--green-300); border-color: var(--green-300); }

/* ---- Toast ---- */
.toast {
  position: fixed;
  top: 88px; right: 20px;
  z-index: 500;
  background: var(--bg-elevated);
  border: 1px solid rgba(30,163,98,0.3);
  border-radius: var(--radius-md);
  padding: 12px 20px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--neutral-100);
  box-shadow: var(--shadow-lg);
  transform: translateX(120%);
  transition: transform var(--duration-base) var(--ease-out);
  max-width: 300px;
}
.toast.show { transform: translateX(0); }
.toast.win   { border-color: rgba(245,158,11,0.4); color: var(--amber-300); }
.toast.lose  { border-color: rgba(239,68,68,0.3); color: var(--red-400); }

/* ---- Animations ---- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s var(--ease-out), transform 0.55s var(--ease-out);
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ---- Responsive ---- */
@media (max-width: 960px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .hero-visual { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .two-col { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  section { padding: var(--sp-8) 0; }
  .games-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .bet-grid { grid-template-columns: repeat(4, 1fr); }
  .outside-bets { grid-template-columns: repeat(2, 1fr); }
  .target-grid { grid-template-columns: repeat(3, 1fr); }
  .lb-header, .lb-row { grid-template-columns: 36px 1fr 1fr; }
  .lb-games { display: none; }
}
