/* styles.css */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&display=swap");

:root{
  --bg:#0b0f18;

  --panel: rgba(12,17,28,.62);
  --panel2: rgba(18,26,41,.42);
  --line: rgba(145,172,220,.16);

  --text: rgba(255,255,255,.92);
  --muted: rgba(170,195,240,.62);

  --blueA:#41C6FF;
  --blueB:#1A64FC;
  --grad: linear-gradient(135deg,var(--blueA),var(--blueB));

  --r14:14px;
  --r18:18px;
  --r25:25px;

  --shadow: 0 18px 48px rgba(0,0,0,.55);
  --shadow2: 0 10px 26px rgba(0,0,0,.35);

  --container: 1180px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x:hidden;
}
img{max-width:100%;display:block}
a{color:inherit}
.muted{color:var(--muted)}
:focus-visible{outline:2px solid rgba(65,198,255,.55); outline-offset:3px}

.container{width:min(var(--container), 100% - 32px); margin:0 auto}

/* sr-only */
.srOnly{
  position:absolute;
  width:1px;height:1px;
  padding:0;margin:-1px;
  overflow:hidden;clip:rect(0,0,0,0);
  white-space:nowrap;border:0;
}

/* blue icons */
.icBlue{color: rgba(47,121,255,.95)}
.btnIc, .miniIc, .catIc{display:inline-flex; align-items:center; justify-content:center}
.btnIc{margin-right:8px}
.miniIc{margin-right:6px}
.icWrap svg, .btnIc svg, .miniIc svg, .catIc svg{fill: currentColor}

/* background */
.bg{position:fixed; inset:0; pointer-events:none; z-index:-1}
.bgBlob{position:absolute; filter:blur(60px); opacity:.55}
.bgBlobA{width:560px;height:560px;left:-180px;top:-220px;background:rgba(65,198,255,.20);border-radius:50%}
.bgBlobB{width:720px;height:720px;right:-280px;top:-280px;background:rgba(26,100,252,.18);border-radius:50%}
.bgNoise{
  position:absolute; inset:0; opacity:.06;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}
.bgVignette{
  position:absolute; inset:-20%;
  background: radial-gradient(closest-side, transparent 55%, rgba(0,0,0,.55) 100%);
  opacity:.85;
}

/* base block */
.baseBlock{
  border-radius: var(--r25);
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
}

/* ===== header ===== */
.header{position:relative; z-index:50}
.header::after{
  content:"";
  position:absolute;
  left:0; right:0; bottom:-1px;
  height:1px;
  background: linear-gradient(90deg, transparent, rgba(145,172,220,.22), transparent);
  opacity:.9;
}

/* top row scrolls away */
.topHeader{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding: 12px 0 10px;
}
.topleft,.topright{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}

/* sticky bottom row only + rounded */
.wrapper{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding: 8px 0 14px;
}
.wrapperSticky{
  position: sticky;
  top: 0;
  padding: 10px 14px;
  margin: 0 -14px;
  border-radius: 0 0 var(--r18) var(--r18);
  background: rgba(11,15,24,.76);
  border-bottom: 1px solid rgba(145,172,220,.14);
  box-shadow: 0 12px 30px rgba(0,0,0,.35);
}

/* logo */
.logo{display:flex; align-items:center; text-decoration:none}
.logoImg{height:42px; width:auto; opacity:.98}

/* buttons */
.mainBtn{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  text-decoration:none;
  user-select:none;
  cursor:pointer;

  border-radius:999px;
  padding:10px 14px;

  font-weight:400;
  font-size:14px;
  letter-spacing:.10px;

  border:1px solid rgba(145,172,220,.16);
  background: rgba(12,17,28,.55);
  box-shadow: var(--shadow2);

  transition: transform .15s ease, border-color .15s ease, filter .15s ease;
}
.mainBtn:hover{transform: translateY(-1px); border-color: rgba(65,198,255,.26)}
.mainBtn:active{transform: translateY(0)}

