/* ============================
   ROYAL MIST Cluub — DESIGN SYSTEM
   Color Palette:
   --gold-100: #fdf6e3
   --gold-200: #f5e6b8
   --gold-300: #e8c97a
   --gold-400: #c8a96e  (primary gold)
   --gold-500: #a8893e
   --gold-600: #7a6428
   --teal-100: #e0f4f4
   --teal-300: #4db8b8
   --teal-400: #2a9d9d  (accent teal)
   --teal-500: #1a7a7a
   --dark-900: #0a0c0e  (deepest bg)
   --dark-800: #0f1214
   --dark-700: #151a1e
   --dark-600: #1c2428
   --dark-500: #242d33
   --dark-400: #2e3a40
   --dark-300: #3d4e56
   --gray-400: #8a9ba5
   --gray-300: #adbec8
   --gray-200: #c8d8e0
   --gray-100: #e8f0f4
   --success: #2e8b57
   --warning: #d4812a
   --error: #c0392b
============================ */

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

:root {
  --gold-100: #fdf6e3;
  --gold-200: #f5e6b8;
  --gold-300: #e8c97a;
  --gold-400: #c8a96e;
  --gold-500: #a8893e;
  --gold-600: #7a6428;
  --teal-100: #e0f4f4;
  --teal-300: #4db8b8;
  --teal-400: #2a9d9d;
  --teal-500: #1a7a7a;
  --dark-900: #0a0c0e;
  --dark-800: #0f1214;
  --dark-700: #151a1e;
  --dark-600: #1c2428;
  --dark-500: #242d33;
  --dark-400: #2e3a40;
  --dark-300: #3d4e56;
  --gray-400: #8a9ba5;
  --gray-300: #adbec8;
  --gray-200: #c8d8e0;
  --gray-100: #e8f0f4;
  --success: #2e8b57;
  --warning: #d4812a;
  --error: #c0392b;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --transition: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--dark-900);
  color: var(--gray-200);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

/* ======================== TYPOGRAPHY ======================== */
h1, h2, h3, h4, h5 {
  font-family: 'Cinzel', serif;
  line-height: 1.2;
  color: var(--gray-100);
}
a { color: var(--gold-400); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-300); }

/* ======================== BUTTONS ======================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  color: var(--dark-900);
  font-family: 'Cinzel', serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.5px;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--gold-300), var(--gold-400));
  opacity: 0;
  transition: opacity var(--transition);
}
.btn-primary:hover::before { opacity: 1; }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(200, 169, 110, 0.35); }
.btn-primary:active { transform: translateY(0); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 26px;
  background: transparent;
  color: var(--gold-400);
  font-family: 'Cinzel', serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.5px;
  border: 1.5px solid var(--gold-500);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
}
.btn-outline:hover { background: rgba(200, 169, 110, 0.08); border-color: var(--gold-400); color: var(--gold-300); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  background: rgba(255,255,255,0.05);
  color: var(--gray-200);
  font-family: 'Cinzel', serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.5px;
  border: 1.5px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); color: var(--gray-100); }

.btn-large { padding: 16px 36px; font-size: 15px; }
.btn-full { width: 100%; }
.btn-game { margin-top: 16px; width: 100%; }

/* ======================== LAYOUT ======================== */
.section-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--teal-400);
  margin-bottom: 12px;
  padding: 4px 14px;
  border: 1px solid rgba(42, 157, 157, 0.3);
  border-radius: 20px;
  background: rgba(42, 157, 157, 0.07);
}
.section-title { font-size: clamp(28px, 4vw, 40px); margin-bottom: 16px; }
.section-desc { font-size: 16px; color: var(--gray-400); max-width: 560px; margin: 0 auto; line-height: 1.7; }

/* ======================== AGE MODAL ======================== */
.age-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8, 10, 12, 0.97);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  backdrop-filter: blur(6px);
}
.age-overlay.hidden { display: none; }
.age-modal {
  background: var(--dark-700);
  border: 1px solid rgba(200, 169, 110, 0.2);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  max-width: 480px;
  width: 100%;
  text-align: center;
  box-shadow: 0 40px 80px rgba(0,0,0,0.6);
}
.age-modal-emblem { width: 80px; height: 80px; margin: 0 auto 24px; }
.age-modal-emblem svg { width: 100%; height: 100%; }
.age-modal-title { font-size: 24px; margin-bottom: 12px; color: var(--gold-300); }
.age-modal-text { font-size: 14px; color: var(--gray-400); line-height: 1.7; margin-bottom: 28px; }
.age-checkbox-wrap {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  text-align: left;
  margin-bottom: 24px;
  padding: 16px;
  background: rgba(200, 169, 110, 0.04);
  border: 1px solid rgba(200, 169, 110, 0.12);
  border-radius: var(--radius-sm);
}
.age-checkbox-wrap input { display: none; }
.age-checkbox-box {
  width: 20px;
  height: 20px;
  min-width: 20px;
  border: 1.5px solid var(--gold-500);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
  transition: all var(--transition);
  background: transparent;
}
.age-checkbox-wrap input:checked + .age-checkbox-box {
  background: var(--gold-400);
  border-color: var(--gold-400);
}
.age-checkbox-wrap input:checked + .age-checkbox-box::after {
  content: '';
  width: 5px;
  height: 9px;
  border-right: 2px solid var(--dark-900);
  border-bottom: 2px solid var(--dark-900);
  transform: rotate(45deg) translate(-1px, -1px);
  display: block;
}
.age-checkbox-label { font-size: 13px; color: var(--gray-400); line-height: 1.6; }
.age-checkbox-label a { color: var(--gold-400); }
.age-confirm-btn {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  color: var(--dark-900);
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 15px;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
  margin-bottom: 16px;
  opacity: 0.4;
  pointer-events: none;
}
.age-confirm-btn.ready { opacity: 1; pointer-events: auto; }
.age-confirm-btn.ready:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(200,169,110,0.4); }
.age-underage-link { font-size: 12px; color: var(--gray-400); }
.age-underage-link:hover { color: var(--teal-400); }

