:root {
  --bg: #0a1628;
  --bg-light: #132240;
  --bg-lighter: #1a2d50;
  --card-bg: #111d35;
  --card-border: #1e3a5f;
  --fg: #e2e8f0;
  --accent: #38bdf8;
  --accent-light: #7dd3fc;
  --accent-dark: #0284c7;
  --gold: #f59e0b;
  --gold-dark: #d97706;
  --gold-light: #fbbf24;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

img { max-width: 100%; height: auto; }

/* ── Header ── */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 22, 40, .95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--card-border);
}
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.logo .icon { color: var(--accent); }
.logo .highlight { color: var(--accent); }

.nav-links {
  display: flex;
  gap: .25rem;
  list-style: none;
}
.nav-links a {
  padding: .5rem .75rem;
  border-radius: .5rem;
  font-size: .875rem;
  font-weight: 500;
  color: #cbd5e1;
  transition: all .2s;
}
.nav-links a:hover { color: #fff; background: var(--bg-lighter); }

.burger {
  display: none;
  background: none;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  padding: .5rem;
  border-radius: .5rem;
}
.burger:hover { color: #fff; background: var(--bg-lighter); }
.burger svg { width: 24px; height: 24px; }

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: .25rem;
  padding-bottom: 1rem;
  list-style: none;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  display: block;
  padding: .5rem .75rem;
  border-radius: .5rem;
  font-weight: 500;
  color: #cbd5e1;
  transition: all .2s;
}
.mobile-nav a:hover { color: #fff; background: var(--bg-lighter); }

@media (max-width: 768px) {
  .nav-links { display: none; }
  .burger { display: block; }
}

/* ── Footer ── */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--card-border);
  margin-top: 5rem;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 3rem 1rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer h3 { color: #fff; margin-bottom: 1rem; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: .5rem; }
.footer-links a, .footer-links span {
  font-size: .875rem;
  color: #64748b;
  transition: color .2s;
}
.footer-links a:hover { color: var(--accent); }
.footer-desc { font-size: .875rem; color: #64748b; line-height: 1.7; }
.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--card-border);
}
.footer-disclaimer {
  font-size: .75rem;
  color: #475569;
  line-height: 1.7;
}

/* ── Container ── */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 4rem 1rem;
}

/* ── Hero ── */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--bg), var(--bg-light), rgba(2,132,199,.15));
  padding: 5rem 1rem 6rem;
  text-align: center;
}
.hero-glow-1 {
  position: absolute; top: 2rem; left: 2rem;
  width: 8rem; height: 8rem;
  background: var(--accent); border-radius: 50%;
  filter: blur(60px); opacity: .1;
}
.hero-glow-2 {
  position: absolute; bottom: 2rem; right: 2rem;
  width: 12rem; height: 12rem;
  background: var(--gold); border-radius: 50%;
  filter: blur(60px); opacity: .1;
}
.hero-content {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}
.hero h1 .accent { color: var(--accent); }
.hero p {
  font-size: 1.125rem;
  color: #94a3b8;
  max-width: 48rem;
  margin: 0 auto 2rem;
  line-height: 1.7;
}
.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Section titles ── */
h2 {
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.5rem;
}
.section { margin-bottom: 4rem; }

