
/* ============================================================
   CSS VARIABLES & RESET
   ============================================================ */
:root {
  --gold: #D4AF37;
  --gold-light: #F5D76E;
  --gold-dark: #A07B1E;
  --neon-gold: #FFD700;
  --purple-deep: #0D0820;
  --purple-mid: #1A0F3C;
  --purple-accent: #4B0082;
  --purple-neon: #8B00FF;
  --black: #050308;
  --white: #F5F0E8;
  --glass-bg: rgba(255,255,255,0.04);
  --glass-border: rgba(212,175,55,0.2);
  --glow-gold: 0 0 20px rgba(212,175,55,0.6), 0 0 40px rgba(212,175,55,0.3);
  --glow-purple: 0 0 20px rgba(139,0,255,0.6), 0 0 40px rgba(139,0,255,0.3);
  --font-display: 'Cinzel Decorative', serif;
  --font-heading: 'Cinzel', serif;
  --font-body: 'Raleway', sans-serif;
  --nav-height: 80px;
  --radius: 12px;
  --transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  overflow-x: hidden;
  cursor: none;
}

/* ============================================================
   CUSTOM CURSOR
   ============================================================ */
#cursor {
  width: 16px; height: 16px;
  background: var(--gold);
  border-radius: 50%;
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  transition: transform 0.15s ease, opacity 0.2s;
  mix-blend-mode: screen;
  box-shadow: var(--glow-gold);
}
#cursor-ring {
  width: 40px; height: 40px;
  border: 1.5px solid rgba(212,175,55,0.5);
  border-radius: 50%;
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9998;
  transition: transform 0.35s ease, border-color 0.2s;
}

/* ============================================================
   LOADER
   ============================================================ */
#loader {
  position: fixed; inset: 0;
  background: var(--black);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
#loader.hidden { opacity: 0; visibility: hidden; }

.loader-logo {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 4vw, 2.2rem);
  color: var(--gold);
  text-shadow: var(--glow-gold);
  animation: pulse-gold 1.5s ease-in-out infinite;
}
.loader-chips {
  display: flex; gap: 12px;
}
.chip-loader {
  width: 20px; height: 20px;
  border-radius: 50%;
  animation: chip-bounce 1s ease-in-out infinite;
}
.chip-loader:nth-child(1) { background: var(--gold); animation-delay: 0s; }
.chip-loader:nth-child(2) { background: var(--purple-neon); animation-delay: 0.15s; }
.chip-loader:nth-child(3) { background: #e74c3c; animation-delay: 0.3s; }
.chip-loader:nth-child(4) { background: #2ecc71; animation-delay: 0.45s; }
.chip-loader:nth-child(5) { background: var(--gold); animation-delay: 0.6s; }

@keyframes chip-bounce {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-16px) scale(1.2); }
}
.loader-bar {
  width: 200px; height: 2px;
  background: rgba(212,175,55,0.2);
  border-radius: 2px;
  overflow: hidden;
}
.loader-progress {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light));
  border-radius: 2px;
  animation: load-progress 1.8s ease forwards;
}
@keyframes load-progress {
  from { width: 0; }
  to { width: 100%; }
}

/* ============================================================
   PARTICLES CANVAS
   ============================================================ */
#particles-canvas {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}

/* ============================================================
   SCROLLBAR
   ============================================================ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--purple-deep); }
::-webkit-scrollbar-thumb { background: var(--gold-dark); border-radius: 3px; }

/* ============================================================
   UTILITY
   ============================================================ */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; position: relative; z-index: 1; }
.section-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(212,175,55,0.3);
  padding: 6px 18px;
  border-radius: 20px;
  margin-bottom: 16px;
  background: rgba(212,175,55,0.05);
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 50%, var(--gold-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-sub {
  color: rgba(245,240,232,0.6);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 560px;
}
.text-center { text-align: center; }
.text-center .section-sub { margin: 0 auto; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 6px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: var(--transition);
  cursor: none;
  border: none;
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  transition: left 0.5s ease;
}
.btn:hover::before { left: 100%; }

.btn-gold {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-light));
  color: var(--black);
  box-shadow: 0 4px 20px rgba(212,175,55,0.4);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow-gold);
}
.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 1.5px solid var(--gold);
}
.btn-outline:hover {
  background: rgba(212,175,55,0.1);
  transform: translateY(-2px);
  box-shadow: var(--glow-gold);
}
.btn-purple {
  background: linear-gradient(135deg, var(--purple-accent), var(--purple-neon));
  color: var(--white);
  box-shadow: 0 4px 20px rgba(139,0,255,0.4);
}
.btn-purple:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow-purple);
}