.iconBtn{
  width:42px;
  height:42px;
  padding:0;
  border-radius:16px; /* чуть более кругло */
}
.icWrap svg{opacity:.95}

.ghostPill{background: rgba(18,26,41,.48)}
.dark{
  background: rgba(0,0,0,.32);
  border-color: rgba(255,255,255,.10);
}

.blue{
  border:1px solid transparent;
  background:
    linear-gradient(rgba(12,17,28,.45), rgba(12,17,28,.35)) padding-box,
    var(--grad) border-box;
  color: rgba(255,255,255,.95);
}
.glow{
  box-shadow:
    0 10px 26px rgba(0,0,0,.35),
    0 0 0 1px rgba(65,198,255,.18),
    0 12px 34px rgba(26,100,252,.22);
}
.blue.glow:hover{
  filter: brightness(1.05);
  box-shadow:
    0 12px 30px rgba(0,0,0,.35),
    0 0 0 1px rgba(65,198,255,.22),
    0 16px 46px rgba(26,100,252,.30);
}

.wide{width:100%}

/* chip-like buttons */
.transferBtn{
  padding:10px 14px;
  border-radius: 18px;
  align-items:flex-start;
  background: rgba(12,17,28,.55);
}
.btnTextBlock{display:flex;flex-direction:column;align-items:flex-start;gap:2px;line-height:1.05}
.btnTitle{font-weight:500;font-size:13.5px}
.btnSub{font-weight:400;font-size:12px;color:var(--muted)}
.btnArrow{opacity:.65}

.accentChip{
  border-color: rgba(65,198,255,.20);
  background:
    radial-gradient(260px 140px at 12% 12%, rgba(65,198,255,.10), transparent 60%),
    rgba(12,17,28,.55);
}
.chipDot{
  position:absolute;
  right:10px; top:10px;
  width:10px; height:10px;
  border-radius:50%;
  background: rgba(255,255,255,.42);
  opacity:.55;
}

/* ===== hero ===== */
.contentWrapper{padding-bottom: 30px}
.banerBody{margin-top: 10px}
.banner{
  position:relative;
  display:block;
  overflow:hidden;
  text-decoration:none;
  min-height: 430px;
}
.bannerBg{
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit:cover;
  opacity:.62;
  transform: scale(1.03);
  filter: saturate(1.05) contrast(1.05);
}
.bannerShade{
  position:absolute; inset:0;
  background:
    radial-gradient(900px 460px at 15% 18%, rgba(65,198,255,.14), transparent 62%),
    radial-gradient(860px 460px at 92% 22%, rgba(26,100,252,.14), transparent 60%),
    linear-gradient(180deg, rgba(11,15,24,.10), rgba(11,15,24,.80));
}
.mainImg{
  position:absolute;
  right:-70px;
  bottom:-14px;
  height: 430px;
  width:auto;
  filter: drop-shadow(0 30px 70px rgba(0,0,0,.60));
  pointer-events:none;
  opacity:.95;
}

/* banner content */
.bannerInner{
  position:relative;
  z-index:2;
  padding: 22px;
  display:grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 14px;
  align-items: stretch;
  min-height: 430px;
}
.bannerLeft{
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  gap:10px;
  max-width: 680px;
}