/* ======================== COOKIE BAR ======================== */
.cookie-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 8000;
  background: var(--dark-700);
  border-top: 1px solid rgba(200, 169, 110, 0.15);
  padding: 16px 24px;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.cookie-bar.visible { transform: translateY(0); }
.cookie-bar.hidden { display: none; }
.cookie-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.cookie-bar-text { font-size: 14px; color: var(--gray-400); flex: 1; min-width: 200px; }
.cookie-bar-text a { color: var(--gold-400); }
.cookie-bar-actions { display: flex; gap: 10px; }
.cookie-btn-decline {
  padding: 8px 20px;
  background: transparent;
  border: 1.5px solid var(--dark-300);
  color: var(--gray-400);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 13px;
  font-family: 'Inter', sans-serif;
  transition: all var(--transition);
}
.cookie-btn-decline:hover { border-color: var(--gray-400); color: var(--gray-200); }
.cookie-btn-accept {
  padding: 8px 20px;
  background: var(--gold-400);
  color: var(--dark-900);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  transition: all var(--transition);
}
.cookie-btn-accept:hover { background: var(--gold-300); }

/* ======================== HEADER ======================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
}
.site-header.scrolled {
  background: rgba(10, 12, 14, 0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(200, 169, 110, 0.1);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 32px;
  transition: padding var(--transition);
}
.site-header.scrolled .header-inner { padding-top: 14px; padding-bottom: 14px; }
.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-icon { width: 36px; height: 36px; }
.logo-text {
  font-family: 'Cinzel', serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--gray-100);
  letter-spacing: 0.5px;
}
.logo-accent { color: var(--gold-400); }
.main-nav { display: flex; align-items: center; gap: 4px; flex: 1; }
.nav-link {
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-300);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  position: relative;
}
.nav-link:hover, .nav-link.active { color: var(--gold-400); }
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  background: var(--gold-400);
  border-radius: 50%;
}
.header-actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.user-coins {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(200, 169, 110, 0.1);
  border: 1px solid rgba(200, 169, 110, 0.2);
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--gold-400);
}
.user-coins svg { width: 18px; height: 18px; }
.auth-buttons { display: flex; align-items: center; gap: 10px; }
.user-menu { display: flex; align-items: center; gap: 12px; }
.user-greeting { font-size: 14px; color: var(--gray-300); }
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.mobile-menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gray-300);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ======================== AUTH MODAL ======================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8, 10, 12, 0.85);
  z-index: 5000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  backdrop-filter: blur(4px);
  transition: opacity var(--transition);
}
.modal-overlay.open { opacity: 1; pointer-events: auto; }
.auth-modal {
  background: var(--dark-700);
  border: 1px solid rgba(200, 169, 110, 0.15);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 420px;
  width: 100%;
  position: relative;
  box-shadow: 0 40px 80px rgba(0,0,0,0.5);
  transform: translateY(16px);
  transition: transform var(--transition);
}
.modal-overlay.open .auth-modal { transform: translateY(0); }
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: var(--gray-400);
  cursor: pointer;
  font-size: 16px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all var(--transition);
}
.modal-close:hover { background: rgba(255,255,255,0.08); color: var(--gray-200); }
.auth-modal-logo { width: 44px; height: 44px; margin: 0 auto 20px; }
.auth-modal-logo svg { width: 100%; height: 100%; }
.auth-modal-title { font-size: 24px; text-align: center; margin-bottom: 6px; }
.auth-modal-sub { font-size: 14px; color: var(--gray-400); text-align: center; margin-bottom: 28px; }
.auth-form { display: flex; flex-direction: column; gap: 16px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label { font-size: 13px; font-weight: 500; color: var(--gray-300); }
.form-field input {
  padding: 12px 14px;
  background: var(--dark-600);
  border: 1.5px solid var(--dark-300);
  border-radius: var(--radius-sm);
  color: var(--gray-100);
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  transition: border-color var(--transition);
  outline: none;
}
.form-field input:focus { border-color: var(--gold-500); }
.form-field input::placeholder { color: var(--dark-300); }
.form-error { font-size: 13px; color: var(--error); min-height: 16px; }
.welcome-bonus-note {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  background: rgba(200, 169, 110, 0.07);
  border: 1px solid rgba(200, 169, 110, 0.2);
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--gray-300);
}
.welcome-bonus-note svg { width: 18px; height: 18px; flex-shrink: 0; }
.welcome-bonus-note strong { color: var(--gold-400); }
.auth-switch { text-align: center; font-size: 13px; color: var(--gray-400); margin-top: 16px; }
.auth-switch-btn {
  background: none;
  border: none;
  color: var(--gold-400);
  cursor: pointer;
  font-size: 13px;
  text-decoration: underline;
}
.auth-switch-btn:hover { color: var(--gold-300); }

/* ======================== HERO ======================== */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background-image: url(images/bg.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-mist {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}
.hero-mist-left {
  top: -100px;
  left: -200px;
  background: radial-gradient(circle, rgba(200, 169, 110, 0.08) 0%, transparent 70%);
  animation: mistFloat 12s ease-in-out infinite alternate;
}
.hero-mist-right {
  bottom: -100px;
  right: -200px;
  background: radial-gradient(circle, rgba(42, 157, 157, 0.07) 0%, transparent 70%);
  animation: mistFloat 15s ease-in-out infinite alternate-reverse;
}
@keyframes mistFloat {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(30px, -20px) scale(1.1); }
}
.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--gold-400);
  border-radius: 50%;
  opacity: 0;
  animation: particleRise var(--dur) ease-out var(--delay) infinite;
}
@keyframes particleRise {
  0% { opacity: 0; transform: translateY(0) scale(0); }
  20% { opacity: 0.6; transform: translateY(-20px) scale(1); }
  100% { opacity: 0; transform: translateY(-120px) scale(0.5); }
}
.hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 780px;
  padding: 120px 24px 80px;
}
.hero-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--teal-400);
  padding: 6px 18px;
  border: 1px solid rgba(42, 157, 157, 0.3);
  border-radius: 20px;
  background: rgba(42, 157, 157, 0.06);
  margin-bottom: 24px;
  animation: fadeSlideUp 0.8s ease both;
}
.hero-title {
  font-size: clamp(40px, 7vw, 76px);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 24px;
  animation: fadeSlideUp 0.8s ease 0.1s both;
}
.hero-title-accent {
  background: linear-gradient(135deg, var(--gold-300), var(--gold-500));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-description {
  font-size: clamp(16px, 2vw, 18px);
  color: var(--gray-400);
  line-height: 1.75;
  max-width: 560px;
  margin: 0 auto 36px;
  animation: fadeSlideUp 0.8s ease 0.2s both;
}
.hero-cta-group {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
  animation: fadeSlideUp 0.8s ease 0.3s both;
}
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  animation: fadeSlideUp 0.8s ease 0.4s both;
  padding: 24px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-md);
  max-width: 480px;
  margin: 0 auto;
}
.hero-stat { text-align: center; padding: 0 32px; }
.hero-stat-number {
  display: block;
  font-family: 'Cinzel', serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--gold-400);
  line-height: 1;
  margin-bottom: 4px;
}
.hero-stat-label { font-size: 12px; color: var(--gray-400); letter-spacing: 0.5px; }
.hero-stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,0.08); flex-shrink: 0; }
.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray-400);
  opacity: 0.6;
  animation: fadeSlideUp 1s ease 0.8s both;
}
.scroll-arrow {
  width: 1px;
  height: 32px;
  background: linear-gradient(to bottom, var(--gold-400), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ======================== GAMES SECTION ======================== */
.games-section { padding: 100px 0; }
.games-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.game-card {
  background: var(--dark-700);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  transition: all var(--transition);
  cursor: default;
}
.game-card:hover {
  border-color: rgba(200, 169, 110, 0.25);
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.4), 0 0 0 1px rgba(200,169,110,0.1);
}
.game-card-featured {
  border-color: rgba(200, 169, 110, 0.2);
  background: linear-gradient(160deg, var(--dark-700) 0%, rgba(200,169,110,0.04) 100%);
}
.game-card-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: radial-gradient(ellipse at 50% 0%, rgba(200,169,110,0.12) 0%, transparent 70%);
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--transition);
}
.game-card:hover .game-card-glow { opacity: 1; }
.game-card-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 4px 12px;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  color: var(--dark-900);
  font-size: 11px;
  font-weight: 700;
  font-family: 'Cinzel', serif;
  letter-spacing: 0.5px;
  border-radius: 20px;
  z-index: 2;
}
.game-card-visual {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--dark-800);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  overflow: hidden;
}

