/* ============================================
   Canada Game World - Main Stylesheet
   ============================================ */

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

/* ---- CSS Variables ---- */
:root {
  --red: #C8102E;
  --red-dark: #9B0E24;
  --red-light: #E63950;
  --white: #FFFFFF;
  --off-white: #F8F5F0;
  --gold: #C9963A;
  --gold-light: #E8B84B;
  --gold-pale: #FDF3DC;
  --navy: #0D1B2A;
  --navy-mid: #162235;
  --navy-light: #1E2F45;
  --slate: #2C3E55;
  --muted: #8A9BB0;
  --muted-light: #B8C5D3;
  --success: #2ECC71;
  --warning: #F39C12;
  --error: #E74C3C;
  --border: rgba(255,255,255,0.08);
  --border-light: rgba(255,255,255,0.15);

  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;

  --shadow-sm: 0 2px 8px rgba(0,0,0,0.2);
  --shadow: 0 8px 32px rgba(0,0,0,0.3);
  --shadow-lg: 0 24px 64px rgba(0,0,0,0.4);
  --shadow-gold: 0 0 24px rgba(201,150,58,0.3);
  --shadow-red: 0 0 24px rgba(200,16,46,0.4);

  --transition: 0.25s ease;
  --transition-slow: 0.45s ease;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--navy);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }
h1, h2, h3, h4, h5 { line-height: 1.2; }

/* ---- Age Verification Modal ---- */
#age-modal-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,0.95);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
#age-modal-overlay.hidden { display: none; }
.age-modal {
  background: var(--navy-mid);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  max-width: 480px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.age-modal .logo-badge {
  width: 72px; height: 72px;
  background: var(--red);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
  font-size: 32px;
  box-shadow: var(--shadow-red);
}
.age-modal h2 { font-size: 1.75rem; font-weight: 800; margin-bottom: 8px; }
.age-modal p { color: var(--muted-light); font-size: 0.95rem; margin-bottom: 28px; }
.age-modal .checkbox-row {
  display: flex; align-items: flex-start; gap: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 20px;
  text-align: left;
  cursor: pointer;
  transition: border-color var(--transition);
}
.age-modal .checkbox-row:hover { border-color: var(--gold); }
.age-modal .checkbox-row input[type="checkbox"] {
  width: 20px; height: 20px; flex-shrink: 0;
  accent-color: var(--gold);
  margin-top: 2px;
  cursor: pointer;
}
.age-modal .checkbox-row span { font-size: 0.875rem; color: var(--muted-light); }
.age-modal .checkbox-row span strong { color: var(--white); }
.age-modal .btn-confirm {
  width: 100%;
  background: var(--red);
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  padding: 16px;
  border-radius: var(--radius);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.age-modal .btn-confirm:disabled {
  background: var(--slate);
  color: var(--muted);
  cursor: not-allowed;
  box-shadow: none;
}
.age-modal .btn-confirm:not(:disabled):hover {
  background: var(--red-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-red);
}
.age-modal .disclaimer-note {
  margin-top: 16px;
  font-size: 0.75rem;
  color: var(--muted);
}

/* ---- Cookie Consent ---- */
#cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 9000;
  background: var(--navy-mid);
  border-top: 1px solid var(--border-light);
  padding: 20px 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  flex-wrap: wrap;
  transform: translateY(100%);
  transition: transform var(--transition-slow);
}
#cookie-banner.visible { transform: translateY(0); }
#cookie-banner.hidden { display: none; }
#cookie-banner p { font-size: 0.875rem; color: var(--muted-light); flex: 1; min-width: 240px; }
#cookie-banner p a { color: var(--gold); text-decoration: underline; }
.cookie-buttons { display: flex; gap: 12px; }
.btn-cookie-accept {
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.875rem;
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}
.btn-cookie-accept:hover { background: var(--gold-light); }
.btn-cookie-decline {
  background: transparent;
  border: 1px solid var(--border-light);
  color: var(--muted-light);
  font-size: 0.875rem;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  transition: border-color var(--transition), color var(--transition);
}
.btn-cookie-decline:hover { border-color: var(--white); color: var(--white); }

/* ---- Navigation ---- */
#main-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 0 32px;
  height: 70px;
  display: flex; align-items: center; justify-content: space-between;
  transition: background var(--transition), box-shadow var(--transition);
}
#main-nav.scrolled {
  background: rgba(13,27,42,0.97);
  box-shadow: 0 2px 24px rgba(0,0,0,0.5);
  backdrop-filter: blur(12px);
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.5px;
}
.nav-logo .logo-leaf {
  width: 36px; height: 36px;
  background: var(--red);
  border-radius: 50% 0 50% 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  transform: rotate(-10deg);
  box-shadow: var(--shadow-red);
}
.nav-logo span { color: var(--gold); }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted-light);
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute; bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform var(--transition);
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta {
  background: var(--red);
  color: var(--white) !important;
  padding: 8px 20px;
  border-radius: var(--radius-sm);
  font-weight: 700 !important;
  transition: background var(--transition), transform var(--transition) !important;
}
.nav-cta:hover { background: var(--red-light) !important; transform: translateY(-2px) !important; }
.nav-cta::after { display: none !important; }
.nav-coins {
  display: flex; align-items: center; gap: 6px;
  background: rgba(201,150,58,0.12);
  border: 1px solid rgba(201,150,58,0.3);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gold);
}
.nav-hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav-mobile { display: none; }

