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

:root {
  --bg: #0A0F14;
  --surface: #111820;
  --surface-2: #16202C;
  --emerald: #0D4A3F;
  --emerald-light: #146354;
  --gold: #D4A843;
  --gold-light: #E8C06A;
  --text: #F0EDE6;
  --text-muted: #8A9BA8;
  --accent: #D4A843;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* NAV */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 40px;
  background: rgba(10,15,20,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(212,168,67,0.15);
}
.nav-inner { max-width: 1200px; margin: 0 auto; }
.logo { font-family: 'Playfair Display', serif; font-size: 1.5rem; font-weight: 700; color: var(--gold); letter-spacing: 0.03em; }

/* HERO */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 40px 80px;
  background: radial-gradient(ellipse 80% 60% at 60% 40%, rgba(13,74,63,0.35) 0%, transparent 70%), var(--bg);
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
}
.hero-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.hero-eyebrow { font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; font-weight: 500; }
.hero-headline { font-family: 'Playfair Display', serif; font-size: clamp(3rem,6vw,5.5rem); font-weight: 800; line-height: 1.05; margin-bottom: 24px; color: var(--text); }
.hero-headline em { color: var(--gold); font-style: normal; }
.hero-sub { font-size: 1.1rem; color: var(--text-muted); max-width: 460px; line-height: 1.7; }