/* ============================================================
   GLASS CARD
   ============================================================ */
.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* ============================================================
   DIVIDER
   ============================================================ */
.gold-divider {
  width: 80px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 20px auto;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes pulse-gold {
  0%, 100% { text-shadow: 0 0 10px rgba(212,175,55,0.6); }
  50% { text-shadow: 0 0 30px rgba(212,175,55,1), 0 0 60px rgba(212,175,55,0.5); }
}
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33% { transform: translateY(-18px) rotate(5deg); }
  66% { transform: translateY(-8px) rotate(-3deg); }
}
@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 0 10px rgba(212,175,55,0.3); }
  50% { box-shadow: var(--glow-gold); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

/* AOS-style reveal */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }

/* ============================================================
   NAVBAR
   ============================================================ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  z-index: 1000;
  transition: var(--transition);
  display: flex;
  align-items: center;
}
#navbar.scrolled {
  background: rgba(5,3,8,0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(212,175,55,0.15);
  box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--gold);
  text-decoration: none;
  text-shadow: var(--glow-gold);
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 0.03em;
}
.nav-logo-icon {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--black);
  animation: glow-pulse 2s infinite;
  flex-shrink: 0;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245,240,232,0.75);
  text-decoration: none;
  transition: var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.3s ease;
}
.nav-links a:hover { color: var(--gold); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  padding: 10px 24px;
  font-size: 0.75rem;
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 26px; height: 2px;
  background: var(--gold);
  transition: var(--transition);
  border-radius: 2px;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ============================================================
   MOBILE MENU
   ============================================================ */
.mobile-menu {
  position: fixed;
  top: var(--nav-height);
  left: 0; right: 0;
  background: rgba(5,3,8,0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(212,175,55,0.2);
  z-index: 999;
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.4s ease, opacity 0.4s ease;
  padding: 24px;
}
.mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mobile-menu ul a {
  display: block;
  padding: 14px 16px;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245,240,232,0.8);
  text-decoration: none;
  border-radius: 8px;
  transition: var(--transition);
}
.mobile-menu ul a:hover {
  background: rgba(212,175,55,0.1);
  color: var(--gold);
}
.mobile-menu .btn { width: 100%; justify-content: center; margin-top: 16px; }

