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

:root {
  --primary: #c8102e;
  --primary-dark: #9e0b23;
  --primary-light: #e63350;
  --secondary: #003087;
  --secondary-dark: #001f5c;
  --secondary-light: #1a4aad;
  --accent: #d4af37;
  --accent-dark: #b8960c;
  --accent-light: #f0d060;
  --success: #1a8a4a;
  --success-light: #d4f0e0;
  --warning: #e07b00;
  --warning-light: #fff0d4;
  --error: #c8102e;
  --error-light: #fde8ec;
  --neutral-50: #f8f9fa;
  --neutral-100: #f1f3f5;
  --neutral-200: #e9ecef;
  --neutral-300: #dee2e6;
  --neutral-400: #ced4da;
  --neutral-500: #adb5bd;
  --neutral-600: #6c757d;
  --neutral-700: #495057;
  --neutral-800: #343a40;
  --neutral-900: #212529;
  --white: #ffffff;
  --black: #0a0a0a;
  --gradient-hero: linear-gradient(135deg, #001f5c 0%, #003087 40%, #c8102e 100%);
  --gradient-card: linear-gradient(145deg, #ffffff 0%, #f1f3f5 100%);
  --gradient-accent: linear-gradient(135deg, #d4af37 0%, #f0d060 100%);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.18);
  --shadow-xl: 0 16px 60px rgba(0,0,0,0.24);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --radius-full: 9999px;
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Nunito', sans-serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s ease;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--neutral-800);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; transition: var(--transition-fast); }

img { max-width: 100%; display: block; }

button { cursor: pointer; font-family: var(--font-body); border: none; outline: none; }

/* ─── AGE MODAL ─── */
.age-modal-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,0.92);
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
}

.age-modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 460px; width: 100%;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  animation: modalIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modalIn {
  from { opacity: 0; transform: scale(0.85) translateY(20px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.age-modal-header {
  background: var(--gradient-hero);
  padding: 32px 32px 24px;
  text-align: center;
}

.age-modal-header .logo-text {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.5px;
}

.age-modal-header .logo-text span { color: var(--accent); }

.age-modal-body {
  padding: 28px 32px;
}

.age-modal-body h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--neutral-900);
  margin-bottom: 10px;
}

.age-modal-body p {
  color: var(--neutral-600);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.age-checkbox-wrap {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
  padding: 16px;
  background: var(--neutral-50);
  border-radius: var(--radius-sm);
  border: 1px solid var(--neutral-200);
}

.age-checkbox-wrap input[type="checkbox"] {
  width: 20px; height: 20px;
  accent-color: var(--primary);
  flex-shrink: 0;
  margin-top: 1px;
  cursor: pointer;
}

.age-checkbox-wrap label {
  font-size: 0.88rem;
  color: var(--neutral-700);
  line-height: 1.5;
  cursor: pointer;
}

.age-checkbox-wrap label strong { color: var(--neutral-900); }

.btn-age-confirm {
  width: 100%;
  padding: 14px;
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  transition: var(--transition);
  opacity: 0.45;
  pointer-events: none;
}

.btn-age-confirm.active {
  opacity: 1;
  pointer-events: all;
}

.btn-age-confirm.active:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(200,16,46,0.3);
}

.age-modal-footer {
  padding: 0 32px 24px;
  text-align: center;
  font-size: 0.78rem;
  color: var(--neutral-500);
  line-height: 1.5;
}

/* ─── COOKIE BANNER ─── */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 8888;
  background: var(--neutral-900);
  color: var(--white);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.25);
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.cookie-banner.visible { transform: translateY(0); }

.cookie-banner p {
  font-size: 0.85rem;
  color: var(--neutral-300);
  flex: 1;
  min-width: 200px;
}

.cookie-banner p a { color: var(--accent); text-decoration: underline; }
.cookie-banner p a:hover { color: var(--accent-light); }

.cookie-btns { display: flex; gap: 10px; flex-shrink: 0; }

.btn-cookie {
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  transition: var(--transition-fast);
}

.btn-cookie-accept {
  background: var(--accent);
  color: var(--black);
}
.btn-cookie-accept:hover { background: var(--accent-light); }

.btn-cookie-decline {
  background: transparent;
  color: var(--neutral-400);
  border: 1px solid var(--neutral-600);
}
.btn-cookie-decline:hover { color: var(--white); border-color: var(--neutral-400); }

/* ─── NAVBAR ─── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 0 24px;
  height: 68px;
  display: flex; align-items: center; justify-content: space-between;
  transition: var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(0, 30, 87, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.navbar.solid {
  background: var(--secondary-dark);
  box-shadow: 0 2px 20px rgba(0,0,0,0.2);
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.nav-logo span { color: var(--accent); }

.nav-links {
  display: flex; align-items: center; gap: 32px;
  list-style: none;
}

.nav-links a {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute; bottom: -4px; left: 0; right: 0;
  height: 2px; background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s ease;
}

.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-cta {
  padding: 8px 22px;
  background: var(--primary);
  color: var(--white) !important;
  border-radius: var(--radius-full);
  font-weight: 700 !important;
  transition: var(--transition) !important;
}
.nav-cta:hover { background: var(--primary-light) !important; transform: translateY(-1px); box-shadow: 0 4px 14px rgba(200,16,46,0.35); }
.nav-cta::after { display: none !important; }

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

.nav-hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition-fast);
}

.nav-mobile {
  display: none;
  position: fixed;
  top: 68px; left: 0; right: 0;
  background: var(--secondary-dark);
  padding: 16px 24px 24px;
  flex-direction: column; gap: 4px;
  z-index: 999;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.nav-mobile.open { display: flex; }

.nav-mobile a {
  color: rgba(255,255,255,0.85);
  padding: 10px 0;
  font-size: 0.95rem;
  font-weight: 600;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.nav-mobile a:hover { color: var(--accent); }

.nav-mobile .nav-cta {
  margin-top: 8px;
  text-align: center;
  padding: 12px;
  border-radius: var(--radius-sm);
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  text-align: center;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(200,16,46,0.3);
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 6px 24px rgba(200,16,46,0.4); }

.btn-secondary {
  background: var(--secondary);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(0,48,135,0.25);
}
.btn-secondary:hover { background: var(--secondary-dark); transform: translateY(-2px); }

.btn-accent {
  background: var(--gradient-accent);
  color: var(--black);
  box-shadow: 0 4px 16px rgba(212,175,55,0.35);
}
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(212,175,55,0.5); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.5);
}
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.1); }

.btn-lg { padding: 16px 40px; font-size: 1rem; }
.btn-sm { padding: 8px 18px; font-size: 0.82rem; }

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  background: var(--gradient-hero);
  display: flex; align-items: center;
  position: relative;
  overflow: hidden;
  padding: 100px 24px 60px;
}

.hero-bg-pattern {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(212,175,55,0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(200,16,46,0.12) 0%, transparent 40%),
    radial-gradient(circle at 60% 80%, rgba(255,255,255,0.04) 0%, transparent 40%);
}

.hero-maple-leaves {
  position: absolute; inset: 0; overflow: hidden; pointer-events: none;
}

.maple-leaf {
  position: absolute;
  width: 32px; height: 32px;
  opacity: 0.07;
  animation: floatLeaf linear infinite;
}

.maple-leaf svg { width: 100%; height: 100%; fill: var(--accent); }

@keyframes floatLeaf {
  0%   { transform: translateY(110vh) rotate(0deg); opacity: 0; }
  10%  { opacity: 0.07; }
  90%  { opacity: 0.07; }
  100% { transform: translateY(-10vh) rotate(360deg); opacity: 0; }
}

.hero-container {
  max-width: 1200px; margin: 0 auto; width: 100%;
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; gap: 60px;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px;
  background: rgba(212,175,55,0.15);
  border: 1px solid rgba(212,175,55,0.4);
  border-radius: var(--radius-full);
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-badge::before { content: ''; width: 6px; height: 6px; background: var(--accent); border-radius: 50%; }

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero h1 .highlight {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  color: rgba(255,255,255,0.75);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 480px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }

.hero-stats {
  display: flex; gap: 32px; flex-wrap: wrap;
}

.hero-stat {
  display: flex; flex-direction: column; gap: 2px;
}

.hero-stat .stat-num {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.hero-stat .stat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.6);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-visual {
  display: flex; flex-direction: column; gap: 16px;
  align-items: flex-end;
}

.hero-card {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  color: var(--white);
  width: 100%;
  animation: cardFloat 4s ease-in-out infinite;
}

.hero-card:nth-child(2) { animation-delay: -1.3s; width: 85%; }
.hero-card:nth-child(3) { animation-delay: -2.6s; width: 90%; }

@keyframes cardFloat {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-8px); }
}

.hero-card-icon { font-size: 2rem; margin-bottom: 8px; }

.hero-card h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.hero-card p { font-size: 0.82rem; color: rgba(255,255,255,0.65); }

/* ─── SECTION ─── */
.section {
  padding: 80px 24px;
}

.section-sm { padding: 56px 24px; }

.container {
  max-width: 1200px; margin: 0 auto; width: 100%;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-tag {
  display: inline-block;
  padding: 4px 16px;
  background: rgba(200,16,46,0.08);
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 14px;
}

.section-tag.gold {
  background: rgba(212,175,55,0.12);
  color: var(--accent-dark);
}

.section-tag.blue {
  background: rgba(0,48,135,0.08);
  color: var(--secondary);
}

.section-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--neutral-900);
  line-height: 1.2;
  margin-bottom: 14px;
}

.section-header p {
  color: var(--neutral-600);
  font-size: 1rem;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ─── GAMES ─── */
.games-section { background: var(--neutral-50); }

.games-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.game-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
}

.game-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.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;
}

