/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #0a1628;
  --primary-light: #0d1f3c;
  --primary-mid: #112a50;
  --accent: #1a8fa0;
  --accent-light: #22b8d0;
  --accent-glow: #2de0fc;
  --frost: #e8f4f8;
  --frost-mid: #b8dce8;
  --frost-dim: #7ab8cc;
  --gold: #f0c040;
  --gold-light: #ffd966;
  --success: #2dd4a0;
  --warning: #f0a030;
  --error: #e05050;
  --neutral-100: #f0f4f8;
  --neutral-200: #d0dce8;
  --neutral-300: #a0b8cc;
  --neutral-400: #607080;
  --neutral-500: #3a4a58;
  --neutral-600: #243040;
  --text-primary: #e8f4f8;
  --text-secondary: #94b8cc;
  --text-muted: #5a7888;
  --border: rgba(26, 143, 160, 0.25);
  --border-light: rgba(45, 224, 252, 0.15);
  --card-bg: rgba(10, 22, 40, 0.8);
  --card-border: rgba(26, 143, 160, 0.3);
  --glass: rgba(13, 31, 60, 0.6);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --shadow-glow: 0 0 30px rgba(45, 224, 252, 0.15);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-hover: 0 16px 48px rgba(0, 0, 0, 0.5);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-main: 'Inter', system-ui, sans-serif;
  --font-display: 'Orbitron', 'Inter', sans-serif;
}

html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-main);
  background: var(--primary);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5 { line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2.2rem, 5vw, 4rem); font-family: var(--font-display); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
p { color: var(--text-secondary); line-height: 1.7; }
a { color: var(--accent-light); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-glow); }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--primary); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 3px; }

