/* =========================================================
   WinGram — theme "Atelier" (v2, premium editorial redesign)
   Same palette & imagery as before, structurally new shell:
   vertical rail nav + slim masthead, no top pill/tab bar.

   Fonts: Manrope is self-hosted below (woff2, cyrillic+latin
   subsets, same-origin — no third-party font request at all).
   The display "serif" is a system font stack on purpose: the
   Fraunces webfont has no Cyrillic glyphs, so on this
   Russian-language site it was already silently falling back
   to a system serif for every headline — self-hosting it would
   have cost real bytes for zero visual change. Georgia/system
   serif renders identically for Cyrillic text with no request.
   ========================================================= */

@font-face{font-family:'Manrope';font-style:normal;font-display:swap;font-weight:500;src:url(/fonts/manrope-cyrillic-500-normal.woff2) format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;}
@font-face{font-family:'Manrope';font-style:normal;font-display:swap;font-weight:500;src:url(/fonts/manrope-latin-500-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{font-family:'Manrope';font-style:normal;font-display:swap;font-weight:600;src:url(/fonts/manrope-cyrillic-600-normal.woff2) format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;}
@font-face{font-family:'Manrope';font-style:normal;font-display:swap;font-weight:600;src:url(/fonts/manrope-latin-600-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{font-family:'Manrope';font-style:normal;font-display:swap;font-weight:700;src:url(/fonts/manrope-cyrillic-700-normal.woff2) format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;}
@font-face{font-family:'Manrope';font-style:normal;font-display:swap;font-weight:700;src:url(/fonts/manrope-latin-700-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{font-family:'Manrope';font-style:normal;font-display:swap;font-weight:800;src:url(/fonts/manrope-cyrillic-800-normal.woff2) format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;}
@font-face{font-family:'Manrope';font-style:normal;font-display:swap;font-weight:800;src:url(/fonts/manrope-latin-800-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}

:root{
  /* palette — unchanged */
  --bg:#090e11;
  --panel:#0d1317;
  --panel-2:#11181d;
  --panel-3:#161e24;
  --line:#1c262d;
  --line-soft:#141c22;
  --text:#f1f5f7;
  --muted:#8a959c;
  --muted-2:#7f8b95;
  --blue:#08a7ee;
  --blue-dark:#057eb8;
  --green:#12c878;
  --orange:#ff5a1f;

  /* premium supplementary accent — hairlines / eyebrows only */
  --gold:#cfae74;
  --gold-dim:rgba(207,174,116,.4);

  --container:1400px;
  --rail-w:218px;
  --r-sm:10px;
  --r-md:16px;
  --r-lg:22px;
  --r-xl:30px;
  --r-pill:999px;
  --serif:Georgia,'Noto Serif','Times New Roman',serif;
  --sans:'Manrope',system-ui,-apple-system,Arial,sans-serif;
}

*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;background:var(--bg);overflow-x:hidden;overflow-x:clip;width:100%}
body{
  min-width:320px;background:var(--bg);color:var(--text);
  font-family:var(--sans);font-size:14px;font-weight:500;line-height:1.4;
  -webkit-font-smoothing:antialiased;overflow-x:hidden;overflow-x:clip;
}
a{color:inherit;text-decoration:none}
button,input{font:inherit}
button{border:0;color:inherit;background:none;cursor:pointer}
img{display:block;max-width:100%}
::selection{background:var(--gold);color:#1a1305}
.container{width:min(100% - 32px,var(--container));margin-inline:auto}

/* cinematic backdrop: soft vignette + faint grain, sits behind everything */
body::before{
  content:"";position:fixed;inset:0;z-index:0;pointer-events:none;
  background:
    radial-gradient(ellipse 900px 500px at 15% -8%,rgba(8,167,238,.08),transparent 60%),
    radial-gradient(ellipse 700px 500px at 100% 10%,rgba(207,174,116,.05),transparent 55%),
    radial-gradient(ellipse 1200px 700px at 50% 120%,rgba(0,0,0,.5),transparent 60%);
}

/* =========================================================
   SHELL — rail + main column
   ========================================================= */
.app-shell{position:relative;z-index:1;display:flex;min-height:100vh}

.app-rail{
  flex:0 0 var(--rail-w);width:var(--rail-w);position:sticky;top:0;align-self:flex-start;height:100vh;
  display:flex;flex-direction:column;align-items:stretch;gap:16px;padding:20px 14px 18px;
  border-right:1px solid var(--line-soft);background:linear-gradient(180deg,var(--panel) 0%,var(--bg) 100%);
  overflow-y:auto;scrollbar-width:none;
}
.app-rail::-webkit-scrollbar{display:none}
.rail-brand{
  display:flex;align-items:center;justify-content:center;width:38px;height:38px;margin:0 auto 2px;
  border-radius:11px;overflow:hidden;flex:0 0 auto;background:var(--panel-2);border:1px solid var(--line-soft);
}
.rail-brand img{width:100%;height:100%;object-fit:cover;object-position:left center}
.rail-divider{height:1px;background:var(--line);margin:0 2px}
.rail-nav{display:flex;flex-direction:column;gap:4px}

.rail-item{
  position:relative;display:flex;align-items:center;gap:12px;width:100%;padding:9px 12px;border-radius:13px;
  color:var(--muted-2);transition:color .2s ease,background .2s ease,transform .25s cubic-bezier(.2,.7,.3,1),box-shadow .25s ease,border-color .25s ease;
}
.rail-item__ring{
  width:33px;height:33px;border-radius:10px;display:grid;place-items:center;flex:0 0 auto;
  background:var(--panel-2);border:1px solid transparent;transition:.2s ease;
}
.rail-item svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.5;flex:0 0 auto}
.rail-item span{font-size:12.5px;font-weight:700;letter-spacing:.1px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rail-item:hover{color:var(--text);background:rgba(255,255,255,.03)}
.rail-item:hover .rail-item__ring{border-color:var(--line)}
.rail-item.is-active{color:var(--text)}
.rail-item.is-active .rail-item__ring{background:var(--blue);box-shadow:0 8px 18px rgba(8,167,238,.35)}
.rail-item.is-active svg{stroke:#fff}
.rail-item .tab-dot{position:absolute;top:6px;left:37px;width:6px;height:6px;border-radius:50%;background:var(--orange);box-shadow:0 0 0 3px var(--panel)}

/* convex / embossed treatment — applied to every rail item */
.rail-item--convex{
  background:linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,0) 55%),var(--panel-2);
  border:1px solid rgba(255,255,255,.055);
  box-shadow:0 1px 0 rgba(255,255,255,.08) inset,0 -10px 14px rgba(0,0,0,.22) inset,0 8px 16px rgba(0,0,0,.34);
}
.rail-item--convex .rail-item__ring{
  background:linear-gradient(180deg,rgba(255,255,255,.09),rgba(255,255,255,0)),rgba(255,255,255,.04);
  border-color:transparent;
}
.rail-item--convex:hover{
  color:var(--text);transform:translateY(-1px);
  background:linear-gradient(180deg,rgba(255,255,255,.1),rgba(255,255,255,0) 55%),var(--panel-2);
  border-color:var(--gold-dim);
  box-shadow:0 1px 0 rgba(255,255,255,.1) inset,0 -10px 14px rgba(0,0,0,.22) inset,0 10px 22px rgba(0,0,0,.4);
}
.rail-item--convex.is-active{
  color:#fff;
  background:linear-gradient(180deg,rgba(255,255,255,.34),rgba(255,255,255,0) 55%),linear-gradient(160deg,var(--blue),var(--blue-dark));
  border-color:rgba(255,255,255,.35);
  box-shadow:0 1px 0 rgba(255,255,255,.45) inset,0 -10px 16px rgba(0,0,0,.2) inset,0 14px 28px rgba(8,167,238,.45);
}
.rail-item--convex.is-active:hover{transform:translateY(-1px)}
.rail-item--convex.is-active .rail-item__ring{background:rgba(255,255,255,.22)}
.rail-item--convex.is-active svg{stroke:#fff}

.rail-spacer{flex:1 1 auto}
.rail-foot{display:flex;flex-direction:column;align-items:center;gap:10px;color:var(--muted-2)}
.rail-age{
  width:28px;height:28px;border-radius:50%;border:1px solid var(--line);display:grid;place-items:center;
  font-size:8px;font-weight:800;color:var(--muted-2);
}

.app-main{flex:1 1 auto;min-width:0}

/* =========================================================
   MASTHEAD — slim utility row
   ========================================================= */
.site-header{position:sticky;top:0;z-index:100;background:rgba(9,14,17,.86);backdrop-filter:blur(18px) saturate(140%)}
.masthead-row{height:66px;display:flex;align-items:center;gap:18px;border-bottom:1px solid var(--line-soft);max-width:100%}
.masthead-row>*{min-width:0}
.masthead-brand{display:flex;align-items:center;flex:0 1 auto;gap:0;min-width:0}
.masthead-brand img{width:98px;max-width:100%;height:auto}
.masthead-kicker{
  font-family:var(--serif);font-style:italic;font-weight:500;font-size:15px;color:var(--muted);letter-spacing:.2px;
  min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.masthead-spacer{flex:1 1 0;min-width:0}
.icon-btn{
  width:38px;height:38px;border-radius:50%;display:grid;place-items:center;flex:0 0 auto;
  background:transparent;border:1px solid var(--line);color:var(--muted);transition:.18s ease;
}
.icon-btn:hover{border-color:var(--gold-dim);color:var(--text)}
.icon-btn svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.6}
.icon-search{position:relative;width:13px;height:13px;border:1.6px solid currentColor;border-radius:50%;display:inline-block}
.icon-search::after{content:"";position:absolute;width:6px;height:2px;background:currentColor;right:-6px;bottom:-1px;transform:rotate(45deg);border-radius:2px}
.btn-ghost{
  height:38px;padding:0 16px;display:inline-flex;align-items:center;border-radius:var(--r-pill);
  color:var(--text);font-size:13px;font-weight:700;border:1px solid var(--line);transition:.18s ease;
  flex:0 1 auto;min-width:0;max-width:130px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;
}
.btn-ghost:hover{border-color:var(--gold-dim)}
.btn-solid{
  height:38px;padding:0 20px;display:inline-flex;align-items:center;border-radius:var(--r-pill);
  background:var(--text);color:#0a1216;font-size:13px;font-weight:800;transition:.18s ease;
  flex:0 1 auto;min-width:0;max-width:180px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;
}
.btn-solid:hover{background:var(--gold);color:#1a1305}

/* category tab strip — restrained underline tabs */
.chip-rail{display:none;border-bottom:1px solid var(--line-soft)}
.chip-rail-inner{display:flex;align-items:center;gap:30px;height:52px;overflow-x:auto;scrollbar-width:none}
.chip-rail-inner::-webkit-scrollbar{display:none}
.chip{
  position:relative;flex:0 0 auto;height:100%;display:inline-flex;align-items:center;gap:8px;
  color:var(--muted-2);font-size:11.5px;font-weight:700;letter-spacing:.5px;text-transform:uppercase;white-space:nowrap;
  transition:color .18s ease;
}
.chip svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.6}
.chip::after{
  content:"";position:absolute;left:0;right:0;bottom:0;height:2px;background:var(--gold);
  transform:scaleX(0);transform-origin:left;transition:transform .22s ease;
}
.chip:hover{color:var(--text)}
.chip.is-active{color:var(--text)}
.chip.is-active::after{transform:scaleX(1)}

/* search overlay */
.search-panel{
  position:fixed;inset:0 0 auto 0;top:0;z-index:160;transform:translateY(-100%);opacity:0;pointer-events:none;
  transition:.24s ease;background:rgba(6,9,11,.7);backdrop-filter:blur(6px);
}
.search-panel.is-open{transform:translateY(0);opacity:1;pointer-events:auto}
.search-panel__inner{
  width:min(680px,calc(100% - 32px));margin:80px auto 0;height:56px;display:flex;align-items:center;gap:14px;padding:0 20px;
  border:1px solid var(--line);background:var(--panel);border-radius:var(--r-lg);box-shadow:0 30px 70px rgba(0,0,0,.5);
}
.search-panel__inner input{flex:1 1 auto;background:none;border:0;color:var(--text);font-size:14px;font-family:var(--serif);font-style:italic}
.search-panel__inner input::placeholder{color:var(--muted-2)}
.search-close{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;color:var(--muted);font-size:18px}
.search-close:hover{background:var(--panel-2);color:var(--text)}

/* =========================================================
   HERO — cinematic spotlight, serif headline
   ========================================================= */
.page-content{padding-top:36px}
.lobby-hero{margin-bottom:12px}

.spotlight{
  position:relative;min-height:300px;border-radius:var(--r-xl);overflow:hidden;
  background:linear-gradient(112deg,#039fe4 0%,#057cac 62%,#075d80 100%);
  border:1px solid rgba(255,255,255,.06);
}
.spotlight__bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0}
.spotlight::after{
  content:"";position:absolute;inset:0;z-index:1;
  background:linear-gradient(100deg,rgba(3,8,12,.78) 0%,rgba(3,8,12,.36) 40%,transparent 64%);
}
.spotlight__link{position:absolute;inset:0;z-index:2}
.spotlight__live{
  position:absolute;z-index:3;top:24px;right:26px;display:flex;align-items:center;gap:7px;
  padding:6px 12px;border-radius:var(--r-pill);background:rgba(4,10,14,.5);border:1px solid rgba(255,255,255,.14);
  color:#dfeef7;font-size:10.5px;font-weight:600;backdrop-filter:blur(4px);
}
.spotlight__live-dot{width:6px;height:6px;border-radius:50%;background:var(--green);box-shadow:0 0 0 3px rgba(18,200,120,.25);animation:liveDotPulse 1.8s ease-in-out infinite;flex:0 0 auto}
.spotlight__live strong{color:#fff;font-weight:800}
@keyframes liveDotPulse{0%,100%{opacity:1}50%{opacity:.35}}
.spotlight__eyebrow{
  position:relative;z-index:3;display:flex;align-items:center;gap:9px;margin:32px 0 0 36px;
  color:var(--gold);font-size:11px;font-weight:700;letter-spacing:2px;text-transform:uppercase;
}
.spotlight__eyebrow::before{content:"";width:22px;height:1px;background:var(--gold)}
.spotlight__title{
  position:relative;z-index:3;margin:18px 0 0 36px;max-width:460px;
  font-family:var(--serif);font-weight:500;font-size:clamp(28px,3.8vw,40px);line-height:1.14;letter-spacing:-.3px;
  text-shadow:0 6px 24px rgba(0,0,0,.35);
}
.spotlight__cta{
  position:relative;z-index:3;display:inline-flex;align-items:center;gap:10px;margin:26px 0 32px 36px;
  height:48px;padding:0 8px 0 24px;border-radius:var(--r-pill);background:transparent;color:#fff;
  font-size:13.5px;font-weight:700;letter-spacing:.3px;border:1px solid rgba(255,255,255,.55);transition:.2s ease;
}
.spotlight__cta i{
  width:34px;height:34px;border-radius:50%;background:#fff;color:#04202c;display:grid;place-items:center;font-style:normal;
}
.spotlight__cta:hover{background:rgba(255,255,255,.08);border-color:#fff}
.spotlight__controls{position:absolute;z-index:4;right:22px;bottom:22px;display:flex;gap:8px}
.circle-control{
  width:36px;height:36px;border-radius:50%;background:rgba(3,8,12,.4);border:1px solid rgba(255,255,255,.22);
  color:#fff;font-size:15px;display:grid;place-items:center;backdrop-filter:blur(6px);transition:.18s ease;
}
.circle-control:hover{background:rgba(3,8,12,.7);border-color:#fff}

/* bonus tickets — uncropped thumbnails, text-forward, no image stretching */
.bonus-tickets{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;margin-top:18px;background:var(--line-soft);border:1px solid var(--line-soft);border-radius:var(--r-lg);overflow:hidden}
.bonus-ticket{position:relative;display:flex;flex-direction:column;background:var(--panel);padding:18px 18px 16px;transition:background .2s ease}
.bonus-ticket:hover{background:var(--panel-2)}
.bonus-ticket__frame{position:relative;width:100%;aspect-ratio:647/403;border-radius:var(--r-sm);overflow:hidden;background:var(--panel-3);margin-bottom:14px}
.bonus-ticket__frame img{width:100%;height:100%;object-fit:cover;display:block}
.bonus-ticket__eyebrow{font-size:9.5px;font-weight:800;letter-spacing:1px;text-transform:uppercase;color:var(--gold);margin-bottom:6px}
.bonus-ticket h4{font-size:14px;line-height:1.28;font-weight:700;letter-spacing:-.1px;margin-bottom:12px}
.bonus-ticket .countdown{
  margin-top:auto;display:inline-flex;align-items:center;gap:6px;font-size:10px;font-weight:700;color:var(--muted);
  padding-top:10px;border-top:1px solid var(--line-soft);width:100%;
}
.countdown::before{content:"";width:5px;height:5px;border-radius:50%;background:var(--green);flex:0 0 auto}
.countdown.is-refreshed{animation:countdownPulse .7s ease}
@keyframes countdownPulse{0%{opacity:.4}100%{opacity:1}}

/* mobile game search */
.mobile-game-search{
  display:none;align-items:center;gap:10px;height:46px;margin:18px 0 4px;padding:0 16px;
  border-radius:var(--r-pill);background:var(--panel-2);border:1px solid var(--line);
}
.mobile-game-search__icon{position:relative;width:14px;height:14px;border:1.6px solid var(--muted);border-radius:50%;flex:0 0 auto}
.mobile-game-search__icon::after{content:"";position:absolute;width:6px;height:2px;background:var(--muted);right:-6px;bottom:-1px;transform:rotate(45deg)}
.mobile-game-search input{flex:1 1 auto;background:none;border:0;color:var(--text);font-size:13px}
.mobile-game-search input::placeholder{color:var(--muted-2)}
.mobile-game-search__clear{display:none;color:var(--muted);font-size:16px;width:22px}
.mobile-game-search.has-value .mobile-game-search__clear{display:block}

/* =========================================================
   GAME SECTIONS
   ========================================================= */
.game-sections{margin-top:44px}
.game-section{margin-bottom:40px;scroll-margin-top:126px;content-visibility:auto;contain-intrinsic-size:auto 300px}
.section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-bottom:16px}
.section-heading__title{display:flex;flex-direction:column;gap:3px;min-width:0;flex:1 1 auto}
.section-heading__eyebrow{font-size:9.5px;font-weight:800;letter-spacing:1.4px;text-transform:uppercase;color:var(--muted-2)}
.section-heading h2{
  font-family:var(--serif);font-weight:500;font-size:23px;letter-spacing:-.2px;
  min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}
.section-actions{display:flex;align-items:center;gap:10px;flex:0 0 auto}
.all-button{display:inline-flex;align-items:center;gap:5px;font-size:12px;font-weight:700;color:var(--muted);letter-spacing:.2px}
.all-button:hover{color:var(--text)}
.all-button::after{content:"→";font-size:12px;transition:transform .18s ease}
.all-button:hover::after{transform:translateX(3px)}
.row-arrow{
  width:32px;height:32px;border-radius:50%;border:1px solid var(--line);color:var(--muted-2);
  display:grid;place-items:center;font-size:14px;transition:.18s ease;
}
.row-arrow:hover{border-color:var(--gold-dim);color:var(--text)}

.games-track{display:flex;gap:18px;overflow-x:auto;scroll-snap-type:x proximity;scrollbar-width:none;padding:4px 4px 14px}
.games-track::-webkit-scrollbar{display:none}
.game-card{
  position:relative;flex:0 0 204px;aspect-ratio:314/418;border-radius:20px;overflow:hidden;
  background:var(--panel-2);scroll-snap-align:start;isolation:isolate;border:1px solid transparent;
  box-shadow:0 14px 30px rgba(0,0,0,.28);
  transition:border-color .25s ease,transform .3s cubic-bezier(.2,.7,.3,1),box-shadow .3s ease;
}
.game-card:hover{border-color:var(--gold-dim);transform:translateY(-6px);box-shadow:0 26px 50px rgba(0,0,0,.42)}
.game-card img{width:100%;height:100%;object-fit:cover;transition:transform .4s ease}
.game-card:hover img{transform:scale(1.06)}
.game-card__overlay{position:absolute;inset:0;display:grid;place-items:center;background:rgba(3,8,11,.4);opacity:0;transition:.25s ease}
.game-card:hover .game-card__overlay{opacity:1}
.play-icon{
  width:52px;height:52px;border-radius:50%;background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.55);
  backdrop-filter:blur(4px);display:grid;place-items:center;color:#fff;font-size:16px;transform:scale(.8);transition:transform .25s cubic-bezier(.2,.7,.3,1);
}
.game-card:hover .play-icon{transform:scale(1)}
.game-card.is-search-hidden{display:none}
.game-section.is-empty-filtered{display:none}

.game-card__fav{
  position:absolute;top:11px;right:11px;z-index:3;width:30px;height:30px;border-radius:50%;
  background:rgba(6,12,16,.55);backdrop-filter:blur(3px);border:1px solid rgba(255,255,255,.16);
  display:grid;place-items:center;color:rgba(255,255,255,.8);opacity:0;transition:opacity .18s ease,color .18s ease,border-color .18s ease;
}
.game-card__fav svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.6}
.game-card:hover .game-card__fav,.game-card__fav:focus-visible{opacity:1}
.game-card.is-favorited .game-card__fav{opacity:1;color:var(--gold);border-color:var(--gold-dim)}
.game-card.is-favorited .game-card__fav svg{fill:var(--gold)}

#popular .game-card:nth-child(-n+3)::before{
  content:"Топ";position:absolute;top:11px;left:11px;z-index:2;padding:4px 9px;border-radius:6px;
  background:rgba(6,12,16,.6);backdrop-filter:blur(3px);border:1px solid var(--gold-dim);
  color:var(--gold);font-size:9.5px;font-weight:800;letter-spacing:.6px;text-transform:uppercase;
}
#new .game-card:nth-child(-n+4)::after{
  content:"New";position:absolute;top:11px;left:11px;z-index:2;padding:4px 9px;border-radius:6px;
  background:rgba(6,12,16,.6);backdrop-filter:blur(3px);border:1px solid rgba(18,200,120,.4);
  color:var(--green);font-size:9.5px;font-weight:800;letter-spacing:.4px;
}

/* favorites toggle active state (shares .chip styling) */
[data-favorites-toggle].is-active{color:var(--text)}
[data-favorites-toggle].chip.is-active::after{transform:scaleX(1)}
[data-favorites-toggle].chip.is-active svg{fill:var(--gold);stroke:var(--gold)}

/* =========================================================
   PROVIDERS — monochrome press-logo strip
   ========================================================= */
.providers-section{margin-bottom:40px;content-visibility:auto;contain-intrinsic-size:auto 200px}
.providers-track{display:flex;gap:0;overflow-x:auto;scrollbar-width:none;border-top:1px solid var(--line-soft);border-bottom:1px solid var(--line-soft)}
.providers-track::-webkit-scrollbar{display:none}
.provider-card{
  flex:0 0 auto;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;
  width:132px;height:84px;border-right:1px solid var(--line-soft);transition:background .18s ease;
}
.provider-card:hover{background:var(--panel-2)}
.provider-card__logo{width:76px;height:28px;display:grid;place-items:center;filter:grayscale(1) brightness(1.5) opacity(.55);transition:filter .2s ease}
.provider-card:hover .provider-card__logo{filter:grayscale(0) opacity(1)}
.provider-card__logo img{max-width:100%;max-height:100%;object-fit:contain}
.provider-card__name{font-size:8.5px;font-weight:700;letter-spacing:.3px;color:var(--muted-2);text-transform:uppercase}
.deferred-provider-card{animation:providerReveal .24s ease both}
@keyframes providerReveal{from{opacity:0}to{opacity:1}}

/* =========================================================
   BET TICKER — quiet terminal-style feed
   ========================================================= */
.bets-section{margin-bottom:44px}
.bets-titlebar{display:flex;align-items:flex-end;justify-content:space-between;flex-wrap:wrap;gap:12px;margin-bottom:16px}
.bets-titlebar h2{font-family:var(--serif);font-weight:500;font-size:23px;letter-spacing:-.2px}
.bet-tabs{display:flex;gap:2px}
.bet-tabs button{
  height:30px;padding:0 13px;border-radius:var(--r-pill);font-size:10.5px;font-weight:700;color:var(--muted-2);
  border:1px solid transparent;white-space:nowrap;text-transform:uppercase;letter-spacing:.3px;
}
.bet-tabs button.is-active{border-color:var(--line);color:var(--text)}

.bet-table-wrap{border-radius:var(--r-lg);border:1px solid var(--line);background:var(--panel);padding:6px;overflow-x:auto}
.bet-table{width:100%;min-width:600px}
.bet-table-head{
  display:grid;grid-template-columns:2.1fr .9fr 1fr .8fr 1fr;padding:10px 16px;
  color:var(--muted-2);font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.6px;
}
.bet-body-viewport{height:370px;overflow:hidden}
.bet-table-body{will-change:transform;transform:translateY(0);transition:transform .6s cubic-bezier(.22,.7,.25,1)}
.bet-table-body.is-moving{transform:translateY(-53px)}
.bet-table-body.is-resetting{transition:none!important}

.bet-row{
  display:grid;grid-template-columns:2.1fr .9fr 1fr .8fr 1fr;align-items:center;height:45px;
  padding:0 16px;border-top:1px solid var(--line-soft);font-size:11.5px;color:var(--muted);
}
.bet-row>div{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bet-game{display:flex;align-items:center;gap:10px}
.bet-game img{width:28px;height:28px;border-radius:7px;object-fit:cover;flex:0 0 auto;opacity:.9}
.bet-game__text{display:flex;flex-direction:column;min-width:0;gap:1px}
.bet-game__provider{font-size:8.5px;color:var(--muted-2);font-weight:700;text-transform:uppercase;letter-spacing:.3px}
.bet-game__title{font-size:12px;font-weight:700;color:var(--text)}
.bet-money{display:flex;align-items:center;gap:6px;font-weight:700;color:var(--text)}
.win-cell{font-weight:800;display:flex;align-items:center;gap:6px}
.win-cell--win{color:var(--green)}
.win-cell--loss{color:var(--muted)}
.green-dot{width:5px;height:5px;border-radius:50%;background:var(--green);flex:0 0 auto}
.bet-row--loss .green-dot{background:var(--muted-2)}

/* =========================================================
   SEO TEXT BLOCK — restyled, content unchanged
   ========================================================= */
.seo-text-block{content-visibility:auto;contain-intrinsic-size:auto 3200px;margin:44px 0 8px}
.seo-text-block__inner{padding:clamp(24px,3vw,44px) 0 0;border-top:1px solid var(--line-soft);color:#a9b3ba}
.seo-text-block__h1{font-family:var(--serif);font-weight:500;font-size:clamp(21px,2.6vw,27px);line-height:1.3;color:var(--text);margin-bottom:18px}
.seo-text-block__h2{
  position:relative;display:flex;align-items:center;gap:11px;
  font-family:var(--serif);font-weight:500;font-size:19px;line-height:1.3;color:var(--text);margin:38px 0 14px;
}
.seo-text-block__h2::before{content:"";width:22px;height:1px;background:var(--gold);flex:0 0 auto}
.seo-text-block__h3{font-size:14.5px;font-weight:700;line-height:1.3;color:var(--text);margin:20px 0 10px}
.seo-text-block__p{margin-bottom:13px;font-size:13.5px;line-height:1.8;color:#a2acb2}
.seo-text-block__p strong{color:var(--text);font-weight:700}
.seo-text-block__list{margin:10px 0 16px 18px}
.seo-text-block__list li{margin-bottom:8px;font-size:13.5px;line-height:1.65;color:#a2acb2}

.seo-text-block__table-wrap{
  overflow-x:auto;margin:22px 0;border:1px solid var(--line-soft);border-radius:var(--r-md);
}
.seo-text-block__table{width:100%;min-width:460px;border-collapse:collapse;font-size:13px}
.seo-text-block__table th{
  padding:13px 18px;background:var(--panel-2);color:var(--text);font-size:10.5px;text-transform:uppercase;
  letter-spacing:.5px;font-weight:800;text-align:left;border-bottom:1px solid var(--line);white-space:nowrap;
}
.seo-text-block__table th:first-child{border-left:2px solid transparent}
.seo-text-block__table td{
  padding:13px 18px;border-bottom:1px solid var(--line-soft);text-align:left;color:#a2acb2;
  transition:color .15s ease;
}
.seo-text-block__table td:first-child{border-left:2px solid transparent;transition:color .15s ease,border-color .15s ease}
.seo-text-block__table tbody tr{background:transparent;transition:background .15s ease}
.seo-text-block__table tbody tr:not(:has(th)):nth-child(even){background:rgba(255,255,255,.014)}
.seo-text-block__table tbody tr:not(:has(th)):hover{background:var(--panel-2)}
.seo-text-block__table tbody tr:not(:has(th)):hover td{color:var(--text)}
.seo-text-block__table tbody tr:not(:has(th)):hover td:first-child{border-left-color:var(--gold)}
.seo-text-block__table tbody tr:last-child td{border-bottom:none}

/* =========================================================
   FOOTER — quiet editorial tray
   ========================================================= */
.site-footer{padding:56px 0 100px}
.footer-panel{border-top:1px solid var(--line-soft);padding-top:36px}
.footer-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:34px}
.footer-tagline{font-family:var(--serif);font-style:italic;font-weight:500;font-size:20px;color:var(--muted);max-width:420px;line-height:1.4}
.language-button{
  display:inline-flex;align-items:center;gap:8px;height:36px;padding:0 14px;border-radius:var(--r-pill);
  border:1px solid var(--line);font-size:12px;font-weight:700;color:var(--text);flex:0 0 auto;
}
.flag-ru{width:14px;height:14px;border-radius:50%;background:linear-gradient(180deg,#fff 0 33%,#0039a6 33% 66%,#d52b1e 66%);display:inline-block}

.footer-nav-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;padding-bottom:30px;border-bottom:1px solid var(--line-soft)}
.footer-column h3{font-size:9.5px;text-transform:uppercase;letter-spacing:1px;color:var(--muted-2);font-weight:800;margin-bottom:14px}
.footer-column{display:flex;flex-direction:column}
.footer-column a{display:block;font-size:13px;font-weight:600;color:var(--muted);margin-bottom:11px;line-height:1.3}
.footer-column a:hover{color:var(--text)}

.support-banner{
  display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:28px;padding:22px 0;border-bottom:1px solid var(--line-soft);
}
.support-banner__title{display:flex;align-items:baseline;gap:8px;font-family:var(--serif);font-weight:500;font-size:19px}
.support-banner__title span{color:var(--gold);font-size:11px;font-weight:800;letter-spacing:.5px;text-transform:uppercase}
.support-banner p{margin-top:6px;font-size:12.5px;color:var(--muted);line-height:1.5}
.support-banner__cta{
  flex:0 0 auto;display:inline-flex;align-items:center;height:40px;padding:0 20px;border-radius:var(--r-pill);
  border:1px solid var(--line);font-size:12.5px;font-weight:700;color:var(--text);transition:.18s ease;
}
.support-banner__cta:hover{border-color:var(--gold-dim);color:var(--gold)}
.support-banner__mascot{flex:0 0 auto;width:54px;height:54px;border-radius:50%;overflow:hidden;border:1px solid var(--line)}
.support-banner__mascot img{width:100%;height:100%;object-fit:cover;object-position:top center}

.payments-row{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:14px;padding:22px 0;border-bottom:1px solid var(--line-soft)}
.payment-icons{display:flex;flex-wrap:wrap;align-items:center;gap:16px}
.payment{font-size:10px;font-weight:800;color:var(--muted-2);letter-spacing:.2px}
.telegram-button{
  display:inline-flex;align-items:center;gap:8px;height:38px;padding:0 18px;border-radius:var(--r-pill);
  border:1px solid var(--line);color:var(--text);font-size:12.5px;font-weight:700;transition:.18s ease;
}
.telegram-button:hover{border-color:var(--gold-dim);color:var(--gold)}
.telegram-icon{font-size:12px}

.partners-row{display:flex;flex-wrap:wrap;align-items:center;gap:22px;padding:20px 0;color:var(--muted-2)}
.partner{font-size:10px;font-weight:700;letter-spacing:.3px;opacity:.8}
.partner small{display:block;font-size:7.5px;font-weight:700;letter-spacing:.3px;opacity:.85}

.legal-row{position:relative;display:flex;align-items:flex-end;justify-content:space-between;gap:20px;padding-top:18px;color:var(--muted-2);font-size:9.5px;line-height:1.7}
.legal-row p{max-width:640px}
.legal-badges{display:flex;align-items:center;gap:10px;flex:0 0 auto}
.seal,.age{width:24px;height:24px;border-radius:50%;display:grid;place-items:center;border:1px solid var(--line);color:var(--muted-2);font-size:7.5px;font-weight:700}

/* mobile bottom dock */
.mobile-bottom-nav{
  position:fixed;left:10px;right:10px;bottom:10px;z-index:150;display:none;align-items:center;justify-content:space-around;
  height:62px;border-radius:20px;background:rgba(13,19,23,.94);backdrop-filter:blur(18px);
  border:1px solid var(--line);box-shadow:0 26px 60px rgba(0,0,0,.45);
}
.mobile-bottom-nav__item{position:relative;display:flex;flex-direction:column;align-items:center;gap:3px;color:var(--muted-2);font-size:9px;font-weight:700;flex:1 1 0;padding:6px 0}
.mobile-bottom-nav__item svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.6}
.mobile-bottom-nav__item.is-active{color:var(--gold)}
.mobile-bottom-nav__notify{position:absolute;top:2px;right:calc(50% - 15px);width:13px;height:13px;border-radius:50%;background:var(--orange);color:#fff;font-size:7.5px;font-weight:800;display:grid;place-items:center}
.mobile-bottom-nav__item--deposit{color:#fff}
.mobile-bottom-nav__deposit-icon{width:38px;height:38px;margin-top:-20px;border-radius:50%;display:grid;place-items:center;background:var(--blue);box-shadow:0 10px 22px rgba(8,167,238,.4)}
.mobile-bottom-nav__bonus{position:absolute;top:-7px;padding:2px 6px;border-radius:6px;background:var(--orange);color:#fff;font-size:6.5px;font-weight:800;white-space:nowrap}

/* =========================================================
   AGE GATE
   ========================================================= */
.age-gate{
  position:fixed;inset:0;z-index:300;display:flex;align-items:center;justify-content:center;padding:20px;
  background:rgba(4,8,10,.88);backdrop-filter:blur(10px);transition:opacity .3s ease;
}
.age-gate.is-hidden{opacity:0;pointer-events:none}
.age-gate__card{
  width:min(420px,100%);padding:36px 32px;border-radius:var(--r-xl);border:1px solid var(--line);
  background:linear-gradient(160deg,var(--panel-2),var(--panel));text-align:center;box-shadow:0 40px 90px rgba(0,0,0,.5);
}
.age-gate__mark{display:block;width:52px;height:52px;margin:0 auto 18px;border-radius:14px;overflow:hidden}
.age-gate__mark img{width:100%;height:100%;object-fit:cover;object-position:left center}
.age-gate__title{font-family:var(--serif);font-weight:500;font-size:22px;margin-bottom:10px}
.age-gate__text{font-size:13px;color:var(--muted);line-height:1.6;margin-bottom:26px}
.age-gate__actions{display:flex;gap:10px;justify-content:center;flex-wrap:wrap}
.age-gate__actions .btn-solid,.age-gate__actions .btn-ghost{height:44px;padding:0 22px}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width:1080px){
  .spotlight__title{font-size:clamp(24px,4.2vw,32px);max-width:52%}
  .spotlight__eyebrow{margin-left:26px}
  .spotlight__title{margin-left:26px}
  .spotlight__cta{margin-left:26px}
  .game-card{flex-basis:182px}
}

@media (max-width:900px){
  .app-rail{display:none}
  .masthead-kicker{display:none}
  .mobile-game-search{display:flex}
  .masthead-row{gap:12px}
  .chip-rail{display:block}
}

@media (max-width:760px){
  body{padding-bottom:86px}
  .page-content{padding-top:24px}
  .bonus-tickets{grid-template-columns:1fr 1fr;gap:1px}
  .bonus-ticket{padding:13px 13px 12px}
  .bonus-ticket h4{font-size:12.5px;margin-bottom:9px}
  .bonus-ticket__eyebrow{font-size:8.5px;margin-bottom:5px}
  .bonus-ticket .countdown{font-size:9px;padding-top:8px}
  .spotlight{min-height:190px;border-radius:var(--r-lg)}
  .spotlight__eyebrow{margin:22px 0 0 20px;font-size:9.5px}
  .spotlight__title{font-size:20px;line-height:1.18;max-width:78%;margin:12px 0 0 20px}
  .spotlight__cta{height:40px;padding:0 6px 0 16px;font-size:12px;margin:16px 0 20px 20px;gap:8px}
  .spotlight__cta i{width:28px;height:28px}
  .spotlight__controls{right:14px;bottom:14px}
  .circle-control{width:32px;height:32px;font-size:13px}
  .spotlight__live{display:none}
  .game-sections{margin-top:32px}
  .game-section{margin-bottom:30px}
  .section-heading h2{font-size:19px}
  .games-track{gap:12px}
  .game-card{flex-basis:158px;border-radius:16px}
  .play-icon{width:44px;height:44px}
  .game-card__fav{width:26px;height:26px;top:8px;right:8px}
  #popular .game-card:nth-child(-n+3)::before,#new .game-card:nth-child(-n+4)::after{top:8px;left:8px;padding:3px 7px;font-size:8.5px}
  .bet-table-head{display:none}
  .bet-table{min-width:0}
  .bet-row{grid-template-columns:1.6fr .9fr 1fr;padding:0 4px;height:auto;min-height:52px;gap:4px 8px}
  .bet-row>div:nth-child(2),.bet-row>div:nth-child(4){display:none}
  .bet-body-viewport{height:auto;max-height:380px;overflow-y:auto}
  .bet-table-body{transform:none!important;transition:none!important}
  .mobile-bottom-nav{display:flex}
  .footer-nav-grid{grid-template-columns:1fr 1fr}
  .footer-head{flex-direction:column;align-items:flex-start;gap:14px}
  .support-banner{flex-wrap:wrap}
  .legal-row{flex-direction:column;align-items:flex-start}
  .provider-card{width:106px}
}

@media (max-width:520px){
  .masthead-row{height:56px;gap:8px}
  .masthead-brand img{width:78px}
  .icon-btn{width:34px;height:34px}
  .btn-ghost{padding:0 12px;font-size:12px;max-width:90px}
  .btn-solid{padding:0 14px;font-size:12px;max-width:150px}
  .chip-rail-inner{gap:18px}
  .chip{font-size:10.5px;gap:6px}
  .chip svg{width:12px;height:12px}
  .bonus-tickets{gap:1px}
  .bonus-ticket{padding:11px 11px 10px}
  .spotlight__title{max-width:85%}
  .footer-nav-grid{grid-template-columns:1fr 1fr;gap:16px}
  .partners-row{gap:14px}
}

@media (max-width:380px){
  .masthead-row{gap:6px}
  .masthead-brand img{width:64px}
  .icon-btn{width:32px;height:32px}
  .btn-ghost{padding:0 9px;font-size:11px;max-width:70px}
  .btn-solid{padding:0 11px;font-size:11px;max-width:120px}
  .bonus-ticket h4{font-size:11.5px}
  .spotlight__title{font-size:18px}
  .game-card{flex-basis:138px}
}

@media (prefers-reduced-motion:reduce){
  .bet-table-body,.circle-control,.game-card img{transition:none!important;animation:none!important}
}