.game-card-thumb .thumb-icon {
  position: relative; z-index: 1;
  font-size: 5rem;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.3));
}

.game-card-badge {
  position: absolute;
  top: 12px; right: 12px; z-index: 2;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.badge-hot { background: var(--primary); color: var(--white); }
.badge-new { background: var(--success); color: var(--white); }
.badge-top { background: var(--accent); color: var(--black); }

.game-card-body { padding: 20px; }

.game-card-body h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 6px;
  color: var(--neutral-900);
}

.game-card-body p {
  font-size: 0.85rem;
  color: var(--neutral-600);
  line-height: 1.5;
  margin-bottom: 16px;
}

.game-card-meta {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px;
}

.game-rating {
  display: flex; align-items: center; gap: 4px;
  font-size: 0.82rem;
  color: var(--neutral-600);
}

.game-rating .stars { color: var(--accent); font-size: 0.9rem; }

.game-players {
  font-size: 0.78rem;
  color: var(--neutral-500);
  font-weight: 600;
}

.btn-play {
  width: 100%;
  padding: 10px;
  background: var(--secondary);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.5px;
  transition: var(--transition);
  display: block;
  text-align: center;
}
.btn-play:hover { background: var(--primary); transform: translateY(-1px); }

/* ─── FEATURES ─── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--neutral-200);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--neutral-300);
}

.feature-icon {
  width: 56px; height: 56px;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
}

.fi-red { background: rgba(200,16,46,0.1); }
.fi-blue { background: rgba(0,48,135,0.1); }
.fi-gold { background: rgba(212,175,55,0.15); }
.fi-green { background: rgba(26,138,74,0.1); }
.fi-slate { background: var(--neutral-100); }
.fi-teal { background: rgba(0,128,128,0.1); }

.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--neutral-900);
}

.feature-card p {
  font-size: 0.88rem;
  color: var(--neutral-600);
  line-height: 1.6;
}

/* ─── HOW IT WORKS / STEPS ─── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 32px; left: 10%; right: 10%;
  height: 2px;
  background: linear-gradient(to right, var(--primary), var(--secondary));
  opacity: 0.25;
}

.step-card {
  text-align: center;
  padding: 24px 16px;
  position: relative; z-index: 1;
}

.step-num {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--gradient-hero);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 4px 20px rgba(0,48,135,0.3);
}

.step-card h3 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--neutral-900);
  margin-bottom: 8px;
}

.step-card p {
  font-size: 0.85rem;
  color: var(--neutral-600);
  line-height: 1.6;
}

/* ─── CTA BANNER ─── */
.cta-banner {
  background: var(--gradient-hero);
  padding: 72px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(212,175,55,0.1) 0%, transparent 70%);
}