/* ===== BACKGROUND ===== */
.bg-stars {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(ellipse at 20% 10%, rgba(26,143,160,0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(10,80,120,0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(5,15,30,1) 0%, rgba(10,22,40,1) 100%);
}
.bg-stars::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(1px 1px at 10% 20%, rgba(200,240,255,0.6) 0%, transparent 100%),
    radial-gradient(1px 1px at 30% 60%, rgba(200,240,255,0.4) 0%, transparent 100%),
    radial-gradient(1px 1px at 50% 10%, rgba(200,240,255,0.5) 0%, transparent 100%),
    radial-gradient(1px 1px at 70% 40%, rgba(200,240,255,0.3) 0%, transparent 100%),
    radial-gradient(1px 1px at 85% 15%, rgba(200,240,255,0.6) 0%, transparent 100%),
    radial-gradient(1px 1px at 15% 80%, rgba(200,240,255,0.4) 0%, transparent 100%),
    radial-gradient(1px 1px at 60% 75%, rgba(200,240,255,0.5) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 90% 90%, rgba(200,240,255,0.7) 0%, transparent 100%),
    radial-gradient(1px 1px at 40% 35%, rgba(200,240,255,0.3) 0%, transparent 100%),
    radial-gradient(1px 1px at 75% 60%, rgba(200,240,255,0.5) 0%, transparent 100%);
  animation: twinkle 6s ease-in-out infinite alternate;
}
@keyframes twinkle {
  from { opacity: 0.6; }
  to { opacity: 1; }
}

/* ===== AURORA ===== */
.aurora {
  position: fixed; top: 0; left: 0; width: 100%; height: 300px;
  pointer-events: none; z-index: 0; overflow: hidden;
}
.aurora-band {
  position: absolute; width: 150%; height: 80px;
  border-radius: 50%;
  filter: blur(40px);
  animation: aurora-drift 12s ease-in-out infinite;
}
.aurora-band:nth-child(1) {
  background: linear-gradient(90deg, transparent, rgba(26,143,160,0.3), rgba(45,224,252,0.2), transparent);
  top: 20px; left: -25%; animation-delay: 0s;
}
.aurora-band:nth-child(2) {
  background: linear-gradient(90deg, transparent, rgba(10,100,140,0.2), rgba(26,200,160,0.15), transparent);
  top: 60px; left: -25%; animation-delay: -4s; animation-duration: 16s;
}
.aurora-band:nth-child(3) {
  background: linear-gradient(90deg, transparent, rgba(45,224,252,0.1), rgba(26,143,160,0.2), transparent);
  top: 100px; left: -25%; animation-delay: -8s; animation-duration: 20s;
}
@keyframes aurora-drift {
  0%, 100% { transform: translateX(0) scaleY(1); }
  33% { transform: translateX(10%) scaleY(1.3); }
  66% { transform: translateX(-5%) scaleY(0.8); }
}

/* ===== SNOWFLAKES ===== */
.snowflakes {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 0; overflow: hidden;
}
.snowflake {
  position: absolute; top: -20px;
  color: rgba(200,240,255,0.5);
  font-size: 12px;
  animation: snow-fall linear infinite;
  user-select: none;
}
.snowflake:nth-child(1)  { left: 5%;  animation-duration: 12s; animation-delay: 0s;   font-size: 8px; }
.snowflake:nth-child(2)  { left: 15%; animation-duration: 16s; animation-delay: -2s;  font-size: 14px; }
.snowflake:nth-child(3)  { left: 25%; animation-duration: 10s; animation-delay: -5s;  font-size: 10px; }
.snowflake:nth-child(4)  { left: 35%; animation-duration: 14s; animation-delay: -8s;  font-size: 12px; }
.snowflake:nth-child(5)  { left: 45%; animation-duration: 18s; animation-delay: -1s;  font-size: 9px; }
.snowflake:nth-child(6)  { left: 55%; animation-duration: 11s; animation-delay: -4s;  font-size: 16px; }
.snowflake:nth-child(7)  { left: 65%; animation-duration: 15s; animation-delay: -7s;  font-size: 8px; }
.snowflake:nth-child(8)  { left: 75%; animation-duration: 13s; animation-delay: -3s;  font-size: 13px; }
.snowflake:nth-child(9)  { left: 85%; animation-duration: 17s; animation-delay: -6s;  font-size: 11px; }
.snowflake:nth-child(10) { left: 92%; animation-duration: 9s;  animation-delay: -9s;  font-size: 15px; }
@keyframes snow-fall {
  0% { transform: translateY(-20px) rotate(0deg); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 0.6; }
  100% { transform: translateY(100vh) rotate(360deg); opacity: 0; }
}

/* ===== MAIN WRAPPER ===== */
.page-wrapper { position: relative; z-index: 1; }

/* ===== HEADER / NAV ===== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 0 5%;
  transition: background var(--transition), box-shadow var(--transition);
}
.site-header.scrolled {
  background: rgba(10, 22, 40, 0.95);
  backdrop-filter: blur(20px);
  box-shadow: 0 2px 30px rgba(0,0,0,0.4), 0 1px 0 var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1280px; margin: 0 auto; height: 72px;
}
.nav-logo {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
}
.nav-logo-icon {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--accent), var(--accent-glow));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 0 20px rgba(45,224,252,0.3);
}
.nav-logo span { color: var(--accent-glow); }
.nav-links {
  display: flex; align-items: center; gap: 8px;
  list-style: none;
}
.nav-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  white-space: nowrap;
}
.nav-links a:hover {
  color: var(--text-primary);
  background: rgba(26,143,160,0.15);
}
.nav-cta {
  background: linear-gradient(135deg, var(--accent), var(--accent-light)) !important;
  color: white !important;
  padding: 10px 22px !important;
  border-radius: var(--radius-md) !important;
  font-weight: 600 !important;
  box-shadow: 0 4px 16px rgba(26,143,160,0.4) !important;
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(45,224,252,0.4) !important;
  background: rgba(26,143,160,0.15) !important;
  color: var(--text-primary) !important;
}
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 6px;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--text-secondary);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding: 120px 5% 80px;
  position: relative;
}
.hero-content { max-width: 820px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(26,143,160,0.15);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 8px 20px;
  font-size: 0.85rem;
  color: var(--accent-light);
  font-weight: 500;
  margin-bottom: 28px;
  animation: fade-up 0.8s ease both;
}
.hero-badge-dot {
  width: 8px; height: 8px;
  background: var(--accent-glow);
  border-radius: 50%;
  animation: pulse-dot 2s ease infinite;
}
@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.7; }
}
.hero h1 {
  color: var(--text-primary);
  margin-bottom: 24px;
  animation: fade-up 0.8s ease 0.1s both;
}
.hero h1 .highlight {
  background: linear-gradient(135deg, var(--accent-light), var(--accent-glow));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p {
  font-size: 1.15rem;
  max-width: 600px; margin: 0 auto 40px;
  animation: fade-up 0.8s ease 0.2s both;
}
.hero-actions {
  display: flex; flex-wrap: wrap; gap: 16px;
  justify-content: center;
  animation: fade-up 0.8s ease 0.3s both;
}
.hero-stats {
  display: flex; flex-wrap: wrap; gap: 40px; justify-content: center;
  margin-top: 80px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
  animation: fade-up 0.8s ease 0.5s both;
}
.hero-stat { text-align: center; }
.hero-stat-num {
  font-family: var(--font-display);
  font-size: 2rem; font-weight: 700;
  color: var(--accent-glow);
  display: block;
}
.hero-stat-label { font-size: 0.85rem; color: var(--text-muted); }

@keyframes fade-up {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-size: 0.95rem; font-weight: 600;
  cursor: pointer; border: none;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: white;
  box-shadow: 0 4px 20px rgba(26,143,160,0.4);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(45,224,252,0.5);
  color: white;
}
.btn-secondary {
  background: rgba(26,143,160,0.12);
  color: var(--accent-light);
  border: 1px solid var(--border);
}
.btn-secondary:hover {
  background: rgba(26,143,160,0.25);
  color: var(--accent-glow);
  border-color: var(--accent);
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--primary);
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(240,192,64,0.3);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(240,192,64,0.5);
  color: var(--primary);
}
.btn-sm { padding: 10px 20px; font-size: 0.85rem; }
.btn-lg { padding: 18px 36px; font-size: 1.05rem; }
.btn-full { width: 100%; justify-content: center; }

/* ===== SECTIONS ===== */
section { padding: 100px 5%; }
.container { max-width: 1280px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 64px; }
.section-tag {
  display: inline-block;
  background: rgba(26,143,160,0.15);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 0.8rem;
  color: var(--accent-light);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.section-header h2 { margin-bottom: 16px; }
.section-header p { max-width: 560px; margin: 0 auto; }

/* ===== CARDS ===== */
.card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition);
  backdrop-filter: blur(10px);
}
.card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-hover), 0 0 40px rgba(26,143,160,0.1);
  transform: translateY(-4px);
}

