/* ─── Tokens ─────────────────────────────────────────────────────────── */
:root {
  --bg: #08080d;
  --bg-2: #0e0e16;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.09);
  --border-2: rgba(255, 255, 255, 0.16);
  --text: #ececf3;
  --muted: #9494ad;
  --brand-start: #ff8c00;
  --brand-end: #ffd700;
  --grad: linear-gradient(135deg, var(--brand-start), var(--brand-end));
  --grad-h: linear-gradient(90deg, var(--brand-start), var(--brand-end));
  --font-body: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.7);
  --container: 1180px;
  --ease: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(800px 500px at 80% -5%, rgba(255, 140, 0, 0.12), transparent 60%),
    radial-gradient(700px 500px at 5% 10%, rgba(255, 215, 0, 0.06), transparent 55%),
    linear-gradient(180deg, var(--bg-2), var(--bg) 40%);
}

h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; font-weight: 700; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
button { font: inherit; cursor: pointer; color: inherit; border: none; background: none; }
input { font: inherit; }
svg { width: 1em; height: 1em; display: block; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 22px; }
.muted { color: var(--muted); }
.accent { color: var(--brand-end); }

/* ─── Buttons ────────────────────────────────────────────────────────── */
.btn {
  --pad-y: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: var(--pad-y) 18px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.94rem;
  white-space: nowrap;
  transition: transform var(--ease), box-shadow var(--ease), background var(--ease), border-color var(--ease);
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn svg { width: 1.15em; height: 1.15em; }

.btn--buy {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--grad);
  color: #2a1500;
}
/* Flat at rest; on hover the button lifts with a warm brand glow and a light
   sheen sweeps across. The sheen sits above the gradient but below the label
   (z-index:-1 within the button's own stacking context via isolation). */
.btn--buy::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.5) 50%, transparent 70%);
  transform: translateX(-130%);
  transition: transform 0.6s ease;
}
.btn--buy:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -10px rgba(255, 160, 0, 0.65); }
.btn--buy:hover::before { transform: translateX(130%); }
.btn--buy:active { transform: translateY(0) scale(0.99); }

.btn--ghost { background: var(--surface); border: 1px solid var(--border-2); color: var(--text); }
/* Lively but secondary to the buy CTA: lifts with an accent-tinted fill, an accent
   border and a soft accent glow. Uses the card's --accent (each privilege/misc colour),
   falling back to brand orange where no card accent is set (virts, promo button). */
.btn--ghost:hover {
  transform: translateY(-2px);
  background: color-mix(in srgb, var(--accent, var(--brand-start)) 14%, var(--surface-2));
  border-color: var(--accent, var(--brand-start));
  box-shadow: 0 8px 20px -12px color-mix(in srgb, var(--accent, var(--brand-start)) 70%, transparent);
}
.btn--ghost:active { transform: translateY(0) scale(0.99); }

.btn--block { width: 100%; }
.btn--sm { --pad-y: 7px; padding-inline: 12px; font-size: 0.85rem; }

.btn.is-copied { color: var(--brand-end); border-color: var(--brand-end); }

