:root{
  --purple:#5A00F8;
  --purple-2:#6A1BFF;
  --purple-deep:#2B0A6E;
  --indigo:#210158;
  --gold:#ECC62E;
  --gold-2:#F6D544;
  --gold-ink:#3a2b00;
  --hero-top:#4F1E44;
  --hero-bot:#281023;
  --footer:#140135;
  --ink:#1B1230;
  --muted:#6f6885;
  --line:#ECEAF2;
  --bg:#ffffff;
  --soft:#FAFAFB;
  --r:14px;
  --r-sm:10px;
  --pill:999px;
  --container:1200px;
  --shadow:0 10px 30px rgba(28,12,60,.10);
  --shadow-sm:0 4px 14px rgba(28,12,60,.08);
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{
  margin:0;
  font-family:"Poppins",system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;
  color:var(--ink);
  background:var(--bg);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
.container{width:100%;max-width:var(--container);margin-inline:auto;padding-inline:20px}

/* ---------- buttons ---------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:.4em;
  font-weight:700;font-size:.95rem;line-height:1;
  padding:.78em 1.5em;border-radius:var(--pill);border:0;cursor:pointer;
  transition:transform .15s ease,box-shadow .15s ease,background .15s ease;
  white-space:nowrap;text-align:center;
}
.btn:hover{transform:translateY(-1px)}
.btn-gold{background:var(--gold);color:var(--gold-ink)}
.btn-gold:hover{background:var(--gold-2)}
.btn-purple{background:var(--indigo);color:#fff}
.btn-purple:hover{background:var(--purple)}
.btn-ghost{background:transparent;color:var(--purple);border:1.5px solid #d9d3ee}
.btn-ghost:hover{background:#f3effe}
.btn-lg{padding:.95em 2.1em;font-size:1.05rem}

/* ---------- header ---------- */
.site-header{
  position:sticky;top:0;z-index:50;background:rgba(255,255,255,.96);
  backdrop-filter:saturate(1.2) blur(6px);
  border-bottom:1px solid var(--line);
}
.header-inner{display:flex;align-items:center;gap:18px;min-height:72px}
.brand{flex:0 0 auto;display:flex;align-items:center}
.brand img{height:42px;width:auto}
.main-nav{display:flex;align-items:center;gap:26px;margin-left:18px}
.main-nav a{font-weight:600;color:#241c3a;font-size:.98rem;position:relative;padding:6px 0}
.main-nav a:hover{color:var(--purple)}
.main-nav a.active{color:var(--purple)}
.main-nav a.active::after{
  content:"";position:absolute;left:0;right:0;bottom:-2px;height:3px;
  background:var(--purple);border-radius:3px;
}
.header-cta{display:flex;align-items:center;gap:10px;margin-left:auto}
.burger{
  display:none;width:44px;height:44px;border-radius:12px;border:1px solid var(--line);
  background:#fff;flex-direction:column;gap:5px;align-items:center;justify-content:center;cursor:pointer;
}
.burger span{width:20px;height:2px;background:#241c3a;border-radius:2px;transition:.25s}
.burger[aria-expanded="true"] span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.burger[aria-expanded="true"] span:nth-child(2){opacity:0}
.burger[aria-expanded="true"] span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
.mobile-menu{display:none}

/* ---------- hero ---------- */
.hero{
  position:relative;overflow:hidden;
  background:radial-gradient(120% 120% at 75% 35%,#6a2658 0%,var(--hero-top) 38%,var(--hero-bot) 100%);
  color:#fff;
}
.hero-inner{
  display:grid;grid-template-columns:1.05fr .95fr;align-items:center;gap:24px;
  min-height:380px;padding-block:34px 14px;
}
.hero-copy{max-width:520px}
.hero-title{font-weight:800;font-size:clamp(28px,4.4vw,46px);line-height:1.06;letter-spacing:-.5px}
.hero-sub{font-size:clamp(15px,1.6vw,18px);color:#efe6f4;margin:16px 0 26px;max-width:430px}
.hero-art{display:flex;justify-content:center;align-items:center;filter:drop-shadow(0 14px 30px rgba(0,0,0,.35))}
.hero-art img{max-height:300px;width:auto}
.hero-fine{
  font-size:11px;color:#cdbcd4;text-align:center;max-width:760px;margin:0 auto;
  padding-bottom:14px;line-height:1.5;
}
.hero-trust{
  display:flex;gap:22px;align-items:center;justify-content:center;
  padding:12px 0 18px;background:rgba(0,0,0,.18);
}
.hero-trust img{height:22px;width:auto;opacity:.9}

/* ---------- category icons ---------- */
.cats{background:var(--bg);padding:26px 0 6px}
.cats-row{display:flex;gap:clamp(14px,3.5vw,40px);justify-content:center;flex-wrap:wrap}
.cat{display:flex;flex-direction:column;align-items:center;gap:8px;width:74px}
.cat-ico{
  width:54px;height:54px;border-radius:50%;
  background:linear-gradient(145deg,var(--purple-2),var(--purple));
  display:flex;align-items:center;justify-content:center;
  box-shadow:0 8px 18px rgba(90,0,248,.30);transition:transform .15s ease;
}
.cat:hover .cat-ico{transform:translateY(-3px)}
.cat-ico svg{width:26px;height:26px}
.cat-label{font-size:.8rem;font-weight:600;color:#2a2140;text-align:center}

/* ---------- game lobby ---------- */
.lobby{padding:14px 0 36px}
.lobby-row{margin-top:22px}
.lobby-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px;gap:12px}
.lobby-title{font-size:clamp(18px,2.4vw,24px);font-weight:800;color:var(--ink)}
.lobby-tools{display:flex;align-items:center;gap:8px}
.see-all{
  background:var(--indigo);color:#fff;font-weight:600;font-size:.82rem;
  padding:.5em 1.1em;border-radius:var(--pill);
}
.see-all:hover{background:var(--purple)}
.row-arrow{
  width:34px;height:34px;border-radius:50%;border:1px solid var(--line);background:#fff;
  color:#3a2b5e;font-size:18px;line-height:1;cursor:pointer;display:flex;align-items:center;justify-content:center;
}
.row-arrow:hover{background:#f3effe;border-color:#d9d3ee}
.tile-scroll{
  display:flex;gap:14px;overflow-x:auto;padding-bottom:6px;
  scroll-snap-type:x proximity;scrollbar-width:thin;
}
.tile-scroll::-webkit-scrollbar{height:7px}
.tile-scroll::-webkit-scrollbar-thumb{background:#e0dbee;border-radius:6px}
.tile{
  position:relative;flex:0 0 auto;width:clamp(126px,15.6vw,180px);
  aspect-ratio:1/1;border-radius:16px;overflow:hidden;scroll-snap-align:start;
  box-shadow:var(--shadow-sm);background:#26124a;transition:transform .15s ease,box-shadow .15s ease;
}
.tile:hover{transform:translateY(-4px);box-shadow:var(--shadow)}
.tile img{width:100%;height:100%;object-fit:cover}
.tile-play{
  position:absolute;right:8px;bottom:8px;width:26px;height:26px;border-radius:50%;
  background:rgba(33,1,88,.78);display:flex;align-items:center;justify-content:center;
  opacity:0;transform:scale(.8);transition:.18s;
}
.tile-play svg{width:13px;height:13px;margin-left:1px}
.tile:hover .tile-play{opacity:1;transform:scale(1)}

/* ---------- SEO content ---------- */
.seo{background:var(--soft);border-top:1px solid var(--line);padding:46px 0 56px}
.seo-inner{max-width:880px;margin-inline:auto}
.seo-inner h1{font-size:clamp(26px,3.6vw,40px);line-height:1.15;font-weight:800;margin:0 0 18px;letter-spacing:-.4px}
.seo-inner h2{
  font-size:clamp(21px,2.6vw,29px);font-weight:700;margin:38px 0 14px;line-height:1.25;
  padding-left:14px;border-left:5px solid var(--purple);
}
.seo-inner h3{font-size:clamp(17px,2vw,21px);font-weight:700;margin:26px 0 10px;color:#2c2150}
.seo-inner p{margin:0 0 16px;color:#332b4a}
.seo-inner strong{color:var(--ink);font-weight:700}
.seo-inner ul,.seo-inner ol{margin:0 0 18px;padding-left:0;list-style:none}
.seo-inner ul li,.seo-inner ol li{position:relative;padding-left:30px;margin-bottom:10px;color:#332b4a}
.seo-inner ul li::before{
  content:"";position:absolute;left:6px;top:.62em;width:8px;height:8px;border-radius:50%;
  background:var(--purple);
}
.seo-inner ol{counter-reset:li}
.seo-inner ol li{counter-increment:li}
.seo-inner ol li::before{
  content:counter(li);position:absolute;left:0;top:.05em;width:22px;height:22px;border-radius:50%;
  background:var(--purple);color:#fff;font-size:.72rem;font-weight:700;
  display:flex;align-items:center;justify-content:center;
}
.table-wrap{overflow-x:auto;margin:0 0 22px;border:1px solid var(--line);border-radius:var(--r);box-shadow:var(--shadow-sm);-webkit-overflow-scrolling:touch}
.table-wrap table{border-collapse:collapse;width:100%;min-width:520px;background:#fff;font-size:.92rem}
.table-wrap th{background:linear-gradient(145deg,var(--purple-2),var(--purple));color:#fff;font-weight:600;text-align:left;padding:13px 16px;white-space:nowrap}
.table-wrap td{padding:12px 16px;border-top:1px solid var(--line);color:#332b4a}
.table-wrap tbody tr:nth-child(even){background:#faf8ff}

/* ---------- footer ---------- */
.site-footer{background:var(--footer);color:#cfc6e6;font-size:.92rem}
.footer-grid{
  display:grid;grid-template-columns:1.1fr 1fr 1.8fr 1.4fr;gap:30px;
  padding:48px 20px 30px;align-items:start;
}
.f-brand img{width:auto;height:60px}
.f-links{display:flex;flex-direction:column;gap:12px}
.f-links a{color:#d7cff0;font-weight:500}
.f-links a:hover{color:#fff}
.f-text p{margin:0 0 12px;color:#9c93bd;font-size:.8rem;line-height:1.7}
.f-compliance{display:flex;flex-direction:column;gap:16px;align-items:flex-start}
.f-compliance img{height:30px;width:auto}
.f-badges{display:flex;gap:14px;align-items:center}
.f-badges img{height:42px}
.f-sitemap-wrap{
  display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;
  border-top:1px solid rgba(255,255,255,.10);padding-top:22px;padding-bottom:8px;
}
.f-sitemap{display:flex;flex-wrap:wrap;gap:8px 20px}
.f-sitemap a{color:#a99fce;font-size:.85rem}
.f-sitemap a:hover{color:#fff}
.f-social{display:flex;gap:12px}
.soc{
  width:40px;height:40px;border-radius:12px;background:rgba(255,255,255,.08);
  display:flex;align-items:center;justify-content:center;transition:.18s;
}
.soc:hover{background:var(--purple)}
.soc svg{width:18px;height:18px;fill:#fff}
.f-copyright{border-top:1px solid rgba(255,255,255,.10);background:rgba(0,0,0,.25)}
.f-copyright .container{padding-block:16px;color:#8d84ad;font-size:.8rem;text-align:center}

/* ---------- cookie bar + chat ---------- */
.cookie-bar{position:fixed;left:0;right:0;bottom:0;z-index:60;background:#fff;border-top:1px solid var(--line);box-shadow:0 -8px 30px rgba(28,12,60,.12)}
.cookie-inner{display:flex;align-items:center;gap:20px;padding-block:16px;flex-wrap:wrap}
.cookie-text{flex:1 1 320px;font-size:.82rem;color:#4a4263;line-height:1.55}
.cookie-text strong{color:var(--ink);font-size:.95rem}
.cookie-btns{display:flex;gap:10px;flex-wrap:wrap}
.chat-fab{
  position:fixed;right:18px;bottom:18px;z-index:55;width:54px;height:54px;border-radius:50%;
  background:linear-gradient(145deg,var(--purple-2),var(--purple));
  display:flex;align-items:center;justify-content:center;box-shadow:0 10px 24px rgba(90,0,248,.40);
  transition:transform .15s ease;
}
.chat-fab:hover{transform:scale(1.06)}
.chat-fab svg{width:26px;height:26px}

/* ---------- 404 ---------- */
.error-hero{
  background:radial-gradient(120% 120% at 50% 0%,#6a2658 0%,var(--hero-top) 40%,var(--hero-bot) 100%);
  color:#fff;text-align:center;padding:90px 0 110px;
}
.error-code{font-size:clamp(80px,18vw,150px);font-weight:800;line-height:1;letter-spacing:-3px;color:var(--gold)}
.error-title{font-size:clamp(22px,4vw,34px);font-weight:700;margin-top:6px}
.error-sub{color:#e4d9ec;max-width:520px;margin:14px auto 28px}
.error-nav{display:flex;flex-wrap:wrap;gap:10px 18px;justify-content:center;margin-top:34px}
.error-nav a{color:#e9def0;font-weight:600;font-size:.9rem;border-bottom:1px solid transparent}
.error-nav a:hover{border-color:var(--gold);color:#fff}
.f-copyright-only{padding:0}

/* ---------- responsive ---------- */
@media (max-width:980px){
  .footer-grid{grid-template-columns:1fr 1fr;gap:26px}
  .f-text{grid-column:1/-1;order:5}
}
@media (max-width:920px){
  .main-nav{display:none}
  .burger{display:flex}
  .btn-gold.reg-btn,.header-cta .btn-gold{display:none}
  .reg-btn{display:inline-flex}
  .mobile-menu{
    display:block;max-height:0;overflow:hidden;background:#fff;border-top:1px solid var(--line);
    transition:max-height .3s ease;
  }
  .site-header.open .mobile-menu{max-height:640px;border-bottom:1px solid var(--line)}
  .mobile-menu a{display:block;padding:14px 20px;border-bottom:1px solid var(--line);font-weight:600;color:#241c3a}
  .mobile-menu a.active{color:var(--purple)}
  .mm-cta{background:var(--gold);color:var(--gold-ink)!important;text-align:center;border-bottom:0!important;margin:6px 20px 14px;border-radius:var(--pill)}
  .hero-inner{grid-template-columns:1fr;text-align:center;min-height:0;gap:8px;padding-block:30px 8px}
  .hero-copy{max-width:none;margin-inline:auto}
  .hero-sub{margin-inline:auto}
  .hero-art{order:-1}
  .hero-art img{max-height:230px}
}
@media (max-width:560px){
  .header-inner{gap:10px;min-height:64px}
  .brand img{height:34px}
  .cats{padding-top:20px}
  .cat{width:64px}
  .cat-ico{width:48px;height:48px}
  .cat-ico svg{width:22px;height:22px}
  .seo{padding:34px 0 44px}
  .footer-grid{grid-template-columns:1fr;padding-top:36px}
  .f-sitemap-wrap{justify-content:center;text-align:center}
  .f-sitemap{justify-content:center}
  .cookie-inner{flex-direction:column;align-items:stretch;gap:12px;padding-block:14px}
  .cookie-text{flex:0 0 auto;font-size:.78rem;line-height:1.45}
  .cookie-text strong{font-size:.9rem}
  .cookie-btns{gap:8px}
  .cookie-btns .btn{flex:1 1 0;min-width:0;padding:.72em 1em;font-size:.88rem;white-space:normal}
  .chat-fab{width:48px;height:48px;right:14px;bottom:14px}
}
@media (prefers-reduced-motion:reduce){
  *{transition:none!important}
}
