/* ===== reset / base ===== */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html,body{height:100%}
body{
  font-family:'Inter','Segoe UI',Roboto,Arial,sans-serif;
  background-color:#1c1c1f;
  color:#cdd5e0;
  font-size:14px;
  line-height:1.4;
  background-image:
    url('left-decoration.webp'),
    url('right-decoration.webp');
  background-repeat:no-repeat, no-repeat;
  background-position:left top 60px, right top 60px;
  background-size:auto 90vh, auto 90vh;
  background-attachment:fixed;
}
img{max-width:100%;display:block}
button{font:inherit;color:inherit;background:none;border:0;cursor:pointer}
a{color:inherit;text-decoration:none}
ul{list-style:none}

/* visually-hidden (для SEO h2/h3) */
.sr-only{
  position:absolute;width:1px;height:1px;padding:0;margin:-1px;
  overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;
}

/* hexagonal pattern background helper */
.hex-bg{
  position:relative;
  background-color:#222226;
  background-image:
    linear-gradient(135deg, rgba(255,255,255,.03) 25%, transparent 25%),
    linear-gradient(225deg, rgba(255,255,255,.03) 25%, transparent 25%),
    linear-gradient(45deg,  rgba(255,255,255,.03) 25%, transparent 25%),
    linear-gradient(315deg, rgba(255,255,255,.03) 25%, transparent 25%);
  background-position: 20px 0, 20px 0, 0 0, 0 0;
  background-size: 40px 40px;
  background-repeat: repeat;
}

/* ===== TOPBAR ===== */
.topbar{
  background:#070b18;
  border-bottom:1px solid #161e35;
  position:sticky;top:0;z-index:30;
}
.topbar__inner{
  max-width:1700px;margin:0 auto;
  display:flex;align-items:center;gap:32px;
  padding:14px 28px;
}
.logo{display:inline-flex;align-items:center}
.logo__img{height:26px;width:auto;display:block}

