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

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Primary: Canadian red/maple */
  --red-50:  #fff1f1;
  --red-100: #ffd7d7;
  --red-200: #ffaaaa;
  --red-300: #ff6b6b;
  --red-400: #f43f3f;
  --red-500: #d91c1c;
  --red-600: #b41212;
  --red-700: #8f0d0d;

  /* Secondary: forest green */
  --green-50:  #f0faf4;
  --green-100: #d0f0df;
  --green-200: #9ee0be;
  --green-300: #5fc99a;
  --green-400: #2daa74;
  --green-500: #1a8a5a;
  --green-600: #116b45;
  --green-700: #0a4d31;

  /* Accent: golden wheat */
  --gold-50:  #fffbeb;
  --gold-100: #fef3c7;
  --gold-200: #fde68a;
  --gold-300: #fcd34d;
  --gold-400: #fbbf24;
  --gold-500: #f59e0b;
  --gold-600: #d97706;
  --gold-700: #b45309;

  /* Neutral */
  --neutral-0:   #ffffff;
  --neutral-50:  #f8f9fa;
  --neutral-100: #f1f3f5;
  --neutral-200: #e9ecef;
  --neutral-300: #dee2e6;
  --neutral-400: #ced4da;
  --neutral-500: #adb5bd;
  --neutral-600: #868e96;
  --neutral-700: #495057;
  --neutral-800: #343a40;
  --neutral-900: #212529;

  /* Status */
  --success: #1a8a5a;
  --warning: #f59e0b;
  --error:   #d91c1c;
  --info:    #0e7490;

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', monospace;

  /* Spacing (8px base) */
  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px;
  --sp-5: 24px; --sp-6: 32px; --sp-7: 48px; --sp-8: 64px;
  --sp-9: 96px; --sp-10: 128px;

  /* Radius */
  --r-sm: 4px; --r-md: 8px; --r-lg: 16px; --r-xl: 24px; --r-full: 9999px;

  /* Shadow */
  --shadow-sm:  0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md:  0 4px 12px rgba(0,0,0,.10), 0 2px 6px rgba(0,0,0,.06);
  --shadow-lg:  0 10px 30px rgba(0,0,0,.12), 0 4px 12px rgba(0,0,0,.08);
  --shadow-xl:  0 20px 50px rgba(0,0,0,.16), 0 8px 20px rgba(0,0,0,.10);

  /* Transitions */
  --ease: cubic-bezier(.4,0,.2,1);
  --t-fast: 150ms; --t-base: 250ms; --t-slow: 400ms;
}

html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--neutral-800);
  background: var(--neutral-50);
  line-height: 1.6;
  overflow-x: hidden;
}
body.modal-open { overflow: hidden; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: var(--font-body); }