/* ===== GAMES SECTION ===== */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}
.game-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  cursor: pointer;
  text-decoration: none;
}
.game-card:hover {
  border-color: var(--accent-light);
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover), 0 0 50px rgba(26,143,160,0.15);
}
.game-card-visual {
  height: 200px;
  display: flex; align-items: center; justify-content: center;
  font-size: 5rem;
  position: relative;
  overflow: hidden;
}
.game-card-visual::before {
  content: '';
  position: absolute; inset: 0;
}
.game-card.slots .game-card-visual {
  background: linear-gradient(135deg, #051020, #0a2040, #051020);
}
.game-card.slots .game-card-visual::before {
  background: radial-gradient(circle at 50% 50%, rgba(45,224,252,0.1) 0%, transparent 70%);
}
.game-card.poker .game-card-visual {
  background: linear-gradient(135deg, #021510, #043020, #021510);
}
.game-card.poker .game-card-visual::before {
  background: radial-gradient(circle at 50% 50%, rgba(45,200,150,0.1) 0%, transparent 70%);
}
.game-card.blackjack .game-card-visual {
  background: linear-gradient(135deg, #100510, #200a30, #100510);
}
.game-card.blackjack .game-card-visual::before {
  background: radial-gradient(circle at 50% 50%, rgba(200,100,255,0.08) 0%, transparent 70%);
}
.game-card-body { padding: 28px; }
.game-card-body h3 { margin-bottom: 8px; color: var(--text-primary); }
.game-card-body p { font-size: 0.9rem; margin-bottom: 20px; }
.game-card-meta {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.8rem; color: var(--text-muted);
}
.game-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(45,224,252,0.1);
  border: 1px solid rgba(45,224,252,0.2);
  border-radius: 100px;
  padding: 4px 12px;
  font-size: 0.75rem;
  color: var(--accent-light);
  font-weight: 500;
}

/* ===== FEATURES GRID ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition);
}
.feature-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}
.feature-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, rgba(26,143,160,0.2), rgba(45,224,252,0.1));
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
}
.feature-card h3 { margin-bottom: 10px; font-size: 1.1rem; }
.feature-card p { font-size: 0.9rem; }

/* ===== HOW IT WORKS ===== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  position: relative;
}
.step-card {
  text-align: center;
  padding: 40px 24px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}
.step-card:hover { border-color: var(--accent); transform: translateY(-4px); }
.step-num {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 1.2rem; font-weight: 700;
  color: white;
  margin: 0 auto 20px;
  box-shadow: 0 4px 20px rgba(26,143,160,0.4);
}
.step-card h3 { margin-bottom: 12px; font-size: 1.1rem; }
.step-card p { font-size: 0.9rem; }

/* ===== CTA BANNER ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--primary-mid), rgba(26,143,160,0.2));
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 64px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(45,224,252,0.08) 0%, transparent 60%);
  pointer-events: none;
}
.cta-banner h2 { margin-bottom: 16px; }
.cta-banner p { max-width: 520px; margin: 0 auto 36px; }

/* ===== FOOTER ===== */
.site-footer {
  background: rgba(5, 12, 24, 0.95);
  border-top: 1px solid var(--border);
  padding: 64px 5% 32px;
  position: relative; z-index: 1;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 48px;
  max-width: 1280px; margin: 0 auto 48px;
}
.footer-brand p {
  font-size: 0.9rem; margin: 16px 0 24px;
  max-width: 280px;
}
.footer-col h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 20px;
  font-weight: 600;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col ul a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: all var(--transition);
  display: flex; align-items: center; gap: 6px;
}
.footer-col ul a:hover { color: var(--accent-light); padding-left: 4px; }

.footer-disclaimer {
  max-width: 1280px; margin: 0 auto 32px;
  background: rgba(26,143,160,0.06);
  border: 1px solid rgba(26,143,160,0.2);
  border-radius: var(--radius-md);
  padding: 24px;
}
.footer-disclaimer h5 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-light);
  margin-bottom: 10px;
}
.footer-disclaimer p {
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--text-muted);
}
.footer-disclaimer a {
  color: var(--accent-light);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer-bottom {
  max-width: 1280px; margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
  font-size: 0.8rem; color: var(--text-muted);
}
.age-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(240,96,64,0.12);
  border: 1px solid rgba(240,96,64,0.3);
  border-radius: 6px;
  padding: 4px 10px;
  color: #f07050;
  font-weight: 700; font-size: 0.8rem;
}

