:root{
  --bg:#040313;
  --bg-2:#050417;
  --card:#0d0a23;
  --text:#f5f2ff;
  --muted:#a7a0d6;
  --stroke:#221b4a;
  --accent:#a855ff;   /* фиолетовый */
  --accent-2:#6366f1; /* фиолетово-синий */
  --glow:rgba(148,93,255,.5);
  --live-dot:#44e878;
  --gold:#ffd86a;
}

*{box-sizing:border-box}
html,body{
  margin:0;
  padding:0;
  background:radial-gradient(circle at top,#261c57 0,#07041a 45%,#02010a 100%);
  color:var(--text);
  font:16px/1.6 Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
}
img{display:block;max-width:100%;height:auto}
a{color:inherit;text-decoration:none}

.container{max-width:1180px;margin:0 auto;padding:0 16px}

/* HEADER */
.site-header{
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(4,3,18,.97);
  backdrop-filter:saturate(150%) blur(14px);
  border-bottom:1px solid rgba(143,123,255,.28);
}
.header-wrap{
  display:flex;
  align-items:center;
  justify-content:space-between;
  height:60px;
}
.brand{
  display:flex;
  align-items:center;
  gap:10px;
}
.logo{
  width:30px;
  height:30px;
  border-radius:7px;
  object-fit:cover;
  box-shadow:0 0 0 1px rgba(255,255,255,.14),0 0 18px rgba(0,0,0,.7);
}
.brand-name{
  font-weight:800;
  letter-spacing:.2px;
  text-transform:uppercase;
  font-size:14px;
}
.actions{
  display:flex;
  gap:8px;
}

/* BUTTONS */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:34px;
  padding:0 14px;
  border-radius:9px;
  border:1px solid transparent;
  transition:
    transform .12s ease,
    box-shadow .18s ease,
    opacity .18s ease,
    background .18s ease;
  font-weight:600;
  letter-spacing:.2px;
  font-size:13px;
  text-transform:none;
  box-shadow:0 8px 22px rgba(0,0,0,.55);
  white-space:nowrap;
}
.btn-primary{
  color:#fff;
  background:linear-gradient(120deg,var(--accent) 0%,var(--accent-2) 55%,#f973ff 115%);
  box-shadow:0 0 0 1px rgba(255,255,255,.08),0 0 25px var(--glow);
  text-shadow:0 1px 0 rgba(0,0,0,.45);
}
.btn-secondary{
  color:#dbd7ff;
  background:linear-gradient(160deg,#171438 0%,#0b0924 100%);
  border-color:rgba(176,157,255,.55);
}
.btn:hover{
  transform:translateY(-1px);
  box-shadow:0 14px 30px rgba(0,0,0,.75),0 0 26px var(--glow);
}
.btn:active{
  transform:translateY(0);
  box-shadow:0 6px 18px rgba(0,0,0,.6),0 0 16px rgba(123,92,255,.7);
}

/* чуть крупнее в hero / карточках */
.hero-actions .btn,
.card .btn,
.jackpot-btn{
  height:36px;
  padding:0 18px;
}

/* HERO */
.hero{
  padding:18px 0 10px;
}
.hero-box{
  position:relative;
  border-radius:18px;
  overflow:hidden;
  background:#06041a;
  border:1px solid rgba(149,127,255,.35);
  box-shadow:0 26px 60px rgba(0,0,0,.95);
}
.hero-img{
  width:100%;
  height:clamp(230px,35vw,390px);
  object-fit:cover;
  filter:saturate(115%);
}
.hero-overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,rgba(3,2,18,.96) 0%,rgba(3,2,18,.78) 40%,rgba(3,2,18,0) 100%);
  display:flex;
  align-items:center;
  padding:22px 26px;
}
.hero-text{
  max-width:420px;
}
.hero-title{
  margin:0 0 8px;
  font-size:clamp(24px,3.4vw,30px);
  font-weight:900;
}
.hero-subtitle{
  margin:0 0 16px;
  font-size:14px;
  color:var(--muted);
}
.hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