.bannerKicker{
  display:inline-flex;
  font-size:12px;
  font-weight:500;
  letter-spacing:.18px;
  text-transform:uppercase;
  color: rgba(255,255,255,.78);
}
.bannerTitle{
  margin:0;
  font-weight:600;
  letter-spacing:.10px;
  text-transform:uppercase;
  font-size: clamp(26px, 3.4vw, 44px);
}
.accentText{
  background: var(--grad);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
.bannerSub{
  color: rgba(170,195,240,.74);
  font-weight:400;
  letter-spacing:.06px;
}
.bannerActions{
  margin-top: 8px;
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:10px;
  max-width: 420px;
}

/* rewards moved left, compact */
.rewardsMini{
  width: min(520px, 100%);
  padding: 12px 12px 10px;
  background: rgba(12,17,28,.62);
  box-shadow: var(--shadow2);
}
.rewardsTop{display:flex;align-items:center;justify-content:space-between;gap:10px}
.rewardsLabel{font-weight:500;font-size:13px;opacity:.9}
.pillTag{
  font-size:12px;
  font-weight:600;
  padding:6px 10px;
  border-radius:999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
}
.rewardsPrize{margin-top:8px;font-size:16px;font-weight:600;letter-spacing:.06px}
.rewardsHint{margin-top:6px;color: rgba(170,195,240,.66); font-size:12px; font-weight:400}

.timerMini{
  margin-top:10px;
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:8px;
}
.tMini{
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.22);
  padding: 8px 0;
  text-align:center;
}
.tNum{font-weight:600; font-size:15px}
.tCap{margin-top:2px; font-weight:400; font-size:11px; color: rgba(170,195,240,.70)}

/* right mini stack */
.bannerSide{
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  gap:10px;
  padding-bottom: 10px;
}
.sideStat{
  padding: 12px 12px 10px;
  background: rgba(12,17,28,.62);
  box-shadow: var(--shadow2);
}
.sideStatT{display:flex; align-items:center; font-weight:500; letter-spacing:.06px}
.sideStatS{margin-top:6px; font-weight:400; font-size:12px; color: rgba(170,195,240,.60)}

/* ===== categories ===== */
.categoriesBlock{margin-top: 14px}
.categoriesWrapper{
  display:flex;
  align-items:center;
  gap:10px;
  padding: 10px;
  border-radius: var(--r25);
}
.arrowBtn{
  width:42px; height:42px;
  border-radius:16px;
  border: 1px solid rgba(145,172,220,.16);
  background: rgba(12,17,28,.55);
  box-shadow: var(--shadow2);
  display:grid; place-items:center;
  text-decoration:none;
  color: rgba(255,255,255,.84);
}
.categories{
  flex:1;
  display:flex;
  align-items:center;
  gap:10px;
  overflow:auto hidden;
  padding: 2px;
  scrollbar-width:none;
}
.categories::-webkit-scrollbar{display:none}

.category{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(145,172,220,.16);
  background: rgba(12,17,28,.55);
  box-shadow: var(--shadow2);
  text-decoration:none;
  font-weight:400;
  letter-spacing:.10px;
}
.catIc{margin-right:2px}

.blueCount{
  font-size:12px;
  font-weight:600;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(47,121,255,.35);
  background: rgba(47,121,255,.16);
  color: rgba(195,225,255,.92);
}

.category.active{
  border: 1px solid rgba(47,121,255,.40);
  background: rgba(12,17,28,.62);
}

.provider{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(145,172,220,.16);
  background: rgba(12,17,28,.55);
  box-shadow: var(--shadow2);
  text-decoration:none;
  font-weight:400;
}
.providerArrow{opacity:.7}

/* ===== search ===== */
.searchWrapper{margin-top: 14px}
.searchGames .field{
  display:flex;
  align-items:center;
  gap:10px;
  padding: 12px 14px;
  border-radius: var(--r25);
  border: 1px solid rgba(145,172,220,.16);
  background: rgba(12,17,28,.62);
  box-shadow: var(--shadow2);
}
.searchGames input{
  width:100%;
  background: transparent;
  border:none;
  outline:none;
  color: rgba(255,255,255,.92);
  font-weight:400;
  font-size:14px;
  letter-spacing:.08px;
}
.searchGames input::placeholder{color: rgba(170,195,240,.55)}
.miniAction{
  text-decoration:none;
  font-weight:400;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.05);
  opacity:.92;
  display:inline-flex;
  align-items:center;
}