/* ============================================================
   HERO SECTION
   ============================================================ */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-height);
}
.hero-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 30%, rgba(75,0,130,0.35) 0%, transparent 70%),
              radial-gradient(ellipse 60% 50% at 20% 80%, rgba(212,175,55,0.12) 0%, transparent 60%),
              radial-gradient(ellipse 50% 40% at 80% 20%, rgba(139,0,255,0.15) 0%, transparent 60%),
              linear-gradient(180deg, #050308 0%, #0D0820 50%, #050308 100%);
}
.hero-grid {
  position: absolute; inset: 0;
  background-image: 
    linear-gradient(rgba(212,175,55,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212,175,55,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  width: 100%;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212,175,55,0.1);
  border: 1px solid rgba(212,175,55,0.3);
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 0.75rem;
  font-family: var(--font-heading);
  letter-spacing: 0.15em;
  color: var(--gold-light);
  margin-bottom: 24px;
  text-transform: uppercase;
  animation: fadeInUp 0.8s ease 0.3s both;
}
.hero-badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse-gold 1.5s infinite;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5.5vw, 4.2rem);
  line-height: 1.1;
  margin-bottom: 20px;
  animation: fadeInUp 0.8s ease 0.5s both;
}
.hero-title .line-gold {
  display: block;
  background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
}
.hero-title .line-white { display: block; color: var(--white); }
.hero-subtitle {
  color: rgba(245,240,232,0.6);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 480px;
  animation: fadeInUp 0.8s ease 0.7s both;
}
.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.9s both;
}
.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 48px;
  animation: fadeInUp 0.8s ease 1.1s both;
}
.hero-stat-item { }
.hero-stat-num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
}
.hero-stat-label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245,240,232,0.45);
  font-family: var(--font-heading);
}
.hero-visual {
  position: relative;
  height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInRight 1s ease 0.6s both;
}
.hero-roulette {
  width: 320px; height: 320px;
  border-radius: 50%;
  background: conic-gradient(
    #c0392b 0deg 10deg, #1a1a1a 10deg 20deg, #c0392b 20deg 30deg, #1a1a1a 30deg 40deg,
    #c0392b 40deg 50deg, #1a1a1a 50deg 60deg, #c0392b 60deg 70deg, #1a1a1a 70deg 80deg,
    #c0392b 80deg 90deg, #1a1a1a 90deg 100deg, #c0392b 100deg 110deg, #1a1a1a 110deg 120deg,
    #c0392b 120deg 130deg, #1a1a1a 130deg 140deg, #c0392b 140deg 150deg, #1a1a1a 150deg 160deg,
    #c0392b 160deg 170deg, #1a1a1a 170deg 180deg, #c0392b 180deg 190deg, #1a1a1a 190deg 200deg,
    #c0392b 200deg 210deg, #1a1a1a 210deg 220deg, #c0392b 220deg 230deg, #1a1a1a 230deg 240deg,
    #c0392b 240deg 250deg, #1a1a1a 250deg 260deg, #c0392b 260deg 270deg, #1a1a1a 270deg 280deg,
    #c0392b 280deg 290deg, #1a1a1a 290deg 300deg, #c0392b 300deg 310deg, #1a1a1a 310deg 320deg,
    #c0392b 320deg 330deg, #1a1a1a 330deg 340deg, #c0392b 340deg 350deg, #1a1a1a 350deg 360deg
  );
  border: 8px solid var(--gold-dark);
  box-shadow: 0 0 60px rgba(212,175,55,0.4), 0 0 120px rgba(212,175,55,0.15), inset 0 0 40px rgba(0,0,0,0.5);
  animation: spin-slow 8s linear infinite;
  position: relative;
}
.hero-roulette::before {
  content: '';
  position: absolute; inset: 20px;
  border-radius: 50%;
  background: radial-gradient(circle, #1a0f3c 0%, #0d0820 70%);
  border: 4px solid rgba(212,175,55,0.3);
}
.hero-roulette::after {
  content: '⬟';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2.5rem;
  color: var(--gold);
  text-shadow: var(--glow-gold);
  animation: spin-slow 8s linear infinite reverse;
}
.floating-card {
  position: absolute;
  width: 72px; height: 100px;
  background: linear-gradient(135deg, #1a1a2e, #2d2d4e);
  border: 1px solid rgba(212,175,55,0.3);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4), 0 0 20px rgba(212,175,55,0.2);
}
.floating-card.c1 { top: 20px; left: -20px; animation: float 4s ease-in-out infinite 0s; }
.floating-card.c2 { top: 80px; right: -30px; animation: float 4.5s ease-in-out infinite 0.8s; }
.floating-card.c3 { bottom: 60px; left: 10px; animation: float 3.8s ease-in-out infinite 1.5s; }
.floating-card.c4 { bottom: 20px; right: 0; animation: float 4.2s ease-in-out infinite 0.4s; }

.floating-chip {
  position: absolute;
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 4px dashed;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.floating-chip.ch1 {
  top: 40px; left: 40%;
  border-color: var(--gold);
  color: var(--gold);
  animation: float 3.5s ease-in-out infinite 0.2s;
}
.floating-chip.ch2 {
  bottom: 100px; right: 50%;
  border-color: #e74c3c;
  color: #e74c3c;
  animation: float 4.8s ease-in-out infinite 1s;
}

/* ============================================================
   MARQUEE TICKER
   ============================================================ */
.ticker-wrap {
  background: rgba(212,175,55,0.08);
  border-top: 1px solid rgba(212,175,55,0.15);
  border-bottom: 1px solid rgba(212,175,55,0.15);
  padding: 10px 0;
  overflow: hidden;
  position: relative;
  z-index: 1;
}
.ticker-inner {
  display: flex;
  white-space: nowrap;
  animation: ticker-scroll 25s linear infinite;
}
.ticker-item {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--gold);
  padding: 0 48px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.ticker-item span { color: rgba(245,240,232,0.6); }
.ticker-item .win { color: #2ecc71; }
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
#about {
  background: linear-gradient(180deg, #050308 0%, #0D0820 50%, #050308 100%);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-img-container {
  position: relative;
}
.about-img-box {
  width: 100%;
  aspect-ratio: 1;
  max-width: 420px;
  background: linear-gradient(135deg, #1A0F3C, #0D0820);
  border: 1px solid rgba(212,175,55,0.2);
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6), var(--glow-gold);
}
.about-img-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  height: 100%;
}
.about-img-item {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  border: 1px solid rgba(212,175,55,0.08);
  transition: var(--transition);
  aspect-ratio: 1;
}
.about-img-item:hover {
  background: rgba(212,175,55,0.08);
  transform: scale(1.05);
}
.about-badge {
  position: absolute;
  bottom: -20px; right: -20px;
  width: 120px; height: 120px;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: var(--glow-gold);
  color: var(--black);
  font-family: var(--font-display);
  text-align: center;
  line-height: 1.2;
}
.about-badge-num { font-size: 1.6rem; font-weight: 900; }
.about-badge-text { font-size: 0.5rem; letter-spacing: 0.1em; text-transform: uppercase; }

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}
.about-feature {
  padding: 16px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  border-radius: 8px;
  transition: var(--transition);
}
.about-feature:hover { background: rgba(212,175,55,0.06); }
.about-feature-icon {
  width: 40px; height: 40px;
  background: rgba(212,175,55,0.1);
  border: 1px solid rgba(212,175,55,0.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1rem;
  flex-shrink: 0;
}
.about-feature h4 {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  color: var(--gold-light);
  margin-bottom: 4px;
  letter-spacing: 0.05em;
}
.about-feature p {
  font-size: 0.8rem;
  color: rgba(245,240,232,0.5);
  line-height: 1.5;
}

/* ============================================================
   GAMES SECTION
   ============================================================ */
#games {
  background: var(--black);
}
.games-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.game-card {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  cursor: none;
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1), box-shadow 0.4s ease;
}
.game-card:hover {
  transform: translateY(-8px) scale(1.02);
}
.game-card-img {
  width: 100%;
  aspect-ratio: 3/4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.game-card-img .game-emoji { font-size: 4rem; z-index: 1; position: relative; }
.game-card-bg {
  position: absolute; inset: 0;
  transition: transform 0.5s ease;
}
.game-card:hover .game-card-bg { transform: scale(1.1); }
.game-card-bg-poker {
  background: linear-gradient(135deg, #1a0020 0%, #4a0040 50%, #800060 100%);
}
.game-card-bg-roulette {
  background: linear-gradient(135deg, #001a00 0%, #004000 50%, #006020 100%);
}
.game-card-bg-blackjack {
  background: linear-gradient(135deg, #1a1000 0%, #403000 50%, #604000 100%);
}
.game-card-bg-slots {
  background: linear-gradient(135deg, #00001a 0%, #000040 50%, #100060 100%);
}
.game-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(0,0,0,0.9) 100%);
}
.game-card-glow {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.game-card:hover .game-card-glow { opacity: 1; }
.game-card-glow-poker { box-shadow: inset 0 0 40px rgba(200,0,100,0.4); }
.game-card-glow-roulette { box-shadow: inset 0 0 40px rgba(0,200,0,0.4); }
.game-card-glow-blackjack { box-shadow: inset 0 0 40px rgba(200,150,0,0.4); }
.game-card-glow-slots { box-shadow: inset 0 0 40px rgba(100,0,255,0.4); }

.game-card-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 20px;
  transform: translateY(40px);
  transition: transform 0.4s ease;
}
.game-card:hover .game-card-content { transform: translateY(0); }
.game-card-label {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
  opacity: 0;
  transition: opacity 0.3s ease 0.1s;
}
.game-card:hover .game-card-label { opacity: 1; }
.game-card-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 12px;
}
.game-card-btn {
  font-size: 0.72rem;
  padding: 8px 20px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s ease 0.15s, transform 0.3s ease 0.15s;
}
.game-card:hover .game-card-btn {
  opacity: 1;
  transform: translateY(0);
}
.game-card-border {
  position: absolute; inset: 0;
  border-radius: 16px;
  border: 1px solid rgba(212,175,55,0.1);
  pointer-events: none;
  transition: border-color 0.4s ease;
}
.game-card:hover .game-card-border {
  border-color: rgba(212,175,55,0.4);
}
.game-card-players {
  position: absolute;
  top: 14px; right: 14px;
  background: rgba(0,0,0,0.7);
  border: 1px solid rgba(212,175,55,0.3);
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 0.72rem;
  color: var(--gold-light);
  font-family: var(--font-heading);
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 2;
}
.live-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #2ecc71;
  animation: pulse-gold 1s infinite;
}

/* ============================================================
   WHY CHOOSE US
   ============================================================ */
#why {
  background: linear-gradient(180deg, #050308 0%, #0D0820 100%);
  position: relative;
  overflow: hidden;
}
#why::before {
  content: '';
  position: absolute;
  top: -200px; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(139,0,255,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.why-card {
  padding: 32px 28px;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s ease, border-color 0.4s ease;
}
.why-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.why-card:hover { transform: translateY(-6px); border-color: rgba(212,175,55,0.35) !important; }
.why-card:hover::before { opacity: 1; }
.why-icon {
  width: 60px; height: 60px;
  background: rgba(212,175,55,0.08);
  border: 1px solid rgba(212,175,55,0.2);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  transition: var(--transition);
}
.why-card:hover .why-icon {
  background: rgba(212,175,55,0.15);
  box-shadow: 0 0 20px rgba(212,175,55,0.2);
}
.why-card h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--gold-light);
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}
.why-card p {
  font-size: 0.85rem;
  color: rgba(245,240,232,0.55);
  line-height: 1.65;
}
.why-number {
  position: absolute;
  bottom: 16px; right: 20px;
  font-family: var(--font-display);
  font-size: 4rem;
  color: rgba(212,175,55,0.04);
  line-height: 1;
  pointer-events: none;
}

