@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400&family=DM+Sans:wght@300;400;500;600&display=swap');

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

:root {
  --bg-deep:    #05070F;
  --bg-card:    #0C1020;
  --bg-section: #10152A;
  --gold:       #C99B2F;
  --gold-light: #E4B84A;
  --gold-dim:   #7A5D1A;
  --text-main:  #EDE8DF;
  --text-muted: #8A8A99;
  --border:     #1C2240;
  --red:        #C0392B;
  --radius:     8px;
  --radius-lg:  16px;
  --nav-h:      72px;
  --max-w:      1160px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg-deep);
  color: var(--text-main);
  line-height: 1.7;
  font-size: 16px;
  min-height: 100vh;
}

/* ─── NOISE TEXTURE ─── */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  opacity: 0.6;
}

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: var(--gold-dim); border-radius: 3px; }

/* ─── TYPOGRAPHY ─── */
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.15rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--gold-light); text-decoration: none; transition: color .2s; }
a:hover { color: #fff; }

strong { font-weight: 600; color: var(--text-main); }

/* ─── LAYOUT ─── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }

section { padding: 72px 0; }

/* ─── NAVIGATION ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  background: rgba(5,7,15,.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 24px;
  height: 100%;
  display: flex; align-items: center; justify-content: space-between;
}

.logo {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem; font-weight: 700;
  color: var(--text-main); letter-spacing: .03em;
}

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

.logo-icon {
  width: 36px; height: 36px;
  background: var(--gold);
  border-radius: 6px;
  display: grid; place-items: center;
  font-size: 1.1rem;
  color: #000;
}

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

.nav-links a {
  color: var(--text-muted);
  font-size: .875rem; font-weight: 500;
  padding: 6px 14px;
  border-radius: var(--radius);
  transition: all .2s;
}

.nav-links a:hover, .nav-links a.active { color: var(--text-main); background: var(--bg-section); }

.nav-cta {
  background: var(--gold) !important;
  color: #000 !important;
  font-weight: 600 !important;
  padding: 8px 18px !important;
}

.nav-cta:hover { background: var(--gold-light) !important; }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.hamburger span { width: 24px; height: 2px; background: var(--text-main); border-radius: 2px; transition: .3s; }

.mobile-menu {
  display: none;
  position: fixed; top: var(--nav-h); left: 0; right: 0;
  background: rgba(5,7,15,.98); backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  padding: 16px 24px 24px;
  z-index: 999;
}

.mobile-menu.open { display: block; }
.mobile-menu a { display: block; padding: 12px 0; color: var(--text-muted); border-bottom: 1px solid var(--border); font-weight: 500; }
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover { color: var(--gold-light); }

/* ─── HERO ─── */
.hero {
  padding-top: calc(var(--nav-h) + 80px);
  padding-bottom: 80px;
  position: relative; overflow: hidden;
}

.hero-glow {
  position: absolute; top: -200px; left: 50%; transform: translateX(-50%);
  width: 800px; height: 600px;
  background: radial-gradient(ellipse, rgba(201,155,47,.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-label {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(201,155,47,.1);
  border: 1px solid rgba(201,155,47,.3);
  color: var(--gold-light);
  font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 40px;
  margin-bottom: 28px;
}

.hero h1 { margin-bottom: 24px; }
.hero h1 em { font-style: italic; color: var(--gold); }

.hero-sub {
  font-size: 1.15rem; color: var(--text-muted);
  max-width: 600px; margin-bottom: 40px;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: var(--radius);
  font-family: 'DM Sans', sans-serif;
  font-size: .95rem; font-weight: 600;
  cursor: pointer; border: none; transition: all .2s;
  text-decoration: none;
}

.btn-gold {
  background: var(--gold);
  color: #000;
  box-shadow: 0 4px 24px rgba(201,155,47,.3);
}

.btn-gold:hover { background: var(--gold-light); color: #000; transform: translateY(-1px); box-shadow: 0 6px 32px rgba(201,155,47,.4); }

.btn-outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
}

.btn-outline:hover { border-color: var(--gold-dim); color: var(--text-main); }

/* ─── BADGE ROW ─── */
.badge-row {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-top: 48px;
}

.badge {
  display: flex; align-items: center; gap: 8px;
  background: var(--bg-card); border: 1px solid var(--border);
  padding: 10px 18px; border-radius: 40px;
  font-size: .875rem; color: var(--text-muted);
}

.badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }

/* ─── SECTION LABEL ─── */
.section-label {
  display: inline-block;
  color: var(--gold); font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  margin-bottom: 12px;
}

/* ─── SPEC TABLE ─── */
.spec-table {
  width: 100%; border-collapse: collapse;
  border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden;
  margin: 32px 0;
}

.spec-table th {
  background: var(--bg-section);
  color: var(--gold); font-family: 'DM Sans', sans-serif; font-weight: 600;
  font-size: .8rem; letter-spacing: .08em; text-transform: uppercase;
  padding: 14px 20px; text-align: left;
  border-bottom: 1px solid var(--border);
}

.spec-table td {
  padding: 14px 20px;
  font-size: .9rem; color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}

.spec-table td:first-child { color: var(--text-main); font-weight: 500; }
.spec-table tr:last-child td { border-bottom: none; }
.spec-table tr:hover td { background: rgba(255,255,255,.02); }

/* ─── BONUS CARDS ─── */
.bonus-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin: 32px 0; }

.bonus-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px;
  position: relative; overflow: hidden; transition: border-color .2s;
}

.bonus-card:hover { border-color: var(--gold-dim); }
.bonus-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--gold), transparent); }