/* ── CTA Button ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  border-radius: .5rem;
  transition: all .2s;
  border: none;
  cursor: pointer;
  text-decoration: none;
}
.btn:hover { transform: scale(1.05); }
.btn-sm { padding: .5rem 1rem; font-size: .875rem; }
.btn-md { padding: .75rem 1.5rem; font-size: 1rem; }
.btn-lg { padding: 1rem 2rem; font-size: 1.125rem; }
.btn-gold {
  background: var(--gold);
  color: var(--bg);
  box-shadow: 0 4px 16px rgba(245,158,11,.2);
}
.btn-gold:hover { background: var(--gold-dark); }
.btn-accent {
  background: var(--accent);
  color: var(--bg);
  box-shadow: 0 4px 16px rgba(56,189,248,.2);
}
.btn-accent:hover { background: var(--accent-dark); }
.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}
.btn-outline:hover { background: var(--accent); color: var(--bg); }

/* ── Cards ── */
.card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: .75rem;
  padding: 1.5rem;
  transition: border-color .2s;
}
.card:hover { border-color: rgba(56,189,248,.3); }
.card h3 { color: #fff; font-weight: 700; margin-bottom: .5rem; }
.card p { color: #64748b; font-size: .875rem; line-height: 1.6; }

.card-link {
  display: block;
  text-decoration: none;
}
.card-link h3 { transition: color .2s; }
.card-link:hover h3 { color: var(--accent); }

/* ── Grid layouts ── */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

/* ── Casino Table ── */
.casino-table-wrap {
  overflow-x: auto;
  border-radius: .75rem;
  border: 1px solid var(--card-border);
}
.casino-table {
  width: 100%;
  border-collapse: collapse;
}
.casino-table th {
  background: var(--bg-lighter);
  padding: .75rem 1rem;
  text-align: left;
  font-size: .875rem;
  font-weight: 600;
  color: #94a3b8;
  border-bottom: 1px solid var(--card-border);
}
.casino-table th:last-child { text-align: right; }
.casino-table td {
  padding: 1rem;
  font-size: .875rem;
  vertical-align: middle;
}
.casino-table tr:nth-child(even) { background: var(--card-bg); }
.casino-table tr:nth-child(odd) { background: var(--bg-light); }
.casino-table tr:hover { background: var(--bg-lighter); }
.casino-table .name { color: #fff; font-weight: 500; }
.casino-table .bonus { color: var(--accent-light); }
.casino-table .action { text-align: right; }
.stars { color: var(--gold); font-size: .875rem; letter-spacing: 1px; }
.stars .dim { color: #374151; }
.rating-num { color: #94a3b8; font-size: .875rem; margin-left: .25rem; }

/* ── FAQ ── */
.faq-list { display: flex; flex-direction: column; gap: .75rem; }
.faq-item {
  border: 1px solid var(--card-border);
  border-radius: .5rem;
  overflow: hidden;
}
.faq-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  background: var(--card-bg);
  border: none;
  cursor: pointer;
  text-align: left;
  color: #fff;
  font-weight: 500;
  font-size: 1rem;
  transition: background .2s;
}
.faq-btn:hover { background: var(--bg-lighter); }
.faq-btn svg {
  width: 20px; height: 20px;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform .2s;
}
.faq-item.open .faq-btn svg { transform: rotate(180deg); }
.faq-answer {
  display: none;
  padding: 1rem 1.25rem;
  background: var(--bg-light);
  border-top: 1px solid var(--card-border);
  color: #94a3b8;
  line-height: 1.7;
}
.faq-item.open .faq-answer { display: block; }

/* ── CTA Banner ── */
.cta-banner {
  background: linear-gradient(135deg, var(--card-bg), var(--bg-light));
  border: 1px solid var(--card-border);
  border-radius: 1rem;
  padding: 2rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.cta-banner h2 { margin-bottom: .5rem; }
.cta-banner p { color: #64748b; margin-bottom: 0; }
.cta-banner-center {
  text-align: center;
  justify-content: center;
  flex-direction: column;
}
.cta-banner-center .cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

/* ── Stat boxes ── */
.stat-box {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: .75rem;
  padding: 1rem;
  text-align: center;
}
.stat-box .label { font-size: .875rem; color: #64748b; margin-bottom: .25rem; }
.stat-box .value { font-size: 1.25rem; font-weight: 700; color: var(--accent); }

/* ── Pros / Cons ── */
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
@media (max-width: 768px) { .pros-cons { grid-template-columns: 1fr; } }
.pros-card {
  background: var(--card-bg);
  border: 1px solid rgba(34,197,94,.2);
  border-radius: .75rem;
  padding: 1.5rem;
}
.cons-card {
  background: var(--card-bg);
  border: 1px solid rgba(239,68,68,.2);
  border-radius: .75rem;
  padding: 1.5rem;
}
.pros-card h3 { color: #4ade80; margin-bottom: 1rem; }
.cons-card h3 { color: #f87171; margin-bottom: 1rem; }
.check-list { list-style: none; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  margin-bottom: .75rem;
  font-size: .875rem;
  color: #94a3b8;
}
.check-list .icon-yes { color: #4ade80; }
.check-list .icon-no { color: #f87171; }

/* ── Steps ── */
.steps { display: flex; flex-direction: column; gap: 1rem; }
.step {
  display: flex;
  gap: 1rem;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: .75rem;
  padding: 1.25rem;
}
.step-num {
  width: 40px; height: 40px;
  background: rgba(56,189,248,.15);
  color: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.125rem;
  flex-shrink: 0;
}
.step h3 { color: #fff; font-weight: 700; margin-bottom: .25rem; }
.step p { color: #64748b; font-size: .875rem; line-height: 1.6; }

/* ── Bonus boxes ── */
.bonus-card {
  border-radius: .75rem;
  padding: 1.5rem;
  text-align: center;
}
.bonus-card .tag { font-size: .75rem; font-weight: 600; margin-bottom: .5rem; }
.bonus-card .amount { font-size: 1.875rem; font-weight: 800; color: #fff; margin-bottom: .5rem; }
.bonus-card .desc { font-size: .875rem; color: #64748b; margin-bottom: 1rem; }
.bonus-card .terms { font-size: .75rem; color: #475569; }
.bonus-accent {
  background: linear-gradient(180deg, rgba(56,189,248,.1), var(--card-bg));
  border: 1px solid rgba(56,189,248,.3);
}
.bonus-accent .tag { color: var(--accent); }
.bonus-gold {
  background: linear-gradient(180deg, rgba(245,158,11,.1), var(--card-bg));
  border: 1px solid rgba(245,158,11,.3);
}
.bonus-gold .tag { color: var(--gold); }
.bonus-purple {
  background: linear-gradient(180deg, rgba(168,85,247,.1), var(--card-bg));
  border: 1px solid rgba(168,85,247,.3);
}
.bonus-purple .tag { color: #a855f7; }

/* ── Tags / pills ── */
.tag-list { display: flex; flex-wrap: wrap; gap: .75rem; }
.tag-pill {
  padding: .5rem 1rem;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: .5rem;
  font-size: .875rem;
  color: #94a3b8;
  transition: all .2s;
}
.tag-pill:hover { color: var(--accent); border-color: rgba(56,189,248,.3); }

/* ── Demo placeholder ── */
.demo-frame {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 1rem;
  overflow: hidden;
}
.demo-inner {
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--bg-light), rgba(2,132,199,.08));
  text-align: center;
  padding: 2rem;
}
.demo-inner .icon { font-size: 4rem; margin-bottom: 1rem; }
.demo-inner h2 { margin-bottom: .5rem; }
.demo-inner p { color: #64748b; margin-bottom: 1.5rem; }

/* ── Info table (bonus terms) ── */
.info-table-wrap {
  border-radius: .75rem;
  border: 1px solid var(--card-border);
  overflow-x: auto;
}
.info-table { width: 100%; border-collapse: collapse; }
.info-table th {
  background: var(--bg-lighter);
  padding: .75rem 1rem;
  text-align: left;
  font-size: .875rem;
  font-weight: 600;
  color: #94a3b8;
  border-bottom: 1px solid var(--card-border);
}
.info-table td {
  padding: .75rem 1rem;
  font-size: .875rem;
  color: #94a3b8;
}
.info-table td:first-child { color: #fff; font-weight: 500; }
.info-table tr:nth-child(even) { background: var(--card-bg); }
.info-table tr:nth-child(odd) { background: var(--bg-light); }

/* ── Game details list ── */
.detail-list { list-style: none; }
.detail-list li {
  display: flex;
  justify-content: space-between;
  padding: .75rem 0;
  border-bottom: 1px solid var(--card-border);
  font-size: .875rem;
}
.detail-list .dl-label { color: #64748b; }
.detail-list .dl-value { color: #fff; font-weight: 500; }

/* ── Text helpers ── */
.text-accent { color: var(--accent); }
.text-gold { color: var(--gold); }
.text-muted { color: #94a3b8; }
.text-sm { font-size: .875rem; }
.text-xs { font-size: .75rem; }
.text-center { text-align: center; }
.max-w-prose { max-width: 65ch; }
.leading-relaxed { line-height: 1.7; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mt-4 { margin-top: 1rem; }