/* ---- Hero Section ---- */
.hero {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 100px 32px 60px;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(200,16,46,0.15) 0%, transparent 70%),
    radial-gradient(ellipse 50% 80% at 80% 50%, rgba(201,150,58,0.08) 0%, transparent 60%),
    var(--navy);
}
.hero-particles {
  position: absolute; inset: 0;
  pointer-events: none;
}
.particle {
  position: absolute;
  width: 4px; height: 4px;
  background: var(--gold);
  border-radius: 50%;
  opacity: 0;
  animation: particleFloat linear infinite;
}
@keyframes particleFloat {
  0% { opacity: 0; transform: translateY(100vh) scale(0); }
  10% { opacity: 0.6; }
  90% { opacity: 0.3; }
  100% { opacity: 0; transform: translateY(-20vh) scale(1.5); }
}
.hero-content {
  position: relative; z-index: 1;
  text-align: center;
  max-width: 800px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(201,150,58,0.12);
  border: 1px solid rgba(201,150,58,0.3);
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.hero-badge .dot {
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse 2s ease infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}
.hero h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.hero h1 .red { color: var(--red); }
.hero h1 .gold { color: var(--gold); }
.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--muted-light);
  max-width: 560px;
  margin: 0 auto 40px;
}
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-primary {
  background: var(--red);
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: var(--radius);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: var(--shadow-red);
}
.btn-primary:hover {
  background: var(--red-light);
  transform: translateY(-3px);
  box-shadow: 0 0 32px rgba(200,16,46,0.5);
}
.btn-outline {
  background: transparent;
  border: 2px solid var(--border-light);
  color: var(--white);
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: var(--radius);
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
}
.btn-outline:hover {
  border-color: var(--gold);
  background: rgba(201,150,58,0.08);
  transform: translateY(-3px);
}
.hero-stats {
  display: flex; gap: 40px; justify-content: center; flex-wrap: wrap;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}
.stat-item { text-align: center; }
.stat-item .num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}
.stat-item .label { font-size: 0.8rem; color: var(--muted); margin-top: 4px; text-transform: uppercase; letter-spacing: 0.05em; }

