/* ─────────────────────── tokens ─────────────────────── */
:root {
  --bg:         #131016;
  --bg-2:       #1a151d;
  --panel:      #1f1a23;
  --panel-2:    #272029;
  --panel-3:    #2f2732;
  --border:     #2e2532;
  --border-2:   #3c3140;
  --text:       #f4ece4;
  --muted:      #8b7f85;
  --muted-2:    #c8b9bd;
  --accent:     #f3a45d;
  --accent-2:   #ff7a00;
  --accent-3:   #ffc072;
  --coin:       #f3a45d;
  --good:       #64e087;
  --rar-1:      #5d5e72;
  --rar-2:      #4f7dd4;
  --rar-3:      #6a4dd4;
  --rar-4:      #a84ad8;
  --rar-5:      #d8494a;
  --rar-6:      #f3a45d;
  --radius:     16px;
  --radius-sm:  12px;
  --radius-xs:  8px;
  --shadow:     0 10px 30px rgba(0,0,0,.45);
}
* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Geologica', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 14px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(1400px 700px at 70% -200px, rgba(243,164,93,.08), transparent 70%),
    radial-gradient(1000px 500px at 10% 20%, rgba(108,77,212,.05), transparent 60%);
  pointer-events: none;
  z-index: -1;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; }

.svg-defs { width: 0; height: 0; position: absolute; }
.ico, .coin, svg.ico, .tab svg, .subnav svg, .socials svg, .btn svg, .featured__nav svg, .modal__close svg {
  width: 1em;
  height: 1em;
  fill: currentColor;
}
svg { display: inline-block; vertical-align: middle; }

/* ─────────────────────── topbar ─────────────────────── */
.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
}
.topbar__row {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 22px;
}
.topbar__row--top { padding: 12px 22px; }
.topbar__row--sub {
  padding-top: 0;
  padding-bottom: 12px;
  border-top: 1px solid transparent;
  gap: 22px;
}
.topbar__spacer { flex: 1; }

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.logo__badge {
  width: 200px;
  height: 64px;
  object-fit: contain;
  object-position: left center;
  flex-shrink: 0;
  filter: drop-shadow(0 4px 12px rgba(243,164,93,.35));
}
.logo__word {
  font-weight: 900;
  font-size: 22px;
  letter-spacing: .04em;
  color: var(--text);
}

.lang {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--muted-2);
}
.lang__flag { font-size: 16px; line-height: 1; }
.lang:hover { border-color: var(--border-2); color: var(--text); }

.event {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(180deg, #f3a45d 0%, #d66b16 100%);
  color: #321503;
  font-weight: 900;
  letter-spacing: .04em;
  padding: 10px 18px;
  border-radius: 14px;
  box-shadow:
    0 6px 18px rgba(243,164,93,.35),
    inset 0 -2px 0 rgba(0,0,0,.12),
    inset 0 1px 0 rgba(255,255,255,.25);
  font-size: 13px;
  text-transform: uppercase;
}
.event:hover { filter: brightness(1.05); }

.online {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.online__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--good);
  box-shadow: 0 0 10px var(--good);
}
.online__num { font-weight: 700; color: var(--text); }
.online__label { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.online__stack { display: flex; flex-direction: column; line-height: 1.1; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-weight: 800;
  font-size: 14px;
  background: var(--panel);
  color: var(--text);
  transition: transform .08s ease, filter .15s ease, border-color .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn--primary {
  background: linear-gradient(180deg, #f3a45d 0%, #d66b16 100%);
  color: #321503;
  box-shadow:
    0 6px 18px rgba(243,164,93,.35),
    inset 0 -2px 0 rgba(0,0,0,.14),
    inset 0 1px 0 rgba(255,255,255,.28);
}
.btn--primary:hover { filter: brightness(1.05); }
.btn--login { padding-right: 6px; }
.btn--login .btn__icon {
  width: 32px; height: 32px;
  border-radius: 10px;
  background: rgba(0,0,0,.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

/* ─────────────────────── subnav ─────────────────────── */
.subnav {
  display: flex;
  gap: 18px;
  flex: 1;
}
.subnav__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 10px;
  color: var(--muted);
  font-weight: 600;
  font-size: 14px;
  transition: color .15s ease, background .15s ease;
}
.subnav__item svg.ico { font-size: 18px; color: var(--accent); }
.subnav__ico {
  width: 22px;
  height: 22px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.3));
}
.subnav__item:hover { color: var(--text); background: var(--panel); }
.subnav__item--active { color: var(--text); background: var(--panel); }

/* ─────────────────────── socials ─────────────────────── */
.socials {
  display: flex;
  gap: 8px;
}
.socials a {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--panel);
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 16px;
  transition: color .15s ease, border-color .15s ease;
}
.socials a:hover { color: var(--accent); border-color: var(--accent); }
.socials svg { font-size: 16px; }

/* ─────────────────────── page grid ─────────────────────── */
.page {
  max-width: 1440px;
  margin: 0 auto;
  padding: 20px 22px 60px;
}

.hero-row {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr) 320px;
  gap: 16px;
  align-items: stretch;
  margin-bottom: 28px;
}