/* LIVE WINS */
.livewins{
  padding:6px 0 4px;
}
.lw-head{
  display:flex;
  align-items:center;
  gap:8px;
  font-weight:700;
  margin:4px 0 10px;
  color:#d0c7ff;
  font-size:12px;
  text-transform:uppercase;
}
.lw-head::before{
  content:"";
  width:8px;
  height:8px;
  border-radius:50%;
  background:var(--live-dot);
  box-shadow:0 0 10px var(--live-dot),0 0 2px #000 inset;
}
.lw-viewport{
  position:relative;
  overflow:hidden;
  border-radius:14px;
  background:rgba(10,7,36,.96);
  border:1px solid rgba(163,144,255,.28);
}
.lw-viewport::before,
.lw-viewport::after{
  content:"";
  position:absolute;
  top:0;
  bottom:0;
  width:40px;
  z-index:2;
  pointer-events:none;
}
.lw-viewport::before{
  left:0;
  background:linear-gradient(90deg,rgba(7,5,28,1),rgba(7,5,28,0));
}
.lw-viewport::after{
  right:0;
  background:linear-gradient(270deg,rgba(7,5,28,1),rgba(7,5,28,0));
}
.lw-track{
  display:flex;
  gap:10px;
  padding:9px 10px;
  will-change:transform;
}
.lw-card{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:230px;
  background:radial-gradient(circle at top,#342a7d 0,#151035 55%,#09051f 100%);
  border:1px solid rgba(186,167,255,.45);
  padding:7px 9px;
  border-radius:12px;
  box-shadow:inset 0 -1px 0 rgba(255,255,255,.06);
}
.lw-card img{
  width:36px;
  height:36px;
  border-radius:10px;
  object-fit:cover;
  box-shadow:0 0 0 1px rgba(0,0,0,.8);
}
.lw-card .name{
  font-weight:700;
  font-size:13px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  max-width:140px;
}
.lw-card .meta{
  font-size:11px;
  color:#d3d0ff;
}
.lw-card .amt{
  color:var(--gold);
  font-weight:800;
}
.lw-card .dot{
  margin:0 6px;
  color:#8f88d0;
}

/* GAMES GRID */
.games{
  padding:14px 0 10px;
}
.games-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:10px;
}
.games-tabs{
  display:inline-flex;
  padding:3px;
  border-radius:12px;
  background:rgba(18,14,52,.96);
  border:1px solid rgba(170,148,255,.5);
}
.games-tab{
  min-width:110px;
  text-align:center;
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.3px;
  padding:6px 10px;
  border-radius:8px;
  color:#a9a3e0;
  cursor:default;
}
.games-tab.active{
  background:linear-gradient(120deg,rgba(168,85,255,.96),rgba(99,102,241,.96));
  color:#fff;
  box-shadow:0 0 18px rgba(159,122,255,.9);
}
.grid{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:10px;
}
.card{
  background:radial-gradient(circle at top,#2d235f 0,#130f33 55%,#06051b 100%);
  border:1px solid rgba(167,145,255,.42);
  border-radius:16px;
  padding:9px;
  display:flex;
  flex-direction:column;
  gap:8px;
  box-shadow:0 14px 34px rgba(0,0,0,.85);
}
.thumb{
  position:relative;
  aspect-ratio:1.3/1;
  border-radius:12px;
  overflow:hidden;
  background:#050414;
  border:1px solid rgba(214,204,255,.35);
}
.thumb::after{
  content:"";
  position:absolute;
  left:9px;
  right:9px;
  bottom:9px;
  height:8px;
  border-radius:999px;
  background:linear-gradient(90deg,rgba(168,85,255,.7),rgba(99,102,241,.7));
  filter:blur(9px);
}
.card h3{
  margin:0 0 2px;
  font-size:13px;
  font-weight:800;
}
.card .btn{
  margin-top:auto;
  border-radius:10px;
}

/* JACKPOT */
.jackpot{
  padding:8px 0 20px;
}
.jackpot-box{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 18px;
  border-radius:16px;
  background:
    radial-gradient(circle at top left,rgba(172,101,255,.95) 0,rgba(172,101,255,.12) 36%,rgba(5,8,20,0) 70%),
    radial-gradient(circle at bottom right,rgba(244,114,182,.9) 0,rgba(244,114,182,.12) 40%,rgba(5,8,20,0) 80%),
    linear-gradient(120deg,#0b0728 0,#050218 100%);
  border:1px solid rgba(205,180,255,.6);
  box-shadow:0 24px 56px rgba(0,0,0,.95);
  gap:14px;
}
.jackpot-text{
  max-width:460px;
}
.jackpot-label{
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.26px;
  color:#f3e9ff;
  margin-bottom:4px;
}
.jackpot-amount{
  font-size:24px;
  font-weight:900;
  color:#fff;
  margin-bottom:4px;
}
.jackpot-desc{
  margin:0;
  font-size:13px;
  color:#e4ddff;
}
.jackpot-btn{
  white-space:nowrap;
}

/* LONG TEXT */
.content{
  padding:10px 0 32px;
}
.content-inner{
  background:#060418;
  border-radius:16px;
  border:1px solid rgba(182,165,255,.45);
  padding:18px 18px 22px;
  box-shadow:0 26px 60px rgba(0,0,0,.9);
}
.content h1,
.content h2,
.content h3,
.content h4{
  margin:18px 0 10px;
}
.content p,
.content li{
  color:#e0dcff;
  font-size:15px;
}
.content ul{
  padding-left:18px;
}

/* FOOTER */
.site-footer{
  border-top:1px solid rgba(163,144,255,.4);
  background:#030214;
  padding:14px 0 18px;
  color:#b4a8ff;
  font-size:13px;
  text-align:center;
}

/* RESPONSIVE */
@media (max-width:960px){
  .header-wrap{height:56px}
  .hero-overlay{
    align-items:flex-end;
    padding:16px 14px;
    background:linear-gradient(180deg,rgba(3,2,18,.1) 0,rgba(3,2,18,.98) 70%);
  }
  .hero-text{max-width:100%}
  .grid{
    grid-template-columns:repeat(3,1fr);
  }
  .jackpot-box{
    flex-direction:column;
    align-items:flex-start;
  }
  .jackpot-btn{
    width:100%;
    justify-content:center;
  }
}

@media (max-width:640px){
  .actions .btn{
    padding:0 10px;
    height:32px;
    font-size:11px;
  }
  .brand-name{font-size:12px}
  .hero-img{height:clamp(210px,50vw,260px)}
  .grid{
    grid-template-columns:repeat(2,1fr);
  }
  .lw-card{min-width:200px}
  .jackpot-amount{font-size:20px}
}