/* ---- Section Layout ---- */
.section { padding: 96px 32px; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.section-heading {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 16px;
}
.section-sub {
  color: var(--muted-light);
  font-size: 1.05rem;
  max-width: 560px;
  line-height: 1.7;
}
.text-center { text-align: center; }
.text-center .section-sub { margin: 0 auto; }

/* ---- Games Section ---- */
.games-section { background: var(--navy-mid); }
.games-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.game-card {
  background: var(--navy-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  cursor: pointer;
  position: relative;
}
.game-card:hover {
  transform: translateY(-8px);
  border-color: var(--gold);
  box-shadow: 0 16px 48px rgba(0,0,0,0.5), 0 0 0 1px rgba(201,150,58,0.2);
}
.game-card-thumb {
  height: 200px;
  position: relative;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.game-card-thumb .thumb-bg {
  position: absolute; inset: 0;
  transition: transform var(--transition-slow);
}
.game-card:hover .thumb-bg { transform: scale(1.05); }
.game-card-thumb .game-icon {
  position: relative; z-index: 1;
  font-size: 64px;
  filter: drop-shadow(0 4px 16px rgba(0,0,0,0.5));
  transition: transform var(--transition);
}
.game-card:hover .game-icon { transform: scale(1.1) rotate(-5deg); }
.game-tag {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  background: rgba(201,150,58,0.9);
  color: var(--navy);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 20px;
}
.game-card-body { padding: 24px; }
.game-card-body h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.game-card-body p { font-size: 0.875rem; color: var(--muted-light); line-height: 1.6; margin-bottom: 20px; }
.game-meta { display: flex; gap: 16px; margin-bottom: 20px; }
.game-meta-item { display: flex; align-items: center; gap: 6px; font-size: 0.8rem; color: var(--muted); }
.game-meta-item span { color: var(--gold); font-weight: 600; }
.btn-play {
  display: block; width: 100%;
  background: var(--red);
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 12px;
  border-radius: var(--radius-sm);
  text-align: center;
  transition: background var(--transition), transform var(--transition);
}
.btn-play:hover { background: var(--red-light); transform: scale(1.02); }

/* ---- Features Section ---- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.feature-card {
  background: var(--navy-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: border-color var(--transition), transform var(--transition);
}
.feature-card:hover { border-color: rgba(201,150,58,0.4); transform: translateY(-4px); }
.feature-icon {
  width: 56px; height: 56px;
  background: rgba(200,16,46,0.12);
  border: 1px solid rgba(200,16,46,0.2);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}
.feature-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; }
.feature-card p { font-size: 0.875rem; color: var(--muted-light); line-height: 1.7; }

/* ---- How It Works Preview ---- */
.steps-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 56px;
  position: relative;
}
.steps-row::before {
  content: '';
  position: absolute;
  top: 28px; left: calc(12.5% + 24px); right: calc(12.5% + 24px);
  height: 2px;
  background: linear-gradient(90deg, var(--red), var(--gold));
  z-index: 0;
}
.step-item {
  position: relative; z-index: 1;
  text-align: center;
}
.step-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--navy-mid);
  border: 2px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.4rem; font-weight: 800;
  color: var(--gold);
  margin: 0 auto 20px;
  box-shadow: var(--shadow-gold);
}
.step-item h4 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.step-item p { font-size: 0.85rem; color: var(--muted-light); }

/* ---- Testimonials / Community ---- */
.community-section { background: var(--navy-mid); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.testimonial-card {
  background: var(--navy-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.testimonial-card .stars { color: var(--gold); font-size: 1rem; letter-spacing: 2px; margin-bottom: 12px; }
.testimonial-card blockquote { font-size: 0.9rem; color: var(--muted-light); line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  background: var(--slate);
}
.author-name { font-size: 0.875rem; font-weight: 600; }
.author-tag { font-size: 0.75rem; color: var(--muted); }

/* ---- Footer ---- */
footer {
  background: var(--navy-mid);
  border-top: 1px solid var(--border);
  padding: 64px 32px 0;
}
.footer-top {
  max-width: 1200px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}
.footer-brand .nav-logo { margin-bottom: 16px; font-size: 1.3rem; }
.footer-brand p { font-size: 0.85rem; color: var(--muted); line-height: 1.7; max-width: 280px; }
.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 20px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 0.875rem; color: var(--muted); transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--white); }

.footer-disclaimer {
  max-width: 1200px; margin: 0 auto;
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
}
.disclaimer-box {
  background: rgba(200,16,46,0.06);
  border: 1px solid rgba(200,16,46,0.2);
  border-radius: var(--radius);
  padding: 24px;
}
.disclaimer-box h5 {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--red-light);
  margin-bottom: 10px;
}
.disclaimer-box p {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 12px;
}
.disclaimer-box p:last-child { margin-bottom: 0; }
.disclaimer-box a {
  color: var(--gold);
  text-decoration: underline;
}
.disclaimer-box a:hover { color: var(--gold-light); }

