:root {
  --c-header: #3a2862;
  --c-header-2: #2f2150;
  --c-hero-1: #7445b4;
  --c-hero-2: #4a2780;
  --c-hero-3: #3c1f6a;
  --c-pink: #e85397;
  --c-pink-dark: #d23d84;
  --c-pink-soft: #fbe6f0;
  --c-purple: #6a3ba8;
  --c-purple-dark: #4a2780;
  --c-gold: #f3b73d;
  --c-lav-1: #f4e9fb;
  --c-lav-2: #fce9f1;
  --c-text: #3e3953;
  --c-text-muted: #6f6987;
  --c-heading: #3a2862;
  --c-line: #ece4f3;
  --c-white: #ffffff;
  --c-footer-text: #cdbfe6;

  --font-display: "Baloo 2", system-ui, "Segoe UI", sans-serif;
  --font-body: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --container: 1180px;
  --radius-s: 10px;
  --radius-m: 16px;
  --radius-l: 24px;
  --radius-pill: 999px;
  --shadow-s: 0 4px 14px rgba(58, 40, 98, .10);
  --shadow-m: 0 10px 30px rgba(58, 40, 98, .16);
  --shadow-pink: 0 8px 22px rgba(216, 61, 132, .35);
  --header-h: 64px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--c-text);
  background: var(--c-white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-pink-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 18px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 12px; top: -60px;
  background: var(--c-pink); color: #fff; padding: 10px 16px;
  border-radius: var(--radius-s); z-index: 200; transition: top .2s;
}
.skip-link:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-weight: 800; font-size: 15px;
  line-height: 1; padding: 12px 22px; border-radius: var(--radius-pill);
  border: 0; cursor: pointer; text-align: center; white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-pink { background: var(--c-pink); color: #fff; box-shadow: var(--shadow-pink); }
.btn-pink:hover { background: var(--c-pink-dark); color: #fff; }
.btn-ghost { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.55); }
.btn-ghost:hover { background: rgba(255,255,255,.14); color: #fff; }
.btn-lg { font-size: 18px; padding: 16px 38px; }
.btn-sm { font-size: 13px; padding: 9px 18px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--c-header);
  background-image: linear-gradient(180deg, #43306f 0%, #382761 100%);
  box-shadow: 0 2px 16px rgba(0,0,0,.22);
}
.header-inner {
  display: flex; align-items: center; gap: 14px;
  min-height: var(--header-h);
}
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; margin-right: auto; }
.brand img { height: 38px; width: auto; }

.main-nav { display: none; }
.main-nav ul { list-style: none; display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; }
.main-nav a {
  display: inline-flex; flex-direction: column; align-items: center; gap: 3px;
  color: #eadcff; font-weight: 700; font-size: 12.5px; letter-spacing: .2px;
  padding: 6px 10px; border-radius: var(--radius-s); transition: background .15s, color .15s;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { background: rgba(255,255,255,.12); color: #fff; text-decoration: none; }
.main-nav a[aria-current="page"] { color: #ffd9ec; }
.main-nav svg { width: 20px; height: 20px; }

.header-actions { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.header-actions .btn-ghost { display: none; }

.burger {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 0 10px; background: rgba(255,255,255,.10);
  border: 0; border-radius: 12px; cursor: pointer;
}
.burger span { display: block; height: 3px; width: 100%; background: #fff; border-radius: 3px; transition: transform .25s, opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Mobile drawer ---------- */
.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0 auto; width: min(320px, 86vw);
  background: linear-gradient(180deg, #3d2b68, #2c1e4c);
  transform: translateX(105%); transition: transform .28s ease;
  z-index: 99; padding: 18px 16px 40px; overflow-y: auto;
  box-shadow: -10px 0 40px rgba(0,0,0,.4);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu li { border-bottom: 1px solid rgba(255,255,255,.08); }
.mobile-menu a {
  display: flex; align-items: center; gap: 12px; color: #ecdfff;
  font-weight: 700; font-size: 16px; padding: 14px 8px;
}
.mobile-menu a:hover { color: #fff; text-decoration: none; }
.mobile-menu svg { width: 22px; height: 22px; flex: 0 0 auto; }
.mobile-cta { margin-top: 22px; display: grid; gap: 10px; }
.mobile-cta .btn { width: 100%; }
.menu-overlay {
  position: fixed; inset: var(--header-h) 0 0 0; background: rgba(20,12,40,.55);
  opacity: 0; visibility: hidden; transition: opacity .25s; z-index: 98;
}
.menu-overlay.open { opacity: 1; visibility: visible; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(120% 120% at 50% 0%, rgba(255,255,255,.10), transparent 55%),
    radial-gradient(90% 140% at 50% 30%, var(--c-hero-1), var(--c-hero-2) 60%, var(--c-hero-3) 100%);
  color: #fff; text-align: center;
  padding: 40px 0 46px;
}
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; pointer-events: none;
}
.confetti { position: absolute; inset: 0; pointer-events: none; opacity: .8;
  background-image:
    radial-gradient(circle, #f7c3dd 0 6px, transparent 7px),
    radial-gradient(circle, #b58be0 0 5px, transparent 6px),
    radial-gradient(circle, #f3d27a 0 5px, transparent 6px),
    radial-gradient(circle, #87d9c4 0 4px, transparent 5px);
  background-position: 8% 22%, 88% 16%, 20% 78%, 78% 70%;
  background-size: 220px 220px, 260px 260px, 240px 240px, 200px 200px;
  background-repeat: no-repeat;
}
.hero-inner { position: relative; z-index: 2; max-width: 760px; margin-inline: auto; padding-inline: 12px; }
.hero-eyebrow {
  font-family: var(--font-display); font-weight: 700; font-size: clamp(20px, 5vw, 30px);
  letter-spacing: 2px; text-transform: uppercase; margin: 0; text-shadow: 0 2px 8px rgba(0,0,0,.25);
}
.hero-number {
  font-family: var(--font-display); font-weight: 800; line-height: .92;
  font-size: clamp(86px, 26vw, 190px); margin: 2px 0 0;
  text-shadow: 0 8px 26px rgba(0,0,0,.32);
}
.hero-sub {
  font-family: var(--font-display); font-weight: 700; font-size: clamp(20px, 5.4vw, 38px);
  line-height: 1.05; margin: 0 0 22px; text-transform: uppercase; text-shadow: 0 2px 8px rgba(0,0,0,.22);
}
.hero .btn { margin-top: 4px; }
.hero-disclaimer { margin: 20px auto 0; max-width: 540px; font-size: 11.5px; line-height: 1.5; color: rgba(255,255,255,.78); }
.hero-disclaimer a { color: rgba(255,255,255,.92); text-decoration: underline; }

.hero-deco { position: absolute; top: 0; bottom: 0; width: 150px; z-index: 1; pointer-events: none; display: none; }
.hero-deco img { width: 100%; height: auto; object-fit: contain; filter: drop-shadow(0 8px 18px rgba(0,0,0,.25)); }
.hero-deco.left { left: 0; }
.hero-deco.right { right: 0; }

/* ---------- Section scaffolding ---------- */
.section { padding: 40px 0; }
.section-tint {
  background: linear-gradient(165deg, var(--c-lav-1) 0%, var(--c-lav-2) 100%);
}
.block-head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin-bottom: 22px; flex-wrap: wrap;
}
.block-title {
  font-family: var(--font-display); font-weight: 800; color: var(--c-heading);
  font-size: clamp(22px, 4.5vw, 30px); margin: 0; line-height: 1.1;
}

/* ---------- Featured games grid ---------- */
.games-grid {
  display: grid; gap: 12px;
  grid-template-columns: repeat(2, 1fr);
}
.game-card {
  position: relative; display: block; border-radius: var(--radius-m); overflow: hidden;
  background: #2b1d4d; box-shadow: var(--shadow-s); aspect-ratio: 1 / 1;
  transition: transform .18s ease, box-shadow .18s ease;
}
.game-card img { width: 100%; height: 100%; object-fit: cover; }
.game-card::after {
  content: "Play"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800; font-size: 18px; color: #fff;
  background: linear-gradient(0deg, rgba(74,39,128,.86), rgba(232,83,151,.25));
  opacity: 0; transition: opacity .2s;
}
.game-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-m); }
.game-card:hover::after { opacity: 1; }

/* ---------- Promo / feature rows (second-screen variety where useful) ---------- */
.promo-strip {
  display: grid; gap: 16px; grid-template-columns: 1fr;
  align-items: center;
}
.promo-card {
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius-l);
  padding: 22px; box-shadow: var(--shadow-s);
}
.promo-card h3 { font-family: var(--font-display); color: var(--c-heading); margin: 0 0 8px; font-size: 20px; }
.promo-card p { margin: 0 0 14px; color: var(--c-text-muted); }
.promo-banner img { border-radius: var(--radius-l); width: 100%; box-shadow: var(--shadow-m); }

.usp-row { display: grid; grid-template-columns: 1fr; gap: 12px; }
.usp {
  display: flex; gap: 12px; align-items: flex-start; background: #fff;
  border: 1px solid var(--c-line); border-radius: var(--radius-m); padding: 16px;
}
.usp .ico {
  flex: 0 0 auto; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, #f7d9e9, #efe0fb); color: var(--c-pink-dark);
}
.usp .ico svg { width: 22px; height: 22px; }
.usp strong { display: block; font-family: var(--font-display); color: var(--c-heading); font-size: 16px; }
.usp span { font-size: 14px; color: var(--c-text-muted); }

/* ---------- SEO content ---------- */
.seo {
  background: #fff; padding: 8px 0 50px;
}
.seo-content { max-width: 920px; margin-inline: auto; }
.seo-content h1, .seo-content h2, .seo-content h3, .seo-content h4 {
  font-family: var(--font-display); color: var(--c-heading); line-height: 1.18; scroll-margin-top: 80px;
}
.seo-content h1 { font-size: clamp(28px, 5.4vw, 40px); margin: 18px 0 18px; font-weight: 800; }
.seo-content h2 {
  font-size: clamp(22px, 3.8vw, 29px); margin: 40px 0 14px; font-weight: 800; position: relative; padding-left: 16px;
}
.seo-content h2::before {
  content: ""; position: absolute; left: 0; top: .18em; bottom: .18em; width: 6px; border-radius: 6px;
  background: linear-gradient(180deg, var(--c-pink), var(--c-purple));
}
.seo-content h3 { font-size: clamp(18px, 2.8vw, 22px); margin: 28px 0 10px; font-weight: 700; color: #4a3478; }
.seo-content h4 { font-size: 18px; margin: 20px 0 8px; font-weight: 700; }
.seo-content p { margin: 0 0 16px; }
.seo-content a { color: var(--c-pink-dark); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.seo-content strong { color: #34304a; font-weight: 800; }

.seo-content ul, .seo-content ol { margin: 0 0 18px; padding-left: 0; }
.seo-content ul { list-style: none; }
.seo-content ul li {
  position: relative; padding: 4px 0 4px 30px; margin-bottom: 4px;
}
.seo-content ul li::before {
  content: ""; position: absolute; left: 4px; top: 13px; width: 12px; height: 12px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #f78bb6, var(--c-pink) 70%);
  box-shadow: 0 0 0 3px rgba(232,83,151,.14);
}
.seo-content ol { list-style: none; counter-reset: step; }
.seo-content ol > li {
  position: relative; padding: 4px 0 6px 42px; margin-bottom: 8px; counter-increment: step;
}
.seo-content ol > li::before {
  content: counter(step); position: absolute; left: 0; top: 2px;
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800; font-size: 14px; color: #fff;
  background: linear-gradient(135deg, var(--c-purple), var(--c-pink));
}
.seo-content li > ul, .seo-content li > ol { margin-top: 6px; margin-bottom: 6px; }

/* note / callout */
.callout {
  display: flex; gap: 12px; align-items: center; margin: 22px 0;
  background: linear-gradient(135deg, #fff3f8, #f3ecfd); border: 1px solid #f2dcec;
  border-left: 6px solid var(--c-pink); border-radius: 14px; padding: 14px 18px;
  font-weight: 700; color: #4a3478;
}
.callout svg { width: 26px; height: 26px; flex: 0 0 auto; color: var(--c-pink-dark); }

/* tables */
.table-scroll {
  overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 0 22px;
  border-radius: var(--radius-m); border: 1px solid var(--c-line); box-shadow: var(--shadow-s);
}
.table-scroll table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 14.5px; }
.table-scroll th, .table-scroll td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--c-line); }
.table-scroll thead th {
  background: linear-gradient(135deg, var(--c-purple), #5a318f); color: #fff;
  font-family: var(--font-display); font-weight: 700; white-space: nowrap; border-bottom: 0;
}
.table-scroll tbody tr:nth-child(even) { background: #faf6fe; }
.table-scroll tbody tr:hover { background: #f4ecfb; }
.table-scroll td strong { color: var(--c-heading); }

/* inline TOC / related links */
.related-links {
  margin-top: 30px; background: linear-gradient(135deg, #f6edfc, #fce9f1);
  border: 1px solid var(--c-line); border-radius: var(--radius-l); padding: 22px 24px;
}
.related-links h2 { margin-top: 0 !important; padding-left: 0 !important; }
.related-links h2::before { display: none !important; }
.related-links ul { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.related-links li { padding: 0 !important; margin: 0 !important; }
.related-links li::before { display: none !important; }
.related-links a {
  display: inline-block; background: #fff; border: 1px solid #ecd9ea; color: var(--c-purple-dark);
  padding: 8px 16px; border-radius: var(--radius-pill); font-weight: 700; font-size: 14px; text-decoration: none;
  box-shadow: var(--shadow-s);
}
.related-links a:hover { background: var(--c-pink); color: #fff; border-color: var(--c-pink); }

/* ---------- Footer ---------- */
.site-footer {
  background: linear-gradient(180deg, #34245c 0%, #271a45 100%);
  color: var(--c-footer-text); padding: 40px 0 26px; font-size: 14px;
}
.footer-nav {
  display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: center;
  padding-bottom: 22px; margin-bottom: 22px; border-bottom: 1px solid rgba(255,255,255,.10);
}
.footer-nav a { color: #e3d6f7; font-weight: 700; }
.footer-nav a:hover { color: #fff; }
.footer-policy {
  display: flex; flex-wrap: wrap; gap: 6px 20px; justify-content: center; margin-bottom: 26px;
}
.footer-policy a { color: var(--c-footer-text); font-size: 13.5px; }
.footer-policy a:hover { color: #fff; }

.pay-row, .compliance-row {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; align-items: center; margin-bottom: 22px;
}
.pay-badge {
  height: 38px; min-width: 58px; padding: 0 12px; border-radius: 8px; background: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800; font-size: 14px; letter-spacing: .3px;
}
.pay-visa { color: #1a1f71; } .pay-mc { color: #eb5b1e; } .pay-maestro { color: #0a4f9e; }
.pay-skrill { color: #862165; } .pay-neteller { color: #00a651; } .pay-paypal { color: #0070ba; }
.pay-paysafe { color: #00a3e0; }
.compliance-badge {
  height: 40px; padding: 0 14px; border-radius: 8px; display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
  color: #efe6ff; font-weight: 700; font-size: 13px;
}
.compliance-badge.age { background: #fff; color: #2f2150; border-radius: 50%; width: 44px; height: 44px; padding: 0; justify-content: center; font-family: var(--font-display); }
.compliance-badge.gamstop { color: #ffd23f; }
.compliance-badge.gba { color: #ffd23f; }

.footer-disclaimer {
  max-width: 940px; margin: 0 auto 18px; text-align: center; font-size: 12.5px; line-height: 1.6;
  color: rgba(205,191,230,.85);
}
.footer-disclaimer a { color: #d9c8f5; text-decoration: underline; }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,.10); padding-top: 18px;
}
.footer-copy { font-size: 12.5px; color: rgba(205,191,230,.8); }
.operator-mark {
  font-family: var(--font-display); font-weight: 800; letter-spacing: 1px; color: #fff;
  font-size: 16px; opacity: .85; text-transform: uppercase;
}
.operator-mark span { color: var(--c-gold); }

/* ---------- 404 ---------- */
.error-page {
  text-align: center; padding: 70px 0 80px;
  background:
    radial-gradient(90% 120% at 50% 0%, var(--c-hero-1), var(--c-hero-2) 60%, var(--c-hero-3) 100%);
  color: #fff;
}
.error-page .code {
  font-family: var(--font-display); font-weight: 800; font-size: clamp(90px, 24vw, 180px); line-height: .9;
  text-shadow: 0 10px 30px rgba(0,0,0,.3);
}
.error-page h1 { font-family: var(--font-display); font-size: clamp(24px, 5vw, 36px); margin: 6px 0 12px; }
.error-page p { max-width: 460px; margin: 0 auto 26px; color: rgba(255,255,255,.85); }
.error-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- Responsive ---------- */
@media (min-width: 560px) {
  .games-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .usp-row { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 768px) {
  body { font-size: 17px; }
  .section { padding: 56px 0; }
  .hero { padding: 56px 0 60px; }
  .hero-deco { display: block; }
  .promo-strip { grid-template-columns: 1.1fr .9fr; gap: 26px; }
  .usp-row { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .games-grid { grid-template-columns: repeat(6, 1fr); }
  .main-nav { display: block; }
  .header-actions .btn-ghost { display: inline-flex; }
  .burger { display: none; }
  .mobile-menu, .menu-overlay { display: none; }
  .hero-deco { width: 190px; }
  .usp-row { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 1180px) {
  .hero-deco { width: 220px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