/* Poker Preview */
.game-preview-poker {
  display: flex;
  gap: -12px;
  position: relative;
}
.preview-card {
  width: 60px;
  height: 88px;
  background: var(--gray-100);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cinzel', serif;
  font-size: 20px;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(0,0,0,0.5);
  transition: transform var(--transition);
  position: relative;
}
.preview-card-1 { color: #1a1a2e; transform: rotate(-8deg) translate(-10px, 5px); }
.preview-card-2 { color: #c0392b; z-index: 2; }
.preview-card-3 { color: #c0392b; transform: rotate(8deg) translate(10px, 5px); }
.game-card:hover .preview-card-1 { transform: rotate(-12deg) translate(-18px, 8px); }
.game-card:hover .preview-card-3 { transform: rotate(12deg) translate(18px, 8px); }

/* Slots Preview */
.game-preview-slots {
  display: flex;
  gap: 8px;
  padding: 16px;
  background: var(--dark-700);
  border-radius: var(--radius-md);
  border: 1px solid rgba(200,169,110,0.15);
}
.slots-reel {
  width: 56px;
  height: 56px;
  background: var(--dark-600);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(200,169,110,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  animation: reelSpin 3s ease-in-out infinite;
}
.slots-reel:nth-child(2) { animation-delay: 0.3s; }
.slots-reel:nth-child(3) { animation-delay: 0.6s; }
@keyframes reelSpin {
  0%, 70%, 100% { transform: translateY(0); }
  30% { transform: translateY(-6px); }
  50% { transform: translateY(4px); }
}

/* Roulette Preview */
.game-preview-roulette { display: flex; align-items: center; justify-content: center; }
.roulette-wheel-preview {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: conic-gradient(
    #2e2e2e 0deg 18.4deg, #c0392b 18.4deg 36.8deg,
    #2e2e2e 36.8deg 55.2deg, #c0392b 55.2deg 73.6deg,
    #2e2e2e 73.6deg 92deg, #c0392b 92deg 110.4deg,
    #2e2e2e 110.4deg 128.8deg, #c0392b 128.8deg 147.2deg,
    #2e2e2e 147.2deg 165.6deg, #c0392b 165.6deg 184deg,
    #2e2e2e 184deg 202.4deg, #c0392b 202.4deg 220.8deg,
    #2e2e2e 220.8deg 239.2deg, #c0392b 239.2deg 257.6deg,
    #2e2e2e 257.6deg 276deg, #c0392b 276deg 294.4deg,
    #2e2e2e 294.4deg 312.8deg, #c0392b 312.8deg 331.2deg,
    #2e2e2e 331.2deg 349.6deg, #c0392b 349.6deg 360deg
  );
  border: 4px solid var(--gold-400);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 24px rgba(200,169,110,0.3);
  animation: wheelSpin 8s linear infinite;
}
@keyframes wheelSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.wheel-ring {
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  border: 2px solid rgba(200,169,110,0.3);
}
.wheel-center {
  width: 24px;
  height: 24px;
  background: var(--gold-400);
  border-radius: 50%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: var(--dark-900);
}

.game-card-body { padding: 24px; }
.game-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--teal-400);
  margin-bottom: 10px;
}
.game-title { font-size: 22px; margin-bottom: 10px; }
.game-desc { font-size: 14px; color: var(--gray-400); line-height: 1.65; margin-bottom: 14px; }
.game-meta { display: flex; gap: 16px; font-size: 12px; color: var(--gray-400); }

/* ======================== FEATURES SECTION ======================== */
.features-section { padding: 100px 0; background: var(--dark-800); }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card {
  padding: 32px;
  background: var(--dark-700);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-md);
  transition: all var(--transition);
}
.feature-card:hover {
  border-color: rgba(200,169,110,0.2);
  transform: translateY(-2px);
}
.feature-icon { width: 48px; height: 48px; margin-bottom: 20px; }
.feature-icon svg { width: 100%; height: 100%; }
.feature-title { font-size: 17px; margin-bottom: 10px; }
.feature-desc { font-size: 14px; color: var(--gray-400); line-height: 1.65; }

/* ======================== HOW IT WORKS TEASER ======================== */
.howitworks-teaser { padding: 100px 0; }
.hiw-teaser-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.hiw-steps { display: flex; flex-direction: column; gap: 28px; margin: 36px 0; }
.hiw-step { display: flex; gap: 20px; align-items: flex-start; }
.hiw-step-num {
  font-family: 'Cinzel', serif;
  font-size: 32px;
  font-weight: 700;
  color: rgba(200,169,110,0.2);
  line-height: 1;
  min-width: 48px;
  transition: color var(--transition);
}
.hiw-step:hover .hiw-step-num { color: var(--gold-400); }
.hiw-step-body h4 { font-size: 16px; margin-bottom: 6px; }
.hiw-step-body p { font-size: 14px; color: var(--gray-400); line-height: 1.6; }
.rank-showcase {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 32px;
  background: var(--dark-700);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-lg);
}
.rank-badge {
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  font-family: 'Cinzel', serif;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  transition: all var(--transition);
  opacity: 0.5;
}
.rank-badge.rank-active { opacity: 1; transform: scale(1.02); }
.rank-bronze { background: rgba(139, 90, 43, 0.15); border: 1px solid rgba(139,90,43,0.3); color: #cd7f32; }
.rank-silver { background: rgba(140, 140, 140, 0.1); border: 1px solid rgba(140,140,140,0.3); color: #b8c4ce; }
.rank-gold { background: rgba(200, 169, 110, 0.12); border: 1px solid rgba(200,169,110,0.3); color: var(--gold-400); }
.rank-platinum { background: rgba(160, 200, 220, 0.08); border: 1px solid rgba(160,200,220,0.2); color: #a0c8dc; }

/* ======================== FOOTER ======================== */
.site-footer { background: var(--dark-800); border-top: 1px solid rgba(255,255,255,0.05); }
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 24px 40px;
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 48px;
}
.footer-brand .site-logo { margin-bottom: 16px; }
.footer-brand-desc { font-size: 14px; color: var(--gray-400); line-height: 1.7; max-width: 280px; }
.footer-contact-info { margin-top: 16px; }
.footer-contact-item { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--gray-300); }
.footer-contact-item span:first-child { flex-shrink: 0; }
.footer-cols { display: contents; }
.footer-col-title {
  font-family: 'Cinzel', serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gray-200);
  margin-bottom: 16px;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 14px; color: var(--gray-400); transition: color var(--transition); }