/* ─────────────────────── drops column ─────────────────────── */
.drops {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 520px;
  max-height: 680px;
}
.drops__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 6px 0;
}
.drops__tabs {
  display: flex;
  gap: 6px;
  padding: 0 4px;
}
.tab {
  background: var(--panel-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 18px;
}
.tab:hover { color: var(--text); }
.tab--active {
  background: linear-gradient(180deg, #3a2d1d 0%, #2a2118 100%);
  color: var(--accent);
  border-color: var(--accent);
}
.drops__list {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
  padding-right: 4px;
  scrollbar-width: thin;
  scrollbar-color: var(--border-2) transparent;
}
.drops__list::-webkit-scrollbar { width: 6px; }
.drops__list::-webkit-scrollbar-thumb { background: var(--border-2); border-radius: 3px; }
.drops__placeholder { color: var(--muted); font-size: 13px; text-align: center; padding: 20px; }

.drop {
  position: relative;
  background: var(--panel-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 14px 16px;
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: transform .12s ease, border-color .15s ease;
}
.drop::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(140% 90% at 50% 30%, var(--rarity, var(--rar-1)) 0%, transparent 60%),
    linear-gradient(180deg, rgba(0,0,0,0) 60%, rgba(0,0,0,.35) 100%);
  opacity: .55;
  pointer-events: none;
  z-index: 0;
}
.drop:hover { transform: translateY(-2px); border-color: var(--rarity, var(--accent)); }
.drop__img-wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.drop__img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 8px 14px rgba(0,0,0,.7));
}
.drop__price {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 800;
  color: var(--accent-3);
  font-size: 15px;
  background: rgba(0,0,0,.4);
  border: 1px solid rgba(243,164,93,.18);
  padding: 5px 12px;
  border-radius: 10px;
}
.drop__price .coin { color: var(--coin); font-size: 14px; }
.drop__name {
  position: relative;
  z-index: 1;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted-2);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.drop__mult {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  background: rgba(0,0,0,.6);
  color: var(--accent);
  font-weight: 800;
  font-size: 11px;
  padding: 3px 7px;
  border-radius: 7px;
  border: 1px solid rgba(243,164,93,.3);
}

/* ─────────────────────── banner ─────────────────────── */
.banner {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: 360px;
  isolation: isolate;
}
.banner__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.banner__mascot {
  position: absolute;
  right: 2%;
  bottom: 0;
  height: 95%;
  object-fit: contain;
  object-position: right bottom;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,.6));
  z-index: 1;
  pointer-events: none;
}
.banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15,12,20,.55) 0%, rgba(15,12,20,.15) 50%, rgba(15,12,20,0) 100%);
  z-index: 1;
}
.banner__content {
  position: relative;
  z-index: 2;
  padding: 22px 26px;
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 16px;
  height: 100%;
  min-height: inherit;
}
.banner__left {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
  max-width: 360px;
}
.banner__right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 12px;
  align-self: flex-end;
}

