:root{
  --bg0:#070713;
  --bg1:#0b0b1c;

  /* неоновая палитра как на рефах */
  --neonPink: rgba(255, 0, 168, .30);
  --neonBlue: rgba(0, 178, 255, .24);
  --neonViolet: rgba(141, 0, 255, .22);

  --card: rgba(12, 12, 26, .62);
  --stroke: rgba(255,255,255,.08);

  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.68);

  /* “оранжево-коричневый” премиум-акцент */
  --accent: #ff8a2a;
  --accent2:#ffb35c;
  --brown:#2a170d;

  --green:#3bf06a;

  --radius:18px;
  --shadow: 0 14px 40px rgba(0,0,0,.45);
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  color:var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Helvetica Neue", sans-serif;

  /* ✅ яркий НЕОНОВЫЙ ФОН, но “дорого”, без кислотности */
  background:
    radial-gradient(900px 650px at 18% -10%, var(--neonPink), transparent 58%),
    radial-gradient(950px 700px at 88% 12%, var(--neonBlue), transparent 58%),
    radial-gradient(900px 700px at 45% 115%, var(--neonViolet), transparent 60%),
    linear-gradient(180deg, var(--bg0), var(--bg1));
  overflow-x:hidden;
}

.container{width:min(1100px, 92vw); margin:0 auto;}
a{color:inherit; text-decoration:none}

/* фоновые “блобики” (у тебя уже есть в html) */
.bg-blob{
  position:fixed;
  inset:auto;
  width:520px;
  height:520px;
  border-radius:50%;
  filter: blur(42px);
  opacity:.85;
  pointer-events:none;
  z-index:-1;
}
.blob-1{left:-140px; top:-160px; background: radial-gradient(circle at 30% 30%, rgba(255,0,168,.65), rgba(0,0,0,0));}
.blob-2{right:-170px; top:80px; background: radial-gradient(circle at 30% 30%, rgba(0,178,255,.60), rgba(0,0,0,0));}

/* ===== Header ===== */
.site-header{
  position:sticky; top:0; z-index:20;
  background: linear-gradient(180deg, rgba(10,10,20,.92), rgba(10,10,20,.65));
  backdrop-filter: blur(10px);
  border-bottom:1px solid rgba(255,255,255,.06);
}
.header-wrap{
  display:flex; align-items:center; justify-content:space-between;
  padding:12px 0;
}
.brand{display:flex; align-items:center; gap:10px; min-width:140px;}
.logo{
  width:34px; height:34px; border-radius:10px;
  object-fit:cover; border:1px solid rgba(255,255,255,.12);
}
.brand-name{font-weight:900; letter-spacing:.3px;}
.header-actions{display:flex; align-items:center; gap:10px;}

/* burger */
.burger{
  width:44px; height:44px;
  border-radius:14px;
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
  display:grid; place-items:center;
  padding:0;
  box-shadow: 0 10px 26px rgba(0,0,0,.25);
}
.burger span{
  display:block;
  width:18px; height:2px;
  background: rgba(255,255,255,.86);
  border-radius:999px;
  margin:2px 0;
}

/* ===== Drawer ===== */
.drawer{position:fixed; inset:0; pointer-events:none; z-index:50;}
.drawer-backdrop{
  position:absolute; inset:0;
  background: rgba(0,0,0,.55);
  opacity:0;
  transition:opacity .18s ease;
}
.drawer-panel{
  position:absolute; top:0; right:0; height:100%;
  width:min(340px, 88vw);
  background: rgba(12,12,26,.92);
  border-left:1px solid rgba(255,255,255,.08);
  transform: translateX(100%);
  transition: transform .22s ease;
  backdrop-filter: blur(12px);
  box-shadow: -20px 0 60px rgba(0,0,0,.45);
  display:flex; flex-direction:column;
}
.drawer-top{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 14px 10px;
  border-bottom:1px solid rgba(255,255,255,.06);
}
.drawer-title{font-weight:900;}
.drawer-close{
  width:40px; height:40px; border-radius:14px;
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
  color:rgba(255,255,255,.92);
  font-size:24px; line-height:0;
}
.drawer-nav{display:flex; flex-direction:column; padding:12px; gap:8px;}
.drawer-link{
  padding:12px 12px;
  border-radius:14px;
  background: rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.08);
  font-weight:800;
}
.drawer-link-accent{
  background: linear-gradient(180deg, var(--accent2), var(--accent));
  color:#111;
  border-color: rgba(0,0,0,.18);
}

.drawer.is-open{pointer-events:auto;}
.drawer.is-open .drawer-backdrop{opacity:1;}
.drawer.is-open .drawer-panel{transform: translateX(0);}

/* ===== Buttons ===== */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:10px 14px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.10);
  font-weight:800;
  line-height:1;
  box-shadow: 0 10px 26px rgba(0,0,0,.25);
  transition: transform .12s ease, filter .12s ease, background .12s ease;
  white-space:nowrap;
}
.btn:hover{transform: translateY(-1px); filter:brightness(1.05)}
.btn:active{transform: translateY(0px); filter:brightness(.98)}