/* --- Typography Scale --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.2;
  color: var(--neutral-900);
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3vw, 2.5rem); font-weight: 700; }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); font-weight: 600; }
h4 { font-size: 1.25rem; font-weight: 600; }
p  { font-size: 1rem; line-height: 1.7; }
small { font-size: .875rem; }

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-6); border-radius: var(--r-full);
  font-size: 1rem; font-weight: 600; border: none; transition: all var(--t-base) var(--ease);
  white-space: nowrap; letter-spacing: .02em;
}
.btn-primary {
  background: var(--red-500); color: #fff;
  box-shadow: 0 4px 14px rgba(217,28,28,.35);
}
.btn-primary:hover {
  background: var(--red-600); transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(217,28,28,.45);
}
.btn-secondary {
  background: transparent; color: #fff;
  border: 2px solid rgba(255,255,255,.6);
}
.btn-secondary:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn-gold {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  color: var(--neutral-900); box-shadow: 0 4px 14px rgba(245,158,11,.35);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(245,158,11,.5); }
.btn-outline {
  background: transparent; color: var(--red-500);
  border: 2px solid var(--red-500);
}
.btn-outline:hover { background: var(--red-500); color: #fff; }
.btn-sm { padding: var(--sp-2) var(--sp-4); font-size: .875rem; }
.btn-lg { padding: var(--sp-4) var(--sp-8); font-size: 1.125rem; }
.btn:disabled { opacity: .5; cursor: not-allowed; pointer-events: none; }

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

/* --- Section --- */
.section { padding: var(--sp-9) 0; }
.section-sm { padding: var(--sp-7) 0; }
.section-label {
  display: inline-block; font-size: .75rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--red-500); margin-bottom: var(--sp-3);
}
.section-title { margin-bottom: var(--sp-3); }
.section-subtitle { font-size: 1.125rem; color: var(--neutral-600); max-width: 600px; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  padding: var(--sp-4) 0;
  transition: background var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease), padding var(--t-base) var(--ease);
}
.nav.scrolled {
  background: rgba(255,255,255,.97);
  box-shadow: var(--shadow-sm);
  padding: var(--sp-3) 0;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  display: flex; align-items: center; gap: var(--sp-3);
  font-family: var(--font-display); font-size: 1.375rem; font-weight: 700;
  color: #fff; transition: color var(--t-base) var(--ease);
}
.nav-logo .logo-icon {
  width: 40px; height: 40px; background: var(--red-500); border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; flex-shrink: 0;
}
.nav.scrolled .nav-logo { color: var(--neutral-900); }
.nav-links { display: flex; align-items: center; gap: var(--sp-6); }
.nav-link {
  font-size: .9375rem; font-weight: 500; color: rgba(255,255,255,.85);
  transition: color var(--t-base) var(--ease); position: relative;
}
.nav-link::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 2px; background: var(--gold-400); transform: scaleX(0);
  transition: transform var(--t-base) var(--ease);
}
.nav-link:hover { color: #fff; }
.nav-link:hover::after { transform: scaleX(1); }
.nav.scrolled .nav-link { color: var(--neutral-700); }
.nav.scrolled .nav-link:hover { color: var(--neutral-900); }
.nav-cta { margin-left: var(--sp-4); }
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; padding: var(--sp-2);
}
.nav-hamburger span {
  display: block; width: 24px; height: 2px;
  background: #fff; border-radius: var(--r-full);
  transition: all var(--t-base) var(--ease);
}
.nav.scrolled .nav-hamburger span { background: var(--neutral-800); }
.nav-hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; }
.nav-hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
.nav-mobile {
  display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: var(--neutral-900); z-index: 850; padding: var(--sp-10) var(--sp-5) var(--sp-5);
  flex-direction: column; gap: var(--sp-4); overflow-y: auto;
}
.nav-mobile.open { display: flex; }
.nav-mobile .nav-link {
  font-size: 1.25rem; color: rgba(255,255,255,.8);
  padding: var(--sp-3) 0; border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav-mobile .nav-link:hover { color: #fff; }
.nav-mobile .btn { margin-top: var(--sp-4); width: 100%; justify-content: center; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh; position: relative; display: flex; align-items: center;
  background: linear-gradient(135deg, #0a1a12 0%, #0d2319 30%, #1a0808 70%, #2a0a0a 100%);
  overflow: hidden;
}
.hero-particles {
  position: absolute; inset: 0; overflow: hidden; pointer-events: none;
}
.hero-particle {
  position: absolute; border-radius: var(--r-full);
  animation: float linear infinite;
}
@keyframes float {
  0%   { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { transform: translateY(-100px) rotate(720deg); opacity: 0; }
}
.maple-leaf {
  position: absolute; opacity: .06;
  animation: drift linear infinite;
}
@keyframes drift {
  0%   { transform: translateY(-50px) rotate(0deg) translateX(0); opacity: 0; }
  5%   { opacity: .08; }
  95%  { opacity: .08; }
  100% { transform: translateY(110vh) rotate(360deg) translateX(60px); opacity: 0; }
}
.hero-content { position: relative; z-index: 2; padding: var(--sp-10) 0 var(--sp-7); }
.hero-badge {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  background: rgba(217,28,28,.15); border: 1px solid rgba(217,28,28,.3);
  color: var(--red-300); padding: var(--sp-2) var(--sp-4); border-radius: var(--r-full);
  font-size: .8125rem; font-weight: 600; letter-spacing: .05em;
  text-transform: uppercase; margin-bottom: var(--sp-5);
}
.hero-title { color: #fff; margin-bottom: var(--sp-5); }
.hero-title span { color: var(--red-400); display: block; }
.hero-subtitle {
  font-size: 1.125rem; color: rgba(255,255,255,.7);
  max-width: 560px; margin-bottom: var(--sp-6); line-height: 1.7;
}
.hero-actions { display: flex; gap: var(--sp-4); flex-wrap: wrap; margin-bottom: var(--sp-8); }
.hero-stats {
  display: flex; gap: var(--sp-7); flex-wrap: wrap;
}
.hero-stat strong {
  display: block; font-family: var(--font-display);
  font-size: 1.75rem; font-weight: 700; color: #fff;
}
.hero-stat span { font-size: .875rem; color: rgba(255,255,255,.5); }
.hero-visual {
  position: relative; z-index: 2;
}
.hero-card-stack {
  position: relative; width: 340px; height: 420px; margin: 0 auto;
}
.hero-card {
  position: absolute; width: 220px; border-radius: var(--r-xl);
  overflow: hidden; box-shadow: var(--shadow-xl);
}
.hero-card:nth-child(1) { top: 0; right: 30px; z-index: 3; animation: card-float1 4s ease-in-out infinite; }
.hero-card:nth-child(2) { top: 80px; right: 0; z-index: 2; animation: card-float2 4s ease-in-out infinite .5s; }
.hero-card:nth-child(3) { top: 160px; right: 60px; z-index: 1; animation: card-float3 4s ease-in-out infinite 1s; }
@keyframes card-float1 { 0%,100%{transform:translateY(0) rotate(-5deg)} 50%{transform:translateY(-12px) rotate(-5deg)} }
@keyframes card-float2 { 0%,100%{transform:translateY(0) rotate(3deg)} 50%{transform:translateY(-8px) rotate(3deg)} }
@keyframes card-float3 { 0%,100%{transform:translateY(0) rotate(-2deg)} 50%{transform:translateY(-10px) rotate(-2deg)} }
.hero-card-inner {
  height: 130px;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem;
}
.hero-card-body { background: #fff; padding: var(--sp-4); }
.hero-card-body h4 { font-size: 1rem; margin-bottom: var(--sp-1); color: var(--neutral-900); }
.hero-card-body small { color: var(--neutral-500); font-size: .8rem; }
.hero-scroll {
  position: absolute; bottom: var(--sp-6); left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: var(--sp-2);
  color: rgba(255,255,255,.4); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase;
  animation: bounce-scroll 2s ease-in-out infinite;
}
@keyframes bounce-scroll { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(6px)} }
.scroll-arrow {
  width: 24px; height: 24px; border-right: 2px solid rgba(255,255,255,.3);
  border-bottom: 2px solid rgba(255,255,255,.3); transform: rotate(45deg);
}

/* ============================================================
   GAMES SECTION
   ============================================================ */
.games-section { background: var(--neutral-0); }
.games-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-5); margin-top: var(--sp-7);
}
.game-card {
  border-radius: var(--r-xl); overflow: hidden;
  box-shadow: var(--shadow-md); transition: all var(--t-base) var(--ease);
  cursor: pointer; position: relative; background: var(--neutral-0);
}
.game-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); }
.game-card-header {
  height: 200px; display: flex; align-items: center; justify-content: center;
  font-size: 4rem; position: relative; overflow: hidden;
}
.game-card-header::before {
  content: ''; position: absolute; inset: 0;
  background: inherit; filter: brightness(.85);
}
.game-card-header .game-icon { position: relative; z-index: 1; }
.game-card-badge {
  position: absolute; top: var(--sp-4); right: var(--sp-4); z-index: 2;
  background: var(--gold-400); color: var(--neutral-900);
  padding: var(--sp-1) var(--sp-3); border-radius: var(--r-full);
  font-size: .75rem; font-weight: 700; letter-spacing: .05em;
}
.game-card-body { padding: var(--sp-5); }
.game-card-body h3 { margin-bottom: var(--sp-2); }
.game-card-body p { color: var(--neutral-600); font-size: .9375rem; margin-bottom: var(--sp-5); }
.game-card-meta {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: var(--sp-4); border-top: 1px solid var(--neutral-100);
}
.game-players { font-size: .8125rem; color: var(--neutral-500); }
.game-players strong { color: var(--green-500); }

/* ============================================================
   FEATURES SECTION
   ============================================================ */
.features-section { background: var(--neutral-50); }
.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-5); margin-top: var(--sp-7);
}
.feature-card {
  background: var(--neutral-0); border-radius: var(--r-xl);
  padding: var(--sp-6); box-shadow: var(--shadow-sm);
  transition: all var(--t-base) var(--ease);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature-icon {
  width: 56px; height: 56px; border-radius: var(--r-lg);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: var(--sp-4);
}
.feature-icon.red { background: var(--red-50); }
.feature-icon.green { background: var(--green-50); }
.feature-icon.gold { background: var(--gold-50); }
.feature-card h3 { font-size: 1.125rem; margin-bottom: var(--sp-2); }
.feature-card p { font-size: .9375rem; color: var(--neutral-600); }

/* ============================================================
   TESTIMONIALS / COMMUNITY PREVIEW
   ============================================================ */
.community-section { background: var(--neutral-0); }
.testimonials-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-5); margin-top: var(--sp-7);
}
.testimonial-card {
  background: var(--neutral-50); border-radius: var(--r-xl); padding: var(--sp-6);
  border: 1px solid var(--neutral-100); transition: all var(--t-base) var(--ease);
}
.testimonial-card:hover { border-color: var(--red-200); box-shadow: var(--shadow-md); }
.testimonial-stars { display: flex; gap: 2px; margin-bottom: var(--sp-3); }
.testimonial-star { color: var(--gold-400); font-size: 1rem; }
.testimonial-text { font-size: .9375rem; color: var(--neutral-700); margin-bottom: var(--sp-4); line-height: 1.7; }
.testimonial-author { display: flex; align-items: center; gap: var(--sp-3); }
.testimonial-avatar {
  width: 44px; height: 44px; border-radius: var(--r-full);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; flex-shrink: 0;
}
.testimonial-author-info strong { display: block; font-size: .9375rem; }
.testimonial-author-info small { color: var(--neutral-500); font-size: .8125rem; }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-section {
  background: linear-gradient(135deg, var(--red-700) 0%, var(--red-500) 50%, #8B1A1A 100%);
  padding: var(--sp-9) 0; text-align: center; position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.cta-section h2 { color: #fff; margin-bottom: var(--sp-3); position: relative; }
.cta-section p { color: rgba(255,255,255,.8); max-width: 500px; margin: 0 auto var(--sp-6); position: relative; }
.cta-section .btn { position: relative; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--neutral-900); color: rgba(255,255,255,.7);
  padding: var(--sp-9) 0 0;
}
.footer-top {
  display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: var(--sp-6); padding-bottom: var(--sp-7);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-contact a { color: rgba(255,255,255,.6); transition: color var(--t-base) var(--ease); }
.footer-contact a:hover { color: #fff; }
.footer-brand .footer-logo {
  display: flex; align-items: center; gap: var(--sp-3);
  font-family: var(--font-display); font-size: 1.25rem; font-weight: 700;
  color: #fff; margin-bottom: var(--sp-4);
}
.footer-brand .footer-logo .logo-icon {
  width: 36px; height: 36px; background: var(--red-500); border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center; font-size: 1rem;
}
.footer-brand p { font-size: .9rem; line-height: 1.7; max-width: 280px; }
.footer-col h4 {
  color: #fff; font-size: .875rem; font-weight: 700;
  letter-spacing: .05em; text-transform: uppercase; margin-bottom: var(--sp-4);
  font-family: var(--font-body);
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: var(--sp-3); }
.footer-col a {
  font-size: .9rem; color: rgba(255,255,255,.6);
  transition: color var(--t-base) var(--ease);
}
.footer-col a:hover { color: #fff; }
.footer-disclaimer {
  margin: var(--sp-7) 0 0;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r-lg); padding: var(--sp-5);
}
.footer-disclaimer h5 {
  font-size: .8125rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--gold-400); margin-bottom: var(--sp-3);
  font-family: var(--font-body);
}
.footer-disclaimer p { font-size: .8125rem; color: rgba(255,255,255,.5); line-height: 1.7; }
.footer-disclaimer a { color: var(--gold-400); text-decoration: underline; }
.footer-disclaimer a:hover { color: var(--gold-300); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--sp-5) 0; border-top: 1px solid rgba(255,255,255,.06);
  font-size: .8125rem; color: rgba(255,255,255,.35); flex-wrap: wrap; gap: var(--sp-3);
}
.footer-bottom-links { display: flex; gap: var(--sp-4); }
.footer-bottom-links a { color: rgba(255,255,255,.35); transition: color var(--t-base) var(--ease); }
.footer-bottom-links a:hover { color: rgba(255,255,255,.7); }

/* ============================================================
   AGE VERIFICATION MODAL
   ============================================================ */
.modal-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,.92); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center; padding: var(--sp-5);
}
.modal-overlay.hidden { display: none; }
.modal-box {
  background: var(--neutral-0); border-radius: var(--r-xl);
  padding: var(--sp-8) var(--sp-7); max-width: 480px; width: 100%;
  box-shadow: var(--shadow-xl); text-align: center;
  animation: modal-in var(--t-slow) var(--ease) both;
}
@keyframes modal-in { from{opacity:0;transform:scale(.92) translateY(20px)} to{opacity:1;transform:none} }
.modal-logo {
  width: 72px; height: 72px; background: var(--red-50); border-radius: var(--r-xl);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; margin: 0 auto var(--sp-5);
}
.modal-box h2 { font-size: 1.75rem; margin-bottom: var(--sp-3); }
.modal-box > p { color: var(--neutral-600); margin-bottom: var(--sp-6); }
.modal-check-wrap {
  display: flex; align-items: flex-start; gap: var(--sp-3);
  background: var(--neutral-50); border-radius: var(--r-lg);
  padding: var(--sp-4); margin-bottom: var(--sp-5); cursor: pointer;
  border: 2px solid var(--neutral-200); transition: border-color var(--t-base) var(--ease);
  text-align: left;
}
.modal-check-wrap.checked { border-color: var(--green-400); background: var(--green-50); }
.modal-check-wrap input[type="checkbox"] {
  width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px;
  accent-color: var(--green-500); cursor: pointer;
}
.modal-check-wrap label {
  font-size: .9rem; color: var(--neutral-700); cursor: pointer; line-height: 1.5;
}
.modal-confirm-btn {
  width: 100%; padding: var(--sp-4); border-radius: var(--r-full);
  font-size: 1rem; font-weight: 700; border: none;
  background: var(--neutral-200); color: var(--neutral-400);
  cursor: not-allowed; transition: all var(--t-base) var(--ease);
}
.modal-confirm-btn.active {
  background: var(--green-500); color: #fff; cursor: pointer;
  box-shadow: 0 4px 14px rgba(26,138,90,.35);
}
.modal-confirm-btn.active:hover { background: var(--green-600); transform: translateY(-1px); }
.modal-note {
  margin-top: var(--sp-4); font-size: .8rem; color: var(--neutral-400);
}