/* ===== AGE VERIFICATION MODAL ===== */
.age-modal-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(16px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.age-modal {
  background: linear-gradient(145deg, var(--primary-light), var(--primary-mid));
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 48px;
  max-width: 480px; width: 100%;
  text-align: center;
  box-shadow: 0 24px 80px rgba(0,0,0,0.8), 0 0 60px rgba(26,143,160,0.1);
  animation: modal-in 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
@keyframes modal-in {
  from { opacity: 0; transform: scale(0.85) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.age-modal-icon {
  width: 80px; height: 80px;
  background: linear-gradient(135deg, rgba(240,96,64,0.2), rgba(240,160,48,0.15));
  border: 2px solid rgba(240,96,64,0.4);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.2rem;
  margin: 0 auto 24px;
}
.age-modal h2 { margin-bottom: 12px; font-size: 1.6rem; }
.age-modal p { font-size: 0.9rem; margin-bottom: 28px; }
.age-checkbox-label {
  display: flex; align-items: flex-start; gap: 12px;
  text-align: left;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
  cursor: pointer;
  margin-bottom: 20px;
  transition: all var(--transition);
  user-select: none;
}
.age-checkbox-label:hover {
  background: rgba(26,143,160,0.1);
  border-color: var(--accent);
}
.age-checkbox-label input[type="checkbox"] {
  width: 20px; height: 20px;
  flex-shrink: 0; margin-top: 2px;
  accent-color: var(--accent);
  cursor: pointer;
}
.age-checkbox-label span {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}
#btn-age-confirm {
  width: 100%;
  opacity: 0.4;
  pointer-events: none;
  transition: all var(--transition);
}
#btn-age-confirm.active {
  opacity: 1;
  pointer-events: all;
}
.age-modal-footer {
  margin-top: 16px;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ===== COOKIE CONSENT ===== */
.cookie-banner {
  position: fixed; bottom: 24px; left: 50%;
  transform: translateX(-50%) translateY(120px);
  z-index: 9998;
  max-width: 680px; width: calc(100% - 40px);
  background: rgba(10, 22, 40, 0.97);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  backdrop-filter: blur(20px);
  box-shadow: 0 12px 48px rgba(0,0,0,0.6);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
}
.cookie-banner.visible { transform: translateX(-50%) translateY(0); }
.cookie-banner p {
  flex: 1; font-size: 0.85rem; min-width: 200px;
  color: var(--text-secondary);
}
.cookie-banner p a { color: var(--accent-light); }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }

/* ===== INNER PAGE HERO ===== */
.inner-hero {
  padding: 140px 5% 80px;
  text-align: center;
}
.inner-hero h1 { margin-bottom: 16px; }
.inner-hero p { max-width: 600px; margin: 0 auto; font-size: 1.05rem; }

/* ===== CONTENT SECTIONS ===== */
.content-section {
  max-width: 860px; margin: 0 auto;
  padding: 0 5% 80px;
}
.content-section h2 {
  font-size: 1.5rem; margin: 40px 0 16px;
  color: var(--text-primary);
}
.content-section h3 {
  font-size: 1.15rem; margin: 28px 0 12px;
  color: var(--accent-light);
}
.content-section p { margin-bottom: 16px; font-size: 0.95rem; }
.content-section ul, .content-section ol {
  padding-left: 24px; margin-bottom: 16px;
}
.content-section li {
  color: var(--text-secondary); font-size: 0.95rem;
  margin-bottom: 8px; line-height: 1.6;
}

/* ===== GAME PAGE ===== */
.game-page {
  min-height: 100vh;
  padding: 100px 5% 60px;
}
.game-container {
  max-width: 900px; margin: 0 auto;
}
.game-header {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
  margin-bottom: 32px;
}
.game-header h1 { font-size: 2rem; }
.game-stats {
  display: flex; gap: 16px; flex-wrap: wrap;
}
.game-stat-chip {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 10px 18px;
  font-size: 0.85rem;
}
.game-stat-chip span {
  color: var(--accent-glow);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
}
.game-board {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-xl);
  padding: 40px;
  margin-bottom: 24px;
}
.game-controls {
  display: flex; gap: 12px; flex-wrap: wrap; justify-content: center;
  margin-top: 32px;
}
.game-message {
  text-align: center;
  font-size: 1.1rem;
  min-height: 32px;
  color: var(--accent-glow);
  font-weight: 600;
  margin: 16px 0;
  transition: all var(--transition);
}

/* ===== SLOTS GAME ===== */
.slots-machine {
  display: flex; flex-direction: column; align-items: center; gap: 28px;
}
.slots-reels {
  display: flex; gap: 12px;
  background: rgba(0,0,0,0.5);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: inset 0 0 40px rgba(0,0,0,0.4);
}
.reel-window {
  width: 90px; height: 120px;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: rgba(0,0,0,0.4);
  position: relative;
}
.reel-window::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, transparent 30%, transparent 70%, rgba(0,0,0,0.6) 100%);
  z-index: 2; pointer-events: none;
}
.reel-strip {
  display: flex; flex-direction: column;
  transition: transform 0.8s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.reel-symbol {
  width: 90px; height: 120px;
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
}
.slots-line {
  position: absolute; top: 50%; left: 0; right: 0;
  height: 2px;
  background: rgba(45,224,252,0.4);
  z-index: 3;
  transform: translateY(-50%);
  box-shadow: 0 0 10px rgba(45,224,252,0.6);
}
.bet-controls {
  display: flex; align-items: center; gap: 16px;
}
.bet-display {
  background: rgba(0,0,0,0.4);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 10px 20px;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--gold);
  min-width: 100px; text-align: center;
}
.win-flash {
  animation: win-flash 0.3s ease 3;
}
@keyframes win-flash {
  0%, 100% { border-color: var(--card-border); }
  50% { border-color: var(--gold); box-shadow: 0 0 30px rgba(240,192,64,0.5); }
}