.footer-bottom {
  max-width: 1200px; margin: 0 auto;
  padding: 24px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: 0.8rem; color: var(--muted); }
.footer-bottom .age-badge {
  background: rgba(200,16,46,0.12);
  border: 1px solid rgba(200,16,46,0.3);
  border-radius: var(--radius-sm);
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--red-light);
}

/* ---- Inner Pages ---- */
.page-hero {
  padding: 140px 32px 80px;
  text-align: center;
  background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(200,16,46,0.12) 0%, transparent 70%);
}
.page-hero h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  margin-bottom: 16px;
}
.page-hero p { color: var(--muted-light); font-size: 1.1rem; max-width: 560px; margin: 0 auto; }

.page-content {
  max-width: 860px;
  margin: 0 auto;
  padding: 64px 32px;
}
.page-content h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  margin: 48px 0 16px;
  color: var(--gold);
}
.page-content h2:first-child { margin-top: 0; }
.page-content p { color: var(--muted-light); font-size: 0.95rem; line-height: 1.8; margin-bottom: 16px; }
.page-content ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 20px;
}
.page-content ul li { color: var(--muted-light); font-size: 0.95rem; line-height: 1.8; margin-bottom: 8px; }
.page-content .info-box {
  background: var(--navy-light);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  margin: 24px 0;
}
.page-content .info-box p { margin-bottom: 0; }
.page-content .warning-box {
  background: rgba(200,16,46,0.06);
  border: 1px solid rgba(200,16,46,0.2);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  margin: 24px 0;
}
.page-content .warning-box p { margin-bottom: 0; color: var(--muted-light); }

/* ---- FAQ Accordion ---- */
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px;
  background: var(--navy-light);
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
  text-align: left;
  transition: background var(--transition);
}
.faq-question:hover { background: var(--slate); }
.faq-question .chevron {
  width: 20px; height: 20px;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(45deg);
  transition: transform var(--transition);
  flex-shrink: 0;
}
.faq-item.open .faq-question .chevron { transform: rotate(-135deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding var(--transition);
  background: var(--navy-mid);
  padding: 0 24px;
}
.faq-item.open .faq-answer { max-height: 400px; padding: 20px 24px; }
.faq-answer p { color: var(--muted-light); font-size: 0.9rem; line-height: 1.7; }

/* ---- Help Center Grid ---- */
.help-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 32px;
}
.help-card {
  background: var(--navy-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: border-color var(--transition), transform var(--transition);
}
.help-card:hover { border-color: var(--gold); transform: translateY(-3px); }
.help-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.help-card p { font-size: 0.85rem; color: var(--muted-light); }

/* ---- Games Pages ---- */
.game-wrapper {
  min-height: 100vh;
  padding: 90px 24px 60px;
  display: flex; flex-direction: column; align-items: center;
}
.game-header {
  width: 100%; max-width: 900px;
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 32px;
}
.game-header h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2rem; font-weight: 800;
}
.coins-display {
  display: flex; align-items: center; gap: 8px;
  background: rgba(201,150,58,0.12);
  border: 1px solid rgba(201,150,58,0.3);
  border-radius: 24px;
  padding: 8px 18px;
  font-weight: 700;
  font-size: 1rem;
  color: var(--gold);
}
.game-area {
  width: 100%; max-width: 900px;
  background: var(--navy-mid);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}