.cta-banner .container { position: relative; z-index: 1; }

.cta-banner h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 14px;
}

.cta-banner p {
  color: rgba(255,255,255,0.75);
  font-size: 1rem;
  margin-bottom: 32px;
  max-width: 480px;
  margin-left: auto; margin-right: auto;
}

.cta-banner .btn-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ─── FOOTER ─── */
.footer {
  background: var(--neutral-900);
  color: var(--neutral-300);
  padding: 60px 24px 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .logo-text {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 14px;
  display: block;
}

.footer-brand .logo-text span { color: var(--accent); }

.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--neutral-500);
  margin-bottom: 20px;
}

.footer-social { display: flex; gap: 10px; }

.social-icon {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  transition: var(--transition-fast);
  border: 1px solid rgba(255,255,255,0.1);
}
.social-icon:hover { background: var(--primary); border-color: var(--primary); }

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 20px;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }

.footer-col ul a {
  font-size: 0.87rem;
  color: var(--neutral-500);
  transition: var(--transition-fast);
}

.footer-col ul a:hover { color: var(--accent); padding-left: 4px; }

.footer-disclaimer {
  margin: 40px 0 0;
  padding: 24px 28px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--primary);
}

.footer-disclaimer p {
  font-size: 0.8rem;
  color: var(--neutral-500);
  line-height: 1.7;
  margin-bottom: 10px;
}
.footer-disclaimer p:last-child { margin-bottom: 0; }

