:root{
  --bg:#1B0B3F;
  --bg-2:#250E54;
  --bg-footer:#150832;
  --surface:rgba(255,255,255,.06);
  --surface-2:rgba(255,255,255,.10);
  --hero-grad:linear-gradient(180deg,#FFB7B6 0%,#FF8479 45%,#FF6B3E 100%);
  --wave-orange:#FF8B2A;
  --accent-gold:#FFB835;
  --accent-gold-2:#FFC65A;
  --brand-pink:#ED1C76;
  --brand-pink-2:#FF3A8A;
  --text:#FFFFFF;
  --text-dim:#C9BEEB;
  --text-mute:#8C7FB5;
  --border:rgba(255,255,255,.10);
  --radius-card:14px;
  --radius-tile:12px;
  --radius-pill:999px;
  --shadow-cta:0 8px 24px rgba(255,184,53,.35);
  --container:1120px;
  --header-h:64px;
  --font:'Poppins',system-ui,-apple-system,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif;
}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{
  margin:0;
  font-family:var(--font);
  font-size:16px;
  line-height:1.55;
  color:var(--text);
  background:var(--bg);
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
body.no-scroll{overflow:hidden}
img{max-width:100%;height:auto;display:block}
a{color:var(--accent-gold);text-decoration:none;transition:color .15s ease}
a:hover{color:var(--accent-gold-2)}
button{font:inherit;color:inherit;background:none;border:0;cursor:pointer}
:focus-visible{outline:2px solid var(--accent-gold);outline-offset:2px;border-radius:6px}

.container{width:100%;max-width:var(--container);margin-inline:auto;padding-inline:16px}
.section{padding-block:48px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* ---------- HEADER ---------- */
.site-header{
  position:sticky;top:0;z-index:50;
  background:var(--bg);
  border-bottom:1px solid var(--border);
}
.header-inner{display:flex;align-items:center;gap:16px;min-height:var(--header-h)}
.logo{display:inline-flex;align-items:center;gap:10px;color:#fff;font-weight:700;letter-spacing:.2px}
.logo img{width:36px;height:36px}
.logo-text{font-size:18px}

.nav-desktop{display:none;margin-left:18px;gap:6px}
.nav-desktop a{
  display:inline-flex;align-items:center;gap:8px;
  padding:10px 14px;border-radius:10px;
  color:#EDE6FF;font-weight:500;font-size:14px;
}
.nav-desktop a:hover{background:var(--surface);color:#fff}
.nav-desktop a.is-active{background:var(--surface);color:#fff}

.header-cta{margin-left:auto;display:flex;align-items:center;gap:10px}

.lang-switch{
  display:inline-flex;align-items:center;gap:2px;
  padding:3px;border:1px solid rgba(255,255,255,.22);
  border-radius:var(--radius-pill);background:rgba(255,255,255,.04);
}
.lang-switch-link{
  display:inline-flex;align-items:center;justify-content:center;
  min-width:42px;padding:6px 10px;line-height:1;
  font-size:12px;font-weight:600;letter-spacing:.3px;
  color:rgba(255,255,255,.7);text-decoration:none;
  border-radius:var(--radius-pill);
  transition:background .15s ease,color .15s ease;
}
.lang-switch-link:hover{color:#fff;background:var(--surface)}
.lang-switch-link.is-active{
  background:var(--surface-2);color:#fff;
  pointer-events:none;cursor:default;
}
.lang-switch-desktop{display:none}
.lang-switch-mobile{align-self:flex-start;margin-top:8px}

.btn{
  display:inline-flex;align-items:center;justify-content:center;
  gap:8px;font-weight:700;font-size:14px;
  padding:10px 18px;border-radius:var(--radius-pill);
  border:1px solid transparent;line-height:1;
  transition:transform .12s ease,background .15s ease,color .15s ease,box-shadow .15s ease;
  white-space:nowrap;
}
.btn:hover{transform:translateY(-1px)}
.btn-pink{background:var(--brand-pink);color:#fff}
.btn-pink:hover{background:var(--brand-pink-2);color:#fff}
.btn-ghost{background:transparent;color:#fff;border-color:rgba(255,255,255,.35)}
.btn-ghost:hover{border-color:#fff;color:#fff}
.btn-gold{background:var(--accent-gold);color:#3A1A00;box-shadow:var(--shadow-cta)}
.btn-gold:hover{background:var(--accent-gold-2);color:#3A1A00}
.btn-lg{padding:14px 28px;font-size:16px}

.burger{
  width:42px;height:42px;border-radius:10px;
  background:var(--surface);display:inline-flex;align-items:center;justify-content:center;
}
.burger:hover{background:var(--surface-2)}
.burger-icon,.burger-icon::before,.burger-icon::after{
  display:block;width:20px;height:2px;background:#fff;border-radius:2px;position:relative;
  transition:transform .2s ease,top .2s ease,opacity .2s ease;
}
.burger-icon::before,.burger-icon::after{content:"";position:absolute;left:0}
.burger-icon::before{top:-6px}
.burger-icon::after{top:6px}
.burger[aria-expanded="true"] .burger-icon{background:transparent}
.burger[aria-expanded="true"] .burger-icon::before{top:0;transform:rotate(45deg)}
.burger[aria-expanded="true"] .burger-icon::after{top:0;transform:rotate(-45deg)}

/* drawer */
.drawer{
  position:fixed;inset:var(--header-h) 0 0 0;z-index:40;
  background:var(--bg);
  padding:24px 16px 40px;
  transform:translateX(100%);
  transition:transform .25s ease;
  display:flex;flex-direction:column;gap:8px;
  overflow-y:auto;
}
.drawer.is-open{transform:translateX(0)}
.drawer a{
  display:block;padding:14px 16px;border-radius:12px;
  font-weight:600;color:#fff;background:var(--surface);
}
.drawer a:hover{background:var(--surface-2)}
.drawer-cta{margin-top:auto;display:flex;flex-direction:column;gap:10px;padding-top:16px}
.drawer-cta .btn{width:100%}

/* ---------- HERO ---------- */
.hero{
  position:relative;
  background:var(--hero-grad);
  overflow:hidden;
  padding:48px 0 0;
  isolation:isolate;
}
.hero-bg{
  position:absolute;inset:0;z-index:-1;
  background:
    radial-gradient(circle at 12% 28%, rgba(255,255,255,.4) 0 22px, transparent 24px),
    radial-gradient(circle at 86% 16%, rgba(255,255,255,.35) 0 28px, transparent 30px),
    radial-gradient(circle at 78% 70%, rgba(180,80,200,.55) 0 60px, transparent 62px),
    radial-gradient(circle at 18% 78%, rgba(255,180,80,.55) 0 70px, transparent 72px),
    radial-gradient(circle at 50% 50%, rgba(255,255,255,.06), transparent 60%);
}
.confetti{position:absolute;font-size:28px;line-height:1;user-select:none;pointer-events:none;opacity:.85;filter:drop-shadow(0 4px 8px rgba(0,0,0,.15))}
.c1{top:14%;left:6%;transform:rotate(-12deg)}
.c2{top:8%;right:10%;transform:rotate(18deg)}
.c3{top:48%;left:4%;transform:rotate(20deg)}
.c4{top:54%;right:8%;transform:rotate(-14deg)}
.c5{top:24%;right:24%;transform:rotate(6deg);font-size:22px}
.c6{top:70%;left:24%;transform:rotate(-22deg);font-size:22px}

.hero-inner{position:relative;text-align:center;padding-block:24px 60px}
.hero-pretitle{
  display:inline-block;font-weight:700;
  font-size:clamp(20px,3.6vw,30px);
  color:#fff;text-shadow:0 3px 0 rgba(0,0,0,.18),0 4px 14px rgba(0,0,0,.18);
  letter-spacing:.5px;
}
.hero-figure{
  font-weight:800;
  font-size:clamp(96px,18vw,180px);
  line-height:.9;color:#fff;
  text-shadow:
    -3px -3px 0 #B8267A, 3px -3px 0 #B8267A,
    -3px 3px 0 #B8267A, 3px 3px 0 #B8267A,
    0 8px 0 rgba(0,0,0,.22), 0 16px 30px rgba(0,0,0,.25);
  margin:6px 0;
}
.hero-subtitle{
  font-weight:800;
  font-size:clamp(20px,4vw,34px);
  color:#fff;
  text-shadow:0 3px 0 rgba(0,0,0,.18),0 4px 14px rgba(0,0,0,.18);
  margin:0 auto 22px;max-width:760px;
}
.hero-cta{margin-top:8px}
.hero-terms{
  max-width:560px;margin:24px auto 0;
  font-size:11px;line-height:1.4;color:rgba(255,255,255,.85);
}
.hero-wave{display:block;width:100%;height:auto;margin-top:-2px}

/* page-themed hero (deeper purple block under the wave) */
.hero-strip{background:var(--wave-orange);height:24px}

/* ---------- PROMO BANNER ---------- */
.promo{padding:32px 0}
.promo-card{
  position:relative;display:block;border-radius:18px;overflow:hidden;
  box-shadow:0 12px 30px rgba(0,0,0,.35);
  aspect-ratio:1000/400;
  background:#1a1432;
}
.promo-card img{width:100%;height:100%;object-fit:cover}
.promo-overlay{
  position:absolute;left:0;right:0;bottom:0;
  padding:18px 22px;
  background:linear-gradient(0deg, rgba(0,0,0,.55), transparent 90%);
  display:flex;align-items:end;justify-content:space-between;gap:16px;
}
.promo-title{color:#fff;font-weight:800;font-size:clamp(18px,2.6vw,26px);text-shadow:0 2px 8px rgba(0,0,0,.6);margin:0}

/* ---------- FEATURED GAMES ---------- */
.games{padding-block:36px 56px}
.games-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}
.games-title{font-size:20px;font-weight:700;color:#fff;margin:0}

.games-grid{
  display:grid;gap:10px;
  grid-template-columns:repeat(2,1fr);
}
.tile{
  display:block;border-radius:var(--radius-tile);overflow:hidden;
  background:var(--surface);aspect-ratio:1/1;
  transition:transform .15s ease,box-shadow .15s ease;
}
.tile img{width:100%;height:100%;object-fit:cover}
.tile:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(0,0,0,.45)}

/* ---------- SEO CONTENT BLOCK ---------- */
.seo{padding-block:24px 64px}
.seo-inner{max-width:880px;margin-inline:auto}
.seo h1,.seo h2,.seo h3,.seo h4{color:#fff;font-weight:700;line-height:1.25;margin:1.6em 0 .5em}
.seo h1{font-size:clamp(28px,4.4vw,40px);margin-top:.2em}
.seo h2{font-size:clamp(22px,3.2vw,30px)}
.seo h3{font-size:clamp(18px,2.4vw,22px);color:#FFE7A0}
.seo h4{font-size:17px;color:#FFE7A0}
.seo p,.seo li{color:#E5DCFF;font-size:16px;line-height:1.7}
.seo ul,.seo ol{padding-left:1.25em;margin:0 0 1em}
.seo li{margin:.35em 0}
.seo strong{color:#FFFFFF;font-weight:700}
.seo em{color:#FFE7A0;font-style:normal;font-weight:600}
.seo a{color:#FFD46B;border-bottom:1px dashed rgba(255,212,107,.5)}
.seo a:hover{color:#fff;border-bottom-color:#fff}

.seo .lead{font-size:17px;color:#EFE7FF}
.seo blockquote{
  margin:1.2em 0;padding:14px 18px;border-left:3px solid var(--brand-pink);
  background:var(--surface);border-radius:0 12px 12px 0;color:#fff;
}

/* tables */
.table-scroll{
  overflow-x:auto;-webkit-overflow-scrolling:touch;
  border-radius:12px;border:1px solid var(--border);
  margin:1em 0;background:var(--surface);
}
.table-scroll table{
  width:100%;min-width:640px;border-collapse:collapse;font-size:14.5px;
}
.table-scroll th,.table-scroll td{
  padding:12px 14px;text-align:left;border-bottom:1px solid var(--border);color:#EFE7FF;vertical-align:top;
}
.table-scroll th{
  background:rgba(237,28,118,.18);color:#fff;font-weight:600;
  position:sticky;top:0;
}
.table-scroll tr:last-child td{border-bottom:0}
.table-scroll td.num,.table-scroll th.num{text-align:right;white-space:nowrap}

/* FAQ */
.faq{margin-top:1.5em;display:flex;flex-direction:column;gap:10px}
.faq-item{
  background:var(--surface);border:1px solid var(--border);
  border-radius:12px;padding:14px 16px;
}
.faq-item h3{margin:.1em 0 .35em;font-size:17px;color:#fff}
.faq-item p{margin:.25em 0;color:#E5DCFF}

/* ---------- FOOTER ---------- */
.site-footer{background:var(--bg-footer);padding:36px 0 24px;margin-top:24px;border-top:1px solid var(--border)}
.footer-nav{
  display:flex;flex-wrap:wrap;justify-content:center;gap:8px 18px;
  margin-bottom:24px;
}
.footer-nav a{
  color:#C9BEEB;font-size:14px;font-weight:500;
  padding:6px 4px;
}
.footer-nav a:hover{color:#fff}

.footer-badges{
  display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:16px;
  padding:16px 0;
}
.pay-badge{
  background:#fff;border-radius:8px;padding:8px 12px;
  min-width:64px;height:36px;display:inline-flex;align-items:center;justify-content:center;
  color:#1B0B3F;font-weight:800;font-size:13px;letter-spacing:.5px;
}
.pay-badge.visa{color:#1A1F71}
.pay-badge.mc{color:#EB001B}
.pay-badge.maestro{color:#0099DF}

.chip{
  display:inline-flex;align-items:center;gap:8px;
  padding:8px 14px;border-radius:var(--radius-pill);
  background:var(--surface);border:1px solid var(--border);
  color:#C9BEEB;font-size:12px;font-weight:600;letter-spacing:.5px;
  text-transform:uppercase;
}
.chip svg{width:14px;height:14px;fill:currentColor}

.footer-legal{
  text-align:center;color:var(--text-mute);font-size:13px;line-height:1.6;
  max-width:760px;margin:18px auto 0;
}
.footer-legal a{color:var(--text-mute)}
.footer-legal a:hover{color:#fff}
.footer-meta{
  display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;
  margin-top:18px;color:var(--text-mute);font-size:12px;border-top:1px solid var(--border);padding-top:16px;
}
.footer-meta .copyright{margin:0}
.footer-brand-mark{font-weight:800;letter-spacing:1px;color:#C9BEEB;font-size:11px}

/* ---------- 404 ---------- */
.notfound{
  min-height:60vh;display:flex;align-items:center;justify-content:center;text-align:center;
  background:var(--hero-grad);
  padding:48px 16px;
}
.notfound-inner{max-width:560px;color:#fff}
.notfound-figure{
  font-weight:800;font-size:clamp(80px,16vw,160px);line-height:.9;color:#fff;
  text-shadow:
    -3px -3px 0 #B8267A, 3px -3px 0 #B8267A,
    -3px 3px 0 #B8267A, 3px 3px 0 #B8267A,
    0 8px 0 rgba(0,0,0,.2);
}
.notfound h1{font-size:clamp(22px,3.4vw,32px);margin:8px 0 12px;color:#fff}
.notfound p{color:rgba(255,255,255,.92);margin-bottom:22px}

/* ---------- Responsive ---------- */
@media (min-width:560px){
  .games-grid{grid-template-columns:repeat(3,1fr);gap:12px}
}
@media (min-width:760px){
  .games-grid{grid-template-columns:repeat(4,1fr)}
  .promo-card{aspect-ratio:1000/320}
}
@media (min-width:900px){
  :root{--header-h:72px}
  .nav-desktop{display:inline-flex}
  .burger{display:none}
  .header-cta .btn-sign-up-mobile{display:none}
  .lang-switch-desktop{display:inline-flex}
  .games-grid{grid-template-columns:repeat(6,1fr);gap:14px}
  .hero{padding-top:56px}
  .hero-inner{padding-block:32px 80px}
  .section{padding-block:64px}
  .promo-card{aspect-ratio:1000/280}
}
@media (max-width:899px){
  .header-cta .btn-login-desktop{display:none}
  .header-cta .btn-sign-up-desktop{display:none}
}

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