.message-bar {
  text-align: center;
  font-size: 1.1rem;
  font-weight: 600;
  height: 36px;
  margin-bottom: 24px;
  color: var(--gold);
}
.back-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--muted);
  font-size: 0.875rem;
  transition: color var(--transition);
  margin-bottom: 24px;
}
.back-link:hover { color: var(--white); }

/* ---- Slots Game ---- */
.slots-container { text-align: center; }
.reels-row {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-bottom: 32px;
}
.reel {
  width: 110px; height: 110px;
  background: var(--navy);
  border: 2px solid var(--border-light);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 56px;
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 0 20px rgba(0,0,0,0.4);
  transition: border-color var(--transition);
}
.reel.winning { border-color: var(--gold); box-shadow: 0 0 20px rgba(201,150,58,0.4); }
.reel-inner {
  display: flex; flex-direction: column; align-items: center;
  transition: transform 0.1s linear;
}
.reel-symbol { width: 110px; height: 110px; display: flex; align-items: center; justify-content: center; }
.slots-controls { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.bet-row { display: flex; align-items: center; gap: 16px; }
.bet-row label { font-size: 0.875rem; color: var(--muted); }
.bet-input {
  background: var(--navy);
  border: 1px solid var(--border-light);
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  width: 100px;
  text-align: center;
}
.bet-input:focus { outline: none; border-color: var(--gold); }
.btn-spin {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy);
  font-weight: 800;
  font-size: 1.1rem;
  padding: 14px 48px;
  border-radius: var(--radius);
  transition: transform var(--transition), box-shadow var(--transition), opacity var(--transition);
  box-shadow: var(--shadow-gold);
}
.btn-spin:hover:not(:disabled) { transform: scale(1.05); box-shadow: 0 0 32px rgba(201,150,58,0.5); }
.btn-spin:disabled { opacity: 0.5; cursor: not-allowed; }
.paytable {
  margin-top: 32px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
  background: var(--navy);
  border-radius: var(--radius);
  padding: 16px;
}
.pay-row { text-align: center; font-size: 0.8rem; }
.pay-row .symbols { font-size: 1rem; }
.pay-row .mult { color: var(--gold); font-weight: 700; }

