:root {
  --bg-0: #0f0a26;
  --bg-1: #1a1040;
  --bg-2: #241454;
  --card: #1f1547;
  --card-2: #2a1a5e;
  --border: #3b2a7a;
  --text: #f4f1ff;
  --muted: #b9aee8;
  --purple: #8b5cf6;
  --pink: #ec4899;
  --mint: #22d3a8;
  --mint-2: #10b981;
  --cyan: #22d3ee;
  --amber: #f59e0b;
  --danger: #ef4444;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 8px 28px rgba(16,0,48,.55);
  --grad-purple: linear-gradient(135deg,#7c3aed 0%, #ec4899 100%);
  --grad-card: linear-gradient(145deg,#2a1a5e 0%, #1b1144 100%);
  --grad-cta: linear-gradient(135deg, #22d3a8, #10b981);
  --grad-hero: radial-gradient(circle at 20% 10%, rgba(139,92,246,.5), transparent 45%),
               radial-gradient(circle at 80% 20%, rgba(236,72,153,.4), transparent 50%),
               radial-gradient(circle at 60% 90%, rgba(34,211,238,.25), transparent 50%),
               linear-gradient(180deg,#140a33 0%, #0f0a26 100%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body {
  margin: 0;
  padding: 0;
  background: var(--bg-0);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan); text-decoration: none; }
a:hover { color: var(--mint); }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

h1, h2, h3, h4 {
  color: #fff;
  line-height: 1.25;
  margin: 0 0 .6em;
  font-weight: 800;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(28px, 5vw, 44px); }
h2 { font-size: clamp(22px, 3.8vw, 32px); margin-top: 1.2em; }
h3 { font-size: clamp(18px, 2.6vw, 22px); margin-top: 1em; }
p { margin: 0 0 1em; color: var(--text); }
ul { padding-left: 1.2em; }
li { margin-bottom: .45em; }
strong { color: #fff; }

/* ===== ACCESSIBILITY ===== */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  background: var(--purple);
  color: #fff;
  padding: 10px 18px;
  border-radius: 0 0 8px 0;
  z-index: 9999;
  font-weight: 700;
}
.skip-link:focus { left: 0; top: 0; color: #fff; }

/* ===== BREADCRUMBS ===== */
.breadcrumbs {
  background: rgba(139,92,246,.08);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
  font-size: 13px;
}
.breadcrumbs ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.breadcrumbs li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--muted);
}
.breadcrumbs li:not(:last-child)::after {
  content: '›';
  color: var(--purple);
  font-weight: 700;
}
.breadcrumbs a {
  color: var(--muted);
  text-decoration: none;
}
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs [aria-current="page"] { color: #fff; font-weight: 600; }

/* ===== HEADER ===== */
.site-header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(15,10,38,.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 20px;
  max-width: 1280px;
  margin: 0 auto;
}
.logo-link { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-link img { height: 44px; width: auto; }
.main-nav { display: flex; gap: 4px; align-items: center; flex: 1; justify-content: center; flex-wrap: wrap; }
.main-nav a {
  color: var(--text);
  padding: 8px 14px;
  border-radius: 10px;
  font-weight: 500;
  font-size: 15px;
  transition: background .2s, color .2s;
}
.main-nav a:hover, .main-nav a.active { background: rgba(139,92,246,.2); color: #fff; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform .15s, box-shadow .2s, filter .2s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--grad-cta);
  color: #0f2e22;
  box-shadow: 0 6px 18px rgba(34,211,168,.4);
}
.btn-primary:hover { transform: translateY(-2px); filter: brightness(1.08); color:#0f2e22; }
.btn-secondary {
  background: rgba(255,255,255,.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,.15);
}
.btn-secondary:hover { background: rgba(255,255,255,.14); color: #fff; }
.btn-gradient {
  background: var(--grad-purple);
  color: #fff;
  box-shadow: 0 8px 20px rgba(139,92,246,.45);
}
.btn-gradient:hover { transform: translateY(-2px); color:#fff; filter: brightness(1.1); }
.btn-lg { padding: 14px 32px; font-size: 16px; }

/* Burger */
.burger {
  display: none;
  width: 42px; height: 42px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 10px;
  padding: 0;
  cursor: pointer;
  position: relative;
}
.burger span {
  position: absolute;
  left: 9px; right: 9px;
  height: 2px; background: #fff; border-radius: 2px;
  transition: transform .25s, top .25s, opacity .2s;
}
.burger span:nth-child(1) { top: 13px; }
.burger span:nth-child(2) { top: 20px; }
.burger span:nth-child(3) { top: 27px; }
.burger.open span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { top: 20px; transform: rotate(-45deg); }

.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-h, 68px);
  left: 0;
  right: 0;
  bottom: 0;
  height: calc(100vh - var(--header-h, 68px));
  height: calc(100dvh - var(--header-h, 68px));
  background: var(--bg-1);
  border-top: 1px solid var(--border);
  padding: 20px 20px 30px;
  z-index: 999;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  flex-direction: column;
  gap: 4px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  display: block;
  color: var(--text);
  padding: 14px 14px;
  border-radius: 10px;
  font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.mobile-nav a:hover, .mobile-nav a.active { background: rgba(139,92,246,.2); color: #fff; }
.mobile-nav .btn { margin-top: 10px; text-align:center; border-bottom: none; }
body.menu-open { overflow: hidden; }

/* ===== HERO ===== */
.hero {
  background: var(--grad-hero);
  padding: 56px 0 40px;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
}
.hero-grid > * { min-width: 0; }
.hero h1 {
  font-size: clamp(26px, 4.2vw, 52px);
  margin-bottom: .4em;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}
.hero p.lead { font-size: clamp(15px, 2vw, 19px); color: var(--muted); margin-bottom: 1.4em; overflow-wrap: anywhere; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-image {
  width: 100%;
  max-width: 560px;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

/* ===== SECTION ===== */
.section { padding: 48px 0; }
.section.tight { padding: 32px 0; }
.section-alt { background: linear-gradient(180deg, rgba(139,92,246,.06), transparent); }

.prose h2:first-child { margin-top: 0; }
.prose p, .prose ul { color: #e2dcf7; }
.prose ul li::marker { color: var(--pink); }

/* Cards */
.cards {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.card {
  background: var(--grad-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  transition: transform .2s, border-color .2s;
}
.card:hover { transform: translateY(-4px); border-color: var(--purple); }
.card h3 { margin-top: 0; color: #fff; }
.card.promo {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.card.promo .promo-image {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg,#3a1f7a, #6d28d9);
  background-size: cover;
  background-position: center;
}
.card.promo .promo-body { padding: 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card.promo h3 { font-size: 18px; }
.card.promo .btn { align-self: flex-start; margin-top: auto; }

/* Promo banner grid — shows full-width promo banners at natural aspect ratio */
.promo-banners {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}
.promo-banner {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #13092e;
  transition: transform .2s, box-shadow .2s;
}
.promo-banner:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(139,92,246,.4); }
.promo-banner img { width: 100%; height: auto; display: block; }

/* Banner band — full-width linked image (casino tiles, live casino rows) */
.banner-band {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #13092e;
  margin: 18px 0;
  transition: transform .2s, box-shadow .2s;
}
.banner-band:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(139,92,246,.3); }
.banner-band img { width: 100%; height: auto; display: block; }

/* Stats row */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  margin: 24px 0;
}
.stat {
  background: var(--grad-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  display: flex;
  gap: 14px;
  align-items: center;
}
.stat .stat-ico {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--grad-purple);
  display: grid; place-items: center;
  font-size: 20px; font-weight: 800; color: #fff;
  flex-shrink: 0;
}
.stat h4 { margin: 0; font-size: 15px; color:#fff; }
.stat span { font-size: 13px; color: var(--muted); }

/* Table */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--card);
  margin: 18px 0;
  -webkit-overflow-scrolling: touch;
}
.prose table, table.data {
  width: 100%;
  border-collapse: collapse;
  min-width: 480px;
}
.prose table th, .prose table td, table.data th, table.data td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.prose table th, table.data th {
  background: rgba(139,92,246,.18);
  color: #fff;
  font-weight: 700;
}
.prose table tr:last-child td { border-bottom: none; }

/* FAQ */
.faq {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 10px;
  overflow: hidden;
}
.faq summary {
  padding: 16px 20px;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 24px; color: var(--purple); transition: transform .2s; }
.faq[open] summary::after { transform: rotate(45deg); }
.faq > div { padding: 0 20px 18px; color: var(--muted); }
.faq > div p { color: #dcd4f0; }

/* CTA band */
.cta-band {
  background: var(--grad-purple);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  text-align: center;
  margin: 28px 0;
  box-shadow: var(--shadow);
}
.cta-band h2 { color: #fff; margin-top: 0; }
.cta-band p { color: rgba(255,255,255,.9); margin-bottom: 18px; }

/* ===== FOOTER ===== */
.site-footer {
  background: #0a0619;
  border-top: 1px solid var(--border);
  padding: 40px 0 20px;
  margin-top: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 28px;
}
.footer-col h4 { color: #fff; font-size: 16px; margin-bottom: 14px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: var(--muted); font-size: 14px; }
.footer-col a:hover { color: var(--mint); }
.footer-about img { height: 40px; margin-bottom: 12px; }
.footer-about p { color: var(--muted); font-size: 14px; }

/* Regulators */
.regulators-title {
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 24px 0 16px;
}
.regulators {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}
.regulator-btn {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px;
  text-align: left;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  transition: transform .15s, background .2s, border-color .2s;
  min-height: 92px;
  overflow: hidden;
  min-width: 0;
}
.regulator-btn:hover {
  background: rgba(255,255,255,.08);
  border-color: var(--purple);
  transform: translateY(-2px);
  color: #fff;
}
.regulator-btn img {
  height: 72px;
  width: 96px;
  flex-shrink: 0;
  object-fit: contain;
  padding: 6px 8px;
  border-radius: 8px;
  background: #ffffff;
}
.regulator-btn.logo-on-dark img {
  background: #1a1040;
}
.regulator-btn .reg-name {
  line-height: 1.25;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  word-break: break-word;
  hyphens: auto;
}

@media (max-width: 860px) {
  .regulators { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .regulator-btn { min-height: 78px; padding: 8px; gap: 10px; font-size: 11px; }
  .regulator-btn img { height: 56px; width: 74px; padding: 5px 6px; }
}
@media (max-width: 380px) {
  .regulator-btn img { height: 48px; width: 62px; }
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: var(--muted);
  font-size: 13px;
  flex-wrap: wrap;
}
.age-badge {
  background: var(--danger);
  color: #fff;
  width: 34px; height: 34px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  font-weight: 800;
  margin-right: 8px;
}

/* Utility */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mt-0 { margin-top: 0; }
.grid-2 { display:grid; grid-template-columns:1fr 1fr; gap:22px; }
.badge {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(34,211,168,.18);
  color: var(--mint);
  border-radius: 99px;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .3px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-image { margin: 0 auto; }
}

@media (max-width: 860px) {
  .main-nav, .header-cta { display: none; }
  .burger { display: inline-block; }
  .grid-2 { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .section { padding: 32px 0; }
  .hero { padding: 32px 0 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 20px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .btn { padding: 10px 18px; font-size: 14px; }
  .cta-band { padding: 24px 18px; }
  h1 { font-size: 28px; }
  h2 { font-size: 22px; }
}

@media (max-width: 420px) {
  .stat { flex-direction: column; text-align: center; }
}