/* ============================================================
   BETTING TICKER
   ============================================================ */
#betting {
  background: var(--black);
}
.betting-table-wrap {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(212,175,55,0.15);
  margin-top: 48px;
}
.betting-table-header {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1.5fr 1.5fr 1fr;
  padding: 14px 24px;
  background: rgba(212,175,55,0.06);
  border-bottom: 1px solid rgba(212,175,55,0.1);
  font-family: var(--font-heading);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(212,175,55,0.6);
}
.betting-body { }
.bet-row {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1.5fr 1.5fr 1fr;
  padding: 14px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  font-size: 0.88rem;
  align-items: center;
  transition: background 0.2s ease;
  animation: fadeInUp 0.5s ease both;
}
.bet-row:hover { background: rgba(212,175,55,0.04); }
.bet-row:last-child { border-bottom: none; }
.bet-player {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.82rem;
}
.bet-avatar {
  width: 30px; height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  flex-shrink: 0;
}
.bet-game {
  color: rgba(245,240,232,0.6);
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  gap: 6px;
}
.bet-amount {
  color: var(--gold-light);
  font-family: var(--font-heading);
  font-size: 0.88rem;
}
.bet-time {
  color: rgba(245,240,232,0.4);
  font-size: 0.78rem;
}
.bet-result {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  padding: 4px 12px;
  border-radius: 20px;
  text-align: center;
  letter-spacing: 0.05em;
  display: inline-block;
}
.bet-win { background: rgba(46,204,113,0.15); color: #2ecc71; border: 1px solid rgba(46,204,113,0.3); }
.bet-loss { background: rgba(231,76,60,0.15); color: #e74c3c; border: 1px solid rgba(231,76,60,0.3); }

.betting-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(231,76,60,0.15);
  border: 1px solid rgba(231,76,60,0.3);
  border-radius: 20px;
  padding: 5px 14px;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #e74c3c;
  margin-bottom: 12px;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
#testimonials {
  background: linear-gradient(180deg, #050308 0%, #0D0820 100%);
  overflow: hidden;
}
.testimonials-slider {
  position: relative;
  overflow: hidden;
  margin-top: 56px;
}
.testimonials-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
}
.testimonial-card {
  min-width: calc(33.333% - 16px);
  margin-right: 24px;
  padding: 32px 28px;
  border-radius: 16px;
  flex-shrink: 0;
}
.testi-stars {
  display: flex;
  gap: 4px;
  color: var(--gold);
  font-size: 0.9rem;
  margin-bottom: 16px;
}
.testi-text {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(245,240,232,0.7);
  margin-bottom: 24px;
  font-style: italic;
}
.testi-text::before { content: '"'; font-family: var(--font-display); color: var(--gold); font-size: 2rem; line-height: 0; vertical-align: -12px; margin-right: 4px; }
.testi-author { display: flex; align-items: center; gap: 14px; }
.testi-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 2px solid rgba(212,175,55,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  background: rgba(212,175,55,0.1);
  flex-shrink: 0;
}
.testi-name {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  color: var(--gold-light);
  letter-spacing: 0.05em;
}
.testi-handle {
  font-size: 0.75rem;
  color: rgba(245,240,232,0.4);
}
.slider-controls {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 36px;
  align-items: center;
}
.slider-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(212,175,55,0.3);
  background: rgba(212,175,55,0.06);
  color: var(--gold);
  font-size: 0.9rem;
  cursor: none;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}