.footer-links a:hover { color: var(--gold-400); }
.footer-disclaimer {
  background: rgba(200,169,110,0.04);
  border-top: 1px solid rgba(200,169,110,0.1);
  border-bottom: 1px solid rgba(200,169,110,0.1);
}
.footer-disclaimer-inner { max-width: 1200px; margin: 0 auto; padding: 28px 24px; }
.disclaimer-title {
  font-family: 'Cinzel', serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--gold-400);
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}
.disclaimer-text { font-size: 13px; color: var(--gray-400); line-height: 1.7; margin-bottom: 12px; }
.disclaimer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.disclaimer-links a {
  font-size: 13px;
  color: var(--teal-400);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.disclaimer-links a:hover { color: var(--teal-300); }
.footer-bottom {
  text-align: center;
  padding: 20px 24px;
  font-size: 13px;
  color: var(--dark-300);
}

/* ======================== INNER PAGES ======================== */
.page-hero {
  padding: 140px 24px 80px;
  text-align: center;
  background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(200,169,110,0.07) 0%, transparent 70%);
  position: relative;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200,169,110,0.2), transparent);
}
.page-hero-label { margin-bottom: 12px; }
.page-hero-title { font-size: clamp(32px, 5vw, 52px); margin-bottom: 16px; }
.page-hero-desc { font-size: 16px; color: var(--gray-400); max-width: 560px; margin: 0 auto; line-height: 1.7; }
.page-content { max-width: 800px; margin: 0 auto; padding: 64px 24px 80px; }
.page-content h2 { font-size: 26px; margin: 48px 0 16px; color: var(--gold-300); }
.page-content h3 { font-size: 20px; margin: 32px 0 12px; }
.page-content p { font-size: 15px; color: var(--gray-400); line-height: 1.8; margin-bottom: 16px; }
.page-content ul, .page-content ol { color: var(--gray-400); font-size: 15px; line-height: 1.8; padding-left: 24px; margin-bottom: 16px; }
.page-content li { margin-bottom: 8px; }
.page-content a { color: var(--gold-400); }

