/* 1var.ru — Gorilla Energy x MLBB. Вёрстка с нуля (semantic + fluid), арт оригинала. */

/* ---------- fonts ---------- */
@font-face {
  font-family: "CCUltimatum";
  src: url(../fonts/cc-bold.woff2) format("woff2"), url(../fonts/cc-bold.woff) format("woff");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "CCUltimatum";
  src: url(../fonts/cc-heavy.woff2) format("woff2"), url(../fonts/cc-heavy.woff) format("woff");
  font-weight: 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url(../fonts/inter-regular.woff2) format("woff2"), url(../fonts/inter-regular.woff) format("woff");
  font-weight: 400; font-style: normal; font-display: swap;
}

/* ---------- base ---------- */
:root {
  --acid: #aaeb1d;
  --yellow: #f3db33;
  --bg: #0a0a0a;
  --panel: #141414;
  --line: #2c2c2c;
  --txt: #fff;
  --dim: #b9b9b9;
  --danger: #ff5a5a;
  --display: "CCUltimatum", "Arial Black", Arial, sans-serif;
  --body: "Inter", Arial, sans-serif;
  --header-h: 64px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--txt);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }
.container { width: min(1240px, 100% - 40px); margin-inline: auto; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

h1, h2, h3, .display {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.05;
  letter-spacing: .02em;
}
.section-title {
  font-size: clamp(30px, 3.4vw, 50px);
  text-align: center;
  margin-bottom: clamp(22px, 3.5vw, 44px);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--display); font-weight: 800; text-transform: uppercase;
  color: var(--acid); text-decoration: none; text-align: center;
  background: center / 100% 100% no-repeat;
  transition: filter .15s ease, transform .15s ease;
}
.btn:hover { filter: brightness(1.25) saturate(1.1); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-site {
  background-image: url(../img/kv-btn-1.png);
  min-width: 188px; height: 110px; padding: 0 30px; font-size: clamp(17px, 1.5vw, 21px);
}
.btn-tg {
  background-image: url(../img/kv-btn-2.png);
  min-width: 260px; height: 110px; padding: 0 34px; font-size: clamp(17px, 1.5vw, 21px);
}
.btn-tg .tg-ic {
  width: 38px; height: 38px; border-radius: 50%; background: var(--acid);
  display: inline-flex; align-items: center; justify-content: center; flex: none;
}
.btn-tg .tg-ic svg { width: 18px; height: 18px; fill: #000; }
.btn-glow { /* большая кнопка с неоновой рамкой (btn-bg.png) */
  background-image: url(../img/btn-bg.png);
  min-width: 300px; height: 87px; padding: 0 44px; font-size: 21px;
}
.btn-solid {
  background: var(--acid); color: #000; border-radius: 10px;
  font-family: var(--display); font-weight: 800; text-transform: uppercase;
  padding: 14px 28px; font-size: 16px; border: none;
  transition: filter .15s;
}
.btn-solid:hover { filter: brightness(1.1); }
.btn-solid:disabled { opacity: .55; cursor: default; filter: none; }

.register-block { text-align: center; }
.register-block .rb-title {
  font-family: var(--display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(22px, 2.6vw, 30px); margin-bottom: 4px;
}
.register-block .rb-btns {
  display: flex; gap: 10px; justify-content: center; align-items: center; flex-wrap: wrap;
}

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #000;
  height: var(--header-h);
}
.site-header .container {
  height: 100%; display: flex; align-items: center; gap: 28px;
}
.logos { display: flex; align-items: center; gap: 14px; flex: none; }
.logos img { height: 40px; width: auto; }
.logos .sep { width: 1px; height: 34px; background: #333; }
.main-nav { margin-inline: auto; }
.main-nav ul { display: flex; gap: clamp(16px, 2.6vw, 40px); list-style: none; }
.main-nav a {
  font-family: var(--display); font-weight: 700; text-transform: uppercase;
  font-size: 14px; text-decoration: none; color: var(--txt);
  transition: color .15s;
}
.main-nav a:hover { color: var(--acid); }
.lk-link {
  display: inline-flex; align-items: center; gap: 9px; flex: none;
  font-family: var(--display); font-weight: 800; text-transform: uppercase;
  font-size: 14px; color: var(--acid); text-decoration: none;
}
.lk-link svg { width: 26px; height: 26px; stroke: #fff; }
.lk-link:hover { text-decoration: underline; }

.burger { display: none; flex: none; width: 40px; height: 40px; position: relative; z-index: 60; }
.burger span, .burger::before, .burger::after {
  content: ""; display: block; height: 3px; border-radius: 2px; background: var(--acid);
  margin: 6px 4px; transition: transform .2s, opacity .2s;
}
body.menu-open .burger span { opacity: 0; }
body.menu-open .burger::before { transform: translateY(9px) rotate(45deg); }
body.menu-open .burger::after { transform: translateY(-9px) rotate(-45deg); }

.mobile-menu {
  display: none; position: fixed; inset: var(--header-h) 0 0 0; z-index: 49;
  background: #000 url(../img/burger-bg.png) center top / cover no-repeat;
  padding: 30px 24px;
}
body.menu-open .mobile-menu { display: block; }
.mobile-menu ul { list-style: none; display: grid; gap: 18px; }
.mobile-menu a {
  font-family: var(--display); font-weight: 800; text-transform: uppercase;
  font-size: 20px; color: #fff; text-decoration: none;
}
.mobile-menu a.acc { color: var(--acid); }

/* ---------- hero (kv) ---------- */
.kv {
  position: relative; z-index: 1;
  background: #000 url(../img/kv-bg.png) center 32% / cover no-repeat;
  min-height: min(43vw, 720px);
  overflow: visible;   /* банку НЕ резать — продукт виден целиком (как эталон) */
}
/* Затухание ФОНА-фото внизу hero в цвет rules (#050505), чтобы фон-арт
   (персонажи) не обрывался резкой линией. z-index:0 — ПОД контентом и банкой
   (.container z1): банка остаётся яркой и ЦЕЛОЙ поверх, не затемняется. */
.kv::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: clamp(140px, 18vw, 260px);
  background: linear-gradient(to bottom, transparent, #050505);
  z-index: 0; pointer-events: none;
}
.kv .container { position: relative; min-height: inherit; }
.kv-title {
  position: absolute; top: clamp(24px, 4vw, 60px); left: 0;
  font-size: clamp(28px, 3.125vw, 48px); line-height: 1.0;
}
.kv-date {
  position: absolute; top: clamp(20px, 3.4vw, 50px); left: clamp(280px, 26vw, 380px);
  background: url(../img/kv-date.png) center / 100% 100% no-repeat;
  font-family: var(--display); font-weight: 800; font-size: clamp(15px, 1.56vw, 23px);
  color: var(--acid); padding: clamp(16px, 2vw, 30px) clamp(34px, 3.8vw, 58px);
  white-space: nowrap;
}
/* Банка на исходной высоте (дата над ней не перекрыта). overflow:visible на .kv
   даёт банке вылезти вниз на rules целиком; место под неё — увеличенный
   padding-top у .rules (заголовок уходит ниже банки, как эталон). */
.kv-can {
  position: absolute; left: 50%; top: 3%; transform: translateX(-50%);
  width: clamp(280px, 47vw, 740px); pointer-events: none;
  filter: drop-shadow(0 0 60px rgba(170, 235, 29, .35));
}
.kv-register {
  position: absolute; right: 0; bottom: clamp(28px, 4.5vw, 70px);
  width: min(560px, 45vw);
}
.kv-register .rb-title { font-size: clamp(18px, 2.2vw, 28px); }
/* Угловая лента: фиксированный размер + overflow:hidden — приклеена к правому
   верхнему углу при любой ширине (смешение vw/% ранее ломало позицию). */
.kv-ribbon {
  position: absolute; top: 0; right: 0; z-index: 3;
  width: 270px; height: 270px;
  overflow: hidden; pointer-events: none;
}
.kv-ribbon span {
  position: absolute; top: 62px; right: -66px; width: 340px;
  transform: rotate(45deg);
  display: block; text-align: center;
  background: var(--yellow); color: #000;
  font-family: var(--display); font-weight: 800; text-transform: uppercase;
  font-size: 18px; line-height: 1.1; padding: 12px 0;
  box-shadow: 0 0 30px rgba(0, 0, 0, .45);
  white-space: nowrap;
}
.kv-18 {
  position: absolute; top: 16px; right: 150px; z-index: 4;
  width: 54px; height: 54px; border: 3px solid #fff; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-weight: 800; font-size: 19px; color: #fff;
  background: rgba(0, 0, 0, .55);
}

/* ---------- rules (как принять участие) ---------- */
.rules {
  position: relative;
  background: #050505;
  /* padding-top большой: банка из hero (overflow:visible) вылезает сюда,
     заголовок «Как принять участие» уходит ниже банки, как у эталона. */
  padding: clamp(70px, 13vw, 190px) 0 clamp(36px, 5vw, 64px);
}
/* Виньетка rules-cover (чёрный центр, прозрачные края) вынесена ВВЕРХ секции
   и заходит на hero — затемняет стык hero↔rules, как у эталона (там это
   .rules::before top:-64 contain). Раньше стояла center bottom → верх стыка
   был голый #050505 = резкая линия. z-index:0 — под контентом. */
.rules::before {
  content: ""; position: absolute; left: 0; right: 0;
  top: clamp(-90px, -5.5vw, -56px);
  height: 49vw; max-height: 650px;
  background: url(../img/rules-cover.png) center top / contain no-repeat;
  z-index: 0; pointer-events: none;
}
.rules .container { position: relative; z-index: 1; }
.steps {
  list-style: none;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2vw, 28px);
  margin-bottom: clamp(28px, 4vw, 48px);
}
.step { text-align: center; }
.step img { width: 100%; margin-inline: auto; }
/* Подпись шага на «полочках» — фон rules-bg.png (зелёные полосы сверху/снизу,
   1:1 ассет эталона). Фиксированная высота выравнивает 4 подписи (ST-2). */
.step .cap {
  margin-top: 8px;
  background: url(../img/rules-bg.png) center / 100% 100% no-repeat;
  height: clamp(110px, 11vw, 160px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: clamp(10px, 1.2vw, 18px) 8px;
  font-family: var(--display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(14px, 1.5vw, 22px); line-height: 1.18;
}
.step .cap .acc { color: var(--acid); }
.step .cap a { color: var(--acid); }
.x2-banner {
  margin-top: clamp(28px, 4vw, 48px);
  background: var(--yellow);
  clip-path: polygon(0 14%, 100% 0, 99% 88%, 1% 100%);
  display: flex; align-items: center; justify-content: center; gap: 16px;
  padding: 14px 24px;
  color: #000;
}
.x2-banner img { height: 44px; width: auto; }
.x2-banner b {
  font-family: var(--display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(14px, 1.6vw, 21px);
}

/* ---------- prizes ---------- */
/* Фон-арт (замок/луна) — только в верхней части секции, как у эталона: ниже,
   в зоне гарант-призов, фон чёрный — garant-PNG с запечённым тёмным фоном сливаются.
   cover на всю секцию давал светло-синюю зону → «чёрные квадраты» вокруг призов. */
.prizes {
  position: relative;
  background: #020205;
  padding: clamp(40px, 6vw, 80px) 0;
}
.prizes::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0;
  height: 70vw; max-height: 1150px;
  background: url(../img/prizes-bg.png) center top / cover no-repeat;
  -webkit-mask-image: linear-gradient(to bottom, #000 78%, transparent);
  mask-image: linear-gradient(to bottom, #000 78%, transparent);
  pointer-events: none;
}
.prizes .container { position: relative; z-index: 1; }
/* Главный приз — колонка по центру (кубок → заголовок → note), как у эталона;
   банка — декор слева, наполовину за краем экрана. */
.prize-main {
  position: relative;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  margin-bottom: clamp(44px, 6vw, 80px);
}
.prize-main .pm-art { position: relative; text-align: center; }
.prize-main .pm-art img.trophy { width: clamp(280px, 28.5vw, 440px); margin-inline: auto; }
.pm-badge {
  position: absolute; right: clamp(-170px, -11vw, -80px); top: 46%;
  width: clamp(120px, 13vw, 210px);
}
.prize-main .pm-can {
  position: absolute; left: clamp(-220px, -14vw, -80px); top: 50%;
  transform: translateY(-46%);
  width: clamp(300px, 45vw, 700px); max-width: none;
  filter: drop-shadow(0 0 50px rgba(170,235,29,.3)); pointer-events: none;
}
.prize-main h3 {
  font-size: clamp(20px, 2.4vw, 32px); color: var(--acid);
  text-align: center; margin: 14px 0 10px; max-width: 880px;
}
.prize-main .pm-note { text-align: center; color: var(--txt); font-size: clamp(13px, 1.2vw, 16px); text-transform: uppercase; font-family: var(--display); font-weight: 700; }

.garant-sub {
  text-align: center; font-family: var(--display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(14px, 1.6vw, 21px); max-width: 880px; margin: 0 auto clamp(24px, 3vw, 40px);
}
.garant-sub .ihint { white-space: nowrap; }
.garant-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 420px)); justify-content: center;
  gap: clamp(20px, 4vw, 60px); margin-bottom: clamp(44px, 6vw, 84px);
}
.garant-item { text-align: center; }
.garant-item img { width: min(100%, 360px); margin-inline: auto; }
.garant-item .cap {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(17px, 1.8vw, 24px);
}
.ibtn {
  width: 26px; height: 26px; border-radius: 50%; flex: none;
  border: 2px solid var(--acid); color: var(--acid);
  display: inline-flex; align-items: center; justify-content: center;
  font: italic 700 15px/1 Georgia, serif;
}
.ibtn:hover { background: var(--acid); color: #000; }

.month-sub { composes: garant-sub; }
.month-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2vw, 28px);
  margin-top: clamp(24px, 3vw, 40px);
}
.month-item { text-align: center; position: relative; }
.month-item img { width: min(100%, 270px); margin-inline: auto; }
.month-item .cap {
  margin-top: 10px;
  font-family: var(--display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(14px, 1.4vw, 19px); color: var(--acid); line-height: 1.25;
}
.cans-badge {
  position: absolute; top: 6%; right: 8%;
  width: clamp(64px, 6vw, 92px); height: clamp(64px, 6vw, 92px); border-radius: 50%;
  background: #000; border: 3px solid var(--acid);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-family: var(--display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(8px, .8vw, 11px); color: #fff;
}
.cans-badge .n { font-size: clamp(22px, 2.2vw, 34px); color: var(--acid); line-height: .9; }

/* ---------- winners ---------- */
.winners {
  background: #02030a url(../img/winners-bg.png) center top / cover no-repeat;
  padding: clamp(40px, 6vw, 80px) 0 clamp(60px, 8vw, 110px);
}
.winners-controls {
  display: flex; gap: 14px; justify-content: center; margin-bottom: 22px; flex-wrap: wrap;
}
.winners-controls select, .winners-controls .search {
  background: #0d0d0d; border: 1px solid #3a3a3a; border-radius: 10px;
  color: #fff; padding: 12px 16px; font: 15px var(--body); min-width: 280px;
}
.winners-controls .searchwrap { position: relative; }
.winners-controls .searchwrap .search { padding-right: 52px; width: 100%; }
.winners-controls .searchwrap button {
  position: absolute; right: 7px; top: 50%; transform: translateY(-50%);
  width: 34px; height: 34px; border-radius: 50%; background: var(--acid);
}
.winners-controls .searchwrap svg { width: 16px; height: 16px; stroke: #000; }
/* Эталон: lime-плашка вложена в тёмную карточку с неоновым свечением и
   отступами (НЕ убирать lime — у gorillamlbb.ru именно так). Карточка:
   bg #000, radius 20, box-shadow 0 7px 17px rgba(acid,.4). */
.winners-table {
  max-width: 920px; margin-inline: auto;
  background: #000; border-radius: 20px; padding: 14px;
  box-shadow: 0 7px 17px rgba(170, 235, 29, .4);
}
.winners-head {
  display: grid; grid-template-columns: 1.2fr 1fr 1.2fr; gap: 10px;
  padding: 10px 22px 16px;
  font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 15px;
  color: var(--acid);
}
.winners-body {
  background: var(--acid); color: #0a0a0a; border-radius: 14px;
  min-height: 220px; padding: 24px 28px;
  display: flex; flex-direction: column; justify-content: center;
}
.winners-body .empty { text-align: center; font-size: 15px; }
.winners-body .wrow {
  display: grid; grid-template-columns: 1.2fr 1fr 1.2fr; gap: 10px;
  padding: 9px 0; border-bottom: 1px solid rgba(0,0,0,.15); font-size: 15px;
}
.winners-body .wrow:last-child { border-bottom: none; }

/* ---------- faq ---------- */
/* Фон FAQ — нижняя часть winners-bg.png (ниндзя + синий туман): тот же арт, что
   у эталона тянется из winners в FAQ одним слоем. Раньше тут был faq-circle.png
   (просто зелёное пятно) → FAQ выглядел плоско-чёрным. ::before = арт с зумом на
   низ; ::after = затемнение к чёрному футеру + читаемость пилюль. */
.faq {
  position: relative;
  background: #050608;
  padding: clamp(40px, 6vw, 80px) 0 clamp(40px, 6vw, 72px);
  overflow: hidden;
}
.faq::before {
  content: ""; position: absolute; inset: 0;
  background: #050608 url(../img/winners-bg.png) center 82% / cover no-repeat;
  z-index: 0; pointer-events: none;
}
.faq::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; bottom: 0;
  background: linear-gradient(to bottom, rgba(5,6,8,.55) 0%, rgba(5,6,8,.25) 35%, rgba(5,6,8,.7) 100%);
  z-index: 0; pointer-events: none;
}
.faq .container { position: relative; z-index: 1; }
.faq-list { max-width: 760px; margin-inline: auto; display: grid; gap: 12px; }
.faq-item { background: #000; border-radius: 14px; overflow: hidden; }
.faq-item summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 16px 56px 16px 24px;
  font-family: var(--display); font-weight: 800; text-transform: uppercase;
  font-size: 15px; color: var(--acid);
  transition: color .15s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; position: absolute; right: 22px; top: 50%;
  width: 16px; height: 10px; transform: translateY(-50%);
  background: center / contain no-repeat
    url("data:image/svg+xml;utf8,<svg width='17' height='11' xmlns='http://www.w3.org/2000/svg'><path d='M15.5 1.5l-7 7-7-7' stroke='%23aaeb1d' stroke-width='3' fill='none' stroke-linecap='round'/></svg>");
  transition: transform .2s;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(180deg); }
.faq-item .ans { padding: 0 24px 18px; color: var(--dim); font-size: 15px; }
.faq-item .ans p { margin-bottom: 10px; }
.faq-item .ans a { color: var(--acid); }
.faq-cta { text-align: center; margin-top: clamp(26px, 3.4vw, 44px); }

/* ---------- footer ---------- */
.site-footer { background: #000; padding: clamp(30px, 4vw, 48px) 0 110px; position: relative; }
.footer-links {
  display: flex; gap: clamp(24px, 6vw, 110px); justify-content: center; flex-wrap: wrap;
  margin-bottom: 22px;
}
.footer-links a {
  font-family: var(--display); font-weight: 800; text-transform: uppercase;
  font-size: 15px; color: #fff; text-decoration: none;
}
.footer-links a:hover { color: var(--acid); }
.legal {
  max-width: 1100px; margin-inline: auto; text-align: center;
  color: #8a8a8a; font-size: 12.5px;
}
.legal a { color: #bbb; }
.copyright { text-align: center; color: #6f6f6f; font-size: 12.5px; margin-top: 14px; }
.warn18 {
  position: absolute; left: 0; right: 0; bottom: 8px; overflow: hidden;
  font-family: var(--display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(12px, 1.97vw, 30px); white-space: nowrap; text-align: center;
  color: transparent; -webkit-text-stroke: 1px #3c3c3c;
  pointer-events: none; user-select: none;
}

/* ---------- scan FAB ---------- */
.scan-fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 40;
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--acid); color: #000; border-radius: 999px;
  padding: 13px 22px;
  font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 14px;
  text-decoration: none; border: none;
  box-shadow: 0 6px 30px rgba(170, 235, 29, .45);
  transition: transform .15s;
}
.scan-fab:hover { transform: scale(1.04); }
.scan-fab svg { width: 22px; height: 22px; }

/* ---------- profile (ЛК) ---------- */
.lk {
  background: #04050c url(../img/lk-bg.png) center top / cover no-repeat;
  min-height: calc(100vh - var(--header-h));
  padding: clamp(30px, 4.5vw, 60px) 0 clamp(50px, 6vw, 80px);
}
.lk-welcome {
  display: grid; grid-template-columns: minmax(220px, 1fr) minmax(300px, 530px);
  gap: 20px; align-items: center; justify-content: space-between;
  margin-bottom: clamp(26px, 4vw, 46px);
}
.lk-welcome h2 { font-size: clamp(22px, 2.6vw, 34px); }
.lk-userbar {
  background: rgba(20, 20, 20, .85); border-radius: 12px;
  display: flex; align-items: center; gap: 18px; padding: 16px 22px;
  font-size: 15px;
}
.lk-userbar .mail { margin-right: auto; overflow: hidden; text-overflow: ellipsis; }
.lk-userbar a { color: var(--acid); font-size: 14px; white-space: nowrap; }
.lk-stats {
  background: rgba(8, 8, 8, .8); border: 1px solid #222; border-radius: 18px;
  padding: clamp(20px, 3vw, 36px);
  margin-bottom: clamp(30px, 4vw, 50px);
}
.lk-stats-row {
  display: grid; grid-template-columns: 1fr 1px 1fr; gap: clamp(14px, 2.5vw, 34px);
  align-items: center; margin-bottom: clamp(20px, 3vw, 34px);
}
.lk-stats-row .vsep { background: #2c2c2c; height: 100%; min-height: 90px; }
.stat-group { display: flex; align-items: center; gap: 16px; justify-content: center; flex-wrap: wrap; }
.stat-circle {
  width: clamp(76px, 7.5vw, 104px); height: clamp(76px, 7.5vw, 104px); border-radius: 50%;
  background: #000; border: 4px solid var(--acid);
  box-shadow: 0 0 24px rgba(170, 235, 29, .35);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-family: var(--display); font-weight: 800;
}
.stat-circle .n { font-size: clamp(26px, 2.8vw, 38px); color: var(--acid); line-height: 1; }
.stat-circle .l { font-size: 10px; text-transform: uppercase; color: #ddd; }
.stat-label {
  font-family: var(--display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(15px, 1.6vw, 21px); line-height: 1.25; text-align: left;
}
.stat-group img.banka { height: clamp(60px, 6vw, 86px); width: auto; }
.lk-stats .register-block { border-top: 1px solid #242424; padding-top: clamp(18px, 2.6vw, 30px); }

.lk-section { margin-bottom: clamp(34px, 5vw, 60px); }
.lk-section > h2 { font-size: clamp(24px, 3vw, 40px); text-align: center; margin-bottom: clamp(18px, 2.6vw, 30px); }
.lk-panel {
  border: 2px solid var(--acid); border-radius: 16px;
  background: rgba(5, 6, 3, .85);
  box-shadow: 0 0 34px rgba(170, 235, 29, .22);
  padding: clamp(16px, 2.4vw, 28px);
}
.rc-head, .rc-row {
  display: grid; grid-template-columns: 1.1fr 1.1fr 1fr 1fr; gap: 12px;
  padding: 10px 14px; align-items: center;
}
.rc-head {
  font-family: var(--display); font-weight: 800; text-transform: uppercase;
  font-size: 14px; color: var(--acid);
}
.rc-row { border-top: 1px solid #1f2a07; font-size: 15px; }
.rc-row .st { display: inline-flex; align-items: center; gap: 8px; }
.rc-row .st .ibtn { width: 22px; height: 22px; font-size: 12px; }
.st-approved { color: var(--acid); }
.st-rejected { color: var(--danger); }
.st-pending { color: var(--yellow); }
.lk-empty { text-align: center; padding: clamp(26px, 4vw, 48px) 0; }
.lk-empty img { width: 86px; margin: 0 auto 14px; }
.lk-empty .t { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 17px; }

.tiers { position: relative; }
.tiers-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 1fr);
  gap: clamp(14px, 2vw, 24px); overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 8px; scrollbar-width: thin; scrollbar-color: var(--acid) #1a1a1a;
}
.tier {
  scroll-snap-align: start;
  border: 2px solid var(--acid); border-radius: 16px; background: #050603;
  box-shadow: 0 0 26px rgba(170, 235, 29, .2);
  padding: 18px; text-align: center;
}
.tier img { height: 180px; width: auto; margin: 0 auto 12px; object-fit: contain; }
.tier .t { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 17px; color: var(--acid); margin-bottom: 10px; }
.tier .progress-label { background: #161616; border-radius: 8px 8px 0 0; font-size: 12.5px; color: #ccc; padding: 6px 10px 2px; }
.tier .progress-wrap { background: #161616; border-radius: 0 0 8px 8px; padding: 4px 10px 10px; display: flex; align-items: center; gap: 10px; }
.tier .pp { font-family: var(--display); font-weight: 800; font-size: 15px; white-space: nowrap; }
.tier .pp .left { color: var(--acid); }
.tier .pp .total { color: #777; }
.tier .bar { flex: 1; height: 8px; border-radius: 5px; background: #2a2a2a; overflow: hidden; }
.tier .bar i { display: block; height: 100%; background: var(--acid); border-radius: 5px; }
.tier .done {
  font-family: var(--display); font-weight: 800; text-transform: uppercase;
  font-size: 13px; color: #000; background: var(--acid); border-radius: 8px; padding: 8px 10px;
}

.prize-card { display: flex; align-items: center; gap: 16px; padding: 12px 14px; border-top: 1px solid #1f2a07; }
.prize-card:first-child { border-top: none; }
.prize-card .ttl { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 16px; color: var(--acid); }
.prize-card .code { font-size: 15px; color: #fff; }
.prize-card .code b { color: var(--yellow); letter-spacing: .06em; }
.prize-card .dt { margin-left: auto; color: #888; font-size: 13px; }

/* ---------- popups ---------- */
dialog.popup {
  border: none; background: transparent; padding: 0;
  width: min(480px, calc(100vw - 32px));
  margin: auto;
}
dialog.popup::backdrop { background: rgba(0, 0, 0, .78); }
dialog.popup .pwrap {
  position: relative;
  background: #0c0c0c; border: 2px solid var(--acid); border-radius: 4px;
  box-shadow: 0 0 50px rgba(170, 235, 29, .3);
  padding: clamp(22px, 4vw, 34px) clamp(18px, 4vw, 32px);
  max-height: calc(100dvh - 48px); overflow-y: auto;
}
dialog.popup.wide { width: min(820px, calc(100vw - 32px)); }
.pclose {
  position: absolute; top: -2px; right: -2px; z-index: 2;
  width: 52px; height: 52px;
  background: var(--acid); border-radius: 0 4px 0 70%;
  display: flex; align-items: flex-start; justify-content: flex-end;
  padding: 9px 11px;
}
.pclose svg { width: 17px; height: 17px; stroke: #000; stroke-width: 2.6; }
.ptitle {
  font-family: var(--display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(20px, 3vw, 26px); text-align: center; margin-bottom: 20px;
}
.pform { display: grid; gap: 12px; }
.pform input[type="text"], .pform input[type="email"], .pform input[type="password"],
.pform input[type="tel"], .pform select, .pform textarea {
  width: 100%; background: #fff; color: #111; border: none; border-radius: 8px;
  padding: 13px 16px; font: 15px var(--body);
}
.pform textarea { min-height: 96px; resize: vertical; }
.pform .field.invalid input, .pform .field.invalid select, .pform .field.invalid textarea { outline: 2px solid var(--danger); }
.pform .ferr { color: var(--danger); font-size: 12.5px; margin-top: 4px; display: none; }
.pform .field.invalid .ferr { display: block; }
.pform .perr { color: var(--danger); font-size: 14px; text-align: center; display: none; }
.pform .perr.show { display: block; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: #ddd; cursor: pointer; }
.check input { position: absolute; opacity: 0; }
.check .box {
  flex: none; width: 22px; height: 22px; border-radius: 50%;
  background: #fff; position: relative; top: 1px;
}
.check input:checked + .box::after {
  content: ""; position: absolute; inset: 4px;
  background: center / contain no-repeat
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 34'><path d='M7.7 17l5.8 5.7L25 11.2' stroke='%23000' stroke-width='4' fill='none'/></svg>");
}
.check a { color: var(--acid); }
.plinks { display: flex; justify-content: space-between; gap: 10px; font-size: 13.5px; flex-wrap: wrap; }
.plinks a { color: var(--acid); }
.pform .btn-glow { justify-self: center; }
.pnote { font-size: 13px; color: #999; text-align: center; }
.psuccess { text-align: center; display: grid; gap: 14px; justify-items: center; }
.psuccess .big { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 22px; }

.slider { position: relative; }
.slides { overflow: hidden; border-radius: 8px; }
.slides img { display: none; width: 100%; }
.slides img.on { display: block; }
.snav { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 14px; }
.snav button {
  width: 38px; height: 38px; border-radius: 50%; background: #1c1c1c; color: var(--acid);
  font-size: 19px; line-height: 1; border: 1px solid #333;
}
.snav .dots { display: flex; gap: 8px; }
.snav .dots i { width: 8px; height: 8px; border-radius: 50%; background: #444; }
.snav .dots i.on { background: var(--acid); }

/* ---------- 404 / confirm ---------- */
.page-stub {
  min-height: calc(100vh - var(--header-h) - 120px);
  display: grid; place-content: center; text-align: center; gap: 18px; padding: 40px 20px;
}
.page-stub h1 { font-size: clamp(30px, 5vw, 52px); }
.page-stub p { color: var(--dim); }

/* ---------- fx: геймерская жизнь (структуру не меняет) ---------- */
.kv-sparks {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
}
.kv .container { position: relative; z-index: 1; }
.kv-can { transition: transform .25s ease-out; will-change: transform; animation: fx-float 5.5s ease-in-out infinite; }
.kv-title { transition: transform .3s ease-out; }
@keyframes fx-float {
  0%, 100% { margin-top: 0; filter: drop-shadow(0 0 60px rgba(170, 235, 29, .35)); }
  50% { margin-top: -14px; filter: drop-shadow(0 0 90px rgba(170, 235, 29, .55)); }
}
.kv-date { animation: fx-neon 3.2s ease-in-out infinite; }
@keyframes fx-neon {
  0%, 100% { filter: brightness(1); }
  48% { filter: brightness(1); }
  52% { filter: brightness(1.45); }
  56% { filter: brightness(.9); }
  60% { filter: brightness(1.3); }
  64% { filter: brightness(1); }
}
.btn-site, .btn-tg, .btn-glow { animation: fx-btn-breathe 2.8s ease-in-out infinite; }
.btn-site:hover, .btn-tg:hover, .btn-glow:hover { animation-play-state: paused; }
@keyframes fx-btn-breathe {
  0%, 100% { filter: brightness(1) saturate(1); }
  50% { filter: brightness(1.18) saturate(1.15); }
}
.kv-ribbon span { background-image: linear-gradient(100deg, var(--yellow) 40%, #fff48f 50%, var(--yellow) 60%); background-size: 250% 100%; animation: fx-sheen 3.5s linear infinite; }
.x2-banner { background-image: linear-gradient(100deg, var(--yellow) 40%, #fff48f 50%, var(--yellow) 60%); background-size: 250% 100%; animation: fx-sheen 4.5s linear infinite; }
@keyframes fx-sheen { 0% { background-position: 110% 0; } 100% { background-position: -40% 0; } }
.scan-fab { animation: fx-fab 2.2s ease-in-out infinite; }
@keyframes fx-fab {
  0%, 100% { box-shadow: 0 6px 30px rgba(170, 235, 29, .45), 0 0 0 0 rgba(170, 235, 29, .5); }
  60% { box-shadow: 0 6px 30px rgba(170, 235, 29, .45), 0 0 0 14px rgba(170, 235, 29, 0); }
}
.stat-circle { animation: fx-stat 3s ease-in-out infinite; }
@keyframes fx-stat {
  0%, 100% { box-shadow: 0 0 24px rgba(170, 235, 29, .35); }
  50% { box-shadow: 0 0 38px rgba(170, 235, 29, .6); }
}
/* Эталон: статичная строка во всю ширину (марквиз убран — текст влезает целиком). */
.fx-hidden { opacity: 0; transform: translateY(26px); }
.fx-in {
  opacity: 1; transform: none;
  transition: opacity .6s ease var(--fx-delay, 0ms), transform .6s cubic-bezier(.2, .7, .3, 1) var(--fx-delay, 0ms);
}
.fx-tilt { transition: transform .25s ease-out; will-change: transform; }
.month-item img, .garant-item img { transition: filter .3s; }
.month-item:hover img, .garant-item:hover img { filter: drop-shadow(0 0 26px rgba(170, 235, 29, .45)); }
@media (prefers-reduced-motion: reduce) {
  .kv-can, .kv-date, .btn-site, .btn-tg, .btn-glow, .scan-fab, .stat-circle,
  .warn18, .kv-ribbon span, .x2-banner { animation: none; }
  .fx-hidden { opacity: 1; transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .main-nav { display: none; }
  .burger { display: block; margin-left: auto; }
  .lk-link.in-header { display: none; }
  .kv-date { left: 0; top: clamp(150px, 22vw, 220px); }
  .kv-can { top: 20%; }
}
@media (max-width: 767px) {
  :root { --header-h: 56px; }
  .logos img { height: 32px; }
  .kv {
    background-image: url(../img/kv-bg-mob.png);
    background-position: center top;
    min-height: 0; padding-bottom: 30px;
  }
  .kv .container { display: flex; flex-direction: column; align-items: center; gap: 16px; padding-top: 18px; }
  .kv-title, .kv-date, .kv-register { position: static; transform: none; text-align: center; }
  .kv-title { max-width: none; }
  .kv-date { background-image: url(../img/kv-date-mob.png); }
  .kv-can { position: static; transform: none; width: min(74vw, 360px); order: 2; }
  .kv-register { width: 100%; order: 3; }
  .kv-ribbon { display: none; }
  .kv-18 { top: 12px; right: 14px; width: 44px; height: 44px; font-size: 15px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .prize-main .pm-can { display: none; }
  .pm-badge { right: 0; }
  .garant-grid { grid-template-columns: 1fr; }
  .month-grid { grid-template-columns: repeat(2, 1fr); }
  .winners { background-image: url(../img/winners-bg-mob.png); }
  .winners-head, .winners-body .wrow { grid-template-columns: 1.3fr 1fr 1.2fr; padding-inline: 14px; font-size: 13px; }
  .prizes::before { background-image: url(../img/prizes-bg-mob.png); height: 200vw; max-height: none; }
  .lk { background-image: url(../img/lk-bg-mob.png); }
  .lk-welcome { grid-template-columns: 1fr; }
  .lk-userbar { flex-wrap: wrap; gap: 10px 18px; }
  .lk-stats-row { grid-template-columns: 1fr; }
  .lk-stats-row .vsep { display: none; }
  .rc-head { display: none; }
  .rc-row { grid-template-columns: 1fr 1fr; gap: 6px 12px; }
  .scan-fab { right: 14px; bottom: 14px; padding: 12px 16px; font-size: 12px; }
  .btn-site, .btn-tg { height: 92px; font-size: 15px; }
  .btn-glow { min-width: 240px; height: 72px; font-size: 17px; }
}
@media (max-width: 380px) {
  .steps { grid-template-columns: 1fr; }
  .month-grid { grid-template-columns: 1fr; }
}