.banner__title {
  margin: 0;
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: .92;
  letter-spacing: .01em;
  color: #ffdfa3;
  text-shadow:
    0 2px 0 #8a3f0a,
    0 4px 0 #5c2a05,
    0 6px 18px rgba(0,0,0,.6);
}
.banner__title span {
  display: inline-block;
  padding-left: 18px;
  color: #ffd08a;
}

.banner__leaderboard {
  width: 320px;
  max-width: 100%;
  background: linear-gradient(180deg, rgba(24,18,32,.82), rgba(18,13,22,.88));
  backdrop-filter: blur(10px);
  border: 1px solid rgba(243,164,93,.22);
  border-radius: 14px;
  padding: 10px 14px 12px;
  box-shadow: 0 8px 28px rgba(0,0,0,.45);
}
.lb__head, .lb__row {
  display: grid;
  grid-template-columns: 38px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 5px 0;
}
.lb__head {
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .12em;
  border-bottom: 1px solid var(--border);
  margin-bottom: 4px;
  padding-bottom: 6px;
}
.lb__row {
  font-size: 14px;
  font-weight: 600;
}
.lb__name { color: var(--text); }
.lb__pts {
  color: var(--accent-3);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.lb__pos {
  position: relative;
  width: 26px; height: 26px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 12px;
  color: #1a1208;
  box-shadow: 0 2px 6px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.4);
}
.lb__pos--1 { background: linear-gradient(180deg, #ffe08a, #f3a45d); }
.lb__pos--2 { background: linear-gradient(180deg, #e8e8ef, #aeaeb8); }
.lb__pos--3 { background: linear-gradient(180deg, #f0b27a, #b0683a); }

.banner__countdown {
  background: linear-gradient(180deg, rgba(110,80,200,.85), rgba(70,50,160,.9));
  border: 1px solid rgba(180,150,240,.4);
  border-radius: 14px;
  padding: 10px 18px;
  font-weight: 800;
  font-size: 14px;
  color: #fff;
  font-variant-numeric: tabular-nums;
  box-shadow: 0 6px 18px rgba(70,50,160,.4);
  backdrop-filter: blur(4px);
}
.banner__cta {
  font-size: 15px;
  padding: 14px 34px;
  letter-spacing: .06em;
  text-transform: uppercase;
  border-radius: 14px;
}

/* ─────────────────────── featured card ─────────────────────── */
.featured {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 360px;
}
.featured__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}
.featured__image-wrap {
  position: relative;
  width: 100%;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.featured__image-wrap::before {
  content: '';
  position: absolute;
  inset: 8% 12%;
  background: radial-gradient(closest-side, rgba(243,164,93,.25), transparent 70%);
  filter: blur(12px);
  z-index: 0;
}
.featured__image {
  position: relative;
  z-index: 1;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 14px 24px rgba(0,0,0,.55));
}
.featured__price {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 800;
  font-size: 20px;
  color: var(--accent-3);
}
.featured__price .coin { font-size: 20px; color: var(--coin); }
.featured__name {
  font-weight: 600;
  font-size: 15px;
  color: var(--muted-2);
}
.featured__nav {
  position: absolute;
  top: 50%;
  right: -18px;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--panel-2);
  border: 1px solid var(--border);
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
.featured__nav:hover { color: var(--accent); border-color: var(--accent); }

/* ─────────────────────── cases ─────────────────────── */
.cases { margin-top: 8px; }
.case-groups { display: flex; flex-direction: column; gap: 36px; }
.case-groups__placeholder { color: var(--muted); text-align: center; padding: 40px; }

.case-group__title {
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 18px;
  letter-spacing: .01em;
}
.case-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.case-card {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 14px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  overflow: hidden;
  transition: transform .12s ease, border-color .15s ease;
  isolation: isolate;
}
.case-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 90% at 50% 40%, var(--vol, #8a5a2e) 0%, transparent 55%),
    linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.25) 100%);
  opacity: .6;
  z-index: -1;
}
.case-card:hover {
  transform: translateY(-3px);
  border-color: var(--vol, var(--accent));
}
.case-card__img {
  width: 155px;
  height: 155px;
  object-fit: contain;
  filter: drop-shadow(0 16px 26px rgba(0,0,0,.6));
  margin-bottom: 12px;
}
.case-card__name {
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 10px;
  min-height: 40px;
  display: flex;
  align-items: center;
  color: var(--text);
}
.case-card__price {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 800;
  font-size: 15px;
  color: var(--accent-3);
  background: rgba(0,0,0,.35);
  border: 1px solid rgba(243,164,93,.18);
  padding: 6px 14px;
  border-radius: 10px;
}
.case-card__price .coin { font-size: 15px; color: var(--coin); }

/* ─────────────────────── a11y / sr-only ─────────────────────── */
.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;
}

/* ─────────────────────── page hero (home H1) ─────────────────────── */
.page-hero {
  max-width: 1440px;
  margin: 0 auto 22px;
  padding: 6px 22px 0;
}
.page-hero__title {
  margin: 0 0 6px;
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 800;
  letter-spacing: -.01em;
  line-height: 1.15;
  color: var(--text);
}
.page-hero__title span {
  background: linear-gradient(180deg, #ffd9a8 0%, #f3a45d 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.page-hero__lead {
  margin: 0;
  color: var(--muted-2);
  font-size: 14px;
  max-width: 680px;
}
@media (max-width: 700px) {
  .page-hero { padding: 0 12px; margin-bottom: 14px; }
  .page-hero__title { font-size: 20px; }
  .page-hero__lead { font-size: 13px; }
}

/* ─────────────────────── "Смотрите также" ─────────────────────── */
.related {
  max-width: 980px;
  margin: 28px auto 0;
  padding: 0 22px;
}
.related__title {
  font-size: 18px;
  margin: 0 0 14px;
  color: var(--text);
  font-weight: 800;
}
.related__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.related__card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  transition: border-color .15s ease, transform .1s ease;
}
.related__card:hover { border-color: var(--accent); transform: translateY(-2px); }
.related__card-title {
  font-weight: 700;
  color: var(--text);
  font-size: 14px;
}
.related__card-desc {
  font-size: 12px;
  color: var(--muted);
}
@media (max-width: 700px) {
  .related__grid { grid-template-columns: 1fr; }
  .related { padding: 0 12px; }
}

/* ─────────────────────── landing hero (/upgrade, /contracts, …) ─────────────────────── */
.lander {
  max-width: 860px;
  margin: 40px auto 28px;
  padding: 0 22px;
  text-align: center;
}
.lander__eyebrow {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(243,164,93,.14);
  border: 1px solid rgba(243,164,93,.35);
  color: var(--accent-3);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 18px;
}
.lander h1 {
  font-size: clamp(28px, 4.5vw, 46px);
  line-height: 1.08;
  margin: 0 0 16px;
  background: linear-gradient(180deg, #fff 0%, #ffd9a8 65%, #f3a45d 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 4px 24px rgba(0,0,0,.4);
  font-weight: 900;
  letter-spacing: -.01em;
}
.lander__lead {
  color: var(--muted-2);
  font-size: 16px;
  max-width: 620px;
  margin: 0 auto 26px;
  line-height: 1.6;
}
.lander__cta {
  font-size: 15px;
  padding: 16px 34px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.breadcrumb {
  max-width: 980px;
  margin: 8px auto 0;
  padding: 0 22px;
  font-size: 12px;
  color: var(--muted);
}
.breadcrumb a { color: var(--muted-2); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { margin: 0 6px; opacity: .5; }

/* ─────────────────────── SEO block ─────────────────────── */
.seo {
  max-width: 980px;
  margin: 60px auto 0;
  padding: 32px 28px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--muted-2);
  line-height: 1.65;
  font-size: 14px;
}
.seo__title {
  color: var(--text);
  font-size: 22px;
  margin: 0 0 14px;
  font-weight: 800;
}
.seo h3 {
  color: var(--text);
  font-size: 16px;
  margin: 22px 0 10px;
  font-weight: 700;
}
.seo p { margin: 0 0 12px; }
.seo b { color: var(--text); font-weight: 600; }
.seo ul, .seo ol { margin: 0 0 12px; padding-left: 22px; }
.seo li { margin-bottom: 6px; }
.seo__small { color: var(--muted); font-size: 12px; margin-top: 18px; }
@media (max-width: 700px) {
  .seo { padding: 22px 18px; margin-top: 40px; }
  .seo__title { font-size: 18px; }
  .seo h3 { font-size: 15px; }
}

/* ─────────────────────── footer ─────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  background: var(--bg-2);
  margin-top: 40px;
}
.footer__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 26px 22px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
}
.footer__brand { display: flex; align-items: center; gap: 14px; }
.footer__badge { width: 200px; height: 64px; }
.footer__copy { margin: 2px 0 0; color: var(--muted); font-size: 12px; }
.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 13px;
  color: var(--muted);
  justify-content: center;
}
.footer__links a:hover { color: var(--accent); }
.footer__legal {
  text-align: center;
  font-size: 11px;
  color: var(--muted);
  padding: 0 22px 18px;
  margin: 0;
}

/* ─────────────────────── modal base ─────────────────────── */
.modal[hidden] { display: none; }
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.75);
  backdrop-filter: blur(6px);
}

/* ─────────────────────── age-gate ─────────────────────── */
.gate {
  position: relative;
  width: min(880px, 100%);
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  background: #0e0b12;
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,.6);
  isolation: isolate;
}
.gate__close {
  position: absolute;
  top: 14px; right: 16px;
  z-index: 2;
  background: transparent;
  border: 0;
  color: var(--muted);
  font-size: 26px;
  line-height: 1;
  width: 32px; height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: color .15s ease, background .15s ease;
}
.gate__close:hover { color: var(--text); background: rgba(255,255,255,.06); }

.gate__hero {
  position: relative;
  overflow: hidden;
  min-height: 480px;
  background:
    radial-gradient(100% 70% at 50% 80%, rgba(243,164,93,.22), transparent 70%),
    radial-gradient(80% 60% at 50% 40%, rgba(108,77,212,.15), transparent 70%),
    linear-gradient(180deg, #1a1018 0%, #0a070d 100%);
}
.gate__hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(40% 30% at 50% 70%, rgba(243,164,93,.35), transparent 70%);
  filter: blur(30px);
  pointer-events: none;
}
.gate__hero-img {
  position: absolute;
  inset: auto 0 0 0;
  width: 92%;
  margin: 0 auto;
  max-height: 92%;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,.7));
  animation: gateFloat 4s ease-in-out infinite;
}
@keyframes gateFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