.slider-btn:hover {
  background: rgba(212,175,55,0.15);
  box-shadow: var(--glow-gold);
}
.slider-dots { display: flex; gap: 8px; }
.slider-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(212,175,55,0.25);
  transition: var(--transition);
  cursor: none;
}
.slider-dot.active {
  background: var(--gold);
  transform: scale(1.3);
  box-shadow: 0 0 10px rgba(212,175,55,0.5);
}

/* ============================================================
   CONTACT
   ============================================================ */
#contact {
  background: var(--black);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
  align-items: flex-start;
}
.contact-info-icon {
  width: 44px; height: 44px;
  background: rgba(212,175,55,0.08);
  border: 1px solid rgba(212,175,55,0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1rem;
  flex-shrink: 0;
}
.contact-info-item h4 {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 4px;
}
.contact-info-item p {
  font-size: 0.88rem;
  color: rgba(245,240,232,0.55);
}
.contact-social {
  display: flex;
  gap: 12px;
  margin-top: 36px;
}
.social-btn {
  width: 44px; height: 44px;
  border-radius: 10px;
  border: 1px solid rgba(212,175,55,0.25);
  background: rgba(212,175,55,0.05);
  color: var(--gold);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  text-decoration: none;
  cursor: none;
}
.social-btn:hover {
  background: rgba(212,175,55,0.15);
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(212,175,55,0.2);
}
.form-group {
  position: relative;
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(212,175,55,0.7);
  margin-bottom: 8px;
}
.form-control {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(212,175,55,0.15);
  border-radius: 8px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: var(--transition);
  outline: none;
  resize: vertical;
}
.form-control:focus {
  border-color: var(--gold);
  background: rgba(212,175,55,0.04);
  box-shadow: 0 0 0 3px rgba(212,175,55,0.1);
}
.form-control::placeholder { color: rgba(245,240,232,0.25); }
.form-success {
  display: none;
  background: rgba(46,204,113,0.1);
  border: 1px solid rgba(46,204,113,0.3);
  border-radius: 8px;
  padding: 16px 20px;
  color: #2ecc71;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  margin-top: 12px;
  align-items: center;
  gap: 10px;
}
.form-success.show { display: flex; }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: #030205;
  border-top: 1px solid rgba(212,175,55,0.1);
  padding: 60px 0 24px;
  position: relative;
  z-index: 1;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .nav-logo { margin-bottom: 16px; font-size: 1rem; }
.footer-brand p {
  font-size: 0.82rem;
  color: rgba(245,240,232,0.4);
  line-height: 1.7;
  margin-bottom: 20px;
}
.footer-social { display: flex; gap: 10px; }
.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a {
  font-size: 0.83rem;
  color: rgba(245,240,232,0.45);
  text-decoration: none;
  transition: color 0.2s ease;
  cursor: none;
}
.footer-col ul a:hover { color: var(--gold); }
.footer-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,175,55,0.15), transparent);
  margin-bottom: 24px;
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p {
  font-size: 0.78rem;
  color: rgba(245,240,232,0.3);
  font-family: var(--font-heading);
  letter-spacing: 0.05em;
}
.footer-bottom-links {
  display: flex;
  gap: 24px;
}
.footer-bottom-links a {
  font-size: 0.78rem;
  color: rgba(245,240,232,0.35);
  text-decoration: none;
  transition: color 0.2s ease;
  cursor: none;
  letter-spacing: 0.05em;
}
.footer-bottom-links a:hover { color: var(--gold); }