/* ============================================================
   COOKIE CONSENT
   ============================================================ */
.cookie-banner {
  position: fixed; bottom: var(--sp-5); left: 50%; transform: translateX(-50%);
  z-index: 9000; width: calc(100% - var(--sp-10)); max-width: 640px;
  background: var(--neutral-900); color: rgba(255,255,255,.85);
  border-radius: var(--r-xl); padding: var(--sp-5);
  box-shadow: var(--shadow-xl); display: flex; align-items: center;
  gap: var(--sp-5); transition: all var(--t-base) var(--ease);
}
.cookie-banner.hidden {
  opacity: 0; pointer-events: none; transform: translateX(-50%) translateY(20px);
}
.cookie-text { flex: 1; font-size: .875rem; line-height: 1.6; }
.cookie-text a { color: var(--gold-400); text-decoration: underline; }
.cookie-actions { display: flex; gap: var(--sp-3); flex-shrink: 0; }

/* ============================================================
   INNER PAGES (shared)
   ============================================================ */
.page-hero {
  padding: var(--sp-10) 0 var(--sp-7);
  background: linear-gradient(135deg, #0a1a12 0%, #0d2319 50%, #1a0808 100%);
  text-align: center; color: #fff; margin-top: 0;
}
.page-hero h1 { color: #fff; margin-bottom: var(--sp-4); }
.page-hero p { color: rgba(255,255,255,.7); max-width: 600px; margin: 0 auto; font-size: 1.125rem; }
.page-content { padding: var(--sp-9) 0; }
.page-content .prose { max-width: 780px; margin: 0 auto; }
.prose h2 { margin: var(--sp-7) 0 var(--sp-4); color: var(--neutral-900); }
.prose h3 { margin: var(--sp-5) 0 var(--sp-3); color: var(--neutral-800); font-size: 1.2rem; }
.prose p  { margin-bottom: var(--sp-4); color: var(--neutral-700); }
.prose ul { margin: var(--sp-3) 0 var(--sp-4) var(--sp-5); }
.prose ul li { margin-bottom: var(--sp-2); color: var(--neutral-700); }
.prose a { color: var(--red-500); text-decoration: underline; }

/* How It Works steps */
.steps { display: flex; flex-direction: column; gap: var(--sp-6); margin-top: var(--sp-6); }
.step {
  display: flex; gap: var(--sp-5); align-items: flex-start;
  background: var(--neutral-0); border-radius: var(--r-xl);
  padding: var(--sp-6); box-shadow: var(--shadow-sm);
}
.step-num {
  width: 52px; height: 52px; border-radius: var(--r-full);
  background: var(--red-500); color: #fff;
  font-family: var(--font-display); font-size: 1.25rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.step-content h3 { margin-bottom: var(--sp-2); }
.step-content p { color: var(--neutral-600); font-size: .9375rem; }

/* FAQ accordion */
.faq-list { display: flex; flex-direction: column; gap: var(--sp-3); margin-top: var(--sp-6); }
.faq-item {
  background: var(--neutral-0); border-radius: var(--r-lg);
  border: 1px solid var(--neutral-100); overflow: hidden;
}
.faq-question {
  width: 100%; text-align: left; background: none; border: none;
  padding: var(--sp-5); font-size: 1rem; font-weight: 600; color: var(--neutral-900);
  display: flex; justify-content: space-between; align-items: center;
  transition: background var(--t-base) var(--ease); cursor: pointer;
}
.faq-question:hover { background: var(--neutral-50); }
.faq-question.open { color: var(--red-500); }
.faq-icon { transition: transform var(--t-base) var(--ease); font-style: normal; }
.faq-question.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0; overflow: hidden; transition: max-height var(--t-slow) var(--ease);
}
.faq-answer.open { max-height: 400px; }
.faq-answer p { padding: 0 var(--sp-5) var(--sp-5); color: var(--neutral-600); font-size: .9375rem; line-height: 1.7; }

/* Team card */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-5); margin-top: var(--sp-6); }
.team-card {
  background: var(--neutral-0); border-radius: var(--r-xl);
  padding: var(--sp-6); text-align: center; box-shadow: var(--shadow-sm);
  transition: all var(--t-base) var(--ease);
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.team-avatar {
  width: 80px; height: 80px; border-radius: var(--r-full);
  margin: 0 auto var(--sp-4);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
}
.team-card h3 { font-size: 1.125rem; margin-bottom: var(--sp-1); }
.team-card span { font-size: .875rem; color: var(--red-500); font-weight: 600; }
.team-card p { margin-top: var(--sp-3); font-size: .875rem; color: var(--neutral-600); }

/* Community stats bar */
.stats-bar {
  background: linear-gradient(135deg, var(--green-700), var(--green-500));
  padding: var(--sp-6) 0; margin: var(--sp-7) 0;
}
.stats-bar-inner {
  display: flex; justify-content: space-around; flex-wrap: wrap; gap: var(--sp-5);
}
.stat-item { text-align: center; color: #fff; }
.stat-item strong { display: block; font-size: 2rem; font-family: var(--font-display); }
.stat-item span { font-size: .875rem; opacity: .8; }

/* Help cards */
.help-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-5); margin-top: var(--sp-6); }
.help-card {
  background: var(--neutral-0); border-radius: var(--r-xl);
  padding: var(--sp-6); box-shadow: var(--shadow-sm);
  display: flex; gap: var(--sp-4); align-items: flex-start;
  transition: all var(--t-base) var(--ease); text-decoration: none !important;
}
.help-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.help-card-icon {
  width: 52px; height: 52px; border-radius: var(--r-lg);
  background: var(--red-50); display: flex; align-items: center;
  justify-content: center; font-size: 1.5rem; flex-shrink: 0;
}
.help-card h3 { font-size: 1rem; margin-bottom: var(--sp-1); color: var(--neutral-900); }
.help-card p { font-size: .875rem; color: var(--neutral-600); }