.searchGames .items{margin-top: 12px}
.searchGames .list{
  display:flex;
  flex-direction:column;
  gap:10px;
  max-height: 380px;
  overflow:auto;
  padding-right: 6px;
}
.searchGames .list::-webkit-scrollbar{width:10px}
.searchGames .list::-webkit-scrollbar-thumb{background: rgba(145,172,220,.16); border-radius: 999px}
.searchGames .list::-webkit-scrollbar-track{background: transparent}

.searchGames .item{
  display:flex;
  align-items:center;
  gap:12px;
  padding: 10px;
  border-radius: var(--r25);
  border: 1px solid rgba(145,172,220,.12);
  background: rgba(12,17,28,.62);
  text-decoration:none;
  transition: transform .15s ease, border-color .15s ease;
  box-shadow: var(--shadow2);
}
.searchGames .item:hover{
  transform: translateY(-1px);
  border-color: rgba(65,198,255,.20);
}
.thumb{
  position:relative;
  width: 88px;
  min-width: 88px;
  height: 64px;
  border-radius: 14px;
  overflow:hidden;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
}
.gameThumb{width:100%;height:100%;object-fit:cover;opacity:.98}
.playBtn{
  position:absolute;
  inset:0;
  margin:auto;
  width: 34px; height: 34px;
  border-radius: 14px;
  padding:0;
  display:grid;
  place-items:center;
  font-weight:600;
}
.info{min-width:0; flex:1}
.name{font-weight:500; letter-spacing:.08px; line-height:1.2}
.providerName{margin-top:6px;color: rgba(170,195,240,.60);font-weight:400;font-size:12px; display:flex; align-items:center}
.go{opacity:.55; font-weight:500}

/* ===== popular ===== */
.gameList{margin-top: 18px}
.gameList .top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom: 12px;
}
.gameList .title{text-decoration:none}
.gameList h3{
  margin:0;
  font-weight:500;
  font-size:14px;
  letter-spacing:.10px;
  text-transform:uppercase;
  color: rgba(255,255,255,.86);
  display:flex;
  align-items:center;
  gap:8px;
}
.arrows{display:flex; gap:10px}
.arrows .item{
  width:42px;height:42px;
  border-radius: 16px;
  border:1px solid rgba(145,172,220,.16);
  background: rgba(12,17,28,.55);
  box-shadow: var(--shadow2);
  display:grid;
  place-items:center;
  text-decoration:none;
  color: rgba(255,255,255,.84);
}
.track{
  display:flex;
  gap: 16px;
  overflow:auto hidden;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
  scrollbar-width:none;
}
.track::-webkit-scrollbar{display:none}
.slot{
  flex:0 0 auto;
  width: 196px;
  scroll-snap-align: start;
}
.slotInner{
  position:relative;
  display:block;
  overflow:hidden;
  border-radius: var(--r25);
  border: 1px solid rgba(145,172,220,.14);
  background: rgba(12,17,28,.62);
  box-shadow: var(--shadow);
  text-decoration:none;
  height: 280px;
}
.slotImg{
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit: cover;
  opacity:.96;
  transform: scale(1.02);
  filter: saturate(1.05) contrast(1.05);
}
.slotShade{
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,.06), rgba(0,0,0,.74));
}
.play{
  position:absolute;
  inset:0;
  padding: 12px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  gap:10px;
}
.playText h4{margin:0;font-weight:500;letter-spacing:.08px;line-height:1.2}
.playText p{margin:6px 0 0;font-weight:400;font-size:12px;color: rgba(170,195,240,.60)}
.playMain{
  width:44px;height:44px;
  padding:0;
  border-radius: 16px;
  align-self:flex-end;
}
.down{display:flex; justify-content:flex-end}
.demoPill{
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.05);
  font-weight:400;
  font-size:12px;
}