/* ============================================================
   MODALS
   ============================================================ */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(8px);
  z-index: 5000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.modal {
  background: linear-gradient(135deg, #0D0820, #1A0F3C);
  border: 1px solid rgba(212,175,55,0.2);
  border-radius: 16px;
  max-width: 680px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  padding: 40px;
  position: relative;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.3s ease;
}
.modal-overlay.open .modal {
  transform: translateY(0) scale(1);
}
.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(212,175,55,0.08);
  border: 1px solid rgba(212,175,55,0.2);
  color: var(--gold);
  font-size: 1rem;
  cursor: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.modal-close:hover { background: rgba(212,175,55,0.2); }
.modal h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--gold);
  margin-bottom: 24px;
}
.modal h3 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: var(--gold-light);
  margin: 20px 0 10px;
  letter-spacing: 0.05em;
}
.modal p, .modal li {
  font-size: 0.85rem;
  color: rgba(245,240,232,0.6);
  line-height: 1.75;
  margin-bottom: 10px;
}
.modal ul { padding-left: 20px; }

/* Newsletter modal form */
.newsletter-form .form-group { margin-bottom: 16px; }
.newsletter-success {
  display: none;
  background: rgba(46,204,113,0.1);
  border: 1px solid rgba(46,204,113,0.3);
  border-radius: 8px;
  padding: 16px 20px;
  color: #2ecc71;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  margin-top: 12px;
  align-items: center;
  gap: 10px;
}
.newsletter-success.show { display: flex; }
.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 16px 0;
}
.checkbox-group input[type="checkbox"] {
  width: 18px; height: 18px;
  accent-color: var(--gold);
  margin-top: 2px;
  flex-shrink: 0;
  cursor: none;
}
.checkbox-group label {
  font-size: 0.82rem;
  color: rgba(245,240,232,0.6);
  cursor: none;
  text-transform: none;
  letter-spacing: 0;
}