/* ===== BLACKJACK GAME ===== */
.blackjack-table {
  background: radial-gradient(ellipse at 50% 40%, rgba(0,60,30,0.6) 0%, rgba(0,30,15,0.8) 100%);
  border-radius: var(--radius-xl);
  padding: 40px;
  min-height: 400px;
  display: flex; flex-direction: column; gap: 20px;
  border: 2px solid rgba(0,80,40,0.5);
}
.bj-dealer, .bj-player { text-align: center; }
.bj-label {
  font-size: 0.8rem; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--text-muted);
  margin-bottom: 12px;
}
.bj-score {
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 4px 14px;
  font-family: var(--font-display); font-weight: 700;
  font-size: 0.95rem;
  color: var(--accent-glow);
  margin-bottom: 16px;
}
.cards-row {
  display: flex; gap: 10px; justify-content: center;
  flex-wrap: wrap;
}
.playing-card {
  width: 64px; height: 88px;
  background: white;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column;
  font-size: 1.1rem; font-weight: 700;
  box-shadow: 0 4px 16px rgba(0,0,0,0.5);
  position: relative;
  transition: transform 0.3s ease;
  animation: card-deal 0.3s ease both;
}
@keyframes card-deal {
  from { transform: translateY(-40px) rotate(-10deg); opacity: 0; }
  to { transform: translateY(0) rotate(0deg); opacity: 1; }
}
.playing-card.red { color: #cc2020; }
.playing-card.black { color: #111; }
.playing-card.face-down {
  background: linear-gradient(135deg, #1a3a8a, #0a2060);
  color: transparent;
}
.playing-card.face-down::after {
  content: '?';
  color: rgba(255,255,255,0.3);
  font-size: 2rem;
}
.card-rank { font-size: 1rem; line-height: 1; }
.card-suit { font-size: 0.9rem; line-height: 1; }

/* ===== DICE GAME ===== */
.dice-area {
  display: flex; flex-direction: column; align-items: center; gap: 32px;
}
.dice-display {
  display: flex; gap: 24px; justify-content: center;
}
.die {
  width: 80px; height: 80px;
  background: white;
  border-radius: 14px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  padding: 10px;
  gap: 4px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.5);
  transition: transform 0.1s ease;
}
.die.rolling {
  animation: dice-roll 0.8s ease;
}
@keyframes dice-roll {
  0% { transform: rotate(0deg) scale(1); }
  20% { transform: rotate(90deg) scale(1.1); }
  40% { transform: rotate(180deg) scale(0.9); }
  60% { transform: rotate(270deg) scale(1.1); }
  80% { transform: rotate(320deg) scale(0.95); }
  100% { transform: rotate(360deg) scale(1); }
}
.dot {
  border-radius: 50%;
  background: #1a1a2e;
  width: 100%; height: 100%;
  display: none;
}
.dot.visible { display: block; }
.dice-result-display {
  text-align: center;
}
.dice-total {
  font-family: var(--font-display);
  font-size: 3.5rem; font-weight: 700;
  color: var(--accent-glow);
  text-shadow: 0 0 30px rgba(45,224,252,0.5);
}
.dice-predict {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
}
.predict-btn {
  padding: 10px 20px;
  background: rgba(26,143,160,0.12);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-size: 0.85rem; font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
}
.predict-btn:hover, .predict-btn.selected {
  background: rgba(26,143,160,0.3);
  border-color: var(--accent);
  color: var(--accent-glow);
}

/* ===== COMMUNITY PAGE ===== */
.community-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px; margin-bottom: 60px;
}
.community-stat-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 28px; text-align: center;
}
.community-stat-card .num {
  font-family: var(--font-display);
  font-size: 2.2rem; font-weight: 700;
  color: var(--accent-glow);
  display: block; margin-bottom: 8px;
}
.leaderboard {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.lb-header {
  padding: 20px 28px;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.lb-header h3 { font-size: 1rem; }
.lb-row {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 28px;
  border-bottom: 1px solid rgba(26,143,160,0.08);
  transition: background var(--transition);
}
.lb-row:hover { background: rgba(26,143,160,0.05); }
.lb-rank {
  width: 32px; text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text-muted);
}
.lb-rank.top1 { color: var(--gold); }
.lb-rank.top2 { color: var(--neutral-300); }
.lb-rank.top3 { color: #cd7f32; }
.lb-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--primary-mid));
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
}
.lb-name { flex: 1; font-weight: 500; font-size: 0.95rem; }
.lb-score {
  font-family: var(--font-display);
  color: var(--accent-glow); font-size: 0.9rem;
}