.footer-disclaimer strong { color: var(--neutral-300); }

.footer-disclaimer a {
  color: var(--accent);
  text-decoration: underline;
}
.footer-disclaimer a:hover { color: var(--accent-light); }

.footer-bottom {
  padding: 20px 0;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
  margin-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-bottom p { font-size: 0.82rem; color: var(--neutral-600); }

.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { font-size: 0.82rem; color: var(--neutral-600); }
.footer-bottom-links a:hover { color: var(--neutral-400); }

/* ─── INNER PAGE LAYOUT ─── */
.page-hero {
  background: var(--gradient-hero);
  padding: 120px 24px 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(212,175,55,0.08) 0%, transparent 60%);
}

.page-hero .container { position: relative; z-index: 1; }

.page-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
}

.page-hero p {
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
  max-width: 520px;
  margin: 0 auto;
}

.page-content {
  padding: 72px 24px;
}

.page-content .container {
  max-width: 860px;
}

.page-content h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--neutral-900);
  margin: 40px 0 14px;
}

.page-content h2:first-child { margin-top: 0; }

.page-content p {
  color: var(--neutral-700);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

.page-content ul, .page-content ol {
  padding-left: 24px;
  margin-bottom: 16px;
}

.page-content li {
  color: var(--neutral-700);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 6px;
}

.page-content strong { color: var(--neutral-900); }

.info-box {
  padding: 20px 24px;
  border-radius: var(--radius-md);
  margin: 24px 0;
  border-left: 4px solid;
}

.info-box.blue { background: rgba(0,48,135,0.06); border-color: var(--secondary); }
.info-box.red { background: rgba(200,16,46,0.06); border-color: var(--primary); }
.info-box.gold { background: rgba(212,175,55,0.1); border-color: var(--accent-dark); }
.info-box.green { background: rgba(26,138,74,0.06); border-color: var(--success); }

.info-box p { margin-bottom: 0; }

/* ─── FAQ ACCORDION ─── */
.faq-list { display: flex; flex-direction: column; gap: 12px; }

.faq-item {
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 18px 20px;
  background: var(--white);
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--neutral-900);
  text-align: left;
  transition: var(--transition-fast);
}

.faq-question:hover { background: var(--neutral-50); }
.faq-question.open { background: var(--secondary); color: var(--white); }

.faq-chevron {
  font-size: 0.7rem;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-question.open .faq-chevron { transform: rotate(180deg); }

.faq-answer {
  display: none;
  padding: 16px 20px;
  font-size: 0.9rem;
  color: var(--neutral-700);
  line-height: 1.7;
  background: var(--neutral-50);
  border-top: 1px solid var(--neutral-200);
}

.faq-answer.open { display: block; }

/* ─── COMMUNITY PAGE ─── */
.community-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.community-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--neutral-200);
  transition: var(--transition);
  background: var(--white);
}

.community-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.community-card h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--neutral-900);
  margin-bottom: 8px;
}

.community-card p { font-size: 0.87rem; color: var(--neutral-600); line-height: 1.6; }

.community-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 6px;
}

/* ─── GAME PAGE ─── */
.game-page { background: var(--neutral-900); min-height: 100vh; padding-top: 68px; }