/* Responsible gaming org links */
.rg-orgs { display: flex; flex-direction: column; gap: var(--sp-3); margin-top: var(--sp-5); }
.rg-org {
  display: flex; align-items: center; gap: var(--sp-4);
  background: var(--neutral-0); border: 2px solid var(--neutral-100);
  border-radius: var(--r-lg); padding: var(--sp-4) var(--sp-5);
  transition: border-color var(--t-base) var(--ease);
}
.rg-org:hover { border-color: var(--green-300); }
.rg-org-icon { font-size: 1.75rem; flex-shrink: 0; }
.rg-org strong { display: block; font-size: .9375rem; color: var(--neutral-900); }
.rg-org span { font-size: .8125rem; color: var(--neutral-500); }
.rg-org a { margin-left: auto; color: var(--green-600); font-weight: 600; font-size: .875rem; text-decoration: underline; }

/* ============================================================
   GAMES — shared game UI
   ============================================================ */
.game-page { background: #0d1a12; min-height: 100vh; padding-top: 80px; }
.game-header {
  background: rgba(255,255,255,.04); border-bottom: 1px solid rgba(255,255,255,.06);
  padding: var(--sp-5) 0;
}
.game-header-inner {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--sp-4);
}
.game-title-area h1 { color: #fff; font-size: 1.75rem; margin-bottom: var(--sp-1); }
.game-title-area p { color: rgba(255,255,255,.5); font-size: .875rem; }
.game-coins {
  display: flex; align-items: center; gap: var(--sp-3);
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-full); padding: var(--sp-2) var(--sp-5);
}
.game-coins strong { color: var(--gold-400); font-size: 1.25rem; font-family: var(--font-display); }
.game-coins span { color: rgba(255,255,255,.5); font-size: .875rem; }
.game-main { padding: var(--sp-7) 0; }
.game-area {
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--r-xl); padding: var(--sp-7); max-width: 700px; margin: 0 auto;
}
.game-message {
  text-align: center; font-size: 1.125rem; font-weight: 600;
  color: #fff; min-height: 2em; padding: var(--sp-3) 0;
  transition: color var(--t-base) var(--ease);
}
.game-message.win { color: var(--gold-400); }
.game-message.lose { color: var(--red-300); }
.game-message.push { color: rgba(255,255,255,.7); }
.game-controls {
  display: flex; align-items: center; justify-content: center;
  gap: var(--sp-3); flex-wrap: wrap; margin-top: var(--sp-5);
}
.bet-control {
  display: flex; align-items: center; gap: var(--sp-3);
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-full); padding: var(--sp-2) var(--sp-4);
}
.bet-control label { color: rgba(255,255,255,.6); font-size: .875rem; }
.bet-input {
  background: none; border: none; color: var(--gold-400);
  font-size: 1.125rem; font-weight: 700; width: 80px; text-align: center;
  font-family: var(--font-display);
}
.bet-input:focus { outline: none; }
.bet-btn {
  width: 28px; height: 28px; border-radius: var(--r-full);
  background: rgba(255,255,255,.1); color: #fff; border: none;
  font-size: 1rem; display: flex; align-items: center; justify-content: center;
  transition: background var(--t-base) var(--ease);
}
.bet-btn:hover { background: rgba(255,255,255,.2); }
.game-back-link {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  color: rgba(255,255,255,.5); font-size: .875rem; margin-bottom: var(--sp-5);
  transition: color var(--t-base) var(--ease);
}
.game-back-link:hover { color: #fff; }

/* ============================================================
   SLOTS GAME
   ============================================================ */
.slots-reels {
  display: flex; justify-content: center; gap: var(--sp-4); margin: var(--sp-6) 0;
}
.reel-wrapper {
  width: 110px; height: 130px; border-radius: var(--r-lg);
  background: rgba(0,0,0,.4); border: 2px solid rgba(255,255,255,.1);
  overflow: hidden; position: relative;
}
.reel-inner {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  height: 100%;
}
.reel-symbol {
  font-size: 3.5rem; line-height: 1;
  transition: filter .15s;
  text-shadow: 0 2px 8px rgba(0,0,0,.5);
}
.reel-wrapper.spinning .reel-symbol { filter: blur(3px); animation: spin-symbol .12s linear infinite; }
@keyframes spin-symbol { 0%{transform:translateY(0)} 100%{transform:translateY(-100%)} }
.reel-highlight {
  position: absolute; inset: 0; pointer-events: none;
  border-radius: var(--r-lg); border: 3px solid transparent;
  transition: border-color var(--t-base) var(--ease);
}
.reel-wrapper.win .reel-highlight { border-color: var(--gold-400); box-shadow: 0 0 20px rgba(251,191,36,.4); }
.slots-payline {
  display: flex; align-items: center; justify-content: center; gap: var(--sp-3);
  margin-bottom: var(--sp-4);
}
.payline-track {
  flex: 1; height: 2px; background: rgba(255,255,255,.08); max-width: 80px;
}
.payline-label { font-size: .75rem; color: rgba(255,255,255,.3); letter-spacing: .1em; text-transform: uppercase; }
.slots-paytable {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-2); margin-top: var(--sp-5);
}
.pay-row {
  background: rgba(255,255,255,.03); border-radius: var(--r-md);
  padding: var(--sp-2) var(--sp-3); display: flex; align-items: center; justify-content: space-between;
}
.pay-row span { font-size: .875rem; }
.pay-row strong { color: var(--gold-400); font-size: .875rem; }