/* ===== FAQ ===== */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  background: none; border: none;
  padding: 20px 24px;
  text-align: left;
  cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  font-size: 0.95rem; font-weight: 500;
  color: var(--text-primary);
  transition: all var(--transition);
}
.faq-question:hover { color: var(--accent-light); }
.faq-icon {
  width: 24px; height: 24px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(26,143,160,0.15);
  border-radius: 50%;
  font-size: 0.9rem; color: var(--accent-light);
  transition: transform var(--transition);
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 24px;
}
.faq-item.open .faq-answer {
  max-height: 300px;
  padding-bottom: 20px;
}
.faq-answer p { font-size: 0.9rem; color: var(--text-secondary); }

/* ===== HELP CENTER ===== */
.help-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.help-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition);
  text-align: center;
}
.help-card:hover { border-color: var(--accent); transform: translateY(-4px); }
.help-card-icon { font-size: 2.5rem; margin-bottom: 16px; }
.help-card h3 { margin-bottom: 10px; font-size: 1rem; }
.help-card p { font-size: 0.85rem; margin-bottom: 20px; }

/* ===== RESPONSIBLE GAMING ===== */
.rg-tools {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}
.rg-tool-card {
  background: linear-gradient(135deg, rgba(26,143,160,0.1), rgba(13,31,60,0.8));
  border: 1px solid rgba(26,143,160,0.25);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all var(--transition);
}
.rg-tool-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.rg-icon { font-size: 2rem; margin-bottom: 16px; }
.rg-tool-card h3 { margin-bottom: 8px; font-size: 1rem; }
.rg-tool-card p { font-size: 0.85rem; }
.rg-resources {
  background: rgba(240,96,64,0.05);
  border: 1px solid rgba(240,96,64,0.2);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-top: 32px;
}
.rg-resources h3 {
  color: #f07050; margin-bottom: 16px; font-size: 1.1rem;
}
.rg-resources ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.rg-resources li a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  display: flex; align-items: center; gap: 8px;
  transition: all var(--transition);
}
.rg-resources li a:hover { color: var(--accent-light); padding-left: 4px; }