/* ======================== CONTACT FORM ======================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-info h3 { font-size: 22px; margin-bottom: 16px; }
.contact-info p { font-size: 15px; color: var(--gray-400); line-height: 1.7; margin-bottom: 24px; }
.contact-detail {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: var(--dark-700);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
}
.contact-detail-icon { font-size: 20px; }
.contact-detail-text h5 { font-size: 13px; color: var(--gray-300); margin-bottom: 2px; }
.contact-detail-text p { font-size: 14px; margin: 0; }
.contact-form-card {
  background: var(--dark-700);
  border: 1px solid rgba(200,169,110,0.12);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.contact-form textarea {
  padding: 12px 14px;
  background: var(--dark-600);
  border: 1.5px solid var(--dark-300);
  border-radius: var(--radius-sm);
  color: var(--gray-100);
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  resize: vertical;
  min-height: 120px;
  transition: border-color var(--transition);
  outline: none;
}
.contact-form textarea:focus { border-color: var(--gold-500); }
.contact-form textarea::placeholder { color: var(--dark-300); }
.form-success {
  display: none;
  text-align: center;
  padding: 24px;
  color: var(--success);
  font-weight: 500;
}

/* ======================== FAQ ======================== */
.faq-list { display: flex; flex-direction: column; gap: 8px; }
.faq-item { border: 1px solid rgba(255,255,255,0.06); border-radius: var(--radius-sm); overflow: hidden; }
.faq-question {
  width: 100%;
  padding: 18px 20px;
  background: var(--dark-700);
  border: none;
  color: var(--gray-200);
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  transition: background var(--transition);
}
.faq-question:hover { background: var(--dark-600); }
.faq-question-arrow {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform var(--transition);
  color: var(--gold-400);
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.faq-item.open .faq-question-arrow { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1), padding 0.3s;
  background: var(--dark-800);
  padding: 0 20px;
}
.faq-item.open .faq-answer { max-height: 300px; padding: 16px 20px; }
.faq-answer p { font-size: 14px; color: var(--gray-400); line-height: 1.7; margin: 0; }