.btn-primary{
  background: linear-gradient(180deg, var(--accent2), var(--accent));
  color:#121212;
  border-color: rgba(0,0,0,.15);
}
.btn-dark{
  background: rgba(255,255,255,.06);
  color: var(--text);
}
.btn-ghost{
  background: rgba(255,255,255,.06);
  color: var(--text);
}
.btn-wide{width:100%; border-radius:14px;}
.btn-green{
  background: linear-gradient(180deg, rgba(90,255,160,1), rgba(20,190,95,1));
  color:#07110a;
  border-color: rgba(0,0,0,.2);
}

/* ===== Promo Slider ===== */
.promo{padding:14px 0 6px;}
.promo-wrap{display:flex; flex-direction:column; gap:14px;}

.slider{
  border-radius:22px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  box-shadow: var(--shadow);
}
.slider-track{display:flex; width:100%; will-change:transform;}
.slide{min-width:100%; position:relative;}
.slide-img{
  width:100%;
  height:320px;
  object-fit:cover;
  display:block;
  filter: contrast(1.05) saturate(1.05);
}
.slide-overlay{
  position:absolute; inset:0;
  display:flex; justify-content:space-between; gap:14px;
  padding:18px;
  background: linear-gradient(90deg, rgba(0,0,0,.55), rgba(0,0,0,.10) 60%, rgba(0,0,0,0));
}
.slide-title{font-weight:1000; font-size: clamp(20px, 3vw, 36px); letter-spacing:.3px;}
.slide-sub{color: rgba(255,255,255,.78); font-weight:800; margin-top:6px;}
.slide-cta{font-weight:900; font-size:16px; margin-bottom:10px;}
.slide-actions{display:flex; gap:10px; flex-wrap:wrap;}
.slide-right{display:flex; flex-direction:column; justify-content:flex-end; align-items:flex-end; text-align:right;}

/* dots */
.slider-dots{display:flex; gap:8px; justify-content:center; padding:10px; background: rgba(10,10,20,.45); border-top:1px solid rgba(255,255,255,.06);}
.slider-dots .dot{
  width:8px; height:8px; border-radius:99px;
  background: rgba(255,255,255,.25);
}
.slider-dots .dot.active{background: rgba(255,255,255,.80); width:18px;}

/* ===== Topwins ===== */
.topwins{
  border-radius:18px;
  border:1px solid rgba(255,255,255,.06);
  background: rgba(255,255,255,.035);
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
  overflow:hidden;
}
.topwins-track{display:flex; gap:10px; padding:10px;}
.topwins-card{
  flex:0 0 auto;
  display:flex; gap:10px; align-items:center;
  min-width: 210px;
  padding:10px;
  border-radius:14px;
  background: rgba(10,10,20,.55);
  border:1px solid rgba(255,255,255,.07);
}
.topwins-card img{
  width:42px; height:42px; border-radius:14px;
  object-fit:cover;
  border:1px solid rgba(255,255,255,.10);
}
.tw-amt{font-weight:1000;}
.tw-sub{font-size:12px; color:var(--muted); font-weight:800; margin-top:2px;}

/* ===== Categories ===== */
.cats{
  display:flex; gap:10px;
  overflow:auto;
  padding-bottom:2px;
}
.cat{
  flex:0 0 auto;
  display:flex; align-items:center; gap:8px;
  padding:10px 12px;
  border-radius:16px;
  background: rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.08);
  box-shadow: 0 10px 26px rgba(0,0,0,.18);
  font-weight:900;
}
.cat.active{
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.14);
}
.cat-ic{font-size:18px}
.cat-txt{font-size:13px}

/* ===== Search Card ===== */
.searchcard{
  border-radius:18px;
  border:1px solid rgba(255,255,255,.08);
  background:
    radial-gradient(900px 240px at 10% 50%, rgba(255,138,42,.20), transparent 60%),
    rgba(12,12,26,.62);
  box-shadow: var(--shadow);
  padding:14px;
  display:flex; align-items:center; justify-content:space-between; gap:12px;
}
.search-title{font-weight:1000; font-size:16px;}
.search-sub{color:var(--muted); font-weight:800; margin-top:4px; font-size:12px;}

/* ===== Sections ===== */
.section-head{
  display:flex; align-items:flex-end; justify-content:space-between; gap:14px;
  margin: 10px 0 12px;
}
.section-title{display:flex; align-items:center; gap:10px;}
.pill{
  padding:6px 10px;
  border-radius:999px;
  background: rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.10);
  font-weight:1000;
  letter-spacing:.2px;
}
.ttl{font-weight:1000; font-size:22px;}
.mini-link{color: rgba(255,255,255,.80); font-weight:900;}

