:root{
  --bg:#1a1145;
  --bg-2:#241858;
  --bg-3:#2a1d6b;
  --sidebar:#3f2c8a;
  --sidebar-2:#34248f;
  --sidebar-hover:#5340b0;
  --accent:#ffc933;
  --accent-2:#ffb000;
  --accent-hover:#ffd966;
  --text:#ffffff;
  --text-muted:#b9b3d6;
  --text-dim:#8a82b8;
  --border:rgba(255,255,255,0.08);
  --card:#2a1d6b;
  --card-glow:0 0 20px rgba(120,80,255,0.25);
  --radius:12px;
  --radius-sm:8px;
  --radius-lg:18px;
  --maxw:1280px;
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font:16px/1.55 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Inter,Helvetica,Arial,sans-serif;
  min-height:100vh;
  background-image:radial-gradient(ellipse at top right,#2d1a7a 0%,transparent 60%),linear-gradient(180deg,#1a1145 0%,#15103d 100%);
  background-attachment:fixed;
}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
button{font:inherit;cursor:pointer;border:0;background:transparent;color:inherit}
ul,ol{margin:0;padding:0;list-style:none}

.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  padding:11px 22px;border-radius:999px;
  font-weight:700;font-size:15px;line-height:1;
  transition:transform .15s ease,filter .15s ease,background .15s ease;
}
.btn-primary{background:linear-gradient(180deg,var(--accent) 0%,var(--accent-2) 100%);color:#3a2400}
.btn-primary:hover{filter:brightness(1.08);transform:translateY(-1px)}
.btn-ghost{border:1px solid rgba(255,255,255,0.15);color:#fff;background:rgba(255,255,255,0.04)}
.btn-ghost:hover{background:rgba(255,255,255,0.1)}
.btn-block{width:100%}

.layout{display:flex;flex-direction:column;min-height:100vh}

.sidebar{
  display:none;
  width:240px;flex:0 0 240px;
  background:linear-gradient(180deg,#3a2685 0%,#2a1c6e 100%);
  border-right:1px solid var(--border);
  position:sticky;top:0;align-self:flex-start;height:100vh;overflow-y:auto;
  padding:18px 14px;
}
.sidebar-logo{display:block;margin-bottom:18px;padding:0 8px}
.sidebar-logo img{width:auto;height:36px}
.sidebar-cta{display:flex;flex-direction:column;gap:8px;margin-bottom:14px}
.nav-section{margin-bottom:14px}
.nav-title{
  font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;
  color:var(--text-dim);padding:6px 12px;
}
.nav-list a{
  display:flex;align-items:center;gap:10px;
  padding:9px 12px;border-radius:8px;
  font-size:14px;color:#e9e6ff;
}
.nav-list a:hover{background:var(--sidebar-hover);color:#fff}
.nav-icon{width:18px;height:18px;display:inline-flex;align-items:center;justify-content:center;flex:0 0 18px;color:var(--accent)}
.sidebar-bottom{margin-top:18px;padding-top:14px;border-top:1px solid var(--border);display:flex;flex-direction:column;gap:8px}
.lang-switch{
  display:flex;align-items:center;gap:8px;
  background:rgba(255,255,255,0.06);padding:9px 12px;border-radius:8px;
  font-size:14px;
}
.help-btn{
  display:flex;align-items:center;gap:10px;
  padding:10px 12px;border-radius:8px;background:var(--accent);color:#3a2400;font-weight:700;
}
.help-btn:hover{filter:brightness(1.08)}

.mobile-header{
  display:flex;align-items:center;justify-content:space-between;
  padding:10px 14px;height:56px;
  background:rgba(20,12,55,0.92);
  backdrop-filter:saturate(140%) blur(8px);
  border-bottom:1px solid var(--border);
  position:sticky;top:0;z-index:50;
}
.mobile-header .logo img{height:30px;width:auto}
.mobile-actions{display:flex;align-items:center;gap:8px}
.burger{
  width:38px;height:38px;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;
  background:rgba(255,255,255,0.06);
}
.burger span{display:block;width:18px;height:2px;background:#fff;border-radius:2px;position:relative}
.burger span::before,.burger span::after{content:"";position:absolute;left:0;width:18px;height:2px;background:#fff;border-radius:2px}
.burger span::before{top:-6px}.burger span::after{top:6px}

.mobile-nav{
  position:fixed;inset:0;background:rgba(10,6,30,0.96);z-index:60;
  display:none;flex-direction:column;padding:18px;overflow-y:auto;
}
.mobile-nav.is-open{display:flex}
.mobile-nav-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}
.mobile-nav-close{width:38px;height:38px;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;background:rgba(255,255,255,0.06);font-size:22px}
.mobile-nav .nav-list a{padding:14px 10px;font-size:16px;border-bottom:1px solid var(--border);border-radius:0}
.mobile-nav .nav-section{margin-bottom:6px}
.mobile-nav .sidebar-cta{margin-top:14px}

.main{flex:1;min-width:0;display:flex;flex-direction:column}
.container{width:100%;max-width:var(--maxw);margin:0 auto;padding:18px 16px}

.hero{
  position:relative;border-radius:var(--radius-lg);overflow:hidden;
  background:linear-gradient(135deg,#2a1d6b 0%,#1d1455 100%);
  box-shadow:var(--card-glow);
  margin-bottom:22px;
}
.hero-inner{
  position:relative;display:grid;grid-template-columns:1fr;gap:0;align-items:center;
  padding:28px 22px;min-height:240px;
  background:url("../images/banner-desktop.webp") right center / cover no-repeat;
}
.hero-text{position:relative;z-index:2;max-width:540px}
.hero-eyebrow{
  display:inline-block;font-size:12px;font-weight:700;letter-spacing:.18em;text-transform:uppercase;
  color:#cdb6ff;margin-bottom:8px;
}
.hero-title{
  font-size:clamp(26px,4.4vw,42px);font-weight:900;line-height:1.05;margin-bottom:6px;
  text-shadow:0 2px 8px rgba(0,0,0,.4);
}
.hero-sub{font-size:clamp(18px,2.4vw,22px);font-weight:700;color:#fff;margin-bottom:18px;text-shadow:0 2px 8px rgba(0,0,0,.4)}
.hero .btn-primary{padding:13px 30px;font-size:16px}
.hero-overlay{
  position:absolute;inset:0;
  background:linear-gradient(90deg,rgba(20,10,60,0.85) 0%,rgba(20,10,60,0.4) 50%,rgba(20,10,60,0) 100%);
  pointer-events:none;
}

.section-head{
  display:flex;align-items:center;justify-content:center;
  margin:14px 0 16px;
}
.section-title{
  font-size:clamp(18px,2.2vw,22px);font-weight:800;letter-spacing:.04em;text-transform:uppercase;color:#fff;
}

.games-grid{
  display:grid;gap:10px;
  grid-template-columns:repeat(2,1fr);
  margin-bottom:22px;
}
.game-card{
  position:relative;display:block;border-radius:var(--radius);overflow:hidden;
  background:#1a0f4d;aspect-ratio:1/1;
  box-shadow:0 4px 18px rgba(0,0,0,.25);
  transition:transform .15s ease,box-shadow .15s ease;
}
.game-card:hover{transform:translateY(-2px);box-shadow:0 8px 24px rgba(120,80,255,.35)}
.game-card img{width:100%;height:100%;object-fit:cover}
.game-card .heart{
  position:absolute;top:8px;right:8px;width:26px;height:26px;border-radius:50%;
  background:rgba(0,0,0,.4);display:inline-flex;align-items:center;justify-content:center;
  color:#fff;font-size:14px;
}

.cashback{
  position:relative;border-radius:var(--radius-lg);overflow:hidden;
  background:linear-gradient(135deg,#1d1352 0%,#3b1f78 100%);
  padding:26px 22px;margin-bottom:22px;
  display:grid;grid-template-columns:1fr;gap:14px;align-items:center;
  box-shadow:var(--card-glow);
}
.cashback-text{position:relative;z-index:2}
.cashback-title{font-size:clamp(20px,3vw,28px);font-weight:900;line-height:1.1;margin-bottom:8px;text-transform:uppercase}
.cashback-desc{color:var(--text-muted);font-size:15px;margin-bottom:16px;max-width:420px}
.cashback-badge{
  display:inline-flex;flex-direction:column;align-items:flex-start;
  background:#d8c896;color:#3a2400;padding:10px 16px;border-radius:10px;font-weight:700;font-size:13px;
}
.cashback-badge strong{font-size:24px;line-height:1}
.cashback-art{
  position:relative;display:flex;justify-content:center;align-items:center;
  font-weight:900;font-size:clamp(36px,8vw,72px);color:var(--accent);
  text-shadow:0 4px 18px rgba(255,201,51,.4);line-height:.9;text-align:center;
  letter-spacing:.02em;
}
.cashback-art span{display:block}

.payments{
  display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:18px;
  background:#fff;border-radius:14px;padding:14px 18px;margin-bottom:22px;
}
.payments-item{
  font-weight:800;font-size:14px;color:#1a1145;letter-spacing:.06em;text-transform:uppercase;
  padding:6px 12px;border-radius:6px;background:#f3f1ff;
}

.seo-content{
  background:rgba(255,255,255,0.03);
  border:1px solid var(--border);
  border-radius:var(--radius-lg);
  padding:22px;margin-bottom:22px;
  line-height:1.7;
}
.seo-content h1{font-size:clamp(26px,3.4vw,34px);font-weight:800;margin:0 0 14px;line-height:1.15}
.seo-content h2{font-size:clamp(20px,2.6vw,26px);font-weight:800;margin:28px 0 10px;color:#fff}
.seo-content h3{font-size:clamp(17px,2vw,20px);font-weight:700;margin:20px 0 8px;color:var(--accent)}
.seo-content p{margin:10px 0;color:#e7e3ff}
.seo-content strong{color:#fff}
.seo-content ul,.seo-content ol{margin:10px 0 14px;padding-left:20px}
.seo-content ul{list-style:disc}
.seo-content ol{list-style:decimal}
.seo-content li{margin:6px 0;color:#e7e3ff}
.seo-content a{color:var(--accent);text-decoration:underline;text-underline-offset:2px}
.seo-content a:hover{color:var(--accent-hover)}

.table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch;margin:14px 0;border-radius:10px;border:1px solid var(--border)}
.seo-content table{
  width:100%;min-width:520px;border-collapse:collapse;background:rgba(255,255,255,0.03);
}
.seo-content th,.seo-content td{
  padding:11px 14px;text-align:left;border-bottom:1px solid var(--border);font-size:14px;color:#e7e3ff;
}
.seo-content th{background:rgba(63,44,138,0.55);color:#fff;font-weight:700;text-transform:none}
.seo-content tr:last-child td{border-bottom:0}

.footer{
  background:#120b35;border-top:1px solid var(--border);
  padding:26px 0 18px;margin-top:auto;
}
.footer-cols{
  display:grid;grid-template-columns:1fr;gap:22px;
  padding:0 16px;max-width:var(--maxw);margin:0 auto;
}
.footer-brand .logo img{height:34px;margin-bottom:10px}
.footer-brand p{color:var(--text-dim);font-size:13px;margin:0 0 12px;max-width:280px}
.footer-col h4{font-size:13px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:var(--text-muted);margin:0 0 10px}
.footer-col ul li{margin:5px 0}
.footer-col a{font-size:14px;color:#d6d1f0}
.footer-col a:hover{color:var(--accent)}
.footer-bottom{
  margin-top:18px;padding:14px 16px 0;border-top:1px solid var(--border);
  max-width:var(--maxw);margin-left:auto;margin-right:auto;
  display:flex;flex-direction:column;gap:10px;
  font-size:12px;color:var(--text-dim);text-align:center;
}

.error-page{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:80px 20px;min-height:60vh}
.error-page .code{font-size:clamp(72px,16vw,140px);font-weight:900;line-height:1;color:var(--accent)}
.error-page p{max-width:480px;color:var(--text-muted);margin:14px 0 22px}

@media (min-width:640px){
  .games-grid{grid-template-columns:repeat(3,1fr)}
  .footer-cols{grid-template-columns:1fr 1fr}
  .container{padding:22px 20px}
  .hero-inner{padding:36px 32px;min-height:300px}
  .cashback{grid-template-columns:1.2fr .8fr;padding:32px 28px}
  .seo-content{padding:28px}
}

@media (min-width:1024px){
  .layout{flex-direction:row}
  .mobile-header{display:none}
  .sidebar{display:flex;flex-direction:column}
  .games-grid{grid-template-columns:repeat(6,1fr);gap:12px}
  .footer-cols{grid-template-columns:1.4fr 1fr 1fr 1fr 1fr;gap:24px}
  .container{padding:26px 28px}
  .hero-inner{padding:44px 40px;min-height:340px}
  .cashback{padding:36px 32px}
  .seo-content{padding:32px}
}

@media (max-width:1023px){
  .sidebar{display:none}
}
