:root{
  --bg:#120814;
  --surface:#1c1020;
  --surface2:#241427;
  --surface3:#2a1a2e;
  --border:#36283a;
  --border2:#4a3a4e;
  --text:#fff;
  --muted:#ccadca;
  --muted2:#9b8a9a;
  --brand:#ff9f19;
  --grad:linear-gradient(132deg,#f09819 8%,#ff5858 89%);
  --grad-h:linear-gradient(132deg,#ff5858 8%,#f09819 89%);
  --green:#21ca6f;
  --header-h:60px;
  --maxw:1480px;
  --r-card:10px;
  --r-btn:7px;
  --r-lg:18px;
  --font:-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:var(--font);background:var(--bg);color:var(--text);line-height:1.45;font-size:14px;overflow-x:hidden;-webkit-font-smoothing:antialiased}
body::before{content:"";position:fixed;inset:0;z-index:-1;background:
  radial-gradient(80% 50% at 50% -8%,rgba(255,88,88,.10),transparent 60%),
  radial-gradient(70% 45% at 50% 108%,rgba(240,152,25,.07),transparent 70%),
  var(--bg)}
img{display:block;max-width:100%}
a{color:inherit;text-decoration:none}
button{font-family:inherit;cursor:pointer;border:0;background:none;color:inherit}
.wrap{max-width:var(--maxw);margin:0 auto;padding:0 16px}

/* Header */
.hdr{position:fixed;top:0;left:0;right:0;height:var(--header-h);z-index:50;display:flex;align-items:center;gap:16px;padding:0 16px;background:rgba(18,8,20,.92);backdrop-filter:blur(12px);border-bottom:1px solid var(--border)}
.hdr .logo img{height:30px;width:auto}
.burger{display:flex;width:38px;height:38px;border-radius:var(--r-btn);background:var(--surface2);align-items:center;justify-content:center}
.burger span{display:block;width:18px;height:2px;background:var(--text);position:relative}
.burger span::before,.burger span::after{content:"";position:absolute;left:0;width:18px;height:2px;background:var(--text)}
.burger span::before{top:-6px}.burger span::after{top:6px}
.nav{display:flex;align-items:center;gap:6px;margin-left:8px}
.nav a{padding:8px 14px;border-radius:var(--r-btn);font-weight:600;font-size:14px;color:var(--muted)}
.nav a:hover{background:var(--surface2);color:#fff}
.hdr-right{margin-left:auto;display:flex;align-items:center;gap:10px}
.lang{display:flex;align-items:center;height:38px;padding:0 8px;border-radius:999px;background:var(--surface2)}
.lang .flag{width:24px;height:24px;border-radius:50%;overflow:hidden;display:block}
.lang .flag svg{width:100%;height:100%}
.btn{display:inline-flex;align-items:center;justify-content:center;height:38px;padding:0 18px;border-radius:var(--r-btn);font-weight:700;font-size:14px;white-space:nowrap}
.btn-ghost{background:transparent;border:1px solid var(--border2);color:#fff}
.btn-ghost:hover{background:var(--surface2)}
.btn-primary{background:var(--grad);color:#fff}
.btn-primary:hover{background:var(--grad-h)}

main{padding-top:calc(var(--header-h) + 16px)}
section{margin-bottom:30px}

/* Hero */
.hero{position:relative;border-radius:var(--r-lg);overflow:hidden;min-height:clamp(240px,34vw,440px);display:flex;align-items:center;justify-content:center;text-align:center}
.hero img.bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0}
.hero .ov{position:absolute;inset:0;z-index:1;background:radial-gradient(62% 85% at 50% 52%,rgba(18,8,20,.62),rgba(18,8,20,.32) 70%,rgba(18,8,20,.12))}
.hero-cap{position:relative;z-index:2;padding:0 16px;max-width:680px}
.hero-cap .label{font-size:13px;font-weight:700;color:var(--brand);text-transform:uppercase;letter-spacing:.05em}
.hero-cap .ttl{font-size:clamp(28px,5vw,56px);font-weight:800;line-height:1.04;margin:8px 0;text-transform:uppercase}
.hero-cap .ttl em{font-style:normal;background:var(--grad);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
.hero-cap .sub{font-size:clamp(16px,2.2vw,24px);font-weight:700;color:#fff;margin-bottom:18px}
.hero-cap .sub b{color:var(--brand)}
.hero-btns{display:flex;gap:10px;flex-wrap:wrap;justify-content:center}

/* Category tabs (icon + label, like original) */
.cats{display:flex;gap:6px;overflow-x:auto;padding:6px 0 12px;scrollbar-width:none}
.cats::-webkit-scrollbar{display:none}
.cats .cat{flex:1 0 auto;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;min-width:86px;height:96px;padding:0 12px;border-radius:10px;background:transparent;white-space:nowrap;font-weight:600;font-size:13px;color:var(--muted);border:1px solid transparent}
.cats .cat svg{width:30px;height:30px;stroke-width:1.8}
.cats .cat:hover{color:#fff;background:var(--surface2)}
.cats .cat.on{color:var(--brand);background:var(--surface2);border-color:var(--border)}
.cats .search{min-width:64px}

/* Section header */
.sec-h{display:flex;align-items:center;gap:10px;margin-bottom:14px}
.sec-h .t{font-size:22px;font-weight:800}
.sec-h .all{margin-left:auto;font-size:13px;font-weight:700;color:var(--muted)}
.sec-h .all:hover{color:var(--brand)}
.sec-h .arrows{display:flex;gap:6px}
.sec-h .arrows button{width:32px;height:32px;border-radius:var(--r-btn);background:var(--surface2);display:flex;align-items:center;justify-content:center;font-size:16px}
.sec-h .arrows button:hover{background:var(--surface3)}

/* Games grid */
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:14px 12px}
.game{display:flex;flex-direction:column}
.game.hidden{display:none}
.card{border-radius:var(--r-card);overflow:hidden;position:relative;background:var(--surface2);aspect-ratio:427/575}
.card img{width:100%;height:100%;object-fit:cover;transition:transform .25s}
.game:hover .card img{transform:scale(1.06)}
.card .play{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;opacity:0;background:rgba(18,8,20,.5);transition:opacity .2s}
.game:hover .card .play{opacity:1}
.card .play .pl{background:var(--grad);color:#fff;font-weight:800;font-size:12px;padding:9px 20px;border-radius:999px}
.gname{display:block;font-size:12px;color:var(--muted);text-align:center;margin-top:7px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:0 2px}
.game:hover .gname{color:#fff}
.more{display:flex;justify-content:center;margin-top:20px}
.more button{height:46px;padding:0 34px;border-radius:999px;border:1px solid var(--border2);background:var(--surface2);color:#fff;font-weight:700;font-size:14px}
.more button:hover{background:var(--grad);border-color:transparent}

/* rows (providers) */
.row{display:flex;gap:12px;overflow-x:auto;scroll-behavior:smooth;scrollbar-width:none;padding-bottom:4px}
.row::-webkit-scrollbar{display:none}
.prov{flex:0 0 auto;width:148px;height:64px;background:var(--surface2);border:1px solid var(--border);border-radius:8px;display:flex;align-items:center;justify-content:center;padding:14px}
.prov img{max-height:100%;max-width:100%;object-fit:contain;opacity:.8;transition:opacity .2s}
.prov:hover img{opacity:1}

/* Footer */
.ftr{border-top:1px solid var(--border);background:rgba(0,0,0,.35);margin-top:40px;padding:34px 0 26px}
.pays{display:flex;flex-wrap:wrap;gap:14px;justify-content:center;align-items:center;padding-bottom:24px;border-bottom:1px solid var(--border)}
.pays img{height:26px;width:auto;opacity:.9}
.fcols{display:grid;grid-template-columns:1.6fr 1fr 1fr;gap:26px;padding:28px 0}
.fcol .h{font-size:13px;font-weight:800;text-transform:uppercase;letter-spacing:.05em;margin-bottom:14px}
.fcol a{display:block;color:var(--muted);font-size:13px;padding:5px 0}
.fcol a:hover{color:var(--brand)}
.fbrand img{height:34px;margin-bottom:14px}
.fbrand p{color:var(--muted);font-size:13px;max-width:360px}
.fbrand .award{height:28px;margin-top:16px;opacity:.8}
.badges{display:flex;align-items:center;gap:16px;flex-wrap:wrap;padding:20px 0;border-top:1px solid var(--border)}
.badges .age{width:44px;height:44px;border-radius:50%;border:2px solid var(--muted);display:flex;align-items:center;justify-content:center;font-weight:800;font-size:14px}
.license{color:var(--muted2);font-size:12px;line-height:1.6;padding:14px 0 0}

/* SEO block */
.seo{max-width:var(--maxw);margin:42px auto 0;padding:30px 16px 10px;border-top:1px solid var(--border);color:var(--muted);font-size:15px;text-align:left}
.seo p{text-align:justify}
.seo h1{font-size:30px;font-weight:900;margin-bottom:16px;color:#fff}
.seo h2{font-size:22px;font-weight:800;margin:28px 0 12px;color:#fff}
.seo h3{font-size:18px;font-weight:700;margin:20px 0 8px;color:#fff}
.seo p{margin-bottom:14px;line-height:1.75}
.seo .upd{color:var(--muted2);font-size:13px;margin-bottom:18px}
.seo ul,.seo ol{display:inline-block;text-align:left;margin:0 auto 14px}
.seo li{margin-bottom:6px}
.seo .toc{background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:18px 22px;margin:0 auto 22px;max-width:780px}
.seo .toc .th{font-weight:800;color:#fff;margin-bottom:10px}
.seo .toc a{color:var(--brand)}
.seo .table-scroll{overflow-x:auto}
.seo table{border-collapse:collapse;width:auto;min-width:560px;margin:0 auto 16px;font-size:14px;text-align:center}
.seo th,.seo td{border:1px solid var(--border2);padding:10px 14px;text-align:center}
.seo th{background:var(--surface2);color:#fff}
.author{display:inline-flex;align-items:center;gap:14px;background:var(--surface);border:1px solid var(--border);border-radius:14px;padding:14px 20px;margin:0 auto 18px;text-align:left;max-width:560px}
.author .ava{flex:0 0 auto;width:48px;height:48px;border-radius:50%;background:var(--surface2);display:flex;align-items:center;justify-content:center}
.author .ava svg{width:34px;height:34px}
.author .an{font-weight:800;color:#fff;font-size:15px}
.author .ar{color:var(--brand);font-size:13px;font-weight:700;margin:2px 0}
.author .ar span{color:var(--muted2);font-weight:600}
.author .ab{color:var(--muted2);font-size:13px}
.cta-box{background:linear-gradient(135deg,rgba(240,152,25,.14),rgba(255,88,88,.12));border:1px solid var(--border2);border-radius:16px;padding:24px 20px;margin:0 auto 26px;max-width:780px}
.cta-box .cta-t{font-size:20px;font-weight:800;color:#fff;margin-bottom:16px}
.cta-box .cta-b{display:flex;gap:10px;justify-content:center;flex-wrap:wrap}
.kt{background:var(--surface);border:1px solid var(--brand);border-left-width:4px;border-radius:12px;padding:18px 22px;margin:0 auto 24px;max-width:780px;text-align:left}
.kt .th{font-weight:800;color:#fff;margin-bottom:10px;text-align:center}
.kt ul{display:block;margin:0;padding-left:20px}
.procon{display:grid;grid-template-columns:1fr 1fr;gap:16px;max-width:880px;margin:0 auto 18px;text-align:left}
.procon .col{border:1px solid var(--border);border-radius:12px;padding:16px 18px;background:var(--surface)}
.procon .col.pro{border-top:3px solid var(--green)}
.procon .col.con{border-top:3px solid #f13d53}
.procon .col .h{font-weight:800;color:#fff;margin-bottom:10px}
.procon .col ul{display:block;margin:0;padding-left:18px}
.score-badge{display:inline-flex;flex-direction:column;align-items:center;justify-content:center;width:120px;height:120px;border-radius:50%;background:var(--grad);color:#fff;margin:6px auto 16px;font-weight:900}
.score-badge .n{font-size:34px;line-height:1}.score-badge .x{font-size:13px;opacity:.9}
.faq-item{border:1px solid var(--border);border-radius:10px;margin:0 auto 10px;overflow:hidden;background:var(--surface);max-width:780px;text-align:left}
.faq-q{width:100%;text-align:left;padding:14px 16px;font-weight:700;color:#fff;display:flex;justify-content:space-between;align-items:center;gap:12px}
.faq-q .pl{color:var(--brand);font-size:20px;flex:0 0 auto}
.faq-a{max-height:0;overflow:hidden;transition:max-height .3s ease;padding:0 16px}
.faq-item.open .faq-a{max-height:500px;padding:0 16px 14px}
.faq-item.open .faq-q .pl{transform:rotate(45deg)}

/* Drawer */
.scrim{position:fixed;inset:0;background:rgba(0,0,0,.6);z-index:60;opacity:0;visibility:hidden;transition:.25s}
.scrim.on{opacity:1;visibility:visible}
.drawer{position:fixed;top:0;left:0;bottom:0;width:max-content;min-width:200px;max-width:80vw;background:var(--surface);z-index:70;transform:translateX(-100%);transition:transform .25s;padding:18px;overflow-y:auto}
.drawer a{white-space:nowrap}
.drawer.on{transform:none}
.drawer .logo{display:block;margin-bottom:22px}
.drawer .logo img{height:30px}
.drawer a{display:block;padding:13px 10px;border-radius:8px;font-weight:600;color:var(--muted)}
.drawer a:hover{background:var(--surface2);color:#fff}

@media(max-width:1100px){.fcols{grid-template-columns:1fr 1fr}}
@media(max-width:1024px){.nav{display:none}}
@media(max-width:760px){
  .hero-cap{max-width:100%}
  .procon{grid-template-columns:1fr}
  .grid{grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:8px}
}
@media(max-width:600px){
  .hdr-right .lang{display:none}
  .btn{height:36px;padding:0 13px;font-size:13px}
  .fcols{grid-template-columns:1fr 1fr;gap:16px}
  .sec-h .t{font-size:18px}
}