.game-header {
  background: var(--secondary-dark);
  padding: 16px 24px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.game-header .game-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white);
}

.game-coins {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 20px;
  background: rgba(212,175,55,0.15);
  border-radius: var(--radius-full);
  border: 1px solid rgba(212,175,55,0.3);
}

.game-coins .coin-icon { font-size: 1.1rem; }

.game-coins .coin-val {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  color: var(--accent);
}

.game-coins .coin-label {
  font-size: 0.75rem;
  color: var(--neutral-400);
  font-weight: 600;
}

.game-main {
  display: flex; gap: 0;
}

.game-canvas-area {
  flex: 1;
  padding: 32px;
  display: flex; flex-direction: column; align-items: center;
}

.game-sidebar {
  width: 280px;
  background: var(--secondary-dark);
  border-left: 1px solid rgba(255,255,255,0.06);
  padding: 24px;
  display: flex; flex-direction: column; gap: 16px;
}

.sidebar-block {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  padding: 16px;
}

.sidebar-block h4 {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--neutral-400);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

/* ─── SLOT MACHINE ─── */
.slot-machine {
  background: linear-gradient(145deg, #1a0a2e, #2d1254);
  border-radius: var(--radius-xl);
  padding: 32px;
  width: 100%;
  max-width: 520px;
  box-shadow: 0 0 60px rgba(212,175,55,0.15), inset 0 0 40px rgba(0,0,0,0.4);
  border: 2px solid rgba(212,175,55,0.2);
}

.slot-title {
  text-align: center;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 2px;
  margin-bottom: 24px;
  text-shadow: 0 0 20px rgba(212,175,55,0.5);
}

.slot-reels {
  display: flex; gap: 12px;
  background: rgba(0,0,0,0.5);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 20px;
  border: 1px solid rgba(212,175,55,0.15);
}

.slot-reel {
  flex: 1;
  height: 100px;
  overflow: hidden;
  background: rgba(0,0,0,0.4);
  border-radius: var(--radius-sm);
  border: 2px solid rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  position: relative;
}

.reel-inner {
  display: flex; flex-direction: column;
  transition: transform 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.reel-symbol {
  height: 100px;
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
  line-height: 1;
}

.slot-win-line {
  position: absolute; top: 50%; left: -2px; right: -2px;
  height: 2px; background: var(--accent);
  opacity: 0; transition: opacity 0.3s;
}

.slot-reel.winner .slot-win-line { opacity: 1; }

.slot-result {
  text-align: center;
  min-height: 32px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 16px;
  letter-spacing: 0.5px;
  transition: var(--transition);
}

.slot-bet-row {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px; gap: 12px;
}

.bet-control {
  display: flex; align-items: center; gap: 8px;
  background: rgba(0,0,0,0.3);
  border-radius: var(--radius-sm);
  padding: 4px;
  border: 1px solid rgba(255,255,255,0.1);
}

.bet-control label {
  font-size: 0.75rem; font-weight: 700;
  color: var(--neutral-400);
  text-transform: uppercase; letter-spacing: 0.8px;
  padding-left: 8px;
}

.bet-btn {
  width: 28px; height: 28px;
  background: rgba(255,255,255,0.1);
  color: var(--white);
  border-radius: 4px;
  font-size: 1rem; font-weight: 700;
  line-height: 1;
  transition: var(--transition-fast);
}
.bet-btn:hover { background: var(--primary); }

.bet-val {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--accent);
  min-width: 36px; text-align: center;
}

.btn-spin {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #d4af37, #f0d060);
  color: var(--black);
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  box-shadow: 0 4px 20px rgba(212,175,55,0.4);
  transition: var(--transition);
}
.btn-spin:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(212,175,55,0.6); }
.btn-spin:disabled { opacity: 0.5; cursor: not-allowed; }