/* ===== ABOUT ===== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.team-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: all var(--transition);
}
.team-card:hover { border-color: var(--accent); transform: translateY(-4px); }
.team-avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--primary-mid));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; margin: 0 auto 16px;
  border: 2px solid var(--border);
}
.team-card h3 { font-size: 1rem; margin-bottom: 4px; }
.team-card .role { font-size: 0.8rem; color: var(--accent-light); }

/* ===== GUIDELINES ===== */
.guideline-section {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 20px;
}
.guideline-section h3 {
  font-size: 1.05rem; margin-bottom: 12px;
  display: flex; align-items: center; gap: 10px;
}
.rule-icon {
  width: 32px; height: 32px;
  background: linear-gradient(135deg, rgba(26,143,160,0.2), rgba(45,224,252,0.1));
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; flex-shrink: 0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
  section { padding: 72px 5%; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column; gap: 4px;
    position: fixed; top: 72px; left: 0; right: 0;
    background: rgba(10,22,40,0.98);
    backdrop-filter: blur(20px);
    padding: 20px 5%;
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open a { padding: 12px 16px; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero { padding: 100px 5% 60px; }
  .game-board { padding: 24px; }
  .blackjack-table { padding: 24px; }
  .slots-reels { gap: 8px; padding: 14px; }
  .reel-window { width: 72px; }
  .reel-symbol { width: 72px; }
  .age-modal { padding: 32px 24px; }
  .cta-banner { padding: 40px 24px; }
}
@media (max-width: 480px) {
  .hero-stats { gap: 24px; }
  .games-grid { grid-template-columns: 1fr; }
  .reel-window { width: 60px; }
  .reel-symbol { width: 60px; font-size: 2.2rem; }
  .die { width: 64px; height: 64px; }
}

/* ===== UTILITY ===== */
.text-center { text-align: center; }
.text-accent { color: var(--accent-glow); }
.text-gold { color: var(--gold); }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-32 { margin-top: 32px; }
.mb-32 { margin-bottom: 32px; }
.divider { height: 1px; background: var(--border); margin: 40px 0; }
.pill {
  display: inline-block;
  background: rgba(26,143,160,0.12);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 4px 14px;
  font-size: 0.8rem; color: var(--accent-light);
}
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ===== ANIMATIONS ===== */
.fade-in { animation: fade-up 0.6s ease both; }
.fade-in-delay-1 { animation-delay: 0.1s; }
.fade-in-delay-2 { animation-delay: 0.2s; }
.fade-in-delay-3 { animation-delay: 0.3s; }

[data-reveal] {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-reveal].revealed {
  opacity: 1; transform: translateY(0);
}

/* ===== NOTIFICATION ===== */
.notification {
  position: fixed; top: 90px; right: 24px; z-index: 9990;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  font-size: 0.9rem;
  box-shadow: var(--shadow-card);
  animation: notify-in 0.3s ease both;
  max-width: 300px;
}
.notification.success { border-color: var(--success); }
.notification.error { border-color: var(--error); }
.notification.warning { border-color: var(--warning); }
@keyframes notify-in {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}