.gate__body {
  padding: 40px 44px 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.gate__eyebrow {
  display: inline-block;
  align-self: flex-start;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(243,164,93,.14);
  border: 1px solid rgba(243,164,93,.32);
  color: var(--accent-3);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 4px;
}
.gate__title {
  margin: 0 0 4px;
  font-size: 32px;
  font-weight: 900;
  line-height: 1.1;
  color: var(--text);
  letter-spacing: -.015em;
}
.gate__sub {
  margin: 0 0 10px;
  color: var(--muted-2);
  font-size: 14px;
  line-height: 1.5;
}

/* кастомный чекбокс + рамка вокруг строки */
.gate__check {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border: 1px solid var(--border-2);
  border-radius: 14px;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
  user-select: none;
}
.gate__check:hover { border-color: #50454a; }
.gate__check input { position: absolute; opacity: 0; pointer-events: none; }
.gate__box {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 6px;
  border: 2px solid #3c3140;
  background: transparent;
  position: relative;
  transition: background .15s ease, border-color .15s ease;
}
.gate__box::after {
  content: '';
  position: absolute;
  left: 5px; top: 1px;
  width: 6px; height: 11px;
  border: solid #1a1208;
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg) scale(0);
  transition: transform .12s ease;
}
.gate__check input:checked ~ .gate__box {
  background: #ffd24c;
  border-color: #ffd24c;
}
.gate__check input:checked ~ .gate__box::after {
  transform: rotate(45deg) scale(1);
}
.gate__check input:checked ~ .gate__label { color: var(--text); }
.gate__check input:focus-visible ~ .gate__box {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.gate__label {
  font-size: 16px;
  color: var(--muted-2);
  line-height: 1.4;
}
.gate__link {
  color: #ffd24c;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
}
.gate__link:hover { filter: brightness(1.1); }

.gate__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 14px;
}
.gate__btn {
  padding: 16px 20px;
  border-radius: 14px;
  border: 0;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: background .15s ease, filter .15s ease, opacity .15s ease;
}
.gate__btn--ghost {
  background: #1a151d;
  color: var(--text);
  border: 1px solid var(--border-2);
}
.gate__btn--ghost:hover { background: #241e28; }
.gate__btn--primary {
  background: linear-gradient(180deg, #f3a45d 0%, #d66b16 100%);
  color: #321503;
  box-shadow: 0 6px 18px rgba(243,164,93,.35),
              inset 0 -2px 0 rgba(0,0,0,.14),
              inset 0 1px 0 rgba(255,255,255,.28);
}
.gate__btn--primary:hover:not(:disabled) { filter: brightness(1.05); }
.gate__btn--primary:disabled {
  background: #2a2430;
  color: #6b5f63;
  box-shadow: none;
  cursor: not-allowed;
}

@media (max-width: 760px) {
  .gate {
    grid-template-columns: 1fr;
    max-height: 92vh;
    overflow-y: auto;
  }
  .gate__hero { min-height: 220px; }
  .gate__body { padding: 28px 22px; }
  .gate__title { font-size: 26px; }
  .gate__label { font-size: 14px; }
  .gate__check { padding: 12px 14px; }
}
@media (max-width: 420px) {
  .gate__actions { grid-template-columns: 1fr; }
}

/* ─────────────────────── responsive ─────────────────────── */

/* 1280px — слегка поджать сетку */
@media (max-width: 1280px) {
  .page { padding: 18px 18px 50px; }
  .hero-row { grid-template-columns: 250px minmax(0, 1fr) 290px; gap: 14px; }
  .case-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
}

/* 1100px — прячем фичерд справа, сокращаем топбар */
@media (max-width: 1100px) {
  .hero-row { grid-template-columns: 240px minmax(0, 1fr); }
  .featured { display: none; }
  .case-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .logo__badge { width: 160px; height: 52px; }
  .footer__badge { width: 160px; height: 52px; }
  .topbar__row { padding: 10px 16px; }
  .banner__leaderboard { width: 300px; }
  .case-card__img { width: 140px; height: 140px; }
}

/* 900px — дропы под баннер, горизонтальный скролл */
@media (max-width: 900px) {
  .hero-row { grid-template-columns: minmax(0, 1fr); }
  .drops { order: 2; max-height: none; min-height: 0; padding: 12px; }
  .drops__head { padding: 0; }
  .drops__tabs { padding: 0; }
  .drops__list {
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
    padding-right: 0;
    padding-bottom: 4px;
    scroll-snap-type: x mandatory;
  }
  .drop { flex: 0 0 160px; scroll-snap-align: start; }
  .drop__img-wrap { height: 90px; }

  .banner { min-height: 340px; }
  .banner__mascot { opacity: .55; }
  .banner__leaderboard { width: 280px; }

  .topbar__row--top { flex-wrap: wrap; gap: 10px; }
  .topbar__row--sub { flex-wrap: wrap; gap: 12px; }
  .topbar__row--sub .socials { display: none; }
  .subnav { width: 100%; overflow-x: auto; padding-bottom: 4px; gap: 12px; }
  .subnav::-webkit-scrollbar { height: 4px; }
  .subnav__item { flex-shrink: 0; }

  .case-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .case-card__img { width: 130px; height: 130px; }
  .case-group__title { font-size: 20px; margin-bottom: 14px; }

  .footer__inner {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
    gap: 16px;
  }
  .footer__brand { flex-direction: column; gap: 8px; }
}

/* 700px — баннер стекается, топбар компактно */
@media (max-width: 700px) {
  .page { padding: 14px 12px 40px; }
  .topbar__row { padding: 10px 14px; gap: 10px; }
  .topbar__row--top { padding: 10px 14px; }

  .logo__badge { width: 120px; height: 40px; }
  .footer__badge { width: 130px; height: 44px; }

  .lang { display: none; }
  .online--top { display: none; }
  .topbar__spacer { display: none; }
  .event { padding: 7px 12px; font-size: 11px; flex: 1; justify-content: center; max-width: 180px; }
  .btn--login { padding: 6px 6px 6px 12px; }
  .btn--login span { display: none; }
  .btn--login .btn__icon { width: 30px; height: 30px; }

  /* баннер: прячем маскот, усиливаем затенение, даём фикс-высоту */
  .banner { min-height: 300px; }
  .banner__mascot { display: none; }
  .banner::after {
    background:
      linear-gradient(180deg, rgba(15,12,20,.25) 0%, rgba(15,12,20,.55) 100%);
  }
  .banner__content {
    flex-direction: column;
    padding: 18px;
    gap: 14px;
    justify-content: flex-start;
  }
  .banner__left { max-width: 100%; width: 100%; gap: 12px; }
  .banner__right {
    align-self: stretch;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
  }
  .banner__title { font-size: 32px; }
  .banner__leaderboard { width: 100%; }

  .case-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .case-card { padding: 14px 10px 14px; }
  .case-card__img { width: 130px; height: 130px; margin-bottom: 8px; }
  .case-card__name { font-size: 14px; min-height: 36px; }
  .case-group__title { font-size: 18px; margin-bottom: 12px; }
}

/* 480px — минимальная ширина */
@media (max-width: 480px) {
  .topbar__row--top {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 8px;
    padding: 8px 12px;
  }
  .event { max-width: none; }

  .banner { min-height: 280px; }
  .banner__content { padding: 14px; gap: 12px; }
  .banner__title { font-size: 28px; letter-spacing: 0; line-height: .95; }
  .banner__title span { padding-left: 10px; }
  .banner__right { flex-direction: column; align-items: stretch; gap: 8px; }
  .banner__countdown { text-align: center; padding: 8px 12px; font-size: 13px; }
  .banner__cta { width: 100%; justify-content: center; padding: 12px; font-size: 14px; }

  .drop { flex: 0 0 140px; }
  .drop__img-wrap { height: 78px; }
  .drop__name { font-size: 12px; }
  .drop__price { font-size: 13px; padding: 4px 10px; }

  .lb__head, .lb__row { grid-template-columns: 24px 1fr auto; gap: 8px; font-size: 12px; }
  .lb__head { font-size: 9px; }
  .lb__pos { width: 22px; height: 22px; font-size: 11px; }

  .case-grid { gap: 8px; }
  .case-card { padding: 12px 8px 12px; }
  .case-card__img { width: 110px; height: 110px; }
  .case-card__name { font-size: 12px; min-height: 30px; margin-bottom: 8px; }
  .case-card__price { font-size: 13px; padding: 5px 10px; }

  .footer__links { flex-direction: column; gap: 10px; }
  .footer__inner { padding: 20px 14px; }
}