.bonus-card .icon { font-size: 2rem; margin-bottom: 16px; }
.bonus-card h4 { margin-bottom: 8px; }
.bonus-card .amount { font-family: 'Cormorant Garamond', serif; font-size: 1.6rem; color: var(--gold); font-weight: 700; margin-bottom: 8px; }
.bonus-card p { font-size: .875rem; color: var(--text-muted); }

/* ─── FEATURE GRID ─── */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 32px; }

.feature-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px;
  transition: all .2s;
}

.feature-card:hover { border-color: var(--gold-dim); transform: translateY(-2px); }
.feature-card .icon { font-size: 1.8rem; margin-bottom: 16px; }
.feature-card h4 { margin-bottom: 10px; }
.feature-card p { font-size: .9rem; color: var(--text-muted); margin: 0; }

/* ─── STEPS ─── */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0; margin: 32px 0; counter-reset: step; }

.step {
  background: var(--bg-card); border: 1px solid var(--border);
  padding: 28px; position: relative; counter-increment: step;
}

.step::before {
  content: counter(step);
  position: absolute; top: 20px; right: 20px;
  font-family: 'Cormorant Garamond', serif; font-size: 3rem; font-weight: 700;
  color: var(--border); line-height: 1;
}

.step:not(:last-child) { border-right: none; }
.step:first-child { border-radius: var(--radius-lg) 0 0 var(--radius-lg); }
.step:last-child { border-radius: 0 var(--radius-lg) var(--radius-lg) 0; }

.step h4 { margin-bottom: 8px; font-size: 1rem; }
.step p { font-size: .875rem; color: var(--text-muted); margin: 0; }

/* ─── TWO COL ─── */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.two-col .text-block h2 { margin-bottom: 20px; }
.two-col .text-block p { color: var(--text-muted); }

/* ─── INFO BOX ─── */
.info-box {
  background: var(--bg-card); border: 1px solid var(--border); border-left: 3px solid var(--gold);
  border-radius: var(--radius); padding: 24px 28px; margin: 24px 0;
}

.info-box p { margin: 0; font-size: .9rem; color: var(--text-muted); }
.info-box strong { color: var(--gold-light); }

/* ─── GAME GRID ─── */
.game-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; margin: 24px 0; }

.game-tile {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px 16px;
  text-align: center; transition: all .2s;
}

.game-tile:hover { border-color: var(--gold-dim); transform: translateY(-2px); }
.game-tile .game-icon { font-size: 2rem; margin-bottom: 10px; }
.game-tile .game-name { font-size: .875rem; font-weight: 600; margin-bottom: 4px; }
.game-tile .game-type { font-size: .75rem; color: var(--text-muted); }

/* ─── LIST ITEMS ─── */
.check-list { list-style: none; margin: 16px 0; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; padding: 8px 0; font-size: .9rem; color: var(--text-muted); border-bottom: 1px solid var(--border); }
.check-list li:last-child { border-bottom: none; }
.check-list li::before { content: '✦'; color: var(--gold); font-size: .7rem; margin-top: 5px; flex-shrink: 0; }

/* ─── PROVIDER PILLS ─── */
.provider-pills { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0; }

.pill {
  background: var(--bg-section); border: 1px solid var(--border);
  color: var(--text-muted); font-size: .8rem; font-weight: 500;
  padding: 6px 14px; border-radius: 40px;
}