.topbar__stats{display:flex;align-items:center;gap:28px;color:#8593aa}
.stat{display:inline-flex;align-items:center;gap:8px;font-size:13px}
.stat b{color:#fff;font-weight:600}
.stat__dot{
  width:8px;height:8px;border-radius:50%;
  background:#3ddc84;box-shadow:0 0 8px #3ddc84;
}
.stat__icon{color:#3aa9ff;font-size:13px}
.stat--link{cursor:pointer}
.stat--link:hover{color:#fff}

.btn{
  display:inline-flex;align-items:center;gap:10px;
  padding:10px 22px;border-radius:8px;
  font-weight:700;letter-spacing:.04em;
  transition:filter .15s ease, transform .05s ease;
}
.btn:hover{filter:brightness(1.08)}
.btn:active{transform:translateY(1px)}
.btn__icon{display:inline-block;font-size:13px}

.btn--steam{
  margin-left:auto;
  background:linear-gradient(180deg,#3eb6ff,#1f87e6);
  color:#fff;
  box-shadow:0 6px 18px -4px rgba(31,135,230,.6);
}

/* ===== LAYOUT ===== */
.layout{
  max-width:1700px;margin:0 auto;
  display:grid;
  grid-template-columns:200px 1fr;
  gap:24px;padding:22px 28px 60px;
}

/* ===== SIDEBAR ===== */
.sidebar{
  background:#0e1730;
  border:1px solid #1a2548;
  border-radius:12px;
  padding:6px;
  height:fit-content;
}
.inv__item{
  display:flex;align-items:center;gap:10px;
  padding:8px 10px;border-radius:8px;
  cursor:pointer;
  border-bottom:1px solid #131c36;
}
.inv__item:last-child{border-bottom:0}
.inv__item:hover{background:#15203f}
.inv__item img{
  width:46px;height:34px;object-fit:contain;
  flex-shrink:0;
  filter:drop-shadow(0 2px 4px rgba(0,0,0,.4));
}
.inv__item div{display:flex;flex-direction:column;min-width:0}
.inv__name{
  font-size:11.5px;color:#dde4f1;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
  max-width:110px;
}
.inv__pct{font-size:11px;color:#7a86a3;margin-top:2px}

/* ===== MAIN ===== */
.main{min-width:0}

.page-title{
  text-align:center;
  font-size:30px;font-weight:800;letter-spacing:.04em;
  color:#fff;margin:6px 0 22px;
}
.page-title span{color:#f5a623}

/* ===== UPGRADE WIDGET ===== */
.upgrade{
  padding:24px 0 28px;
  display:grid;
  grid-template-columns:1fr 1.15fr 1fr;
  grid-template-rows:auto auto;
  gap:18px 24px;
  position:relative;
}
.upgrade__col{position:relative;display:flex;flex-direction:column;align-items:center;text-align:center}

/* slots with REAL hex grid pattern */
.slot{
  width:100%;max-width:340px;height:300px;
  border-radius:18px;
  background-color:#1a1a1e;
  background-image:
    radial-gradient(ellipse at center, rgba(245,166,35,.18), transparent 55%),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 56 96' fill='none' stroke='%23f5a623' stroke-opacity='0.22' stroke-width='1'><polygon points='28,2 53,16.5 53,45.5 28,60 3,45.5 3,16.5'/><polygon points='0,50 25,64.5 25,93.5 0,108 -25,93.5 -25,64.5'/><polygon points='56,50 81,64.5 81,93.5 56,108 31,93.5 31,64.5'/></svg>");
  background-size:auto, 56px 88px;
  background-repeat:no-repeat, repeat;
  background-position:center, center;
  border:1px solid #2a2a32;
  display:flex;align-items:center;justify-content:center;
  margin-bottom:18px;
  position:relative;
  overflow:hidden;
}
.slot__tools{
  position:absolute;top:14px;left:14px;
  display:flex;gap:8px;z-index:2;
}
.slot__tool{
  width:32px;height:32px;border-radius:8px;
  background:rgba(38,38,46,.85);
  border:1px solid #34343c;
  color:#9aa6c0;
  display:flex;align-items:center;justify-content:center;
  font-size:13px;font-weight:600;
  transition:color .15s, border-color .15s;
}
.slot__tool:hover{color:#f5a623;border-color:#f5a623}
.slot__img{
  max-height:78%;max-width:88%;
  object-fit:contain;
  filter:drop-shadow(0 12px 28px rgba(0,0,0,.7));
  position:relative;z-index:1;
}

.upgrade__caption{font-size:18px;color:#fff;font-weight:600;line-height:1.35;margin-bottom:8px}
.upgrade__caption b{color:#fff;font-weight:700}
.upgrade__hint{font-size:13px;color:#7a86a3}

/* ===== CIRCULAR GAUGE ===== */
.gauge{
  position:relative;
  width:340px;height:340px;
  margin:0 auto;
}
.gauge__svg{width:100%;height:100%;display:block}
.gauge__fill{filter:drop-shadow(0 0 10px rgba(245,166,35,.5))}

/* glowing yellow indicator at top */
.gauge__indicator{
  position:absolute;
  top:-2px;left:50%;transform:translateX(-50%);
  width:0;height:0;
  border-left:9px solid transparent;
  border-right:9px solid transparent;
  border-top:14px solid #f5c84b;
  filter:drop-shadow(0 0 6px rgba(245,200,75,.8));
  pointer-events:none;
}

/* % labels around the gauge */
.gauge__lbl{
  position:absolute;
  font-size:11px;color:#7a86a3;font-weight:600;letter-spacing:.04em;
  pointer-events:none;
}
.gauge__lbl--top  {top:18px;left:50%;transform:translateX(-50%);color:#f5c84b}
.gauge__lbl--left {top:50%;left:32px;transform:translateY(-50%)}
.gauge__lbl--right{top:50%;right:32px;transform:translateY(-50%)}
.gauge__lbl--bot  {bottom:38px;left:50%;transform:translateX(-50%)}

.gauge__center{
  position:absolute;inset:0;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  text-align:center;pointer-events:none;
}
.gauge__value{
  font-size:42px;font-weight:800;color:#3ddc84;
  text-shadow:0 0 22px rgba(61,220,132,.45);
  letter-spacing:-.01em;
}
.gauge__value i{font-style:normal;font-size:30px;margin-left:1px}
.gauge__label{font-size:13px;color:#9aa6c0;margin-top:4px;line-height:1.3}

/* ===== BET PANEL ===== */
.bet{
  grid-column:1 / -1;
  display:grid;
  grid-template-columns:1fr 1.15fr 1fr;
  gap:24px;align-items:center;
  margin-top:8px;
}

/* wallet + slider */
.bet__wallet{
  display:flex;align-items:center;gap:12px;
  background:#1a1a1e;border:1px solid #2a2a32;
  border-radius:14px;
  padding:10px 16px;height:54px;
}
.bet__wallet-icon{
  width:32px;height:32px;border-radius:50%;
  background:#26262c;color:#9aa6c0;
  display:flex;align-items:center;justify-content:center;
  font-size:16px;flex-shrink:0;
}
.bet__slider{
  flex:1;position:relative;height:4px;
  background:#26262c;border-radius:2px;
  display:flex;align-items:center;
}
.bet__slider-fill{
  position:absolute;left:0;top:0;bottom:0;width:5%;
  background:#f5a623;border-radius:2px;
}
.bet__slider-knob{
  position:absolute;left:5%;
  width:14px;height:14px;border-radius:50%;
  background:#f5c84b;
  box-shadow:0 0 0 4px rgba(245,200,75,.18);
  transform:translateX(-50%);
}
.bet__amount{
  font-size:13.5px;color:#dfe5f1;
  white-space:nowrap;
}
.bet__amount b{color:#f5a623;font-weight:700;margin-right:2px}
.bet__amount i{font-style:normal;color:#7a86a3;margin-left:2px}

/* upgrade button */
.btn--upgrade{
  background:linear-gradient(180deg,#c69447,#7a5022);
  color:#fff;
  padding:14px 36px;border-radius:14px;
  font-weight:700;letter-spacing:.06em;font-size:15px;
  height:54px;
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  width:100%;
  border:1px solid rgba(255,255,255,.08);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.18), 0 8px 22px -8px rgba(245,166,35,.45);
}
.btn--upgrade .btn__icon{font-size:11px;letter-spacing:-2px;color:#fff}
.btn--upgrade:not([disabled]){
  background:linear-gradient(180deg,#f5b94b,#dd7e0e);
  color:#1a1000;
}
.btn--upgrade:not([disabled]) .btn__icon{color:#1a1000}

/* multipliers */
.bet__multipliers{
  display:flex;gap:6px;justify-content:flex-end;flex-wrap:wrap;
  background:#1a1a1e;border:1px solid #2a2a32;
  border-radius:14px;padding:7px;height:54px;align-items:center;
}
.mul{
  min-width:42px;height:38px;border-radius:9px;
  background:#26262c;border:1px solid transparent;
  color:#9aa6c0;
  font-weight:700;font-size:12px;
  padding:0 12px;
  transition:all .15s;
}
.mul:hover{border-color:#f5a623;color:#f5a623}
.mul--red    {color:#ef5350}
.mul--yellow {color:#f5c84b}
.mul--green  {color:#3ddc84}
.mul--shuffle{font-size:14px;color:#7a86a3;background:transparent}
.mul--shuffle:hover{color:#fff;border-color:transparent}

/* выключенное состояние — общий стиль для всех кнопок */
.btn:disabled,
.btn[disabled]{
  cursor:not-allowed;
  pointer-events:none;
}

/* ===== TABS ROW ===== */
.tabs-row{
  display:grid;grid-template-columns:1fr 1fr;
  gap:24px;margin-top:26px;
}
.tabs{display:flex;gap:6px}
.tabs--right{justify-content:flex-end}
.tab{
  background:#0e1730;
  border:1px solid #1a2548;
  color:#8593aa;
  padding:10px 22px;
  border-radius:8px;
  font-weight:600;font-size:13px;
}
.tab--active{
  background:#15213f;
  color:#fff;border-color:#27396d;
}
.tab--solo{flex:0 0 auto}

/* ===== CONTENT ROW ===== */
.content-row{
  display:grid;grid-template-columns:1fr 1fr;
  gap:24px;margin-top:14px;
  align-items:flex-start;
}

/* login card */
.login-card{
  border:1px solid #2a2a32;
  border-radius:12px;
  min-height:520px;
  display:flex;align-items:center;justify-content:center;
}
.login-card__inner{
  text-align:center;
  padding:30px;max-width:320px;
}
.login-card__title{font-size:22px;color:#fff;margin-bottom:12px;font-weight:700}
.login-card__text{color:#8593aa;margin-bottom:22px}
.login-card .btn--steam{margin:0 auto;display:inline-flex}

/* skins panel */
.skins-panel{
  background:#0d1630;
  border:1px solid #1a2548;
  border-radius:12px;
  padding:14px;
}
.filters{
  display:flex;align-items:center;gap:8px;margin-bottom:14px;
}
.filters__search{
  flex:1;
  background:#0a1228;
  border:1px solid #1f2a4d;
  color:#cdd5e0;
  border-radius:8px;
  padding:10px 14px;font-size:13px;
  outline:none;
}
.filters__search:focus{border-color:#3aa9ff}
.filters__btn{
  width:36px;height:36px;border-radius:8px;
  background:#0a1228;border:1px solid #1f2a4d;color:#7a86a3;
}
.filters__btn:hover{color:#fff}
.filters__sort{
  background:#0a1228;border:1px solid #1f2a4d;color:#cdd5e0;
  border-radius:8px;padding:0 14px;height:36px;font-size:12px;
}

/* skin grid */
.grid{
  display:grid;grid-template-columns:repeat(3,1fr);
  gap:10px;
}
.card{
  position:relative;
  border-radius:10px;
  padding:12px 12px 14px;
  overflow:hidden;
  text-align:center;
  cursor:pointer;
  transition:transform .15s ease;
  min-height:170px;
  display:flex;flex-direction:column;
  border:1px solid rgba(255,255,255,.04);
}
.card:hover{transform:translateY(-2px)}
.card--red{
  background:
    radial-gradient(ellipse at 50% 100%, rgba(255,80,80,.18), transparent 60%),
    linear-gradient(180deg,#3a1820,#1c0c12);
}
.card--orange{
  background:
    radial-gradient(ellipse at 50% 100%, rgba(245,166,35,.18), transparent 60%),
    linear-gradient(180deg,#3a2818,#1c1308);
}
.card--purple{
  background:
    radial-gradient(ellipse at 50% 100%, rgba(160,80,255,.18), transparent 60%),
    linear-gradient(180deg,#2a1a3a,#13091c);
}
.card--green{
  background:
    radial-gradient(ellipse at 50% 100%, rgba(80,200,120,.16), transparent 60%),
    linear-gradient(180deg,#143324,#08170f);
}

.card__price{
  font-size:13px;font-weight:700;color:#fff;
  margin-bottom:6px;
}
.card__price span{color:rgba(255,255,255,.65);font-weight:500;margin-left:2px}
.card__img{
  width:100%;height:64px;object-fit:contain;
  margin:6px 0 8px;
  filter:drop-shadow(0 6px 10px rgba(0,0,0,.6));
}
.card__name{font-size:11.5px;color:#d8dcec;font-weight:600}
.card__skin{font-size:10.5px;color:#8a90a8;margin-top:2px}

/* pagination */
.pagination{
  display:flex;justify-content:center;gap:6px;margin-top:16px;
}
.page{
  width:32px;height:32px;border-radius:6px;
  background:#0a1228;border:1px solid #1f2a4d;color:#8593aa;
  font-size:12px;font-weight:600;
}
.page--active{background:#15213f;color:#fff;border-color:#27396d}
.page--dots{cursor:default;color:#5a647e}

/* ===== ARTICLE / DOC PAGES ===== */
.article{
  max-width:880px;margin:0 auto;
  padding:24px 28px 60px;
}
.breadcrumbs{margin-bottom:20px;font-size:12.5px}
.breadcrumbs ol{
  list-style:none;padding:0;margin:0;
  display:flex;flex-wrap:wrap;gap:6px;
  color:#5a647e;
}
.breadcrumbs li{display:inline-flex;align-items:center;gap:6px}
.breadcrumbs li + li::before{content:"/";color:#3a4566;margin-right:2px}
.breadcrumbs a{color:#7a86a3;transition:color .15s}
.breadcrumbs a:hover{color:#fff}
.breadcrumbs [aria-current]{color:#cdd5e0}

.article__title{
  font-size:30px;font-weight:800;color:#fff;
  letter-spacing:.01em;line-height:1.2;
  margin-bottom:8px;
}
.article__title span{color:#f5a623}
.article__updated{
  display:inline-block;
  font-size:12px;color:#7a86a3;
  background:#0e1730;border:1px solid #1a2548;
  padding:5px 10px;border-radius:6px;
  margin-bottom:24px;
}
.article__updated b{color:#dfe5f1;font-weight:600}

/* TOC */
.toc{
  background:#0e1730;border:1px solid #1a2548;
  border-radius:10px;padding:18px 22px;
  margin-bottom:32px;
}
.toc__title{
  font-size:13px;font-weight:700;color:#fff;
  letter-spacing:.04em;text-transform:uppercase;
  margin-bottom:10px;
}
.toc ol{
  list-style:none;padding:0;margin:0;
  counter-reset:tocstep;
  columns:2;column-gap:24px;
}
.toc li{
  counter-increment:tocstep;
  padding:5px 0 5px 26px;
  position:relative;font-size:13px;
  break-inside:avoid;
}
.toc li::before{
  content:counter(tocstep, decimal-leading-zero);
  position:absolute;left:0;top:5px;
  font-size:11px;color:#f5a623;font-weight:700;
}
.toc a{color:#9aa6c0;transition:color .15s}
.toc a:hover{color:#fff}

/* sections */
.article__body{font-size:14.5px;color:#aab4cc;line-height:1.75}
.article__body section{
  scroll-margin-top:90px;
  padding-top:14px;margin-top:14px;
}
.article__body h2{
  font-size:20px;color:#fff;font-weight:700;
  margin:30px 0 12px;letter-spacing:.01em;
  display:flex;align-items:baseline;gap:10px;
}
.article__body h2::before{
  content:"";width:6px;height:6px;border-radius:50%;
  background:#f5a623;flex-shrink:0;
  transform:translateY(-3px);
}
.article__body h3{
  font-size:15px;color:#fff;font-weight:600;
  margin:22px 0 8px;
}
.article__body p{margin-bottom:12px}
.article__body p b{color:#dfe5f1;font-weight:600}
.article__body ul, .article__body ol{
  margin:8px 0 16px 22px;padding:0;
}
.article__body li{margin-bottom:8px}
.article__body a{color:#3aa9ff;text-decoration:underline;text-decoration-color:rgba(58,169,255,.35)}
.article__body a:hover{color:#7ec8ff}

.article__callout{
  background:rgba(245,166,35,.08);
  border:1px solid rgba(245,166,35,.25);
  border-left:3px solid #f5a623;
  padding:14px 18px;border-radius:8px;
  margin:18px 0;font-size:13.5px;color:#dfe5f1;
}
.article__callout b{color:#f5a623}

@media (max-width:768px){
  .article{padding:18px 16px 40px}
  .article__title{font-size:22px}
  .toc ol{columns:1}
  .article__body h2{font-size:17px}
  .article__body{font-size:14px}
}

/* ===== FOOTER ===== */
.footer{
  background:#070b18;
  border-top:1px solid #161e35;
  padding:46px 28px 16px;
  font-style:normal;
}
.footer__inner{
  max-width:1700px;margin:0 auto;
  display:grid;
  grid-template-columns:1.5fr 1fr 1fr 1.2fr;
  gap:46px;
}
.footer__col{display:flex;flex-direction:column}
.footer__col--brand .logo{margin-bottom:14px}
.footer__col--contacts{font-style:normal}

.footer__lead{
  font-size:12.5px;color:#7a86a3;line-height:1.65;
  max-width:340px;margin-bottom:18px;
}
.footer__lead b{color:#dde4f1;font-weight:600}

.footer__title{color:#fff;font-size:14px;font-weight:700;margin-bottom:14px;letter-spacing:.01em}
.footer__text{font-size:12px;color:#7a86a3;line-height:1.55;margin-bottom:14px}
.footer__list li{margin-bottom:10px}
.footer__list a{color:#7a86a3;font-size:12.5px;transition:color .15s}
.footer__list a:hover{color:#fff}

.footer__mail{
  display:inline-block;font-size:13px;color:#3aa9ff;
  margin-bottom:14px;border-bottom:1px dashed rgba(58,169,255,.4);
}
.footer__mail:hover{color:#7ec8ff;border-bottom-color:#7ec8ff}

/* social icons */
.socials{display:flex;gap:8px;list-style:none;padding:0;margin:0}
.socials a{
  display:flex;align-items:center;justify-content:center;
  width:34px;height:34px;border-radius:8px;
  background:#0e1730;border:1px solid #1a2548;
  color:#7a86a3;
  transition:all .15s;
}
.socials a:hover{
  color:#fff;border-color:#3aa9ff;
  background:linear-gradient(180deg,#15213f,#0e1730);
  transform:translateY(-1px);
}
.socials svg{width:16px;height:16px;display:block}

.btn--sm{padding:8px 16px;font-size:11px;align-self:flex-start}

/* bottom bar */
.footer__bottom{
  max-width:1700px;margin:30px auto 0;
  border-top:1px solid #161e35;padding-top:16px;
  display:flex;align-items:flex-start;justify-content:space-between;
  gap:24px;
}
.footer__copy{
  font-size:11.5px;color:#7a86a3;
  white-space:nowrap;flex-shrink:0;
}
.footer__legal{
  font-size:10.5px;color:#465070;line-height:1.6;
  max-width:900px;text-align:right;
}
.footer__legal a{color:#7a86a3;text-decoration:underline;text-decoration-color:rgba(122,134,163,.3)}
.footer__legal a:hover{color:#fff}

/* ===== SEO TEXT BLOCK (full-width) ===== */
.seo{
  background-color:#16161a;
  border-top:1px solid #2a2a32;
  border-bottom:1px solid #2a2a32;
  padding:60px 28px;
  position:relative;
  overflow:hidden;
  scroll-margin-top:80px; /* sticky topbar offset */
}
.seo::before{
  content:"";
  position:absolute;inset:0;
  background:
    radial-gradient(ellipse at 15% 0%, rgba(245,166,35,.05), transparent 55%),
    radial-gradient(ellipse at 85% 100%, rgba(91,135,255,.04), transparent 55%);
  pointer-events:none;
}
.seo__sub[id]{scroll-margin-top:80px}
.seo::before{
  content:"";
  position:absolute;inset:0;
  background:
    radial-gradient(ellipse at 10% 0%, rgba(245,166,35,.06), transparent 50%),
    radial-gradient(ellipse at 90% 100%, rgba(91,135,255,.05), transparent 50%);
  pointer-events:none;
}
.seo__inner{position:relative;max-width:1100px;margin:0 auto}
.seo__title{
  font-size:24px;font-weight:800;color:#fff;
  text-align:center;margin-bottom:16px;letter-spacing:.02em;
}
.seo__title span{color:#f5a623}
.seo__lead{
  font-size:14px;color:#aab4cc;line-height:1.7;
  text-align:center;max-width:780px;margin:0 auto 30px;
}
.seo__lead b{color:#fff;font-weight:600}

.seo__cols{
  display:grid;grid-template-columns:1fr 1fr;
  gap:36px;margin-bottom:34px;
}
.seo__sub{
  font-size:16px;font-weight:700;color:#fff;
  margin-bottom:14px;letter-spacing:.02em;
}
.seo__sub--center{text-align:center;margin-top:12px;font-size:18px}

.seo__list{
  list-style:none;padding:0;margin:0;
  font-size:13.5px;color:#9aa6c0;line-height:1.65;
}
.seo__list li{
  position:relative;padding:6px 0 6px 24px;
  border-bottom:1px solid rgba(255,255,255,.04);
}
.seo__list li:last-child{border-bottom:0}
.seo__list li b{color:#dfe5f1;font-weight:600}

/* нумерация для ol */
.seo__list[is="ol"], ol.seo__list{counter-reset:step}
ol.seo__list li{counter-increment:step}
ol.seo__list li::before{
  content:counter(step);
  position:absolute;left:0;top:7px;
  width:18px;height:18px;border-radius:50%;
  background:linear-gradient(180deg,#f5b94b,#dd7e0e);
  color:#1a1000;font-weight:800;font-size:10px;
  display:flex;align-items:center;justify-content:center;
}

/* галочки для ul */
ul.seo__list--check li::before{
  content:"✓";
  position:absolute;left:0;top:6px;
  width:18px;height:18px;border-radius:5px;
  background:rgba(61,220,132,.15);color:#3ddc84;
  font-weight:800;font-size:11px;
  display:flex;align-items:center;justify-content:center;
}

/* FAQ */
.faq{display:flex;flex-direction:column;gap:8px;margin-top:18px}
.faq__item{
  background:#1f1f24;
  border:1px solid #2a2a32;
  border-radius:10px;
  padding:0 18px;
  transition:border-color .15s, background .15s;
}
.faq__item[open]{border-color:#3a3a45;background:#26262c}
.faq__item summary{
  cursor:pointer;list-style:none;
  padding:14px 30px 14px 0;
  font-size:14px;font-weight:600;color:#dfe5f1;
  position:relative;
  user-select:none;
}
.faq__item summary::-webkit-details-marker{display:none}
.faq__item summary::after{
  content:"+";
  position:absolute;right:0;top:50%;transform:translateY(-50%);
  width:22px;height:22px;border-radius:6px;
  background:rgba(245,166,35,.12);color:#f5a623;
  display:flex;align-items:center;justify-content:center;
  font-size:18px;font-weight:700;line-height:1;
  transition:transform .2s;
}
.faq__item[open] summary::after{content:"−"}
.faq__item summary:hover{color:#fff}
.faq__item p{
  padding:0 0 16px;
  font-size:13px;color:#9aa6c0;line-height:1.65;
}

/* =====================================================
   RESPONSIVE
   ===================================================== */

/* ---- ≤1400px: чуть меньше карточек ---- */
@media (max-width:1400px){
  .layout{grid-template-columns:190px 1fr;gap:18px;padding:18px 20px 50px}
  .grid{grid-template-columns:repeat(3,1fr)}
}

/* ---- ≤1280px: убираем боковые декорации, чтобы не лезли на контент ---- */
@media (max-width:1280px){
  body{background-image:none}
}

/* ---- ≤1200px: компактнее, грид 2 в ряд ---- */
@media (max-width:1200px){
  .topbar__inner{gap:18px;padding:12px 18px}
  .topbar__stats{gap:18px}
  .upgrade{padding:18px 0}
  .slot{height:240px;max-width:300px}
  .gauge{width:280px;height:280px}
  .gauge__value{font-size:34px}
  .gauge__value i{font-size:24px}
  .upgrade__caption{font-size:15px}
  .grid{grid-template-columns:repeat(2,1fr)}
  .footer__inner{grid-template-columns:1.4fr 1fr 1fr 1fr;gap:30px}
}

/* ≤1024 — 2 колонки */
@media (max-width:1024px){
  .footer__inner{grid-template-columns:1fr 1fr;gap:30px}
  .footer__col--brand{grid-column:1 / -1;max-width:560px}
  .footer__bottom{flex-direction:column;gap:10px;text-align:left}
  .footer__legal{text-align:left;max-width:100%}
}

/* ---- ≤1024px: сайдбар уезжает наверх горизонтально ---- */
@media (max-width:1024px){
  .layout{grid-template-columns:1fr;gap:16px;padding:16px}

  .sidebar{
    padding:8px;
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
  }
  .inv{display:flex;gap:6px;min-width:max-content}
  .inv__item{
    flex-direction:column;align-items:center;
    width:84px;border-bottom:0;padding:8px 6px;
    flex-shrink:0;
  }
  .inv__item img{width:60px;height:42px;margin-bottom:4px}
  .inv__item div{align-items:center;text-align:center}
  .inv__name{max-width:78px;font-size:10.5px}
  .inv__pct{font-size:10px}

  .upgrade{grid-template-columns:1fr 1fr;grid-template-rows:auto auto auto}
  .upgrade__col--center{grid-column:1 / -1;order:-1}
  .gauge{width:260px;height:260px;margin-bottom:6px}
  .slot{height:220px}
  .bet{grid-template-columns:1fr;gap:12px}

  .content-row{grid-template-columns:1fr}
  .login-card{min-height:280px}

  .tabs-row{grid-template-columns:1fr 1fr;gap:12px}
  .tab{padding:9px 16px;font-size:12px}

  .seo{padding:48px 24px}
}

/* ---- ≤768px: планшет ---- */
@media (max-width:768px){
  .topbar__inner{flex-wrap:wrap;gap:10px;padding:10px 14px}
  .topbar__stats{order:3;width:100%;justify-content:flex-start;gap:14px;flex-wrap:wrap}
  .stat--link{display:none}
  .btn--steam{margin-left:auto;padding:9px 14px;font-size:12px}

  .page-title{font-size:22px;margin:4px 0 16px}

  .upgrade{grid-template-columns:1fr;padding:14px 0;gap:14px}
  .upgrade__col--left{order:1}
  .upgrade__col--center{order:0;grid-column:auto}
  .upgrade__col--right{order:2}
  .slot{height:200px;max-width:100%}
  .slot__img{max-height:80%}
  .gauge{width:240px;height:240px}
  .gauge__value{font-size:30px}
  .gauge__value i{font-size:22px}

  .bet{grid-template-columns:1fr;gap:10px}
  .bet__multipliers{justify-content:center;flex-wrap:wrap;height:auto;padding:8px}
  .mul{padding:0 10px}

  .filters{flex-wrap:wrap}
  .filters__search{flex:1 0 100%}

  .grid{grid-template-columns:repeat(2,1fr);gap:8px}
  .card{min-height:160px;padding:10px}
  .card__img{height:56px}

  .seo{padding:36px 16px}
  .seo__title{font-size:20px}
  .seo__cols{grid-template-columns:1fr;gap:24px;margin-bottom:24px}
  .seo__sub--center{font-size:16px}
  .faq__item summary{font-size:13px;padding:12px 28px 12px 0}

  .footer{padding:30px 16px 16px}
  .footer__inner{grid-template-columns:1fr;gap:26px}
  .footer__col--brand{grid-column:auto}
  .footer__lead{max-width:100%}
  .footer__legal{font-size:10px}
}

/* ---- ≤480px: телефон ---- */
@media (max-width:480px){
  .topbar__inner{padding:10px 12px}
  .logo__img{height:22px}
  .btn--steam{font-size:11px;padding:8px 10px;letter-spacing:.02em}
  .btn--steam .btn__icon{display:none}

  .stat{font-size:12px}

  .layout{padding:12px}
  .page-title{font-size:18px}
  .page-title span{display:inline-block}

  .gauge{width:160px;height:160px}
  .gauge__value{font-size:22px}
  .gauge__value i{font-size:16px}

  .tabs-row{grid-template-columns:1fr}
  .tabs--right{justify-content:flex-start}
  .tab{flex:1;text-align:center;padding:9px 8px}

  .grid{grid-template-columns:repeat(2,1fr);gap:6px}
  .card{min-height:150px;padding:8px}
  .card__price{font-size:12px}
  .card__name{font-size:10.5px}
  .card__skin{font-size:9.5px}

  .pagination{flex-wrap:wrap}

  .filters__sort{padding:0 10px;font-size:11px}
  .filters__btn{width:32px;height:32px}

  .login-card__title{font-size:18px}
  .login-card__text{font-size:13px}
}