/* ─── Header ─────────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(8, 8, 13, 0.72);
  border-bottom: 1px solid var(--border);
}
.site-header__inner { display: flex; align-items: center; gap: 22px; height: 70px; }
.site-header__side { display: flex; align-items: center; gap: 14px; margin-left: auto; }

.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; }
.brand__mark { display: block; width: 34px; height: 34px; }
.brand__text { font-family: var(--font-display); font-size: 1.12rem; letter-spacing: 0.5px; }

.nav { display: flex; gap: 4px; }
.nav a {
  padding: 8px 14px;
  border-radius: 10px;
  color: var(--muted);
  font-weight: 500;
  transition: color var(--ease), background var(--ease);
}
.nav a:hover { color: var(--text); background: var(--surface); }

.burger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.burger span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: var(--ease); }

/* ─── Socials ────────────────────────────────────────────────────────── */
.socials { display: inline-flex; align-items: center; gap: 8px; }
.social {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--muted);
  transition: color var(--ease), background var(--ease), border-color var(--ease), transform var(--ease);
}
.social svg { width: 19px; height: 19px; }
.social:hover { color: #fff; transform: translateY(-2px); }
.social--discord:hover { background: #5865f2; border-color: #5865f2; }
.social--telegram:hover { background: #229ed9; border-color: #229ed9; }
.social--vk:hover { background: #0077ff; border-color: #0077ff; }

/* ─── Hero ───────────────────────────────────────────────────────────── */
.hero { padding: clamp(26px, 5vw, 52px) 0 0; }
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(264px, 30%, 344px);
  gap: 22px;
  align-items: stretch;
}
.hero__banner {
  position: relative;
  width: 100%;            /* pin width to the grid column so a tall socials row
                             can't make aspect-ratio over-widen the banner onto it */
  min-width: 0;
  aspect-ratio: 1.95 / 1;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}
.hero__img { width: 100%; height: 100%; object-fit: cover; display: block; }

.hero__socials { display: flex; flex-direction: column; gap: 16px; }
/* «Будь в курсе» heading above the hero social buttons — tells visitors why to follow. */
.hero__follow { padding: 0 2px; }
.hero__follow-eyebrow { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-display); font-weight: 700; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; color: var(--brand-end); }
.hero__follow-eyebrow svg { width: 15px; height: 15px; }
.hero__follow-text { margin-top: 7px; font-size: 0.95rem; line-height: 1.5; color: var(--muted); }
.hero__follow-arrow { display: inline-flex; vertical-align: middle; margin-left: 3px; color: var(--brand-end); }
.hero__follow-arrow svg { width: 19px; height: 19px; }
.social-link {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 16px 18px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform var(--ease), background var(--ease), border-color var(--ease), box-shadow var(--ease);
}
.social-link:hover { transform: translateY(-3px); background: var(--surface-2); }
.social-link__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  transition: background var(--ease), color var(--ease);
}
.social-link__icon svg { width: 26px; height: 26px; }
.social-link__name { font-family: var(--font-display); font-weight: 700; font-size: 1.06rem; min-width: 0; }
.social-link__arrow { margin-left: auto; color: var(--muted); transition: transform var(--ease), color var(--ease); }
.social-link__arrow svg { width: 20px; height: 20px; }
.social-link:hover .social-link__arrow { transform: translateX(3px); color: var(--text); }

/* Brand-colored icon backgrounds by default; the card just lifts + glows on hover. */
.social-link--discord .social-link__icon { background: #5865f2; color: #fff; }
.social-link--telegram .social-link__icon { background: #229ed9; color: #fff; }
.social-link--vk .social-link__icon { background: #0077ff; color: #fff; }
.social-link--discord:hover { border-color: #5865f2; box-shadow: 0 16px 34px -18px #5865f2; }
.social-link--telegram:hover { border-color: #229ed9; box-shadow: 0 16px 34px -18px #229ed9; }
.social-link--vk:hover { border-color: #0077ff; box-shadow: 0 16px 34px -18px #0077ff; }

/* ─── Server IP pill (header) ────────────────────────────────────────── */
.ip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 6px 6px 14px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: background var(--ease), border-color var(--ease), transform var(--ease);
}
.ip:hover { background: var(--surface-2); border-color: var(--brand-start); transform: translateY(-1px); }
.ip:active { transform: translateY(0); }
.ip__label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--muted);
}
.ip__addr {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
  white-space: nowrap;
}
.ip__copy {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  transition: color var(--ease), background var(--ease);
}
.ip__copy svg { width: 16px; height: 16px; }
.ip:hover .ip__copy { color: var(--text); }
.ip__ico--done { display: none; }
.ip.is-copied { border-color: #2ecc71; }
.ip.is-copied .ip__copy { color: #2ecc71; }
.ip.is-copied .ip__ico--copy { display: none; }
.ip.is-copied .ip__ico--done { display: block; }

/* ─── Sections ───────────────────────────────────────────────────────── */
.section { padding: clamp(48px, 8vw, 92px) 0; }
.section--alt { background: linear-gradient(180deg, rgba(255, 255, 255, 0.015), transparent); border-block: 1px solid var(--border); }
#misc { border-bottom: 0; } /* last section before footer: drop bottom rule so it doesn't double the footer's line */
.section__head { max-width: 640px; margin-bottom: 40px; }
.section__title { font-size: clamp(1.7rem, 4vw, 2.6rem); width: fit-content; }
.section__title::after { content: ""; display: block; height: 4px; border-radius: 4px; background: var(--grad); margin-top: 14px; }
.section__sub { margin-top: 18px; color: var(--muted); font-size: 1.02rem; }

.grid { display: grid; gap: 20px; }
.grid--priv { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.grid--case { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }

/* ─── Card base ──────────────────────────────────────────────────────── */
.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}
/* ─── Privilege card (case layout + accent bar) ──────────────────────────── */
.priv { overflow: hidden; }
.priv::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: var(--accent);
}

/* ─── Case card ──────────────────────────────────────────────────────── */
.case { display: flex; flex-direction: column; text-align: left; }
.case__name { font-size: 1.22rem; text-align: center; }
.case__icon { display: block; width: 128px; height: 128px; object-fit: contain; margin: 14px auto 4px; }
.case__buy { display: flex; flex-direction: column; gap: 14px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--border); }
.case__total { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; text-align: left; }
.case__discount { display: inline-block; margin-left: 8px; font-family: var(--font-body); font-weight: 600; font-size: 0.74rem; color: #2ecc71; }
.case__discount[hidden] { display: none; }
.case__qty { display: flex; gap: 8px; }
.case__qty .chip { flex: 1; padding: 9px 4px; text-align: center; }
.case .btn--buy { margin-top: 14px; }
/* Case actions row (Подробнее + Купить) sits right under the qty block — give it
   the same 14px the standalone buy button had (its buttons zero their own margin). */
.case__buy + .card__actions { margin-top: 14px; }

/* ─── Card footer (price + buy), shared by privilege & misc ──────────────── */
.card__foot { display: flex; flex-direction: column; gap: 14px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--border); }
.card__foot .case__total { text-align: center; }
/* Actions row: «Подробнее» sizes to its label, «Купить» fills the rest.
   margin:0 cancels the case-card's `.case .btn--buy { margin-top }`, which would
   otherwise leak in here (the privilege/misc cards are `.case` too) and offset
   the buy button below «Подробнее». */
.card__actions { display: flex; gap: 10px; }
/* Both buttons split the row 50/50 (flex:1) so «Купить» never outgrows «Подробнее».
   The slightly smaller font + tighter inline padding shrink «Подробнее»'s min-content
   enough to fit half of even the narrowest card, keeping the pair visually equal at
   every width. All buy labels are short (the virts button is just «Купить» too). */
.card__actions .btn { flex: 1; margin: 0; font-size: 0.86rem; padding-inline: 8px; }

/* ─── Virts ──────────────────────────────────────────────────────────── */
.virt { display: grid; grid-template-columns: 1.5fr 1fr; gap: 30px; padding: 30px; }
.virt__main { display: flex; flex-direction: column; }
.virt__display { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.virt__amount { display: inline-flex; align-items: baseline; gap: 10px; }
.virt__number {
  width: 5.5ch;
  max-width: 100%;
  background: none;
  border: none;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.2rem, 7vw, 3.4rem);
  -moz-appearance: textfield;
}
.virt__number::-webkit-outer-spin-button, .virt__number::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.virt__number:focus { outline: none; }
.virt__unit { font-family: var(--font-display); font-size: 1.1rem; color: var(--muted); }
.virt__rub { font-size: 1rem; display: flex; align-items: center; gap: 10px; }
.virt__badge { padding: 3px 10px; border-radius: 999px; background: rgba(46, 204, 113, 0.15); color: #2ecc71; font-weight: 700; font-size: 0.8rem; }

.virt__slider { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 999px; margin: 26px 0 22px; cursor: pointer; background: linear-gradient(90deg, var(--brand-start), var(--brand-end)) no-repeat, rgba(255, 255, 255, 0.1); background-size: var(--fill, 50%) 100%, 100% 100%; }
.virt__slider::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 4px solid var(--brand-start); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5); transition: transform var(--ease); }
.virt__slider::-webkit-slider-thumb:hover { transform: scale(1.12); }
.virt__slider::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 4px solid var(--brand-start); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5); }

.virt__presets { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--muted);
  font-weight: 600;
  font-size: 0.88rem;
  transition: var(--ease);
}
.chip:hover { color: var(--text); border-color: var(--brand-start); }
.chip.is-active { background: var(--grad); color: #2a1500; border-color: transparent; }

.virt__side { display: flex; flex-direction: column; gap: 16px; background: rgba(0, 0, 0, 0.22); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.virt__breakdown { display: flex; flex-direction: column; gap: 10px; }
.virt__breakdown > div { display: flex; justify-content: space-between; align-items: center; font-size: 0.94rem; color: var(--muted); }
.virt__breakdown b { color: var(--text); font-size: 1rem; }
.virt__total { padding-top: 12px; border-top: 1px solid var(--border); }
.virt__total span { color: var(--text); font-weight: 600; }
.virt__total b { font-family: var(--font-display); font-size: 1.4rem; color: var(--brand-end); }

/* ─── Footer ─────────────────────────────────────────────────────────── */
.site-footer { border-top: 1px solid var(--border); padding: 48px 0 30px; margin-top: 20px; }
.site-footer__inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; flex-wrap: wrap; }
.brand--footer { margin-bottom: 10px; }
.site-footer__contact { color: var(--muted); font-size: 0.9rem; }
.site-footer__contact strong { font-weight: 600; color: var(--text); transition: color var(--ease); }
.site-footer__contact:hover strong { color: var(--brand-end); }
.site-footer .socials { margin-top: 14px; }
.site-footer__legal { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--border); font-size: 0.84rem; }
.site-footer__links { display: flex; gap: 20px; flex-wrap: wrap; }
.foot-link { color: var(--muted); cursor: pointer; transition: color var(--ease); }
.foot-link:hover { color: var(--brand-end); }

/* ─── Modal & forms ──────────────────────────────────────────────────── */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.7); backdrop-filter: blur(4px); animation: fade var(--ease); }
.modal__dialog {
  position: relative;
  width: 100%;
  max-width: 440px;
  max-height: 90vh;
  overflow-y: auto;
  background: linear-gradient(180deg, #15151f, #0e0e16);
  border: 1px solid var(--border-2);
  border-radius: 22px;
  padding: 30px;
  box-shadow: var(--shadow);
  animation: pop 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(0.97); } }
.modal__close { position: absolute; top: 16px; right: 16px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; color: var(--muted); transition: var(--ease); }
.modal__close:hover { background: var(--surface-2); color: var(--text); }

.buy__head { margin-bottom: 22px; }
.buy__eyebrow { font-size: 0.8rem; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; }
.buy__title { font-size: 1.4rem; margin-top: 6px; }
.field { display: block; }
.buy .field + .field { margin-top: 16px; }
.field__label { display: block; font-size: 0.88rem; color: var(--muted); margin-bottom: 8px; }
.field__opt { color: var(--muted); font-weight: 400; }
.field__input {
  width: 100%;
  padding: 13px 15px;
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-2);
  color: var(--text);
  transition: border-color var(--ease);
}
.field__input:focus { outline: none; border-color: var(--brand-start); }
.field__hint { display: block; margin-top: 8px; font-size: 0.8rem; color: var(--muted); }
.field__hint[hidden] { display: none; }
.field__hint.is-error { color: #ff6b6b; }
.field__hint.is-ok { color: #2ecc71; }
.buy__upgrade { margin: 0 0 12px; font-size: 0.85rem; color: var(--muted); }
.buy__upgrade[hidden] { display: none; }
.buy__upgrade.is-error { color: #ff6b6b; }

/* Promo code: input + “Применить” button on one row. */
.field__row { display: flex; gap: 10px; align-items: stretch; }
.field__row .field__input { flex: 1; min-width: 0; }
.field__row .btn { flex: none; padding-inline: 16px; white-space: nowrap; }

.buy__summary { margin: 22px 0 18px; padding: 14px 18px; border-radius: var(--radius-sm); background: rgba(255, 140, 0, 0.08); border: 1px solid color-mix(in srgb, var(--brand-start) 30%, transparent); }
.buy__line { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.buy__line[hidden] { display: none; }
.buy__line span { color: var(--muted); }
.js-promo-line:not([hidden]) + .buy__line--total { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--border); }
.buy__line--total strong { font-family: var(--font-display); font-size: 1.5rem; color: var(--brand-end); }
.js-promo-off { color: #2ecc71; font-weight: 600; white-space: nowrap; }
.buy__soon { margin-top: 14px; padding: 12px 14px; border-radius: var(--radius-sm); background: rgba(255, 140, 0, 0.08); border: 1px solid color-mix(in srgb, var(--brand-start) 30%, transparent); color: var(--brand-end); font-size: 0.88rem; text-align: center; }

/* ─── Details modal («Подробнее») ────────────────────────────────────── */
.modal__dialog--info { max-width: 540px; }
.info__head { display: flex; align-items: center; gap: 16px; padding-bottom: 20px; margin-bottom: 22px; border-bottom: 1px solid var(--border); }
.info__icon { flex: none; width: 76px; height: 76px; object-fit: contain; }
.info__heading { min-width: 0; }
.info__eyebrow { font-size: 0.76rem; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); }
.info__title { font-size: 1.5rem; margin-top: 2px; }
.info__price { margin-top: 4px; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--accent, var(--brand-end)); }
.info__lead { color: var(--muted); margin-bottom: 20px; }
.info code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.85em; padding: 2px 7px; border-radius: 7px; background: rgba(0, 0, 0, 0.35); border: 1px solid var(--border-2); color: var(--accent, var(--brand-end)); white-space: nowrap; }

.info__section + .info__section { margin-top: 24px; }
.info__subtitle { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.2px; color: var(--muted); }
.info__subtitle::after { content: ""; flex: 1; height: 1px; background: var(--border); }

/* Capabilities — icon chips + label */
.info__perks { display: flex; flex-direction: column; gap: 11px; }
.info__perks li { display: flex; align-items: center; gap: 13px; }
.info__ico { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: color-mix(in srgb, var(--accent, var(--brand-start)) 16%, transparent); color: var(--accent, var(--brand-end)); }
.info__ico svg { width: 19px; height: 19px; }

/* Commands — description + monospace command chip */
.info__cmds { display: flex; flex-direction: column; gap: 9px; }
/* wrap so a wide chip (e.g. /setwarp <название>) drops to its own line on very
   narrow screens instead of overflowing; margin-left:auto keeps it right-aligned
   whether it shares the row or wraps below the label. */
.info__cmds li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.info__cmd-label { color: var(--text); }
.info__cmds code { flex: none; margin-left: auto; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.8rem; padding: 3px 9px; border-radius: 8px; background: rgba(0, 0, 0, 0.35); border: 1px solid var(--border-2); color: var(--accent, var(--brand-end)); white-space: nowrap; }
.info__inherit { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 0.88rem; color: var(--muted); }
.info__inherit svg { width: 15px; height: 15px; color: var(--accent, var(--brand-end)); }

/* Feature cards (battle pass) */
.info__features { display: flex; flex-direction: column; gap: 10px; }
.feature { padding: 13px 16px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--accent, var(--brand-start)); }
.feature__title { font-weight: 700; }
.feature__text { margin-top: 3px; color: var(--muted); font-size: 0.9rem; }