/* ─── JACKPOT BANNER ─── */
.jackpot-banner {
  background: linear-gradient(135deg, #12100A, #1E1500);
  border: 1px solid var(--gold-dim);
  border-radius: var(--radius-lg); padding: 36px;
  text-align: center; position: relative; overflow: hidden;
  margin: 32px 0;
}

.jackpot-banner::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(201,155,47,.08) 0%, transparent 70%);
}

.jackpot-banner .jackpot-label { font-size: .75rem; letter-spacing: .15em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.jackpot-banner .jackpot-amount { font-family: 'Cormorant Garamond', serif; font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 700; color: var(--gold-light); line-height: 1; }
.jackpot-banner p { color: var(--text-muted); margin: 12px 0 0; font-size: .9rem; }

/* ─── DISCLAIMER BAR ─── */
.disclaimer {
  background: rgba(192,57,43,.08); border: 1px solid rgba(192,57,43,.2);
  border-radius: var(--radius); padding: 16px 20px;
  font-size: .8rem; color: var(--text-muted); margin: 24px 0;
}

/* ─── LEGAL PAGES ─── */
.legal-body { padding-top: calc(var(--nav-h) + 60px); padding-bottom: 80px; }
.legal-body h2 { font-size: 1.6rem; margin: 36px 0 16px; padding-top: 36px; border-top: 1px solid var(--border); }
.legal-body h2:first-of-type { border-top: none; padding-top: 0; }
.legal-body p, .legal-body li { color: var(--text-muted); font-size: .95rem; }
.legal-body ul, .legal-body ol { padding-left: 20px; margin: 12px 0 16px; }
.legal-body li { margin-bottom: 8px; }
.legal-body .legal-header { margin-bottom: 40px; padding-bottom: 32px; border-bottom: 1px solid var(--border); }
.legal-body .legal-header h1 { margin-bottom: 12px; }
.legal-body .legal-header p { color: var(--text-muted); font-size: .9rem; }
.legal-body .spec-table { margin: 20px 0; }

/* ─── PAGE HEADER (inner pages) ─── */
.page-header {
  padding-top: calc(var(--nav-h) + 60px);
  padding-bottom: 60px;
  position: relative; overflow: hidden;
}

.page-header-glow {
  position: absolute; top: -100px; right: -100px;
  width: 500px; height: 400px;
  background: radial-gradient(ellipse, rgba(201,155,47,.08) 0%, transparent 70%);
  pointer-events: none;
}

/* ─── FOOTER ─── */
footer {
  background: var(--bg-card); border-top: 1px solid var(--border);
  position: relative; z-index: 1;
}

.footer-top { padding: 64px 0 48px; }

.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }

.footer-brand .logo { margin-bottom: 16px; }
.footer-brand p { font-size: .875rem; color: var(--text-muted); line-height: 1.7; max-width: 260px; }

.footer-col h5 { font-family: 'DM Sans', sans-serif; font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { color: var(--text-muted); font-size: .875rem; transition: color .2s; }
.footer-col ul a:hover { color: var(--text-main); }

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

.footer-bottom p { font-size: .8rem; color: var(--text-muted); }

.age-badge {
  background: var(--bg-section); border: 1px solid var(--border);
  color: var(--text-muted); font-size: .75rem; font-weight: 700;
  padding: 4px 10px; border-radius: 4px;
}

.rg-logos { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.rg-logos span { font-size: .7rem; background: var(--bg-section); border: 1px solid var(--border); padding: 5px 10px; border-radius: 4px; color: var(--text-muted); }

/* ─── DIVIDER ─── */
.divider { height: 1px; background: var(--border); margin: 48px 0; }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .two-col { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .steps { grid-template-columns: 1fr; }
  .step { border-right: 1px solid var(--border); border-bottom: none; border-radius: 0; }
  .step:first-child { border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
  .step:last-child { border-radius: 0 0 var(--radius-lg) var(--radius-lg); border-bottom: 1px solid var(--border); }
}

@media (max-width: 600px) {
  section { padding: 48px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .hero { padding-top: calc(var(--nav-h) + 48px); padding-bottom: 48px; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
}

/* ─── ANIMATIONS ─── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.animate { animation: fadeUp .6s ease forwards; }
.animate-delay-1 { animation-delay: .1s; opacity: 0; }
.animate-delay-2 { animation-delay: .2s; opacity: 0; }
.animate-delay-3 { animation-delay: .3s; opacity: 0; }