/* ─── BLACKJACK ─── */
.bj-table {
  background: radial-gradient(ellipse at center, #1a5c2a 0%, #0d3d1a 60%, #071f0e 100%);
  border-radius: var(--radius-xl);
  padding: 32px;
  width: 100%;
  max-width: 640px;
  border: 8px solid #6b4226;
  box-shadow: 0 0 40px rgba(0,0,0,0.6), inset 0 0 60px rgba(0,0,0,0.3);
  position: relative;
}

.bj-table::before {
  content: '';
  position: absolute; top: 16px; left: 16px; right: 16px; bottom: 16px;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: calc(var(--radius-xl) - 8px);
  pointer-events: none;
}

.bj-section-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.bj-cards {
  display: flex; gap: 10px; flex-wrap: wrap;
  margin-bottom: 4px;
  min-height: 100px;
  align-items: flex-start;
}

.bj-score {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  margin-bottom: 20px;
}

.playing-card {
  width: 68px; height: 98px;
  background: var(--white);
  border-radius: 8px;
  display: flex; flex-direction: column;
  padding: 5px;
  font-family: 'Georgia', serif;
  box-shadow: 2px 2px 8px rgba(0,0,0,0.4);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.playing-card:hover { transform: translateY(-4px); }

.card-corner {
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.1;
}
.card-suit-center {
  font-size: 2rem;
  text-align: center;
  flex: 1;
  display: flex; align-items: center; justify-content: center;
}

.card-red { color: #cc0000; }
.card-black { color: #111; }

.card-face-down {
  background: linear-gradient(135deg, #003087, #c8102e);
  background-size: 12px 12px;
}

.bj-divider {
  border: none;
  height: 1px;
  background: rgba(255,255,255,0.08);
  margin: 16px 0;
}

.bj-bet-row {
  display: flex; gap: 10px; align-items: center; margin-bottom: 16px; flex-wrap: wrap;
}

.bj-chip {
  width: 44px; height: 44px;
  border-radius: 50%;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 800;
  border: 3px dashed rgba(255,255,255,0.4);
  transition: var(--transition-fast);
  color: var(--white);
}
.bj-chip:hover { transform: scale(1.1); }
.chip-5  { background: #1a5c2a; }
.chip-10 { background: #003087; }
.chip-25 { background: #c8102e; }
.chip-50 { background: #8b5e0a; }

.bj-bet-display {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent);
  padding: 8px 16px;
  background: rgba(0,0,0,0.3);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(212,175,55,0.2);
  margin-left: auto;
}

.bj-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.bj-btn {
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  transition: var(--transition-fast);
  letter-spacing: 0.5px;
}
.bj-btn:disabled { opacity: 0.35; cursor: not-allowed; }

.bj-deal  { background: var(--accent); color: var(--black); }
.bj-deal:hover:not(:disabled)  { background: var(--accent-light); }
.bj-hit   { background: var(--success); }
.bj-hit:hover:not(:disabled)   { background: #1d9e54; }
.bj-stand { background: var(--primary); }
.bj-stand:hover:not(:disabled) { background: var(--primary-dark); }
.bj-double { background: var(--secondary); }
.bj-double:hover:not(:disabled) { background: var(--secondary-light); }

.bj-message {
  text-align: center;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  padding: 12px;
  border-radius: var(--radius-sm);
  margin-top: 16px;
  transition: var(--transition);
  min-height: 46px;
  display: flex; align-items: center; justify-content: center;
}
.bj-message.win  { background: rgba(26,138,74,0.25); color: #4ddb8a; border: 1px solid rgba(26,138,74,0.3); }
.bj-message.lose { background: rgba(200,16,46,0.2); color: #ff6685; border: 1px solid rgba(200,16,46,0.3); }
.bj-message.push { background: rgba(212,175,55,0.15); color: var(--accent); border: 1px solid rgba(212,175,55,0.3); }
.bj-message.info { background: rgba(255,255,255,0.05); color: rgba(255,255,255,0.6); border: 1px solid rgba(255,255,255,0.08); }

/* ─── ROULETTE ─── */
.roulette-area {
  display: flex; flex-direction: column; align-items: center; gap: 24px;
  width: 100%; max-width: 680px;
}

.roulette-wheel-wrap {
  position: relative; width: 260px; height: 260px;
}

.roulette-wheel {
  width: 260px; height: 260px;
  border-radius: 50%;
  position: relative;
  transition: transform 4s cubic-bezier(0.17, 0.67, 0.14, 1.01);
  border: 8px solid #6b4226;
  box-shadow: 0 0 40px rgba(0,0,0,0.6), inset 0 0 20px rgba(0,0,0,0.3);
}

.roulette-wheel canvas { border-radius: 50%; }

.roulette-ball {
  position: absolute;
  width: 14px; height: 14px;
  background: radial-gradient(circle at 35% 35%, #fff, #ccc);
  border-radius: 50%;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 2px 6px rgba(0,0,0,0.5);
  transition: all 0.3s ease;
  z-index: 5;
}

.roulette-pointer {
  position: absolute;
  top: -18px; left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 20px solid var(--accent);
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.4));
  z-index: 10;
}

.roulette-number-display {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  background: rgba(0,0,0,0.5);
  border-radius: var(--radius-md);
  padding: 12px 32px;
  border: 1px solid rgba(255,255,255,0.1);
  min-width: 120px; text-align: center;
}

.roulette-betting-table {
  width: 100%;
  background: rgba(0,0,0,0.3);
  border-radius: var(--radius-md);
  padding: 16px;
  border: 1px solid rgba(255,255,255,0.08);
}

.roulette-bet-type-row {
  display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px;
}

.rbet-btn {
  flex: 1;
  min-width: 80px;
  padding: 10px 8px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--white);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  transition: var(--transition-fast);
  text-align: center;
}
.rbet-btn:hover { background: rgba(255,255,255,0.15); }
.rbet-btn.selected { background: var(--accent); color: var(--black); border-color: var(--accent); }

.roulette-controls {
  display: flex; gap: 10px; align-items: center; flex-wrap: wrap;
}

.btn-roulette-spin {
  flex: 1;
  padding: 12px;
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  transition: var(--transition);
  min-width: 120px;
}
.btn-roulette-spin:hover:not(:disabled) { background: var(--primary-dark); transform: translateY(-1px); }
.btn-roulette-spin:disabled { opacity: 0.4; cursor: not-allowed; }

.roulette-result {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  text-align: center;
  min-height: 42px;
  display: flex; align-items: center; justify-content: center;
  width: 100%;
}
.roulette-result.win  { background: rgba(26,138,74,0.2); color: #4ddb8a; }
.roulette-result.lose { background: rgba(200,16,46,0.2); color: #ff6685; }
.roulette-result.idle { background: rgba(255,255,255,0.04); color: rgba(255,255,255,0.5); }

/* ─── HISTORY LIST ─── */
.history-list {
  display: flex; flex-direction: column; gap: 8px;
  max-height: 220px; overflow-y: auto;
}

.history-item {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.78rem;
  padding: 6px 8px;
  border-radius: 4px;
  background: rgba(0,0,0,0.2);
}

.history-item .h-game { color: var(--neutral-400); }
.history-item .h-result { font-weight: 700; }
.history-item .h-result.win  { color: #4ddb8a; }
.history-item .h-result.lose { color: #ff6685; }
.history-item .h-result.push { color: var(--accent); }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .hero-container { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { display: none; }
  .games-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid::before { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .game-main { flex-direction: column; }
  .game-sidebar { width: 100%; border-left: none; border-top: 1px solid rgba(255,255,255,0.06); }
  .community-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .games-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .community-grid { grid-template-columns: 1fr; }
  .roulette-wheel-wrap { width: 200px; height: 200px; }
  .roulette-wheel { width: 200px; height: 200px; }
  .bj-table { padding: 20px 16px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.9rem; }
  .section { padding: 56px 16px; }
  .hero-actions { flex-direction: column; }
  .steps-grid { grid-template-columns: 1fr; }
  .slot-machine { padding: 20px 16px; }
}

/* ─── UTILITIES ─── */
.hidden { display: none !important; }
.text-center { text-align: center; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }

/* scroll bar for history */
.history-list::-webkit-scrollbar { width: 4px; }
.history-list::-webkit-scrollbar-track { background: rgba(255,255,255,0.04); }
.history-list::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 2px; }

/* pulse animation for win */
@keyframes pulse-win {
  0%   { box-shadow: 0 0 0 0 rgba(77, 219, 138, 0.4); }
  70%  { box-shadow: 0 0 0 12px rgba(77, 219, 138, 0); }
  100% { box-shadow: 0 0 0 0 rgba(77, 219, 138, 0); }
}
.pulse-win { animation: pulse-win 0.8s ease; }

/* coin animation */
@keyframes coinPop {
  0%   { transform: translateY(0) scale(1); opacity: 1; }
  100% { transform: translateY(-40px) scale(1.5); opacity: 0; }
}
.coin-pop { animation: coinPop 0.6s ease forwards; }