/* ============================================================
   BLACKJACK GAME
   ============================================================ */
.bj-table {
  background: radial-gradient(ellipse at center, #1a4731 0%, #0d2b1e 100%);
  border-radius: var(--r-xl); padding: var(--sp-6);
  border: 3px solid rgba(255,255,255,.06); position: relative;
}
.bj-hand-label {
  font-size: .75rem; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.4); margin-bottom: var(--sp-3);
}
.bj-hand {
  display: flex; gap: var(--sp-3); flex-wrap: wrap; min-height: 90px;
  align-items: flex-start; margin-bottom: var(--sp-5);
}
.bj-divider {
  height: 1px; background: rgba(255,255,255,.06); margin: var(--sp-4) 0;
}
.playing-card {
  width: 64px; height: 90px; border-radius: var(--r-md);
  background: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; box-shadow: 0 4px 12px rgba(0,0,0,.4);
  flex-shrink: 0; position: relative; overflow: hidden;
  animation: deal-card .3s var(--ease) both;
}
@keyframes deal-card { from{opacity:0;transform:scale(.5) rotate(-10deg)} to{opacity:1;transform:none} }
.playing-card .card-corner {
  position: absolute; font-size: .625rem; font-weight: 700; line-height: 1;
}
.playing-card .card-corner.top { top: 4px; left: 5px; }
.playing-card .card-corner.bottom { bottom: 4px; right: 5px; transform: rotate(180deg); }
.playing-card.red .card-corner { color: var(--red-500); }
.playing-card.black .card-corner { color: var(--neutral-900); }
.playing-card.face-down {
  background: linear-gradient(135deg, #1a4731, #0d2b1e);
  border: 2px solid rgba(255,255,255,.1);
}
.bj-score {
  font-size: 1.125rem; font-weight: 700; color: #fff; margin-top: var(--sp-2);
}
.bj-score span { color: rgba(255,255,255,.4); font-size: .875rem; font-weight: 400; margin-left: var(--sp-2); }

/* ============================================================
   ROULETTE GAME
   ============================================================ */
.roulette-wheel-wrap {
  display: flex; justify-content: center; margin: var(--sp-5) 0;
}
.roulette-wheel {
  width: 220px; height: 220px; border-radius: 50%;
  position: relative; transition: transform 4s cubic-bezier(.2,.8,.3,1);
}
.wheel-rim {
  position: absolute; inset: -8px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-300), var(--gold-600));
  box-shadow: 0 0 40px rgba(245,158,11,.3), inset 0 0 20px rgba(0,0,0,.5);
}
.wheel-body {
  position: absolute; inset: 8px; border-radius: 50%;
  overflow: hidden;
}
.wheel-center {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%); z-index: 10;
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  box-shadow: 0 2px 8px rgba(0,0,0,.5);
}
.wheel-ball {
  position: absolute; top: 16px; left: 50%; transform: translateX(-50%);
  width: 14px; height: 14px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff, #e0e0e0);
  box-shadow: 0 2px 6px rgba(0,0,0,.6); z-index: 20;
}
.roulette-pointer {
  position: absolute; top: -16px; left: 50%; transform: translateX(-50%);
  font-size: 1.5rem; z-index: 30; filter: drop-shadow(0 2px 4px rgba(0,0,0,.5));
}
.roulette-numbers {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--sp-2); margin-top: var(--sp-4);
}
.roulette-bet-btn {
  border-radius: var(--r-md); padding: var(--sp-2);
  font-size: .875rem; font-weight: 700; border: none; cursor: pointer;
  transition: all var(--t-base) var(--ease); color: #fff;
}
.roulette-bet-btn.selected { outline: 3px solid var(--gold-400); transform: scale(1.08); }
.roulette-special {
  display: flex; gap: var(--sp-3); flex-wrap: wrap; justify-content: center; margin-top: var(--sp-3);
}
.roulette-special-btn {
  padding: var(--sp-2) var(--sp-4); border-radius: var(--r-md);
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.8); font-size: .875rem; font-weight: 600;
  cursor: pointer; transition: all var(--t-base) var(--ease);
}
.roulette-special-btn:hover { background: rgba(255,255,255,.15); color: #fff; }
.roulette-special-btn.selected { background: var(--gold-500); color: var(--neutral-900); border-color: var(--gold-500); }
.roulette-result-num {
  width: 60px; height: 60px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; font-weight: 700; color: #fff;
  margin: 0 auto var(--sp-3);
  box-shadow: 0 4px 16px rgba(0,0,0,.3);
}
.roulette-result-num.red-bg { background: var(--red-500); }
.roulette-result-num.black-bg { background: var(--neutral-800); }
.roulette-result-num.green-bg { background: var(--green-500); }

/* ============================================================
   ANIMATIONS & UTILITIES
   ============================================================ */
.fade-up { animation: fade-up .6s var(--ease) both; }
@keyframes fade-up { from{opacity:0;transform:translateY(24px)} to{opacity:1;transform:none} }
.delay-1 { animation-delay: .1s; }
.delay-2 { animation-delay: .2s; }
.delay-3 { animation-delay: .3s; }
.delay-4 { animation-delay: .4s; }
.delay-5 { animation-delay: .5s; }
.text-center { text-align: center; }
.mt-4 { margin-top: var(--sp-4); }
.mt-6 { margin-top: var(--sp-6); }
.mb-4 { margin-bottom: var(--sp-4); }
.hidden { display: none !important; }
.tag {
  display: inline-block; padding: var(--sp-1) var(--sp-3);
  border-radius: var(--r-full); font-size: .75rem; font-weight: 700;
  letter-spacing: .05em; text-transform: uppercase;
}
.tag-red { background: var(--red-50); color: var(--red-600); }
.tag-green { background: var(--green-50); color: var(--green-600); }
.tag-gold { background: var(--gold-50); color: var(--gold-700); }

/* Coin sparkle animation */
@keyframes coin-sparkle {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.3); }
  100% { transform: scale(1); }
}
.sparkle { animation: coin-sparkle .3s var(--ease); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .games-grid, .features-grid, .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .hero-content { padding: calc(var(--sp-10) + 30px) 0 var(--sp-7); }
  .hero .container { display: block; }
  .hero-visual { display: none; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .games-grid, .features-grid, .testimonials-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .help-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .slots-reels { gap: var(--sp-3); }
  .reel-wrapper { width: 90px; }
  .game-area { padding: var(--sp-5); }
  .cookie-banner { flex-direction: column; align-items: flex-start; gap: var(--sp-3); }
  .cookie-actions { width: 100%; }
  .cookie-actions .btn { flex: 1; justify-content: center; }
}

@media (max-width: 480px) {
  .hero-card-stack { display: none; }
  .roulette-numbers { grid-template-columns: repeat(4, 1fr); }
  .roulette-wheel { width: 180px; height: 180px; }
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }
