:root {
  --bg: #000;
  --bg-2: #060606;
  --panel: #0c0c0c;
  --panel-2: #161616;
  --line: #2e2e2e;
  --text: #ededed;
  --muted: #8d8d8d;
  --red: #fff;          /* акцент: в этом стиле он белый */
  --red-deep: #5c5c5c;
  --shade: #5c5c5c;
  --gold: #fff;
  --aqua: #fff;
  --green: #fff;
  --pixel: "Handjet", "Onest", sans-serif;
  --body: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r: 0px;
}
* { border-radius: 0 !important; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
[hidden] { display: none !important; }

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.wrap.narrow { width: min(780px, 100% - 32px); }
.muted { color: var(--muted); font-size: 14px; }

/* ---------- навигация ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: 64px; padding: 0 max(16px, calc((100% - 1120px) / 2));
  display: flex; align-items: center; justify-content: space-between;
  transition: background .25s, border-color .25s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(0, 0, 0, .88); backdrop-filter: blur(10px); border-color: var(--line); }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--pixel); font-weight: 700; font-size: 22px; letter-spacing: .06em; }
.logo-mark {
  width: 16px; height: 16px; background: var(--red);
  box-shadow: 4px 4px 0 var(--shade);
}
.links { display: flex; gap: 4px; }
.links a { padding: 8px 14px; border-radius: 8px; color: var(--muted); font-weight: 500; font-size: 15px; transition: color .15s, background .15s; }
.links a:hover { color: var(--text); background: rgba(255, 255, 255, .05); }
.burger { display: none; width: 44px; height: 44px; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.burger span { width: 22px; height: 2px; background: var(--text); }

/* ---------- главная ---------- */
.hero { position: relative; min-height: max(100svh, 680px); display: flex; overflow: hidden; background: #000; }
.hero-bg { position: absolute; inset: 0; background: #000 url("../img/hero.png") center / cover no-repeat; image-rendering: pixelated; }
.hero-bg::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, .6), transparent 20%, transparent 62%, rgba(0, 0, 0, .8) 84%, var(--bg)); }
.hero-inner { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 88px 0 44px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.status {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; margin-bottom: auto;
  border: 1px solid var(--line); background: rgba(0, 0, 0, .7);
  font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums;
}
.dot { width: 8px; height: 8px; background: #555; }
.status.on .dot { background: #fff; animation: blink 1.6s steps(2) infinite; }
.status.on { color: var(--text); }
.status.off .dot { background: #555; }
@keyframes blink { 50% { opacity: .25; } }

.tagline { margin-top: 24px; max-width: 560px; font-size: clamp(15px, 2vw, 18px); color: #cfcfcf; text-wrap: balance; text-shadow: 0 0 12px #000, 0 0 4px #000; }
.ip-row { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.ip {
  display: grid; grid-template-columns: auto auto; grid-template-rows: auto auto; column-gap: 22px; align-items: center; text-align: left;
  padding: 12px 14px 12px 20px;
  background: #fff; color: #000;
  box-shadow: 6px 6px 0 var(--shade); transition: transform .1s, box-shadow .1s, background .15s;
}
.ip:hover { background: #dcdcdc; }
.ip:active { transform: translate(4px, 4px); box-shadow: 2px 2px 0 var(--shade); }
.ip-label { font-size: 12px; opacity: .65; grid-column: 1; }
.ip-value { font-size: 20px; font-weight: 700; letter-spacing: .02em; font-variant-numeric: tabular-nums; grid-column: 1; line-height: 1.25; }
.ip-copy { grid-column: 2; grid-row: 1 / 3; padding: 9px 14px; background: #000; color: #fff; font-weight: 600; font-size: 14px; min-width: 122px; text-align: center; }

.btn { display: inline-flex; align-items: center; justify-content: center; padding: 0 26px; min-height: 52px; font-weight: 600; transition: background .15s, border-color .15s, transform .1s; }
.btn-ghost { border: 1px solid #fff; background: rgba(0, 0, 0, .7); }
.btn-ghost:hover { background: #fff; color: #000; }
.btn-primary { background: #fff; color: #000; box-shadow: 5px 5px 0 var(--shade); }
.btn-primary:hover { background: #dcdcdc; }
.btn-primary:active { transform: translate(3px, 3px); box-shadow: 2px 2px 0 var(--shade); }
.btn-wide { width: 100%; }

/* на узких (вертикальных) экранах картинка целиком сверху, текст под ней */
@media (max-aspect-ratio: 1/1) {
  .hero { min-height: 0; }
  .hero-bg { background-size: 190% auto; background-position: center 56px; }
  .hero-bg::after { background: linear-gradient(to bottom, rgba(0, 0, 0, .6), transparent 14%, transparent 48%, var(--bg) 72%); }
  .hero-inner { padding: 76px 0 48px; }
  .status { margin-bottom: 78vw; }
}

/* ---------- секции ---------- */
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section-dark { background: var(--bg-2); border-block: 1px solid #1c1c1c; }
.eyebrow { font-family: var(--pixel); color: var(--red); font-size: 15px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 10px; }
h2 { font-size: clamp(28px, 4.4vw, 44px); line-height: 1.12; font-weight: 700; letter-spacing: -.01em; text-wrap: balance; }
.lead { margin-top: 14px; color: var(--muted); max-width: 560px; }
.sub-head { margin: 72px 0 26px; }
.sub-head h3 { font-size: 26px; font-weight: 700; }
.sub-head p { color: var(--muted); margin-top: 6px; }

.steps { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; }
.steps li { counter-increment: s; padding: 22px; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); }
.steps li::before { content: "0" counter(s); font-family: var(--pixel); font-size: 30px; font-weight: 700; color: var(--red); display: block; margin-bottom: 12px; }
.steps b { display: block; font-size: 17px; margin-bottom: 6px; }
.steps span { color: var(--muted); font-size: 15px; }

.maniacs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.maniac {
  --c: var(--red);
  position: relative; padding: 22px 22px 20px; border-radius: var(--r);
  background: var(--panel); border: 1px solid var(--line); overflow: hidden;
  transition: transform .2s, border-color .2s;
}
.maniac::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--c); }
.maniac::after { content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; background: radial-gradient(closest-side, var(--c), transparent); opacity: .13; transition: opacity .2s; }
.maniac:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--c) 55%, var(--line)); }
.maniac:hover::after { opacity: .28; }
.maniac-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.maniac h4 { margin: 0; font-family: var(--pixel); font-size: 24px; font-weight: 700; color: var(--c); }
.chip { font-size: 12px; padding: 3px 9px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); white-space: nowrap; }
.maniac p { margin-top: 10px; color: #c9c9c9; font-size: 15px; }
.maniac .weapon { margin-top: 14px; font-size: 13px; color: var(--muted); }
.maniac .weapon b { color: var(--text); font-weight: 600; }

/* ---------- вкладки ---------- */
.tabs { display: inline-flex; flex-wrap: wrap; gap: 4px; margin-top: 30px; padding: 4px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.tab { padding: 9px 18px; border-radius: 8px; color: var(--muted); font-weight: 600; font-size: 15px; transition: background .15s, color .15s; }
.tab:hover { color: var(--text); }
.tab[aria-selected="true"] { background: var(--red); color: #fff; }

/* ---------- донат ---------- */
.shop-note { margin-top: 16px; color: var(--muted); max-width: 640px; font-size: 15px; }
.shop { margin-top: 22px; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 16px; align-items: start; }
.shop-list, .shop-detail { border: 1px solid var(--line); border-top: 3px solid var(--red); border-radius: var(--r); background: var(--panel); }
.shop-list { padding: 8px; display: grid; gap: 4px; }
.item { --c: var(--red); display: flex; align-items: center; gap: 14px; width: 100%; padding: 13px 14px; border-radius: 8px; text-align: left; transition: background .15s; }
.item:hover { background: rgba(255, 255, 255, .04); }
.item[aria-selected="true"] { background: linear-gradient(90deg, color-mix(in srgb, var(--c) 24%, transparent), transparent); }
.swatch { width: 30px; height: 30px; flex: none; background: var(--c); box-shadow: 3px 3px 0 color-mix(in srgb, var(--c) 45%, #000); }
.item-name { font-weight: 600; flex: 1; min-width: 0; }
.item-badge { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--gold); color: #000; margin-left: 8px; vertical-align: middle; }
.item-price { color: var(--muted); font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.item[aria-selected="true"] .item-price { color: var(--text); }

.shop-detail { padding: 26px; }
.detail-title { font-family: var(--pixel); font-size: 32px; font-weight: 700; line-height: 1.1; }
.options { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.opt { padding: 8px 16px; border-radius: 8px; border: 1px solid var(--line); color: var(--muted); font-weight: 600; font-size: 14px; }
.opt:hover { color: var(--text); }
.opt[aria-pressed="true"] { border-color: var(--red); color: #fff; background: rgba(255, 255, 255, .12); }
.perks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.perks li { display: grid; grid-template-columns: 14px 1fr; gap: 12px; align-items: baseline; font-size: 15px; color: var(--muted); }
.perks li::before { content: ""; width: 8px; height: 8px; background: var(--c, var(--red)); transform: translateY(-1px); }
.perks b { color: var(--text); font-weight: 600; }
.buy { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.price small { display: block; color: var(--muted); font-size: 13px; }
.price strong { font-family: var(--pixel); font-size: 36px; line-height: 1.1; font-variant-numeric: tabular-nums; }

/* ---------- топ ---------- */
.demo-badge { font-family: var(--body); font-size: 12px; font-weight: 600; letter-spacing: 0; padding: 4px 10px; border-radius: 999px; border: 1px dashed #555; color: var(--muted); vertical-align: middle; margin-left: 8px; white-space: nowrap; }
.table-wrap { margin-top: 22px; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); overflow: hidden; }
.top { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.top th { text-align: left; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: 12px 18px; border-bottom: 1px solid var(--line); }
.top td { padding: 13px 18px; border-bottom: 1px solid #1c1c1c; }
.top tr:last-child td { border-bottom: 0; }
.top .num { text-align: right; }
.top td:first-child { width: 56px; font-family: var(--pixel); font-weight: 700; color: var(--muted); font-size: 18px; }
.top tr:nth-child(1) td:first-child { color: var(--gold); }
.top tr:nth-child(2) td:first-child { color: #bdbdbd; }
.top tr:nth-child(3) td:first-child { color: #8d8d8d; }
.player { display: flex; align-items: center; gap: 12px; font-weight: 600; min-width: 0; }
.player span.nm { overflow: hidden; text-overflow: ellipsis; }
.avatar { width: 28px; height: 28px; flex: none; display: grid; place-items: center; font-family: var(--pixel); font-size: 15px; color: #000; background: var(--c, #fff); }
.vip { font-size: 11px; font-weight: 700; color: var(--gold); border: 1px solid #fff; padding: 1px 6px; border-radius: 5px; }
.top .val { font-weight: 700; }
#topUpdated { margin-top: 12px; }

/* ---------- новости ---------- */
.news { margin-top: 34px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.post { padding: 24px; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); display: flex; flex-direction: column; gap: 10px; }
.post-meta { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--muted); }
.post-tag { color: var(--red); font-family: var(--pixel); font-size: 14px; letter-spacing: .06em; text-transform: uppercase; }
.post h3 { font-size: 20px; line-height: 1.25; }
.post p { color: var(--muted); font-size: 15px; }

/* ---------- правила и вопросы ---------- */
.rules { list-style: none; padding: 0; margin: 34px 0 0; counter-reset: r; display: grid; gap: 4px; }
.rules li { counter-increment: r; display: grid; grid-template-columns: 54px 1fr; padding: 18px 0; border-bottom: 1px solid var(--line); }
.rules li::before { content: counter(r); font-family: var(--pixel); font-weight: 700; font-size: 26px; color: var(--red); line-height: 1.1; }
.rules b { display: block; font-size: 17px; }
.rules span { color: var(--muted); font-size: 15px; }

.faq { margin-top: 34px; display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); }
.faq summary { list-style: none; cursor: pointer; padding: 17px 20px; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--pixel); font-size: 24px; color: var(--red); line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 20px 18px; color: var(--muted); font-size: 15px; }

/* ---------- подвал ---------- */
.footer { padding: 40px 0 48px; border-top: 1px solid var(--line); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer .muted { margin-top: 8px; }
.socials { display: flex; gap: 8px; flex-wrap: wrap; }
.socials a { padding: 9px 16px; border: 1px solid var(--line); border-radius: 8px; font-weight: 600; font-size: 14px; color: var(--muted); }
.socials a:hover { color: var(--text); border-color: #fff; }

/* ---------- окно и уведомление ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; background: rgba(0, 0, 0, .82); backdrop-filter: blur(4px); }
.modal-box { position: relative; width: min(420px, 100%); padding: 28px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); border-top: 3px solid var(--red); }
.modal-box h3 { font-family: var(--pixel); font-size: 26px; }
.modal-close { position: absolute; top: 10px; right: 12px; width: 40px; height: 40px; font-size: 26px; color: var(--muted); }
.modal-close:hover { color: var(--text); }
.modal-item { margin-top: 6px; color: var(--muted); }
.field { display: grid; gap: 7px; margin: 20px 0 6px; font-size: 14px; color: var(--muted); }
.field input { width: 100%; padding: 13px 14px; border-radius: 8px; border: 1px solid var(--line); background: var(--bg); color: var(--text); font: inherit; font-size: 16px; }
.field input:focus { outline: none; border-color: var(--red); }
.field-error { color: #fff; font-size: 14px; margin-bottom: 4px; }
.modal .btn { margin-top: 12px; }
.modal-info { margin-top: 16px; padding: 12px 14px; border-radius: 8px; background: rgba(255, 255, 255, .06); border: 1px solid #555; color: #d6d6d6; font-size: 14px; }

.toast { position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 120; padding: 11px 18px; border-radius: 9px; background: #fff; color: #111; font-weight: 600; font-size: 14px; box-shadow: 0 10px 30px rgba(0, 0, 0, .5); }

/* ---------- адаптив ---------- */
@media (max-width: 900px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .maniacs, .news { grid-template-columns: repeat(2, 1fr); }
  .shop { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .burger { display: flex; }
  .links { position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; padding: 10px 16px 16px; background: rgba(0, 0, 0, .97); border-bottom: 1px solid var(--line); display: none; }
  .links.open { display: flex; }
  .links a { padding: 12px 10px; font-size: 16px; }
  .nav.menu-open { background: rgba(0, 0, 0, .97); }
}
@media (max-width: 560px) {
  .steps, .maniacs, .news { grid-template-columns: 1fr; }
  .hide-sm { display: none; }
  .ip { width: 100%; grid-template-columns: 1fr auto; }
  .ip-row .btn { width: 100%; }
  .ip-copy { min-width: 0; }
  .shop-detail { padding: 20px; }
  .buy .btn { width: 100%; }
  .top th, .top td { padding: 12px; }
  .top td:first-child { width: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- точечная «дизеринг»-текстура, как на главной картинке ---------- */
.section-dark { position: relative; }
.section-dark::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(rgba(255, 255, 255, .13) 1px, transparent 1.3px) 0 0 / 4px 4px;
  -webkit-mask-image: linear-gradient(to top, #000, transparent 75%); mask-image: linear-gradient(to top, #000, transparent 75%); }
.section-dark > .wrap { position: relative; }
.tab[aria-selected="true"], .item-badge { color: #000; }
h2, .sub-head h3, .post h3 { font-family: var(--pixel); letter-spacing: .01em; }

/* ---------- шрифт Handjet: высокий и узкий, поэтому крупнее; заливка сверху вниз, как в логотипе ---------- */
.logo { font-size: 30px; font-weight: 800; letter-spacing: .08em; }
.eyebrow { font-size: 20px; font-weight: 600; }
h2 { font-size: clamp(40px, 6.4vw, 68px); font-weight: 800; line-height: 1; letter-spacing: .02em; }
h2, .detail-title, .maniac h4, .price strong, .modal-box h3 {
  background: linear-gradient(#fff 35%, #8a8a8a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sub-head h3 { font-size: 40px; font-weight: 800; line-height: 1; }
.maniac h4 { font-size: 34px; font-weight: 800; line-height: 1; letter-spacing: .02em; }
.steps li::before { font-size: 44px; font-weight: 800; line-height: 1; }
.detail-title { font-size: 48px; font-weight: 800; line-height: 1; }
.price strong { font-size: 52px; font-weight: 800; line-height: 1; display: block; }
.post h3 { font-size: 30px; font-weight: 800; line-height: 1.05; }
.post-tag { font-size: 19px; font-weight: 600; }
.rules li::before { font-size: 38px; font-weight: 800; line-height: .9; }
.top td:first-child { font-size: 26px; font-weight: 800; }
.avatar { font-size: 22px; font-weight: 800; }
.modal-box h3 { font-size: 40px; font-weight: 800; line-height: 1; }
.faq summary::after { font-size: 32px; font-weight: 800; }
.demo-badge { background: none; color: var(--muted); -webkit-text-fill-color: var(--muted); }

/* ---------- статистика сервера ---------- */
.stats { margin-top: 34px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat { padding: 22px; border: 1px solid var(--line); background: var(--panel); display: flex; flex-direction: column; gap: 8px; }
.stat strong { font-family: var(--pixel); font-weight: 800; font-size: clamp(48px, 6vw, 72px); line-height: .9; font-variant-numeric: tabular-nums;
  background: linear-gradient(#fff 35%, #8a8a8a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { color: var(--muted); font-size: 15px; line-height: 1.35; }
.stat:first-child { background: #fff; border-color: #fff; box-shadow: 6px 6px 0 var(--shade); }
.stat:first-child strong { background: none; color: #000; }
.stat:first-child span { color: #333; }
#statsUpdated { margin-top: 14px; }
@media (max-width: 900px) { .stats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .stats { gap: 10px; } .stat { padding: 16px; } }

/* ---------- график за неделю на фоне каждой карточки статистики ---------- */
.stat { position: relative; overflow: hidden; min-height: 212px; background: var(--panel); }
.stat > strong, .stat > span { position: relative; z-index: 1; }
.stat > span { text-shadow: 0 0 6px #000, 0 0 2px #000; }
.stat:first-child > span { text-shadow: 0 0 6px #fff, 0 0 2px #fff; }
.stat-chart { position: absolute; left: 0; right: 0; bottom: 0; height: 96px; pointer-events: none; }
.stat-chart svg { display: block; }
#statsUpdated { margin-top: 14px; }

/* ---------- карточка статистики: при наведении увеличивается, и из её низа вырастает график ---------- */
.stat { transition: transform .25s ease, border-color .25s ease; }
.stat-chart { transform-origin: bottom; transition: transform .45s cubic-bezier(.2, .8, .2, 1), opacity .3s ease; }
@media (hover: hover) {
  .stat-chart { transform: scaleY(0); opacity: 0; }
  .stat:hover { transform: scale(1.05); z-index: 2; border-color: #fff; }
  .stat:hover .stat-chart { transform: scaleY(1); opacity: 1; }
}

/* ---------- донат: баннеры ---------- */
#shop { margin-top: 34px; }
.shop-top { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 16px; align-items: stretch; }
.banner { display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--line); background: var(--panel); }
.banner-vip { border: 1px solid #fff; box-shadow: 6px 6px 0 var(--shade); }
.banner-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.banner-head h3 { margin: 0; }
.banner-vip .detail-title { font-size: clamp(64px, 9vw, 110px); line-height: .85; }
.banner-prefix .detail-title { font-size: 40px; }
.banner-vip .perks { grid-template-columns: 1fr 1fr; column-gap: 28px; }
.banner .buy { margin-top: auto; }
.banner .perks { margin-bottom: 26px; }
.banner-prefix .buy { flex-direction: column; align-items: stretch; }
.pack-head { margin: 56px 0 20px; }
.pack-head p { max-width: 640px; }

.packs { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto auto; gap: 16px; }
.pack { position: relative; display: flex; justify-content: space-between; gap: 14px; padding: 22px; text-align: left;
  border: 1px solid var(--line); background: var(--panel); transition: transform .2s ease, border-color .2s ease, background .2s ease; }
.pack:hover { border-color: #fff; transform: translateY(-3px); }
.pack-amount { display: flex; flex-direction: column; gap: 4px; color: var(--muted); font-size: 15px; }
.pack-amount strong { font-family: var(--pixel); font-weight: 800; line-height: .85; font-variant-numeric: tabular-nums;
  background: linear-gradient(#fff 35%, #8a8a8a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pack-price { align-self: flex-end; padding: 8px 14px; background: #fff; color: #000; font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.pack-big { grid-column: 1; grid-row: 1 / 3; flex-direction: column; min-height: 300px; border-color: #fff; box-shadow: 6px 6px 0 var(--shade);
  background: radial-gradient(rgba(255, 255, 255, .16) 1px, transparent 1.3px) 0 0 / 4px 4px, var(--panel); }
.pack-big .pack-amount strong { font-size: clamp(80px, 11vw, 140px); }
.pack-big .pack-amount { font-size: 18px; }
.pack-big .pack-price { align-self: stretch; text-align: center; padding: 14px; font-size: 18px; }
.pack-wide { grid-column: 2 / 4; grid-row: 1; align-items: center; }
.pack-wide .pack-amount { flex-direction: row; align-items: baseline; gap: 12px; }
.pack-wide .pack-amount strong { font-size: clamp(56px, 7vw, 84px); }
.pack-wide .pack-price { align-self: center; }
.pack-small { flex-direction: column; }
.pack-small .pack-amount strong { font-size: 56px; }
.pack-small .pack-price { align-self: flex-start; }

@media (max-width: 900px) {
  .shop-top { grid-template-columns: 1fr; }
  .packs { grid-template-columns: 1fr 1fr; }
  .pack-big { grid-column: 1 / 3; grid-row: auto; min-height: 220px; }
  .pack-wide { grid-column: 1 / 3; grid-row: auto; }
}
@media (max-width: 560px) {
  .banner { padding: 20px; }
  .banner-vip .perks { grid-template-columns: 1fr; }
  .pack { padding: 16px; }
  .pack-small .pack-amount strong { font-size: 44px; }
}

/* ---------- баннер боевого пропуска под VIP и префиксом ---------- */
.banner-pass { margin-top: 16px; }
.banner-pass .detail-title { font-size: clamp(40px, 5vw, 56px); }
.banner-pass .perks { grid-template-columns: repeat(3, 1fr); column-gap: 28px; }
@media (max-width: 900px) { .banner-pass .perks { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .banner-pass .perks { grid-template-columns: 1fr; } }

/* ---------- как помочь проекту (в разделе вопросов) ---------- */
.help .sub-head { margin-top: 80px; }
.help .sub-head h3 { font-size: clamp(40px, 5vw, 56px); }
.help h4 { margin: 0; font-family: var(--pixel); font-weight: 800; line-height: 1;
  background: linear-gradient(#fff 35%, #8a8a8a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.help-donate { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 32px;
  border: 1px solid #fff; box-shadow: 6px 6px 0 var(--shade);
  background: radial-gradient(rgba(255, 255, 255, .14) 1px, transparent 1.3px) 0 0 / 4px 4px, var(--panel); }
.help-donate h4 { font-size: clamp(44px, 6vw, 72px); }
.help-donate p { margin-top: 12px; max-width: 620px; color: #c9c9c9; }
.help-donate .btn { flex: none; min-width: 200px; }
.roles { margin-top: 16px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.role { display: flex; flex-direction: column; gap: 12px; padding: 24px; border: 1px solid var(--line); background: var(--panel);
  transition: border-color .2s ease, transform .2s ease; }
.role:hover { border-color: #fff; transform: translateY(-3px); }
.role h4 { font-size: 36px; }
.role > p { color: var(--muted); font-size: 15px; }
.role .perks { margin: 0 0 8px; }
.role .btn { margin-top: auto; width: 100%; }
@media (max-width: 900px) { .roles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px) {
  .help-donate { flex-direction: column; align-items: stretch; padding: 22px; }
  .roles { grid-template-columns: 1fr; }
}

/* ---------- анимация появления ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }
@keyframes pop { from { opacity: 0; transform: scale(.86); } }
/* карточки: скрыты, пока до них не докрутили; после анимации стили возвращаются к обычным, наведение работает как раньше */
.reveal:not(.in) { opacity: 0; }
.reveal.in { animation: rise .55s cubic-bezier(.2, .8, .2, 1) backwards; animation-delay: var(--d, 0ms); }
/* кнопки внутри карточек появляются чуть позже самой карточки */
.reveal:not(.in) .btn, .reveal:not(.in) .pack-price { opacity: 0; }
.reveal.in .btn, .reveal.in .pack-price { animation: pop .4s cubic-bezier(.2, 1.3, .4, 1) backwards; animation-delay: calc(var(--d, 0ms) + .3s); }
/* главный экран: статус, текст и кнопки появляются по очереди при загрузке */
.hero .status { animation: rise .6s cubic-bezier(.2, .8, .2, 1) .1s backwards; }
.hero .tagline { animation: rise .6s cubic-bezier(.2, .8, .2, 1) .3s backwards; }
.hero .ip { animation: pop .5s cubic-bezier(.2, 1.3, .4, 1) .55s backwards; }
.hero .ip-row .btn { animation: pop .5s cubic-bezier(.2, 1.3, .4, 1) .7s backwards; }