/* Notes (unban / unmute) */
.info__notes { display: flex; flex-direction: column; gap: 12px; }
.info__notes li { display: flex; align-items: flex-start; gap: 11px; color: var(--muted); }
.info__notes li svg { flex: none; width: 18px; height: 18px; margin-top: 3px; color: var(--accent, var(--brand-end)); }

/* Bonus ladder (virts «Бонус» modal): «от X ₽» … «+Y%» rows */
.info__tiers { display: flex; flex-direction: column; }
.info__tiers li { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 10px 2px; border-bottom: 1px solid var(--border); }
.info__tiers li:last-child { border-bottom: 0; }
.info__tier-from { color: var(--muted); }
.info__tier-pct { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--accent, var(--brand-end)); }

/* ─── Legal pages (privacy / agreement) ──────────────────────────────── */
.legal { padding-top: clamp(30px, 6vw, 52px); }
.legal__wrap { max-width: 820px; margin: 0 auto; }

.legal__back {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--muted); font-size: 0.9rem; font-weight: 500;
  margin-bottom: 20px; transition: color var(--ease);
}
.legal__back:hover { color: var(--brand-end); }
.legal__back-ico { transition: transform var(--ease); }
.legal__back:hover .legal__back-ico { transform: translateX(-3px); }

.legal__head { margin-bottom: 34px; padding-bottom: 26px; border-bottom: 1px solid var(--border); }
.legal__eyebrow { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 1.6px; color: var(--muted); }
.legal__title {
  margin-top: 12px;
  font-size: clamp(1.9rem, 5vw, 3rem);
  width: fit-content; max-width: 100%;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.legal__note { margin-top: 16px; color: var(--muted); font-size: 1.02rem; max-width: 62ch; }

.legal__body { font-size: 0.98rem; color: #c8c8d8; }
.legal__body h2 {
  margin: 38px 0 16px;
  font-size: clamp(1.12rem, 2.4vw, 1.4rem);
  color: var(--text); scroll-margin-top: 88px;
  width: fit-content; max-width: 100%;
}
.legal__body h2::after {
  content: ""; display: block; height: 3px; border-radius: 3px;
  background: var(--grad); margin-top: 10px;
}
.legal__body > h2:first-child, .legal__body > .legal-callout:first-child + h2 { margin-top: 0; }
.legal__body p { margin-bottom: 14px; line-height: 1.72; }
.legal__body a {
  color: var(--brand-end); text-decoration: underline; text-underline-offset: 2px;
  text-decoration-color: rgba(255, 215, 0, 0.4); overflow-wrap: anywhere;
  transition: text-decoration-color var(--ease);
}
.legal__body a:hover { text-decoration-color: var(--brand-end); }

/* Rule groups in the agreement (Правила игры): each rule is a tight block —
   rule text + its ❗ penalty / ➥ notes, all in the normal body text style. */
.legal__body .rule { margin: 0 0 14px; }
.legal__body .rule p { margin: 0 0 4px; }
.legal__body .rule p:last-child { margin-bottom: 0; }

.legal-callout {
  padding: 16px 18px; margin-bottom: 24px;
  border-radius: var(--radius-sm);
  background: rgba(255, 140, 0, 0.08);
  border: 1px solid color-mix(in srgb, var(--brand-start) 30%, transparent);
  border-left-width: 3px;
  color: var(--text); font-weight: 600; line-height: 1.6; font-size: 0.92rem;
}

/* placeholder where the operator's requisites will go (user fills in later) */
.legal-todo {
  display: inline-block; padding: 1px 8px; border-radius: 6px;
  background: rgba(255, 215, 0, 0.12);
  border: 1px dashed color-mix(in srgb, var(--brand-end) 45%, transparent);
  color: var(--brand-end); font-weight: 600; font-size: 0.92em;
}

/* ─── Responsive ─────────────────────────────────────────────────────── */
@media (max-width: 860px) {
  .nav { display: none; }
  .burger { display: flex; }
  .site-header.is-open .nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 70px; left: 0; right: 0;
    padding: 12px 22px 20px;
    background: rgba(8, 8, 13, 0.96);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
  }
  .site-header.is-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .site-header.is-open .burger span:nth-child(2) { opacity: 0; }
  .site-header.is-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .virt { grid-template-columns: 1fr; gap: 24px; padding: 22px; }
  .hero__grid { grid-template-columns: 1fr; gap: 16px; }
}

@media (max-width: 520px) {
  .site-header__inner { gap: 12px; }
  .ip { gap: 8px; padding-left: 11px; }
  .ip__label { display: none; }
  .modal__dialog { padding: 24px 20px; }
}

@media (max-width: 440px) {
  .site-header .brand__text { display: none; }
}

/* Smallest phones (≤360, down to 320): the header's logo + IP pill (mc.virtusmine.fun,
   non-shrinking) + burger were ~20px too wide for a 320 viewport. Trim the gutter, the
   header gap and the IP address font so the three fit on one row. */
@media (max-width: 360px) {
  .container { padding-inline: 16px; }
  .site-header__inner { gap: 8px; }
  .ip__addr { font-size: 0.86rem; }
  /* trim the virts card's nested padding so its action row is wide enough for
     «Подробнее» + «Купить» to stay equal halves on the smallest phones. */
  .virt, .virt__side { padding: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; transition: none !important; }
}