/* ======================== COMMUNITY PAGE ======================== */
.community-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 40px 0; }
.community-card {
  background: var(--dark-700);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-md);
  padding: 28px;
  text-align: center;
  transition: all var(--transition);
}
.community-card:hover { border-color: rgba(200,169,110,0.2); transform: translateY(-2px); }
.community-card-icon { font-size: 40px; margin-bottom: 16px; }
.community-card h4 { font-size: 18px; margin-bottom: 8px; }
.community-card p { font-size: 14px; color: var(--gray-400); line-height: 1.6; }
.leaderboard-list { display: flex; flex-direction: column; gap: 8px; }
.leaderboard-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  background: var(--dark-700);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--radius-sm);
}
.lb-rank {
  font-family: 'Cinzel', serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--gray-400);
  min-width: 24px;
}
.lb-rank.gold { color: var(--gold-400); }
.lb-rank.silver { color: #b8c4ce; }
.lb-rank.bronze { color: #cd7f32; }
.lb-name { flex: 1; font-weight: 500; }
.lb-score { font-size: 14px; color: var(--gold-400); font-weight: 600; }

/* ======================== GAME PAGES ======================== */
.game-page-wrap { min-height: 100vh; padding: 100px 0 60px; background: var(--dark-900); }
.game-area {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}
.game-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 12px;
}
.game-topbar-title { font-size: 22px; }
.game-balance {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: rgba(200,169,110,0.1);
  border: 1px solid rgba(200,169,110,0.2);
  border-radius: 24px;
  font-family: 'Cinzel', serif;
  font-size: 16px;
  color: var(--gold-400);
}
.game-balance svg { width: 20px; height: 20px; }
.game-message-box {
  min-height: 44px;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  background: var(--dark-700);
  border: 1px solid rgba(255,255,255,0.06);
  font-size: 15px;
  color: var(--gray-300);
  text-align: center;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.game-message-box.win { background: rgba(46,139,87,0.12); border-color: rgba(46,139,87,0.3); color: #5fc28a; }
.game-message-box.lose { background: rgba(192,57,43,0.1); border-color: rgba(192,57,43,0.25); color: #e07062; }

/* POKER GAME */
.poker-table {
  background: radial-gradient(ellipse at center, #1a4a2e 0%, #0e2a1a 100%);
  border: 3px solid var(--gold-500);
  border-radius: 120px;
  padding: 40px;
  position: relative;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: inset 0 0 60px rgba(0,0,0,0.4), 0 12px 40px rgba(0,0,0,0.6);
}
.community-cards-area, .player-hand-area, .dealer-hand-area {
  display: flex;
  gap: 10px;
  justify-content: center;
  min-height: 88px;
  align-items: center;
}
.playing-card {
  width: 60px;
  height: 88px;
  background: white;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  font-family: 'Cinzel', serif;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
  flex-direction: column;
  cursor: default;
  animation: cardFlip 0.4s ease both;
  user-select: none;
}
@keyframes cardFlip {
  from { transform: rotateY(90deg) scale(0.9); opacity: 0; }
  to { transform: rotateY(0deg) scale(1); opacity: 1; }
}
.playing-card.red { color: #c0392b; }
.playing-card.black { color: #1a1a1a; }
.playing-card.face-down {
  background: linear-gradient(135deg, #1c3a5e 25%, #0f2140 100%);
  color: transparent;
  font-size: 0;
}
.playing-card.face-down::after {
  content: '';
  width: 44px;
  height: 68px;
  border: 2px solid rgba(200,169,110,0.3);
  border-radius: 4px;
  background: repeating-linear-gradient(45deg, rgba(200,169,110,0.05) 0, rgba(200,169,110,0.05) 2px, transparent 2px, transparent 8px);
}
.card-label {
  font-size: 10px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 6px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  letter-spacing: 1px;
}
.pot-display {
  padding: 8px 24px;
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(200,169,110,0.2);
  border-radius: 20px;
  font-family: 'Cinzel', serif;
  font-size: 15px;
  color: var(--gold-400);
}
.poker-controls { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 20px; }
.poker-controls select {
  padding: 10px 14px;
  background: var(--dark-600);
  border: 1.5px solid var(--dark-300);
  border-radius: var(--radius-sm);
  color: var(--gray-200);
  font-size: 14px;
  cursor: pointer;
  outline: none;
}
.btn-danger {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 24px;
  background: rgba(192,57,43,0.15);
  color: #e07062;
  border: 1.5px solid rgba(192,57,43,0.3);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-family: 'Cinzel', serif;
  font-weight: 600;
  font-size: 14px;
  transition: all var(--transition);
}
.btn-danger:hover { background: rgba(192,57,43,0.25); border-color: rgba(192,57,43,0.5); }

/* SLOTS GAME */
.slots-machine {
  background: linear-gradient(160deg, var(--dark-700) 0%, var(--dark-800) 100%);
  border: 2px solid rgba(200,169,110,0.2);
  border-radius: var(--radius-xl);
  padding: 40px;
  max-width: 520px;
  margin: 0 auto;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.05);
}
.slots-machine-top {
  text-align: center;
  margin-bottom: 28px;
}
.slots-machine-name {
  font-family: 'Cinzel', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--gold-400);
  letter-spacing: 2px;
  text-shadow: 0 0 20px rgba(200,169,110,0.4);
}
.slots-window {
  background: var(--dark-900);
  border: 2px solid rgba(200,169,110,0.2);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 24px;
  position: relative;
}
.slots-window::before, .slots-window::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(200,169,110,0.4), transparent);
}
.slots-window::before { top: calc(50% - 40px); }
.slots-window::after { top: calc(50% + 38px); }
.slot-reel-col {
  width: 90px;
  height: 90px;
  background: var(--dark-800);
  border-radius: var(--radius-sm);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  border: 1px solid rgba(255,255,255,0.07);
  position: relative;
}
.slot-reel-col.spinning {
  animation: slotSpin 0.12s linear infinite;
}
@keyframes slotSpin {
  0% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0); }
}
.slot-reel-col.winning {
  animation: winPulse 0.5s ease 3;
  border-color: var(--gold-400);
}
@keyframes winPulse {
  0%, 100% { box-shadow: none; }
  50% { box-shadow: 0 0 20px rgba(200,169,110,0.6); }
}
.slots-paylines {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.payline-badge {
  padding: 6px 14px;
  background: var(--dark-700);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 20px;
  font-size: 12px;
  color: var(--gray-400);
  display: flex;
  align-items: center;
  gap: 6px;
}
.payline-badge span { font-weight: 700; color: var(--gold-400); }
.slots-bet-row { display: flex; align-items: center; gap: 12px; justify-content: center; margin-bottom: 20px; flex-wrap: wrap; }
.bet-label { font-size: 14px; color: var(--gray-400); }
.bet-selector { display: flex; align-items: center; gap: 6px; }
.bet-btn {
  width: 32px;
  height: 32px;
  background: var(--dark-600);
  border: 1px solid var(--dark-300);
  color: var(--gray-200);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.bet-btn:hover { background: var(--dark-500); border-color: var(--gold-500); }
.bet-value {
  font-family: 'Cinzel', serif;
  font-size: 18px;
  color: var(--gold-400);
  min-width: 48px;
  text-align: center;
}
.spin-btn {
  width: 100%;
  padding: 18px;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  color: var(--dark-900);
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 2px;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.spin-btn:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(200,169,110,0.4); }
.spin-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.slots-history {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 120px;
  overflow-y: auto;
}
.history-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--gray-400);
  padding: 6px 12px;
  background: var(--dark-800);
  border-radius: 4px;
}
.history-row .hist-win { color: #5fc28a; }
.history-row .hist-lose { color: #e07062; }

/* ROULETTE GAME */
.roulette-area { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.roulette-wheel-wrap { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.roulette-wheel-main {
  width: 240px;
  height: 240px;
  border-radius: 50%;
  position: relative;
  cursor: default;
}
.wheel-outer {
  width: 240px;
  height: 240px;
  border-radius: 50%;
  border: 6px solid var(--gold-400);
  box-shadow: 0 0 40px rgba(200,169,110,0.2), inset 0 0 40px rgba(0,0,0,0.4);
  position: relative;
  overflow: hidden;
  background: conic-gradient(
    #2e2e2e 0deg 9.73deg, #c0392b 9.73deg 19.46deg,
    #2e2e2e 19.46deg 29.19deg, #c0392b 29.19deg 38.92deg,
    #2e2e2e 38.92deg 48.65deg, #c0392b 48.65deg 58.38deg,
    #2e2e2e 58.38deg 68.11deg, #c0392b 68.11deg 77.84deg,
    #2e2e2e 77.84deg 87.57deg, #c0392b 87.57deg 97.3deg,
    #2e2e2e 97.3deg 107.03deg, #c0392b 107.03deg 116.76deg,
    #2e2e2e 116.76deg 126.49deg, #c0392b 126.49deg 136.22deg,
    #2e2e2e 136.22deg 145.95deg, #c0392b 145.95deg 155.68deg,
    #2e2e2e 155.68deg 165.41deg, #c0392b 165.41deg 175.14deg,
    #2e2e2e 175.14deg 184.86deg, #1a7a2e 184.86deg 194.59deg,
    #2e2e2e 194.59deg 204.32deg, #c0392b 204.32deg 214.05deg,
    #2e2e2e 214.05deg 223.78deg, #c0392b 223.78deg 233.51deg,
    #2e2e2e 233.51deg 243.24deg, #c0392b 243.24deg 252.97deg,
    #2e2e2e 252.97deg 262.7deg, #c0392b 262.7deg 272.43deg,
    #2e2e2e 272.43deg 282.16deg, #c0392b 282.16deg 291.89deg,
    #2e2e2e 291.89deg 301.62deg, #c0392b 301.62deg 311.35deg,
    #2e2e2e 311.35deg 321.08deg, #c0392b 321.08deg 330.81deg,
    #2e2e2e 330.81deg 340.54deg, #c0392b 340.54deg 350.27deg,
    #2e2e2e 350.27deg 360deg
  );
  transition: transform 4s cubic-bezier(0.17, 0.67, 0.12, 0.99);
}
.wheel-inner-ring {
  position: absolute;
  inset: 20px;
  border-radius: 50%;
  border: 2px solid rgba(200,169,110,0.3);
}
.wheel-pin {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 28px;
  height: 28px;
  background: var(--gold-400);
  border-radius: 50%;
  z-index: 5;
  border: 3px solid var(--dark-900);
}
.wheel-pointer {
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 24px solid var(--gold-400);
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}
.roulette-number-display {
  font-family: 'Cinzel', serif;
  font-size: 48px;
  font-weight: 700;
  color: var(--gold-400);
  min-height: 60px;
  text-align: center;
}
.roulette-board { background: #0e3a1c; border: 2px solid var(--gold-500); border-radius: var(--radius-md); padding: 12px; }
.roulette-zero {
  background: #1a7a2e;
  color: white;
  padding: 6px;
  text-align: center;
  border-radius: 4px;
  margin-bottom: 6px;
  font-family: 'Cinzel', serif;
  font-weight: 700;
  cursor: pointer;
  font-size: 14px;
  transition: all var(--transition);
  border: 2px solid transparent;
}
.roulette-zero.selected { border-color: var(--gold-400); box-shadow: 0 0 12px rgba(200,169,110,0.4); }
.roulette-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 3px;
  margin-bottom: 8px;
}
.roulette-num {
  padding: 5px 2px;
  text-align: center;
  border-radius: 3px;
  font-family: 'Cinzel', serif;
  font-weight: 600;
  font-size: 11px;
  cursor: pointer;
  transition: all var(--transition);
  color: white;
  border: 2px solid transparent;
  user-select: none;
}
.roulette-num.red-num { background: #c0392b; }
.roulette-num.black-num { background: #2e2e2e; }
.roulette-num:hover { opacity: 0.8; transform: scale(1.1); }
.roulette-num.selected { border-color: var(--gold-400); box-shadow: 0 0 8px rgba(200,169,110,0.5); transform: scale(1.1); }
.roulette-outside-bets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin-top: 6px; }
.outside-bet-btn {
  padding: 7px 4px;
  background: #1a4a2e;
  border: 2px solid transparent;
  border-radius: 3px;
  color: white;
  font-family: 'Cinzel', serif;
  font-size: 10px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: all var(--transition);
  letter-spacing: 0.5px;
}
.outside-bet-btn:hover { background: #245e3a; }
.outside-bet-btn.selected { border-color: var(--gold-400); background: rgba(200,169,110,0.15); }
.roulette-controls { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 16px; }

/* ======================== NOTIFICATIONS ======================== */
.toast-container {
  position: fixed;
  top: 80px;
  right: 24px;
  z-index: 7000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}
.toast {
  padding: 14px 20px;
  background: var(--dark-600);
  border: 1px solid rgba(200,169,110,0.2);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--gray-200);
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  animation: toastIn 0.3s ease;
  pointer-events: auto;
  max-width: 320px;
}
.toast.success { border-color: rgba(46,139,87,0.4); }
.toast.error { border-color: rgba(192,57,43,0.4); color: #e07062; }
@keyframes toastIn {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}

/* ======================== UTILITIES ======================== */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.text-gold { color: var(--gold-400); }
.text-teal { color: var(--teal-400); }
.text-muted { color: var(--gray-400); }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-32 { margin-top: 32px; }
.mb-16 { margin-bottom: 16px; }
.mb-32 { margin-bottom: 32px; }
.centered { text-align: center; }

/* ======================== SCROLLBAR ======================== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark-800); }
::-webkit-scrollbar-thumb { background: var(--dark-400); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--dark-300); }

/* ======================== RESPONSIVE ======================== */
@media (max-width: 1024px) {
  .games-grid { grid-template-columns: 1fr 1fr; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .hiw-teaser-inner { grid-template-columns: 1fr; gap: 48px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(10,12,14,0.98);
    backdrop-filter: blur(12px);
    padding: 20px;
    flex-direction: column;
    align-items: stretch;
    border-bottom: 1px solid rgba(200,169,110,0.1);
  }
  .main-nav.open { display: flex; }
  .main-nav .nav-link { padding: 14px 16px; font-size: 16px; border-radius: var(--radius-sm); }
  .mobile-menu-toggle { display: flex; }
  .auth-buttons { gap: 8px; }
  .auth-buttons .btn-outline { display: none; }
  .games-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .roulette-area { grid-template-columns: 1fr; }
  .community-grid { grid-template-columns: 1fr 1fr; }
  .hero-stats { flex-direction: column; gap: 16px; }
  .hero-stat-divider { width: 40px; height: 1px; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-cols { display: block; }
  .footer-col { margin-bottom: 24px; }
  .user-greeting { display: none; }
  .age-modal { padding: 32px 24px; }
}

@media (max-width: 480px) {
  .community-grid { grid-template-columns: 1fr; }
  .roulette-wheel-main { width: 200px; height: 200px; }
  .wheel-outer { width: 200px; height: 200px; }
  .slots-machine { padding: 24px 16px; }
  .slot-reel-col { width: 70px; height: 70px; font-size: 36px; }
}