/* ============================================================
   BACK TO TOP
   ============================================================ */
#back-top {
  position: fixed;
  bottom: 32px; right: 32px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: var(--black);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 500;
  cursor: none;
  border: none;
  box-shadow: 0 4px 20px rgba(212,175,55,0.4);
  transition: var(--transition);
  opacity: 0;
  transform: translateY(20px);
}
#back-top.visible {
  opacity: 1;
  transform: translateY(0);
}
#back-top:hover {
  transform: translateY(-3px);
  box-shadow: var(--glow-gold);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .games-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { gap: 48px; }
  .hero-inner { gap: 40px; }
}
@media (max-width: 768px) {
  :root { --nav-height: 70px; }
  .section { padding: 72px 0; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .about-grid { grid-template-columns: 1fr; }
  .about-img-container { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .games-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .testimonial-card { min-width: calc(100% - 24px); }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .betting-table-header, .bet-row { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .bet-time { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-stats { gap: 20px; flex-wrap: wrap; }
  .modal { padding: 28px 20px; }
}
@media (max-width: 480px) {
  .games-grid { grid-template-columns: 1fr; }
  .about-features { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .betting-table-header, .bet-row { grid-template-columns: 2fr 1fr 1fr; font-size: 0.75rem; }
  .bet-amount { display: none; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { justify-content: center; }
}