/* ===== Livewins ===== */
.livewins{padding:10px 0 6px}
.lw-viewport{
  overflow:hidden;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.06);
  background: rgba(255,255,255,.035);
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
}
.lw-track{display:flex; gap:10px; padding:10px; align-items:stretch; will-change:transform;}
.lw-card{
  flex:0 0 auto;
  display:flex; gap:10px;
  min-width: 240px;
  padding:10px;
  border-radius:14px;
  background: rgba(10,10,20,.55);
  border:1px solid rgba(255,255,255,.07);
}
.lw-card img{
  width:42px; height:42px;
  border-radius:14px;
  object-fit:cover;
  border:1px solid rgba(255,255,255,.10);
}
.lw-card .name{font-weight:900; font-size:14px}
.lw-card .meta{font-size:12px; color:var(--muted); display:flex; gap:6px; align-items:center}
.lw-card .amt{color: rgba(255,255,255,.92); font-weight:1000}

/* ===== Tabs ===== */
.tabs{display:flex; gap:10px; flex-wrap:wrap}
.tab{
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
  color: var(--text);
  border-radius: 999px;
  padding:8px 12px;
  font-weight:1000;
}
.tab.active{
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.16);
}

/* ===== Games ===== */
.games{padding:12px 0 14px}
.grid{
  display:grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap:14px;
}
.hidden{display:none !important;}

.game-card{
  border-radius: var(--radius);
  background: rgba(12,12,26,.62);
  border:1px solid rgba(255,255,255,.08);
  box-shadow: 0 12px 34px rgba(0,0,0,.32);
  overflow:hidden;
  display:flex;
  flex-direction:column;
}

/* ✅ САМЫЙ ВАЖНЫЙ ФИКС:
   делаем “вертикальнее” и чтобы картинки НЕ растягивались */
.thumb{
  position:relative;
  width:100%;
  aspect-ratio: 3 / 4;     /* вертикальнее, но не “слишком” */
  overflow:hidden;
  background: rgba(0,0,0,.22);
}
.thumb img{
  width:100%;
  height:100%;
  display:block;

  object-fit: cover;       /* без растягивания */
  object-position:center;  /* центр */
}

/* лёгкая тень, чтобы “дороже” */
.thumb-shade{
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,.55));
  pointer-events:none;
}

.badge-pre, .badge-new{
  position:absolute;
  left:10px; top:10px;
  padding:6px 10px;
  border-radius:999px;
  font-weight:1000;
  font-size:11px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.35);
  backdrop-filter: blur(10px);
}
.badge-new{left:auto; right:10px;}

.game-meta{
  padding:12px;
  display:flex;
  flex-direction:column;
  gap:10px;
}
.game-name{
  font-weight:1000;
  font-size:13px;
  letter-spacing:.2px;
}

/* ===== Jackpot ===== */
.jackpot.big{
  margin-top:14px;
  border-radius: 20px;
  border:1px solid rgba(255,255,255,.08);
  background:
    radial-gradient(900px 260px at 18% 50%, rgba(255,138,42,.22), transparent 60%),
    radial-gradient(800px 260px at 95% 50%, rgba(0,178,255,.18), transparent 60%),
    rgba(12,12,26,.62);
  box-shadow: var(--shadow);
  padding:14px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  position:relative;
  overflow:hidden;
}
.jackpot-art{
  position:absolute;
  inset:-40px -80px auto auto;
  width:260px; height:260px;
  background: radial-gradient(circle at 30% 30%, rgba(255,0,168,.26), transparent 60%);
  filter: blur(10px);
}
.jackpot-kicker{font-weight:1000; font-size:12px; color: rgba(255,255,255,.78)}
.jackpot-sum{font-weight:1100; font-size: 30px; letter-spacing:.3px}
.jackpot-sum span{font-size:18px; color: rgba(255,255,255,.75)}
.btn-jp{padding:12px 18px; border-radius:16px}

/* ===== Content ===== */
.content{padding:10px 0 18px}
.content-card{
  border-radius:18px;
  background: rgba(12,12,26,.60);
  border:1px solid rgba(255,255,255,.08);
  box-shadow: 0 12px 34px rgba(0,0,0,.28);
  padding:16px;
}
.content-card p, .content-card li{color: rgba(255,255,255,.78); line-height:1.55}

/* ===== Footer ===== */
.site-footer{
  padding:18px 0 26px;
  border-top:1px solid rgba(255,255,255,.06);
  background: rgba(10,10,20,.55);
  backdrop-filter: blur(10px);
}
.footer-wrap{display:flex; justify-content:space-between; gap:18px; flex-wrap:wrap;}
.footer-logo{font-weight:1100; font-size:22px;}
.footer-sub{color: rgba(255,255,255,.65); margin-top:6px; font-weight:800;}
.footer-links{display:flex; gap:24px; flex-wrap:wrap;}
.footer-title{font-weight:1000; margin-bottom:8px;}
.footer-item{color: rgba(255,255,255,.70); margin:6px 0;}

/* ===== Responsive ===== */
@media (max-width: 1050px){
  .grid{grid-template-columns: repeat(3, minmax(0, 1fr));}
  .slide-img{height:300px;}
}
@media (max-width: 720px){
  .grid{grid-template-columns: repeat(2, minmax(0, 1fr));}
  .slide-img{height:260px;}
}
@media (max-width: 420px){
  .grid{grid-template-columns: 1fr;}
}