/* ===== NEW: stats block ===== */
.statsBlock{
  margin-top: 18px;
  padding: 16px;
  background: rgba(12,17,28,.62);
  box-shadow: var(--shadow2);
}
.statsTop{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom: 12px;
}
.statsTitle{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:500;
  letter-spacing:.10px;
  text-transform: uppercase;
  color: rgba(255,255,255,.86);
}
.statsLiveDot{
  width:10px;height:10px;border-radius:999px;
  background: rgba(47,121,255,.92);
  box-shadow: 0 0 0 6px rgba(47,121,255,.10);
}
.statsGrid{
  display:grid;
  grid-template-columns: 1fr 1.4fr;
  gap:12px;
}
.statsCard{
  position:relative;
  display:block;
  text-decoration:none;
  border-radius: var(--r25);
  border: 1px solid rgba(145,172,220,.14);
  background: rgba(12,17,28,.62);
  box-shadow: var(--shadow2);
  padding: 14px;
  overflow:hidden;
  transition: transform .15s ease, border-color .15s ease;
}
.statsCard:hover{
  transform: translateY(-1px);
  border-color: rgba(65,198,255,.20);
}
.statsCardBig{min-height: 132px}
.statsCardHead{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
.statsLabel{
  display:flex;
  align-items:center;
  gap:8px;
  color: rgba(255,255,255,.86);
  font-weight:500;
}
.statsPill{
  font-size:12px;
  font-weight:600;
  padding:6px 10px;
  border-radius:999px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.05);
  color: rgba(255,255,255,.86);
}
.statsPillBlue{
  border-color: rgba(47,121,255,.35);
  background: rgba(47,121,255,.16);
  color: rgba(195,225,255,.92);
}

.statsValue{
  margin-top: 12px;
  font-size: 32px;
  font-weight: 600;
  letter-spacing: .08px;
}
.statsSub{
  margin-top: 6px;
  font-size:12px;
  color: rgba(170,195,240,.62);
  font-weight:400;
}

.sparkLine{
  position:absolute;
  left:-30%;
  bottom: 10px;
  width: 160%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(47,121,255,.65), transparent);
  opacity:.55;
  animation: sparkMove 2.2s linear infinite;
}
@keyframes sparkMove{
  0%{transform: translateX(-20%)}
  100%{transform: translateX(20%)}
}
.meter{
  margin-top: 12px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  overflow:hidden;
}
.meterFill{
  display:block;
  height:100%;
  width: 55%;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(47,121,255,.55), rgba(65,198,255,.75), rgba(47,121,255,.55));
  animation: meterPulse 2.6s ease-in-out infinite;
}
@keyframes meterPulse{
  0%,100%{transform: translateX(-8%)}
  50%{transform: translateX(8%)}
}

/* ===== seo ===== */
.textSeo{
  margin-top: 22px;
  padding: 18px;
  background: rgba(12,17,28,.62);
  box-shadow: var(--shadow2);
}
.textSeo :is(h1,h2,h3){margin: 0 0 10px; font-weight:600; letter-spacing:.06px}
.textSeo h2{margin-top:18px}
.textSeo p{margin:10px 0; color: rgba(255,255,255,.86); line-height:1.6; font-weight:400}
.textSeo :is(ul,ol){margin:10px 0 10px 20px; color: rgba(255,255,255,.86); line-height:1.6; font-weight:400}
.textSeo strong{font-weight:600}

/* responsive */
@media (max-width: 1100px){
  .bannerInner{grid-template-columns: 1fr}
  .bannerSide{flex-direction:row; flex-wrap:wrap; justify-content:flex-start}
  .mainImg{height: 360px; right:-55px}
  .statsGrid{grid-template-columns: 1fr}
}
@media (max-width: 640px){
  .topHeader{display:none}
  .logoImg{height:40px}
  .banner{min-height: 470px}
  .bannerInner{min-height: 470px; padding: 18px}
  .mainImg{height: 300px; right:-80px}
  .bannerActions{grid-template-columns: 1fr; max-width: 360px}
  .searchGames .list{max-height: 340px}
  .slot{width: 170px}
  .wrapperSticky{margin: 0; padding: 10px 0; border-radius: 0 0 var(--r18) var(--r18)}
}