/* SLOT MACHINE */
.hero-visual { display: flex; justify-content: center; }
.slot-machine {
  background: linear-gradient(145deg, #16202C, #0D1822);
  border: 2px solid var(--gold);
  border-radius: 20px;
  padding: 32px;
  width: 280px;
  box-shadow: 0 0 60px rgba(212,168,67,0.2), 0 30px 60px rgba(0,0,0,0.5);
  position: relative;
}
.slot-display {
  background: #0A0F14;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
  border: 1px solid rgba(212,168,67,0.3);
}
.reel {
  width: 60px; height: 70px;
  background: #111820;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(212,168,67,0.2);
}
.symbol { font-size: 2.2rem; color: var(--gold); font-family: 'Playfair Display', serif; animation: reelSpin 2s ease-in-out infinite; }
@keyframes reelSpin { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
#reel1 .symbol { animation-delay: 0s; }
#reel2 .symbol { animation-delay: 0.3s; }
#reel3 .symbol { animation-delay: 0.6s; }

.coin-count { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.coin-icon { color: var(--gold); font-size: 1.2rem; }
.coin-number { font-family: 'Playfair Display', serif; font-size: 1.4rem; color: var(--gold); font-weight: 600; }

.spin-btn {
  background: linear-gradient(135deg, var(--gold), #B8922E);
  color: #0A0F14;
  font-weight: 700;
  font-size: 1.1rem;
  text-align: center;
  padding: 14px;
  border-radius: 10px;
  cursor: pointer;
  letter-spacing: 0.1em;
  box-shadow: 0 4px 20px rgba(212,168,67,0.4);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { box-shadow: 0 4px 20px rgba(212,168,67,0.4); } 50% { box-shadow: 0 4px 35px rgba(212,168,67,0.7); } }

.jackpot-label {
  text-align: center;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  color: var(--text-muted);
  margin-top: 12px;
  text-transform: uppercase;
}

/* HERO STATS */
.hero-stats { max-width: 1200px; margin: 60px auto 0; display: flex; gap: 60px; padding-top: 40px; border-top: 1px solid rgba(212,168,67,0.15); }
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-val { font-family: 'Playfair Display', serif; font-size: 2.2rem; font-weight: 700; color: var(--gold); }
.stat-label { font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em; }

/* SECTIONS */
.section-inner { max-width: 1200px; margin: 0 auto; padding: 100px 40px; }
.section-label { font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; font-weight: 500; }
.section-title { font-family: 'Playfair Display', serif; font-size: clamp(2rem,4vw,3.2rem); font-weight: 700; margin-bottom: 60px; line-height: 1.15; }

/* GAMES */
.games { background: var(--surface); }
.games-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.game-card {
  background: var(--surface-2);
  border: 1px solid rgba(212,168,67,0.12);
  border-radius: 16px;
  padding: 36px 28px;
  position: relative;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.game-card:hover { transform: translateY(-4px); border-color: rgba(212,168,67,0.4); }
.game-icon { font-size: 2.5rem; color: var(--gold); margin-bottom: 16px; }
.game-card h3 { font-family: 'Playfair Display', serif; font-size: 1.4rem; font-weight: 600; margin-bottom: 12px; }
.game-card p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; margin-bottom: 20px; }
.game-tag { font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); background: rgba(212,168,67,0.1); padding: 4px 12px; border-radius: 20px; }
.game-slots { border-top: 3px solid var(--gold); }
.game-poker { border-top: 3px solid #5BA3D9; }
.game-bingo { border-top: 3px solid #E85D75; }

/* REWARDS */
.revenue-flow { display: flex; align-items: flex-start; gap: 20px; margin-bottom: 60px; }
.flow-step { flex: 1; background: var(--surface-2); border: 1px solid rgba(212,168,67,0.12); border-radius: 12px; padding: 28px 20px; }
.flow-icon { font-size: 2rem; color: var(--gold); margin-bottom: 12px; }
.flow-step h4 { font-weight: 600; font-size: 1rem; margin-bottom: 8px; }
.flow-step p { color: var(--text-muted); font-size: 0.85rem; line-height: 1.5; }
.flow-arrow { font-size: 1.5rem; color: var(--text-muted); padding-top: 40px; }
.revenue-stats { display: flex; gap: 48px; padding: 32px; background: var(--surface-2); border-radius: 12px; border: 1px solid rgba(212,168,67,0.1); }
.rev-item { display: flex; flex-direction: column; gap: 6px; }
.rev-val { font-family: 'Playfair Display', serif; font-size: 1.8rem; font-weight: 700; color: var(--gold); }
.rev-label { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em; }

/* SOCIAL */
.social { background: var(--surface); }
.social-content { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.social-text h2 { font-family: 'Playfair Display', serif; font-size: clamp(1.8rem,3.5vw,2.8rem); font-weight: 700; margin-bottom: 24px; line-height: 1.2; }
.social-text p { color: var(--text-muted); margin-bottom: 28px; line-height: 1.7; }
.social-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.social-list li { font-size: 0.95rem; color: var(--text); line-height: 1.5; }
.social-list strong { color: var(--gold); }

/* LEADERBOARD */
.leaderboard-widget { background: linear-gradient(145deg, #16202C, #0D1822); border: 1px solid rgba(212,168,67,0.3); border-radius: 16px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,0.4); }
.lb-header { background: var(--emerald); padding: 14px 20px; font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 600; color: var(--gold); text-align: center; }
.lb-row { display: flex; align-items: center; padding: 14px 20px; border-bottom: 1px solid rgba(255,255,255,0.05); gap: 16px; font-size: 0.9rem; }
.lb-row:last-child { border-bottom: none; }
.lb-rank { width: 24px; text-align: center; color: var(--text-muted); font-weight: 600; }
.lb-gold .lb-rank { color: #FFD700; }
.lb-silver .lb-rank { color: #C0C0C0; }
.lb-bronze .lb-rank { color: #CD7F32; }
.lb-name { flex: 1; color: var(--text); }
.lb-coins { color: var(--gold); font-weight: 600; font-size: 0.85rem; }

/* CLOSING */
.closing { background: linear-gradient(ellipse 100% 80% at 50% 100%, rgba(13,74,63,0.4) 0%, transparent 70%), var(--bg); padding: 120px 40px; }
.closing-inner { max-width: 800px; margin: 0 auto; text-align: center; }
.closing-icon { font-size: 3rem; color: var(--gold); margin-bottom: 32px; }
.closing-headline { font-family: 'Playfair Display', serif; font-size: clamp(2.5rem,5vw,4.5rem); font-weight: 800; line-height: 1.1; margin-bottom: 28px; }
.closing-body { color: var(--text-muted); font-size: 1.1rem; line-height: 1.8; max-width: 560px; margin: 0 auto; }

/* FOOTER */
.footer { border-top: 1px solid rgba(212,168,67,0.1); padding: 60px 40px; }
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-brand { font-family: 'Playfair Display', serif; font-size: 1.4rem; font-weight: 700; color: var(--gold); margin-bottom: 12px; }
.footer-note { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 8px; }
.footer-legal { color: rgba(138,155,168,0.5); font-size: 0.75rem; line-height: 1.6; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 40px; }
  .hero-sub { margin: 0 auto; }
  .games-grid { grid-template-columns: 1fr; }
  .revenue-flow { flex-direction: column; }
  .flow-arrow { display: none; }
  .social-content { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 24px; }
}
@media (max-width: 600px) {
  .nav { padding: 16px 20px; }
  .hero { padding: 100px 20px 60px; }
  .section-inner { padding: 60px 20px; }
  .revenue-stats { flex-direction: column; gap: 24px; }
  .slot-machine { width: 240px; }
  .closing { padding: 80px 20px; }
  .footer { padding: 40px 20px; }
}