/* ---- Blackjack Game ---- */
.bj-table { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.bj-hand-area { width: 100%; text-align: center; }
.bj-hand-area h3 { font-size: 0.85rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 12px; }
.bj-hand-area .score {
  display: inline-block;
  background: rgba(201,150,58,0.12);
  border: 1px solid rgba(201,150,58,0.3);
  border-radius: 20px;
  padding: 2px 12px;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 12px;
}
.cards-row {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
  min-height: 100px;
}
.playing-card {
  width: 68px; height: 96px;
  background: var(--white);
  border-radius: 8px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  box-shadow: var(--shadow);
  position: relative;
  animation: dealCard 0.3s ease forwards;
}
@keyframes dealCard {
  from { opacity: 0; transform: translateY(-20px) scale(0.8); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.playing-card .card-val {
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1;
}
.playing-card .card-suit {
  font-size: 1.4rem;
  line-height: 1;
}
.playing-card.red { color: var(--red); }
.playing-card.black { color: var(--navy); }
.card-back {
  width: 68px; height: 96px;
  background: linear-gradient(135deg, var(--red-dark), var(--red));
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
}
.bj-divider { width: 100%; height: 1px; background: var(--border); }
.bj-controls { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.btn-bj {
  background: var(--navy);
  border: 2px solid var(--border-light);
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
}
.btn-bj:hover:not(:disabled) { border-color: var(--gold); background: rgba(201,150,58,0.08); transform: translateY(-2px); }
.btn-bj:disabled { opacity: 0.4; cursor: not-allowed; }
.btn-bj.primary { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.btn-bj.primary:hover:not(:disabled) { background: var(--gold-light); border-color: var(--gold-light); }
.btn-bj.danger { border-color: rgba(200,16,46,0.4); }
.btn-bj.danger:hover:not(:disabled) { border-color: var(--red); background: rgba(200,16,46,0.08); }

/* ---- Roulette Game ---- */
.roulette-layout { display: flex; gap: 32px; flex-wrap: wrap; justify-content: center; }
.roulette-left { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.roulette-wheel-wrap {
  width: 240px; height: 240px;
  position: relative;
}
.wheel-svg { width: 100%; height: 100%; }
.wheel-ball {
  position: absolute;
  width: 14px; height: 14px;
  background: var(--white);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(255,255,255,0.8);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  transition: none;
}
.btn-roulette-spin {
  background: linear-gradient(135deg, var(--red), var(--red-light));
  color: var(--white);
  font-weight: 800;
  font-size: 1rem;
  padding: 12px 36px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-red);
  transition: transform var(--transition), box-shadow var(--transition), opacity var(--transition);
}
.btn-roulette-spin:hover:not(:disabled) { transform: scale(1.05); box-shadow: 0 0 28px rgba(200,16,46,0.6); }
.btn-roulette-spin:disabled { opacity: 0.5; cursor: not-allowed; }
.roulette-right { flex: 1; min-width: 280px; }
.bet-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 16px; }
.bet-chip {
  background: var(--navy);
  border: 2px solid var(--border-light);
  color: var(--muted-light);
  font-size: 0.8rem; font-weight: 600;
  padding: 10px 8px;
  border-radius: var(--radius-sm);
  text-align: center;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition), color var(--transition);
}
.bet-chip:hover { border-color: var(--gold); color: var(--white); }
.bet-chip.selected { border-color: var(--gold); background: rgba(201,150,58,0.15); color: var(--gold); }
.number-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 3px;
  margin-bottom: 16px;
}
.num-btn {
  aspect-ratio: 1;
  border-radius: 4px;
  font-size: 0.6rem;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  display: flex; align-items: center; justify-content: center;
}
.num-btn:hover { transform: scale(1.15); border-color: var(--white); }
.num-btn.selected { border-color: var(--gold) !important; box-shadow: 0 0 8px rgba(201,150,58,0.5); }
.num-btn.red-num { background: rgba(200,16,46,0.7); color: var(--white); }
.num-btn.black-num { background: rgba(30,47,69,0.9); color: var(--white); }
.num-btn.green-num { background: rgba(46,204,113,0.7); color: var(--white); }
.outside-bets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }

/* ---- Utility ---- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }

/* ---- Animations ---- */
.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr 1fr; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .section { padding: 64px 20px; }
  .games-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .steps-row { grid-template-columns: repeat(2, 1fr); }
  .steps-row::before { display: none; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-mobile {
    display: block;
    position: fixed; top: 70px; left: 0; right: 0;
    background: rgba(13,27,42,0.98);
    backdrop-filter: blur(12px);
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-100%);
    opacity: 0;
    transition: transform var(--transition), opacity var(--transition);
    pointer-events: none;
  }
  .nav-mobile.open { transform: translateY(0); opacity: 1; pointer-events: all; }
  .nav-mobile a { display: block; padding: 12px 0; border-bottom: 1px solid var(--border); color: var(--muted-light); font-size: 1rem; }
  .roulette-layout { flex-direction: column; align-items: center; }
  .help-grid { grid-template-columns: 1fr; }
  .bet-options { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { gap: 24px; }
}
@media (max-width: 480px) {
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .game-area { padding: 24px 16px; }
  .paytable { grid-template-columns: repeat(2, 1fr); }
  .number-grid { grid-template-columns: repeat(9, 1fr); }
  .age-modal { padding: 32px 24px; }
  .hero h1 { font-size: 2.8rem; }
}
