/* ==========================================================================
   Atlantis — магазин сервера Minecraft
   ========================================================================== */

@font-face { font-family: Montserrat; font-style: normal; font-weight: 400 900; font-display: swap; src: url(../fonts/montserrat-cyrillic.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: Montserrat; font-style: normal; font-weight: 400 900; font-display: swap; src: url(../fonts/montserrat-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Montserrat; font-style: normal; font-weight: 400 900; font-display: swap; src: url(../fonts/montserrat-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Montserrat Categories"; font-style: normal; font-weight: 400 900; font-display: swap; src: url(../fonts/montserrat-categories-cyrillic.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: Pixel; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../fonts/pixelify-cyrillic.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: Pixel; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../fonts/pixelify-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+20A0-20C4; }
@font-face { font-family: Pixel; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../fonts/pixelify-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F; }

:root {
  --bg: #0b090b;
  --bg-2: #0f0c0f;
  --surface: #151114;
  --surface-2: #1b1519;
  --surface-3: #231b20;
  --line: rgba(255, 228, 240, .07);
  --line-2: rgba(255, 228, 240, .12);
  --line-3: rgba(255, 228, 240, .2);
  --text: #f7f1f4;
  --text-2: #d5c9cf;
  --muted: #a3949c;
  --dim: #75676e;
  --pink: #ff2e74;
  --pink-hi: #ff4d89;
  --pink-lo: #d9165b;
  --pink-deep: #7a0f37;
  --pink-ink: #ff8db1;
  --green: #4be08b;
  --gold: #ffc23d;
  --red: #ff4b5c;

  --r-xs: 8px;
  --r-sm: 10px;
  --r: 14px;
  --r-lg: 20px;
  --r-xl: 28px;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);

  --gutter: clamp(16px, 3.2vw, 40px);
  --max: 1480px;
  --hdr-h: 84px;
  --font: Montserrat, "Segoe UI", system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr-h) + 16px); }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font: 500 15px/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
img, svg, canvas, picture { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--pink-ink); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--pink); color: #fff; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.i { width: 20px; height: 20px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.i--fill { fill: currentColor; stroke: none; }

.container { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.section { padding-block: clamp(56px, 7vw, 104px) 0; }

.skip { position: fixed; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: var(--r-sm); background: var(--pink); color: #fff; font-weight: 700; transition: top .2s; }
.skip:focus { top: 12px; }

/* Фон: ровный тёмный с лёгким светом сверху — без анимации и шума */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background: radial-gradient(110% 60% at 50% -8%, #1a1218, transparent 62%);
}

/* ---------- Type ---------- */
.h2 { font-size: clamp(26px, 2.6vw, 36px); line-height: 1.08; font-weight: 800; letter-spacing: -.025em; }
.kicker { display: inline-flex; align-items: center; gap: 8px; color: var(--pink-ink); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.kicker--gold { color: var(--gold); }
.section__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 40px; margin-bottom: clamp(28px, 3.5vw, 44px); }
.section__sub { color: var(--muted); font-size: clamp(15px, 1.25vw, 17px); max-width: 520px; }

/* ---------- Buttons ---------- */
.btn {
  --b-bg: rgba(255, 255, 255, .06);
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 46px;
  padding: 0 20px;
  border-radius: 12px;
  background: var(--b-bg);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  transition: background-color .2s, box-shadow .2s, transform .2s var(--ease), color .2s, border-color .2s;
}
.btn .i { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn:hover .i:last-child:not(.btn__swap .i) { transform: translateX(3px); }
.btn--primary { --b-bg: var(--pink); color: #fff; }
.btn--primary:hover { --b-bg: var(--pink-hi); }
.btn--primary:active { transform: translateY(1px); transition-duration: .06s; }
.btn--glass { --b-bg: rgba(20, 14, 18, .42); color: #fff; border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); }
.btn--glass:hover { --b-bg: rgba(255, 255, 255, .14); }
.btn--ghost { border: 1px solid var(--line-2); }
.btn--ghost:hover { --b-bg: rgba(255, 255, 255, .1); border-color: var(--line-3); }
.btn--lg { height: 54px; padding: 0 24px; font-size: 15px; border-radius: 14px; }
.btn--xl { height: 60px; padding: 0 28px; font-size: 16px; border-radius: 16px; }
.btn--wide { width: 100%; }
.btn--sm { height: 40px; padding: 0 14px; font-size: 13px; border-radius: 10px; gap: 6px; }

/* copy icon ↔ check swap */
.btn__swap { position: relative; width: 18px; height: 18px; display: inline-block; }
.btn__swap .i { position: absolute; inset: 0; transition: transform .35s var(--ease-spring), opacity .2s; }
.btn__swap .i:last-child { opacity: 0; transform: scale(.4) rotate(-30deg); }
.is-copied .btn__swap .i:first-child { opacity: 0; transform: scale(.4) rotate(30deg); }
.is-copied .btn__swap .i:last-child { opacity: 1; transform: none; }

.go {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 44px;
  height: 44px;
  padding-left: 12px;
  border-radius: 13px;
  background: rgba(255, 255, 255, .18);
  border: 1px solid rgba(255, 255, 255, .12);
  color: #fff;
  transition: width .3s var(--ease), padding-left .3s var(--ease), background-color .2s;
}
.go .i { width: 19px; height: 19px; }

/* ---------- Chips & live dot ---------- */
.chip { display: inline-flex; align-items: center; gap: 9px; height: 34px; padding: 0 14px; border-radius: 99px; font-size: 13px; font-weight: 700; }
.chip--glass { background: rgba(15, 10, 13, .45); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: #fff; }
.live-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px rgba(75, 224, 139, .8); flex-shrink: 0; }
.live-dot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: inherit; animation: ping 2s var(--ease) infinite; }
.is-offline .live-dot, .live-dot.is-offline { background: var(--red); box-shadow: 0 0 10px rgba(255, 75, 92, .7); }
@keyframes ping { 0% { transform: scale(1); opacity: .7; } 80%, 100% { transform: scale(2.8); opacity: 0; } }

/* ==========================================================================
   Header
   ========================================================================== */
.hdr {
  position: sticky;
  top: 0;
  z-index: 50;
  padding-top: 14px;
  animation: hdr-in .76s var(--ease) both;
}
.hdr__bar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  height: 64px;
  padding: 0 4px;
  border-radius: 20px;
  transition: background-color .35s var(--ease), padding .35s var(--ease), box-shadow .35s var(--ease), width .35s var(--ease), border-color .35s;
  border: 1px solid transparent;
}
.hdr.is-scrolled .hdr__bar {
  padding: 0 10px 0 16px;
  background: rgba(17, 12, 15, .72);
  border-color: var(--line-2);
  box-shadow: 0 18px 40px -20px rgba(0, 0, 0, .8);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
}
.hdr__brand, .online-pill, .hdr__nav, .hdr__actions { animation: hdr-item-in .7s var(--ease) both; }
.online-pill { animation-delay: .08s; }
.hdr__nav { animation-delay: .14s; }
.hdr__actions { animation-delay: .2s; }
@keyframes hdr-in { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: none; } }
@keyframes hdr-item-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

.hdr__brand { flex-shrink: 0; display: block; width: 146px; transition: opacity .25s; }
.hdr__brand:hover { opacity: .85; }
.hdr__brand img { width: 100%; }

.online-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 14px;
  border-radius: 99px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--line-2);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
}
/* Original player-group icon from the ArtyGrief header. */
.online-pill__icon { width: 18px; height: 18px; flex-shrink: 0; }
.online-pill.is-offline .online-pill__icon { color: var(--red); }
.online-pill b { color: var(--text); font-variant-numeric: tabular-nums; letter-spacing: 0; }

.hdr__nav { position: relative; display: flex; align-items: center; gap: 2px; margin: 0 auto; }
.hdr__nav a {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 14px;
  border-radius: 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color .25s;
}
.hdr__nav .i { width: 17px; height: 17px; opacity: .8; transition: opacity .25s, transform .25s; }
.hdr__nav a[aria-disabled="true"] { cursor: default; }
.hdr__nav a:hover, .hdr__nav a.is-active { color: #fff; }
.hdr__nav a:hover .i { opacity: 1; transform: translateY(-1px); }
.hdr__nav a.is-active .i { opacity: 1; }
/* плашка под активной вкладкой: переезжает только при смене раздела, без пружины */
.hdr__ind, .hdr__hover {
  position: absolute;
  left: 0;
  top: 50%;
  width: 0;
  height: 38px;
  margin-top: -19px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .07);
  opacity: 0;
  pointer-events: none;
  transition: transform .35s cubic-bezier(.4, 0, .2, 1), width .35s cubic-bezier(.4, 0, .2, 1), opacity .2s;
}
.hdr__ind.is-instant { transition: none; }
/* Hover motion runs independently of the selected section. */
.hdr__hover { transition: none; }
.hdr__nav.is-hovering .hdr__ind { visibility: hidden; }

.hdr__actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.btn--ip { height: 44px; padding: 0 16px; border-radius: 13px; gap: 10px; }
.btn--ip__text { font-weight: 800; letter-spacing: .01em; }

.burger { display: none; position: relative; width: 44px; height: 44px; border-radius: 12px; background: rgba(255, 255, 255, .07); border: 1px solid var(--line-2); }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: var(--text); transition: transform .35s var(--ease), top .35s var(--ease); }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* mobile sheet */
.sheet {
  position: fixed;
  inset: 0;
  z-index: 45;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: calc(var(--hdr-h) + 24px) var(--gutter) calc(24px + env(safe-area-inset-bottom));
  background: rgba(11, 9, 11, .94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.sheet.is-open { opacity: 1; }
.sheet[hidden] { display: none; }
.sheet__nav a[aria-disabled="true"] { cursor: default; }
.sheet__nav a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: clamp(28px, 8vw, 40px);
  font-weight: 900;
  letter-spacing: -.03em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .45s var(--ease), transform .45s var(--ease), color .2s;
}
.sheet__nav a span { font-size: 12px; color: var(--pink-ink); letter-spacing: .1em; }
.sheet.is-open .sheet__nav a { opacity: 1; transform: none; }
.sheet.is-open .sheet__nav a:nth-child(2) { transition-delay: .04s; }
.sheet.is-open .sheet__nav a:nth-child(3) { transition-delay: .08s; }
.sheet.is-open .sheet__nav a:nth-child(4) { transition-delay: .12s; }
.sheet.is-open .sheet__nav a:nth-child(5) { transition-delay: .16s; }
.sheet.is-open .sheet__nav a:nth-child(6) { transition-delay: .2s; }
.sheet__foot { display: grid; gap: 14px; }
.sheet__social { display: flex; gap: 10px; }
.sheet__social a { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line-2); }
.sheet__social .i { width: 22px; height: 22px; }

/* IP box (used in sheet & steps) */
.ipbox {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2px 16px;
  width: 100%;
  padding: 14px 16px 14px 18px;
  border-radius: 16px;
  background: var(--surface-2);
  border: 1px solid var(--line-2);
  text-align: left;
  transition: border-color .2s, background-color .2s;
}
.ipbox:hover { border-color: rgba(255, 46, 116, .45); background: #1f171c; }
.ipbox__label { grid-column: 1; color: var(--muted); font-size: 12px; font-weight: 600; }
.ipbox__value { grid-column: 1; font-size: 20px; font-weight: 800; letter-spacing: -.01em; }
.ipbox__icon, .ipbox__cta { grid-column: 2; grid-row: 1 / span 2; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 12px; background: var(--pink); color: #fff; font-size: 13px; font-weight: 800; box-shadow: 0 3px 0 var(--pink-deep); transition: transform .15s; }
.ipbox__icon { width: 44px; height: 44px; }
.ipbox__cta { height: 44px; padding: 0 16px; }
.ipbox:active .ipbox__icon, .ipbox:active .ipbox__cta { transform: translateY(3px); box-shadow: none; }
.ipbox.is-copied .ipbox__icon, .ipbox.is-copied .ipbox__cta { background: var(--green); box-shadow: 0 3px 0 #1d7a47; color: #062612; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 2.3fr) minmax(0, 1fr);
  gap: 18px;
  height: clamp(440px, 37vw, 560px);
  margin-top: 18px;
}
.banner {
  --px: 0;
  --py: 0;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, .08);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9);
  transform: translateZ(0);
}
.banner--main { background: #0a0609; animation: banner-in 1.1s var(--ease-out) both; }
@keyframes banner-in { from { opacity: 0; transform: translateY(24px) scale(.985); } to { opacity: 1; transform: none; } }

/* Главный баннер магазина: размытый фон + свечение + персонаж отдельным слоем (глубина при движении мыши) */
.hero-scene { position: absolute; inset: 0; z-index: -3; overflow: hidden; }
.hero-scene__back {
  position: absolute;
  inset: -6%;
  width: 112%;
  height: 112%;
  max-width: none;
  object-fit: cover;
  object-position: 100% 70%;
  transform: translate3d(calc(var(--px) * -10px), calc(var(--py) * -7px), 0);
  animation: back-in 2s var(--ease-out) both;
}
@keyframes back-in { from { opacity: 0; scale: 1.12; } to { opacity: 1; scale: 1; } }
.hero-scene__glow {
  position: absolute;
  right: 6%;
  bottom: -22%;
  width: 50%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 46, 140, .3), rgba(255, 46, 140, .08) 55%, rgba(255, 46, 140, 0) 74%);
  transform: translate3d(calc(var(--px) * 5px), calc(var(--py) * 4px), 0);
}
.hero-scene__char { position: absolute; inset: 0 -18px -18px 0; }
.hero-scene__char img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 100% 100%;
  transform: translate3d(calc(var(--px) * 16px), calc(var(--py) * 10px), 0);
  transform-origin: 77% 100%;
  transition: scale .9s var(--ease);
  animation: char-in 1.5s var(--ease-out) .25s both;
}
.banner--main:hover .hero-scene__char img { scale: 1.025; }
@keyframes char-in { from { opacity: 0; translate: 70px 0; } to { opacity: 1; translate: 0 0; } }
.banner__shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(10, 6, 9, .9) 0%, rgba(10, 6, 9, .55) 30%, rgba(10, 6, 9, 0) 56%),
    linear-gradient(0deg, rgba(10, 6, 9, .5) 0%, rgba(10, 6, 9, 0) 26%);
}
.banner__copy {
  position: absolute;
  inset: 0 auto 0 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 18px;
  width: min(620px, 64%);
  padding: clamp(28px, 3.6vw, 56px);
  transform: translate3d(calc(var(--px) * 6px), calc(var(--py) * 4px), 0);
}
.hero__title { font-size: clamp(38px, 4.1vw, 64px); line-height: .98; font-weight: 900; letter-spacing: -.035em; }
.hero__title .line { display: block; overflow: hidden; padding: .04em 0 .06em; margin: -.04em 0 -.06em; }
.hero__title .line > span { display: block; animation: line-up 1s var(--ease-out) var(--d, 0s) both; }
@keyframes line-up { from { transform: translateY(105%); } to { transform: none; } }
.hero__lead { max-width: 430px; color: rgba(255, 245, 249, .8); font-size: clamp(16px, 1.3vw, 19px); font-weight: 600; line-height: 1.45; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.hero-in { animation: rise .9s var(--ease-out) var(--d, 0s) both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
/* IP-вкладка, приклеенная к левому нижнему углу баннера */
.banner__ip {
  position: absolute;
  left: 0;
  bottom: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 54px;
  padding: 0 22px 0 clamp(28px, 3.6vw, 56px);
  border-radius: 0 18px 0 0;
  background: rgba(10, 6, 9, .82);
  border-top: 1px solid rgba(255, 255, 255, .08);
  border-right: 1px solid rgba(255, 255, 255, .08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  transition: background-color .2s;
}
.banner__ip:hover { background: rgba(26, 17, 23, .9); }
.banner__ip .btn__swap { color: var(--muted); transition: color .2s; }
.banner__ip:hover .btn__swap { color: #fff; }
.banner__ip small { padding-left: 12px; border-left: 1px solid rgba(255, 255, 255, .12); color: var(--muted); font-size: 12px; font-weight: 600; }

/* kits banner */
.banner--kits {
  display: block;
  background:
    radial-gradient(120% 80% at 100% 100%, rgba(255, 150, 190, .5), transparent 55%),
    linear-gradient(150deg, #ff3b7d 0%, #e3175c 45%, #8e0d3d 100%);
  animation: banner-in 1.1s var(--ease-out) .12s both;
  cursor: pointer;
}
.banner--kits::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .22;
  background:
    repeating-linear-gradient(115deg, rgba(255, 255, 255, .0) 0 46px, rgba(255, 255, 255, .5) 46px 47px),
    radial-gradient(80% 60% at 0% 0%, rgba(255, 255, 255, .5), transparent 60%);
  mask-image: linear-gradient(180deg, #000, transparent 75%);
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 75%);
}
.banner--kits__glow { position: absolute; width: 70%; aspect-ratio: 1; right: -12%; bottom: -18%; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 220, 235, .45), transparent); filter: blur(10px); }
.banner--kits__copy { position: absolute; inset: 0 0 auto 0; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: clamp(24px, 2.4vw, 34px); z-index: 2; }
.banner__title { font-size: clamp(26px, 2.3vw, 36px); line-height: 1.02; font-weight: 900; letter-spacing: -.035em; color: #fff; text-shadow: 0 2px 20px rgba(120, 0, 40, .3); }
.banner__text { max-width: 260px; color: rgba(255, 255, 255, .88); font-size: 14px; line-height: 1.45; font-weight: 600; }
.banner--kits .go { margin-top: 6px; }
.banner--kits:hover .go, .banner--kits:focus-visible .go { width: 84px; padding-left: 36px; background: rgba(255, 255, 255, .28); }

@property --hx { syntax: "<length>"; inherits: false; initial-value: 0px; }
@property --hy { syntax: "<length>"; inherits: false; initial-value: 0px; }
.kits-fan { position: absolute; display: block; inset: auto 0 0 0; height: 62%; pointer-events: none; }
.kit-tile {
  --dx: -8px;
  --dy: -6px;
  position: absolute;
  display: block;
  width: 46%;
  aspect-ratio: 1;
  border-radius: 22px;
  overflow: hidden;
  border: 1.5px solid rgba(255, 255, 255, .28);
  box-shadow: 0 24px 40px -14px rgba(60, 0, 20, .7), inset 0 0 0 1px rgba(255, 255, 255, .06);
  transform: translate3d(calc(var(--px) * var(--dx) + var(--hx)), calc(var(--py) * var(--dy) + var(--hy)), 0);
  transition: --hx .8s var(--ease), --hy .8s var(--ease);
}
.kit-tile img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); }
.kit-tile--a { left: 6%; bottom: 10%; rotate: -11deg; }
.kit-tile--b { --dx: -14px; --dy: -10px; left: 30%; bottom: 20%; width: 52%; z-index: 2; rotate: 3deg; }
.kit-tile--c { --dx: -5px; --dy: -4px; right: 2%; bottom: 4%; width: 40%; rotate: 13deg; }
.banner--kits:hover .kit-tile--a { --hx: -16px; --hy: 4px; }
.banner--kits:hover .kit-tile--b { --hy: -14px; }
.banner--kits:hover .kit-tile--c { --hx: 14px; --hy: 2px; }
.kit-sale {
  position: absolute;
  right: 9%;
  top: 4%;
  z-index: 3;
  padding: 8px 12px;
  border-radius: 12px;
  background: #fff;
  color: var(--pink-lo);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -.03em;
  box-shadow: 0 10px 24px -8px rgba(80, 0, 30, .55);
  rotate: 8deg;
}

/* ---------- Лента последних покупок ---------- */
.feed {
  margin-top: 18px;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.feed__track { display: flex; width: max-content; animation: marquee var(--dur, 60s) linear infinite; transition: opacity .3s; }
.feed__track.is-swapping { opacity: 0; }
.feed:hover .feed__track { animation-play-state: paused; }
/* отступ у каждой карточки, а не gap: тогда два круга ленты ровно равны половинам */
.feed__item {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 64px;
  margin-right: 10px;
  padding: 0 20px 0 10px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  white-space: nowrap;
}
.feed__art { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 11px; background: rgba(255, 255, 255, .04); overflow: hidden; flex-shrink: 0; }
.feed__art img { width: 54px; height: 54px; max-width: none; object-fit: cover; }
.feed__art > .i { width: 20px; height: 20px; color: var(--pink-ink); }
.feed__art .pixart { width: 100%; height: 100%; background: none; }
.feed__art .pixart svg { width: 62%; filter: none; animation: none; }
.feed__text { display: grid; gap: 3px; line-height: 1.2; }
.feed__who { display: flex; gap: 8px; color: var(--muted); font-size: 12px; font-weight: 600; }
.feed__who span { color: var(--dim); }
.feed__what { display: flex; align-items: baseline; gap: 8px; color: var(--text); font-size: 14px; font-weight: 700; }
.feed__what b { color: var(--muted); font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   Shop
   ========================================================================== */
.shop { --shop-label-line: 21px; --shop-label-gap: 12px; display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 32px; align-items: start; padding-top: clamp(36px, 4.4vw, 64px); }
.shop > * { min-width: 0; }
.shop__main { padding-top: calc(var(--shop-label-line) + var(--shop-label-gap)); }
.shop__side { position: sticky; top: calc(var(--hdr-h) + 18px); display: grid; gap: 26px; }
.side-label { margin-bottom: var(--shop-label-gap); color: var(--muted); font-family: "Montserrat Categories", Montserrat, sans-serif; font-size: 14px; line-height: var(--shop-label-line); font-weight: 700; }
.cats { position: relative; display: grid; gap: 8px; }
.cat {
  --cat-pad: 16px;
  --cat-accent: rgba(255, 46, 116, .13);
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  height: 54px;
  padding: 0 12px 0 var(--cat-pad);
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--text-2);
  font-size: 15px;
  font-weight: 700;
  text-align: left;
  overflow: hidden;
  transition: padding-left .2s, color .2s, background .2s, border-color .2s, transform .2s;
}
.cat::before, .cat::after {
  content: "";
  position: absolute;
  top: 0;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s, transform .28s cubic-bezier(.2, .8, .25, 1.2);
}
.cat::before { z-index: 0; left: 0; width: 3px; border-radius: 0 6px 6px 0; background: var(--pink); transform: scaleY(.45); }
.cat::after { z-index: -1; left: 3px; right: 0; background: var(--cat-accent); transform-origin: left center; transform: scaleX(.72); }
.cat__name { flex: 1; }
.cat__count { min-width: 26px; height: 22px; padding: 0 7px; border-radius: 99px; background: rgba(255, 255, 255, .06); color: var(--muted); font-size: 12px; line-height: 22px; text-align: center; font-weight: 700; transition: background-color .2s, color .2s; }
.cat__thumb { width: 30px; height: 30px; border-radius: 9px; overflow: hidden; flex-shrink: 0; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.cat__thumb img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.35); }
.cat__thumb--icon { display: grid; place-items: center; background: rgba(255, 255, 255, .05); color: var(--muted); transition: background-color .2s, color .2s; }
.cat__thumb--icon .i { width: 17px; height: 17px; }
.cat.is-active { padding-left: calc(var(--cat-pad) + 4px); background: var(--cat-accent); color: var(--pink-ink); animation: category-hop .34s cubic-bezier(.2, .9, .25, 1.2); }
.cat.is-active::before, .cat.is-active::after { opacity: 1; transform: scale(1); }
.cat.is-active .cat__thumb { animation: category-icon-hop .38s cubic-bezier(.2, .9, .25, 1.2); }
.cat.is-active .cat__thumb--icon, .cat.is-active .cat__count { background: rgba(255, 46, 116, .18); color: var(--pink-ink); }
@media (hover: hover) and (pointer: fine) {
  .cat:hover { padding-left: calc(var(--cat-pad) + 4px); background: var(--cat-accent); color: var(--pink-ink); }
  .cat:hover::before, .cat:hover::after { opacity: 1; transform: scale(1); }
}
/* RichDay: движение кнопки и иконки с теми же фазами, длительностью и easing. */
@keyframes category-hop {
  0% { transform: translateY(0) scale(1); }
  42% { transform: translateY(-3px) scale(1.018); }
  to { transform: translateY(0) scale(1); }
}
@keyframes category-icon-hop {
  0% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-4px) scale(1.08); }
  to { transform: translateY(0) scale(1); }
}

.side-help { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 16px; background: var(--surface); border: 1px dashed var(--line-2); transition: border-color .2s, background-color .2s; }
.side-help:hover { border-color: rgba(42, 171, 238, .5); background: rgba(42, 171, 238, .06); }
.side-help__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(42, 171, 238, .14); color: #3db4f2; flex-shrink: 0; }
.side-help__icon .i { width: 19px; height: 19px; }
.side-help b { display: block; font-size: 14px; }
.side-help small { color: var(--muted); font-size: 12px; font-weight: 600; }
.side-help__arrow { margin-left: auto; width: 18px; height: 18px; color: var(--muted); transition: transform .3s var(--ease), color .2s; }
.side-help:hover .side-help__arrow { transform: translate(2px, -2px); color: #3db4f2; }

/* sale banner */
.sale {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  margin-bottom: 18px;
  padding: 14px 14px 14px 16px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 46, 116, .36);
  background: linear-gradient(90deg, rgba(255, 46, 116, .2) 0%, var(--surface) 62%);
  text-align: left;
  transition: border-color .25s, transform .3s var(--ease);
}
.sale:hover { border-color: rgba(255, 46, 116, .7); }
.sale__icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: rgba(255, 46, 116, .2); color: var(--pink-hi); flex-shrink: 0; }
.sale__text { display: grid; gap: 2px; min-width: 0; }
.sale__title { font-size: 17px; font-weight: 900; letter-spacing: .01em; text-transform: uppercase; }
.sale__sub { color: var(--muted); font-size: 13px; font-weight: 600; }
.sale__pct { margin-left: auto; padding: 7px 12px; border-radius: 10px; background: var(--pink); color: #fff; font-size: 18px; font-weight: 900; letter-spacing: -.02em; white-space: nowrap; }
.sale__go { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: rgba(255, 255, 255, .06); transition: background-color .2s, transform .3s var(--ease); }
.sale:hover .sale__go { background: rgba(255, 255, 255, .12); transform: translateX(3px); }

.shop__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 16px; }
.shop__title { font-size: clamp(26px, 2.4vw, 34px); line-height: 1.2; font-weight: 900; letter-spacing: -.03em; }
.shop__title sup { top: -1em; margin-left: 4px; color: var(--pink-ink); font-size: 14px; font-weight: 800; letter-spacing: 0; vertical-align: baseline; position: relative; }

/* product grid */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); gap: 16px; transition: opacity .18s; }
.grid.is-leaving { opacity: 0; }

.pcard {
  --tint: var(--pink);
  --mx: 50%;
  --my: 30%;
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 16px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  cursor: pointer;
  overflow: hidden;
  container: card / inline-size;
  transition: border-color .25s, background-color .25s, transform .35s var(--ease), box-shadow .35s var(--ease);
  animation: card-in .6s var(--ease-out) calc(var(--i, 0) * 45ms) both;
}
@keyframes card-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.js .grid:not(.is-in) .pcard { animation-play-state: paused; }
.pcard:hover, .pcard:focus-within { background: var(--surface-2); border-color: var(--line-3); transform: translateY(-4px); box-shadow: 0 24px 44px -30px rgba(0, 0, 0, .95); }

.pcard__top { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; min-height: 26px; position: relative; z-index: 2; }
.badge { display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 9px; border-radius: 8px; font-size: 12px; font-weight: 800; letter-spacing: -.01em; white-space: nowrap; }
.badge .i { width: 13px; height: 13px; }
.badge--sale { background: var(--pink); color: #fff; }
.badge--tag { background: rgba(255, 255, 255, .06); color: var(--text-2); border: 1px solid var(--line-2); }
.badge--gift { margin-left: auto; background: rgba(75, 224, 139, .1); color: var(--green); border: 1px solid rgba(75, 224, 139, .22); }

.pcard__art { position: relative; display: grid; place-items: center; aspect-ratio: 1.3; margin: 0 -6px 8px; perspective: 700px; }
.pcard__art::before {
  content: "";
  position: absolute;
  width: 54%;
  height: 12%;
  bottom: 6%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0, 0, 0, .6), transparent);
  transition: transform .4s var(--ease), opacity .4s;
}
.pcard__art img, .pcard__art .pixart {
  position: relative;
  width: 78%;
  max-width: 230px;
  aspect-ratio: 1;
  object-fit: cover;
  transform: translateY(var(--lift, 0px)) scale(var(--sc, 1));
  transition: transform .45s var(--ease);
}
.pcard:hover .pcard__art img, .pcard:hover .pcard__art .pixart { --lift: -4px; --sc: 1.04; transition-duration: .25s; }

.pcard__meta { display: grid; gap: 2px; margin-bottom: 14px; }
.pcard__name { font-size: 19px; line-height: 1.2; font-weight: 800; letter-spacing: -.02em; overflow-wrap: anywhere; }
.pcard__buy { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin-top: auto; }
@container card (max-width: 196px) {
  .pcard__buy { flex-direction: column; align-items: stretch; }
  .pcard__btn { width: 100%; }
}
.price { display: grid; gap: 1px; min-width: 0; }
.price s { color: var(--dim); font-size: 13px; font-weight: 700; text-decoration-thickness: 1.5px; }
.price__now { display: flex; align-items: baseline; gap: 5px; white-space: nowrap; }
.price__now small { color: var(--muted); font-size: 12px; font-weight: 600; }
.price__now b { font-size: 21px; font-weight: 800; letter-spacing: -.03em; }
.price__now b.price__any { font-size: 16px; letter-spacing: -.01em; }
.pcard__btn { flex-shrink: 0; }

/* pixel-art heart for "Поддержка" */
.pixart { display: grid; place-items: center; background: radial-gradient(closest-side, rgba(255, 46, 116, .3), rgba(255, 46, 116, .08) 60%, rgba(255, 46, 116, 0) 100%); }
.order-head__art .pixart { background: radial-gradient(closest-side, rgba(255, 46, 116, .38), #1a0e15 100%); }
.pixart svg { width: 54%; filter: drop-shadow(0 6px 18px rgba(255, 46, 116, .55)); animation: heartbeat 1.6s var(--ease) infinite; }
@keyframes heartbeat { 0%, 100% { transform: scale(1); } 12% { transform: scale(1.1); } 24% { transform: scale(.98); } 36% { transform: scale(1.06); } 52% { transform: scale(1); } }

/* ==========================================================================
   Sapphires
   ========================================================================== */
.sap {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: clamp(20px, 4vw, 64px);
  padding: clamp(20px, 3vw, 44px);
  border-radius: 34px;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(60% 85% at 22% 50%, rgba(255, 46, 140, .13), transparent 62%),
    linear-gradient(180deg, #150e13, #110c10);
  border: 1px solid var(--line-2);
}
.sap__stage { position: relative; display: grid; place-items: center; min-height: 420px; }
@keyframes spin { to { transform: rotate(1turn); } }
.sap__pedestal { position: absolute; bottom: 12%; width: 46%; height: 9%; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .65), transparent); }
.sap__img {
  position: relative;
  z-index: 2;
  width: min(76%, 380px);
  aspect-ratio: 1;
  object-fit: cover;
}
.sap__img.is-pop { animation: pop .55s var(--ease-spring); }
@keyframes pop { 0% { transform: scale(.82); filter: brightness(1.8); } 60% { transform: scale(1.06); } 100% { transform: none; filter: none; } }
.sap__badge {
  position: absolute;
  z-index: 4;
  top: 12%;
  right: 8%;
  padding: 8px 12px;
  border-radius: 12px;
  background: var(--green);
  color: #062612;
  font-size: 14px;
  font-weight: 900;
  rotate: 6deg;
  box-shadow: 0 10px 26px -10px rgba(75, 224, 139, .8);
  transition: opacity .3s, transform .4s var(--ease-spring);
}
.sap__badge:empty { opacity: 0; transform: scale(.6); }

.sap__panel { display: flex; flex-direction: column; justify-content: center; gap: 18px; padding-block: 8px; }
.sap__lead { color: var(--muted); font-size: 16px; max-width: 520px; }
.sap__readout { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 24px; padding: 20px 22px; border-radius: 22px; background: rgba(0, 0, 0, .28); border: 1px solid var(--line-2); }
.sap__label { display: block; margin-bottom: 4px; color: var(--muted); font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.sap__amount { display: flex; align-items: center; gap: 10px; }
.sap__amount b { font-size: clamp(40px, 4.4vw, 64px); line-height: 1; font-weight: 900; letter-spacing: -.045em; font-variant-numeric: tabular-nums; background: linear-gradient(180deg, #fff 30%, #ffb3cc); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sap__amount .i { width: 32px; height: 32px; color: var(--pink-hi); filter: drop-shadow(0 0 10px rgba(255, 46, 116, .8)); }
.sap__price { text-align: right; }
.sap__price b { display: block; font-size: 30px; line-height: 1.1; font-weight: 900; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.sap__price small { color: var(--muted); font-size: 13px; font-weight: 600; }

.range { position: relative; padding: 14px 0 34px; }
.range__track { position: absolute; left: 0; right: 0; top: 20px; height: 8px; border-radius: 8px; background: rgba(255, 255, 255, .08); overflow: hidden; pointer-events: none; }
.range__fill { position: absolute; inset: 0 auto 0 0; width: 37.5%; border-radius: inherit; background: linear-gradient(90deg, #ff7aa8, var(--pink)); box-shadow: 0 0 18px rgba(255, 46, 116, .7); transition: width .35s var(--ease); }
.range__input { position: relative; z-index: 2; width: 100%; height: 20px; margin: 0; background: transparent; appearance: none; -webkit-appearance: none; cursor: pointer; }
.range__input::-webkit-slider-runnable-track { height: 20px; background: transparent; }
.range__input::-moz-range-track { height: 20px; background: transparent; }
.range__input::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -3px; border-radius: 9px; background: #fff; border: 0; box-shadow: 0 0 0 6px rgba(255, 46, 116, .35), 0 6px 18px rgba(0, 0, 0, .5); transition: box-shadow .2s, transform .2s var(--ease-spring); }
.range__input::-moz-range-thumb { width: 26px; height: 26px; border-radius: 9px; background: #fff; border: 0; box-shadow: 0 0 0 6px rgba(255, 46, 116, .35), 0 6px 18px rgba(0, 0, 0, .5); }
.range__input:hover::-webkit-slider-thumb { box-shadow: 0 0 0 9px rgba(255, 46, 116, .35), 0 6px 18px rgba(0, 0, 0, .5); }
.range__input:active::-webkit-slider-thumb { transform: scale(.92) rotate(45deg); }
.range__input:focus-visible { outline: none; }
.range__input:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 3px var(--bg), 0 0 0 6px var(--pink-ink); }
.range__ticks { position: absolute; left: 13px; right: 13px; top: 42px; height: 20px; }
.range__tick { position: absolute; transform: translateX(-50%); color: var(--dim); font-size: 12px; font-weight: 800; white-space: nowrap; transition: color .2s; padding: 4px 2px; }
.range__tick::before { content: ""; position: absolute; left: 50%; top: -12px; width: 2px; height: 6px; border-radius: 2px; background: currentColor; opacity: .5; }
.range__tick:hover { color: var(--text-2); }
.range__tick.is-active { color: #fff; }
.range__tick.is-passed { color: var(--muted); }

.sap__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.sap__actions .btn { flex: 1 1 260px; }
.sap__save { color: var(--green); font-size: 14px; font-weight: 800; }

.promo {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 10px 12px 10px 10px;
  border-radius: 20px;
  background: linear-gradient(90deg, rgba(255, 154, 61, .14), rgba(255, 154, 61, .03));
  border: 1px solid rgba(255, 154, 61, .3);
  text-align: left;
  transition: border-color .25s, transform .3s var(--ease);
}
.promo:hover { border-color: rgba(255, 154, 61, .6); transform: translateY(-2px); }
.promo img { width: 64px; height: 64px; border-radius: 14px; object-fit: cover; flex-shrink: 0; }
.promo__text { display: grid; gap: 1px; min-width: 0; }
.promo__kicker { display: inline-flex; align-items: center; gap: 6px; color: #ffb36b; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.promo__kicker .i { width: 14px; height: 14px; }
.promo b { font-size: 16px; font-weight: 800; }
.promo small { color: var(--muted); font-size: 13px; font-weight: 600; }
.promo__go { display: grid; place-items: center; width: 40px; height: 40px; margin-left: auto; border-radius: 12px; background: rgba(255, 154, 61, .16); color: #ffb36b; flex-shrink: 0; transition: transform .3s var(--ease); }
.promo:hover .promo__go { transform: translateX(3px); }

/* ==========================================================================
   Battle pass
   ========================================================================== */
.pass {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(20px, 4vw, 60px);
  align-items: center;
  padding: clamp(22px, 3vw, 44px);
  border-radius: 34px;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(60% 90% at 20% 50%, rgba(255, 194, 61, .16), transparent 65%),
    linear-gradient(180deg, #14110c, #100d0b);
  border: 1px solid rgba(255, 194, 61, .16);
}
.pass__art { position: relative; height: 340px; display: grid; place-items: center; }
.pass__star { position: absolute; aspect-ratio: 1; object-fit: cover; }
.pass__star--gold { width: min(70%, 300px); z-index: 2; left: 34%; }
.pass__star--silver { width: min(46%, 200px); left: 4%; top: 8%; opacity: .85; rotate: -12deg; }
.pass__body { display: grid; gap: 18px; justify-items: start; }
.pass__lead { color: var(--muted); font-size: 16px; max-width: 520px; }
.pass__rewards { display: flex; flex-wrap: wrap; gap: 8px; }
.pass__rewards li { padding: 8px 13px; border-radius: 99px; background: rgba(255, 194, 61, .07); border: 1px solid rgba(255, 194, 61, .18); color: #ffe2a0; font-size: 13px; font-weight: 700; transition: background-color .2s, transform .3s var(--ease); }
.pass__rewards li:hover { background: rgba(255, 194, 61, .14); transform: translateY(-2px); }
.pass__options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; width: 100%; max-width: 560px; margin-top: 4px; }
.pass-opt { position: relative; display: grid; gap: 4px; padding: 18px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line-2); text-align: left; transition: border-color .2s, transform .3s var(--ease), background-color .2s; }
.pass-opt:hover { transform: translateY(-3px); border-color: rgba(255, 194, 61, .45); background: #1a1611; }
.pass-opt__name { color: var(--text-2); font-size: 14px; font-weight: 700; }
.pass-opt__price { font-size: 26px; font-weight: 900; letter-spacing: -.03em; }
.pass-opt--best { border-color: rgba(255, 194, 61, .4); background: linear-gradient(160deg, rgba(255, 194, 61, .12), var(--surface) 70%); }
.pass-opt__flag { position: absolute; top: -11px; right: 14px; padding: 4px 9px; border-radius: 8px; background: var(--gold); color: #2b1d00; font-size: 11px; font-weight: 900; letter-spacing: .02em; }

.ipbox { min-width: 0; }
.ipbox__value { overflow-wrap: anywhere; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 80px); align-items: start; }
.faq__intro { position: sticky; top: calc(var(--hdr-h) + 24px); display: grid; gap: 18px; justify-items: start; }
.faq__list { display: grid; gap: 10px; }
.qa { border-radius: 18px; background: var(--surface); border: 1px solid var(--line); transition: border-color .25s, background-color .25s; }
.qa.is-open { background: var(--surface-2); border-color: var(--line-2); }
.qa__q { display: flex; align-items: center; justify-content: space-between; gap: 18px; width: 100%; padding: 20px 22px; font-size: 17px; font-weight: 700; text-align: left; }
.qa__icon { position: relative; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: rgba(255, 255, 255, .06); flex-shrink: 0; transition: background-color .25s, transform .4s var(--ease); }
.qa__icon::before, .qa__icon::after { content: ""; position: absolute; width: 12px; height: 2px; border-radius: 2px; background: var(--text); transition: transform .4s var(--ease); }
.qa__icon::after { transform: rotate(90deg); }
.qa.is-open .qa__icon { background: var(--pink); transform: rotate(180deg); }
.qa.is-open .qa__icon::after { transform: rotate(0); }
.qa__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.qa.is-open .qa__a { grid-template-rows: 1fr; }
.qa__a > div { overflow: hidden; }
.qa__a p { padding: 0 22px 20px; color: var(--muted); font-size: 15px; max-width: 640px; }

/* ==========================================================================
   Community (блок разработчика)
   ========================================================================== */
.community { display: grid; grid-template-columns: minmax(0, 1.32fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.community__col { display: grid; gap: 26px; min-width: 0; }
.community__head h2 { margin-bottom: 10px; font-size: 24px; line-height: 1; font-weight: 900; letter-spacing: -.01em; text-transform: uppercase; }
.community__head p { color: rgba(255, 255, 255, .75); font-size: 17px; font-weight: 600; }

/* Three creator videos share the original banner slot. */
.creator-carousel {
  --creator-video-width: min(calc(100% - 72px), calc((104px * 2 + 16px) * 16 / 9));
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  justify-items: center;
  width: 100%;
  overflow: clip;
  border-radius: 18px;
  touch-action: pan-y;
}
.creator-carousel .community-video { grid-area: 1 / 1; user-select: none; -webkit-user-drag: none; will-change: transform; transition: transform .55s var(--ease), opacity .55s, filter .55s, border-color .3s, box-shadow .3s; }
.creator-carousel .community-video.is-active { z-index: 3; transform: none; opacity: 1; filter: none; }
.creator-carousel .community-video.is-prev { z-index: 1; transform: translateX(-38%) scale(.88) rotate(-3deg); opacity: .72; filter: brightness(.8) saturate(.8); }
.creator-carousel .community-video.is-next { z-index: 1; transform: translateX(38%) scale(.88) rotate(3deg); opacity: .72; filter: brightness(.8) saturate(.8); }
.creator-carousel .community-video:not(.is-active) .community-video__watch { opacity: 0; visibility: hidden; }
.creator-carousel .community-video:focus-visible { outline-offset: -3px; }
.creator-carousel__arrow { position: absolute; z-index: 4; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid rgba(255, 255, 255, .17); border-radius: 50%; background: rgba(15, 11, 15, .7); color: #fff; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: background-color .2s, border-color .2s; }
.creator-carousel__arrow--prev { left: 10px; }
.creator-carousel__arrow--next { right: 10px; }
.creator-carousel__arrow .i { width: 17px; height: 17px; }
.creator-carousel__arrow:hover, .creator-carousel__arrow:focus-visible { background: #64223d; border-color: var(--pink-ink); }
.creator-carousel__status { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Featured creator video. */
.community-video {
  position: relative;
  isolation: isolate;
  display: block;
  width: var(--creator-video-width);
  height: auto;
  aspect-ratio: 16 / 9;
  justify-self: center;
  overflow: hidden;
  border: 1px solid rgba(255, 141, 177, .32);
  border-radius: 18px;
  background: #21151e;
  color: #fff;
  -webkit-tap-highlight-color: transparent;
  transition: border-color .3s, box-shadow .3s;
}
.community-video__cover {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.community-video::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(11, 9, 11, .98), rgba(11, 9, 11, .88) 20%, rgba(11, 9, 11, .12) 69%, rgba(11, 9, 11, .26));
  pointer-events: none;
}
.community-video__watch {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 7px 20px 7px 12px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 50px;
  background: rgba(15, 12, 15, .75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 5px 24px rgba(0, 0, 0, .2);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.4;
  white-space: nowrap;
  transition: background-color .3s, border-color .3s;
}
.community-video__watch b { font-weight: 800; }
.community-video__play {
  display: grid;
  place-items: center;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--pink);
  color: #170a10;
  transition: background-color .3s, transform .3s var(--ease);
}
.community-video__play svg { width: 23px; height: 23px; margin-left: -2px; }
.community-video__caption { position: absolute; right: 22px; bottom: 8px; left: 22px; }
.community-video__caption h3 { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; font-size: 16px; font-weight: 800; line-height: 1.2; letter-spacing: -.02em; text-wrap: balance; }
.community-video__author { display: flex; align-items: center; gap: 7px; margin-top: 6px; color: rgba(255, 255, 255, .83); font-size: 12px; font-weight: 700; line-height: 24px; }
.community-video__avatar { display: block; flex-shrink: 0; width: 24px; height: 24px; object-fit: cover; border: 1px solid rgba(255, 255, 255, .3); border-radius: 50%; background: #fff; }
.community-video:focus-visible { outline: 2px solid var(--pink-ink); outline-offset: 4px; border-radius: 18px; }
@media (hover: hover) {
  .community-video:hover { border-color: rgba(255, 141, 177, .75); box-shadow: 0 10px 30px -18px rgba(255, 46, 116, .4); }
  .community-video:hover .community-video__watch { background: rgba(39, 19, 31, .93); border-color: rgba(255, 141, 177, .4); }
  .community-video:hover .community-video__play { background: var(--pink-hi); transform: scale(1.06); }
}

.socials { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.social {
  --c: #fff;
  --hover: #333;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 104px;
  padding: 22px;
  border-radius: 14px;
  border: 1px solid color-mix(in srgb, var(--c) 18%, #252321);
  background: color-mix(in srgb, var(--c) 7%, #11100f);
  color: #eeedf0;
  font-size: clamp(18px, 1.7vw, 25px);
  font-weight: 800;
  letter-spacing: -.01em;
  overflow: hidden;
  transition: background-color .25s, border-color .25s, color .25s, transform .3s var(--ease);
}
.social:hover, .social:focus-visible { background: var(--hover); border-color: var(--hover); color: #fff; transform: translateY(-2px); }
/* Community counters: keep the existing tile dimensions, colours and logos. */
.social--stats { flex-direction: column; gap: 8px; }
.social__identity { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-width: 0; max-width: 100%; }
.social__meta { display: inline-flex; align-items: center; justify-content: center; gap: 5px; max-width: 100%; color: rgba(255, 255, 255, .72); font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: 0; white-space: nowrap; }
.social__member-icon { width: 14px; height: 13px; flex-shrink: 0; margin-right: 1px; opacity: .92; }
.social__meta b { color: #fff; font-size: inherit; font-weight: 800; font-variant-numeric: tabular-nums; }
.social:hover .social__meta, .social:focus-visible .social__meta { color: rgba(255, 255, 255, .9); }
.social__icon { width: 34px; height: 30px; }
.social__wordmark { width: auto; height: 30px; max-width: 100%; }
.social__wordmark--tiktok { height: 34px; }
.social--telegram { --c: #2b99ff; --hover: #2c9be8; }
.social--discord { --c: #9c4fff; --hover: #5865f2; }
.social--tiktok { --c: #fe2c55; --hover: #e42f53; }
.social--youtube { --c: #ea3323; --hover: #ea3323; }
.social--youtube .yt-play { color: #ea3323; transition: color .25s; }
.social--youtube:hover .yt-play { color: #fff; }
.social.is-soon { cursor: default; }
.social.is-soon:hover { background: color-mix(in srgb, var(--c) 7%, #11100f); border-color: color-mix(in srgb, var(--c) 18%, #252321); transform: none; }
.social.is-soon::after { content: "скоро"; position: absolute; right: 10px; top: 10px; padding: 2px 8px; border-radius: 6px; background: rgba(255, 255, 255, .08); color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .04em; }
.community__contact { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; color: #b5b0ab; font-size: 14px; font-weight: 600; }
.write { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-size: 16px; font-weight: 800; transition: color .2s; }
.write .i { width: 20px; height: 18px; transition: transform .35s var(--ease); }
.write:hover { color: var(--pink-ink); }
.write:hover .i { transform: translate(3px, -3px) rotate(-8deg); }

/* ==========================================================================
   Footer
   ========================================================================== */
.ftr { position: relative; margin-top: clamp(64px, 7vw, 110px); border-top: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 46, 116, .03), transparent 40%); }
.ftr__inner { display: grid; grid-template-columns: minmax(0, 290px) minmax(0, 1fr) minmax(0, 760px); gap: 24px; padding-block: 48px 0; min-height: 340px; }
.ftr__about { padding-bottom: 40px; }
.ftr__logo { width: 150px; }
.ftr__desc, .ftr__req { max-width: 280px; color: rgba(255, 255, 255, .4); font-size: 12px; line-height: 18px; font-weight: 500; }
.ftr__desc { margin-top: 18px; }
.ftr__req { display: grid; margin-top: 10px; }

.ftr__art { position: relative; min-width: 0; align-self: stretch; min-height: 320px; }
.ftr__word { position: absolute; left: 50%; bottom: 26%; transform: translateX(-50%); color: rgba(255, 46, 116, .05); font-size: clamp(76px, 7.4vw, 124px); font-weight: 900; letter-spacing: -.06em; white-space: nowrap; pointer-events: none; }
.ftr__hero {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: min(100%, 340px);
  transform: translateX(-50%);
  mix-blend-mode: lighten;
  transition: transform .8s var(--ease);
}
.ftr:hover .ftr__hero { transform: translate(calc(-50% + 10px), -4px); }

.ftr__links { display: grid; grid-template-columns: 110px minmax(0, 1fr) 258px; gap: 24px; align-content: start; padding-bottom: 40px; }
.ftr__col h3 { margin-bottom: 16px; color: rgba(255, 255, 255, .85); font-size: 14px; font-weight: 800; letter-spacing: .025em; text-transform: uppercase; }
.ftr__col ul { display: grid; gap: 6px; }
.ftr__col a { color: rgba(255, 255, 255, .5); font-size: 13px; font-weight: 600; line-height: 18px; cursor: pointer; transition: color .2s; }
.ftr__col a:hover { color: #fff; }
.ftr__col a.is-soon { cursor: default; }
.ftr__col a.is-soon:hover { color: rgba(255, 255, 255, .5); }
.ftr__mail { text-decoration: underline; text-underline-offset: 3px; }
.ftr__status { display: flex; align-items: center; justify-content: flex-end; gap: 12px; margin-top: 22px; color: rgba(255, 255, 255, .5); font-size: 14px; font-weight: 600; white-space: nowrap; }
.ftr__status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #89de5d; box-shadow: 0 0 10px rgba(137, 222, 93, .7); animation: blink 2.4s ease-in-out infinite; }
.ftr__status.is-offline::before { background: var(--red); box-shadow: 0 0 10px rgba(255, 75, 92, .7); }
@keyframes blink { 50% { opacity: .45; } }
.ftr__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 20px calc(22px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); color: rgba(255, 255, 255, .35); font-size: 12px; font-weight: 600; }
.ftr__bottom a { text-decoration: underline; text-underline-offset: 2px; }
.ftr__bottom a:hover { color: #fff; }

/* payment badges (тайминги artygrief) */
.pay { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin-top: 20px; }
.pay .pay-badge { width: var(--badge-width); height: 36px; padding: 0 14px; display: inline-flex; justify-content: center; align-items: center; border: 1px solid rgba(255, 255, 255, .05); border-radius: 10px; background: rgba(255, 255, 255, .043); transition: background-color .22s, border-color .22s; }
.pay .pay-badge:hover { background: rgba(255, 255, 255, .09); border-color: rgba(255, 255, 255, .12); }
.pay .pay-badge__stack { position: relative; display: block; flex-shrink: 0; }
.pay .pay-badge__layer { position: absolute; inset: 0; display: flex; justify-content: center; align-items: center; transition: opacity .26s; }
.pay .pay-badge__layer--mono { color: rgba(255, 255, 255, .5); }
.pay .pay-badge__layer--color, .pay .pay-badge:hover .pay-badge__layer--mono { opacity: 0; }
.pay .pay-badge:hover .pay-badge__layer--color { opacity: 1; }
.pay .pay-badge__cycle { position: relative; display: block; width: var(--cycle-width); height: var(--cycle-height); }
.pay .pay-badge__slide { position: absolute; inset: 0; display: flex; justify-content: center; align-items: center; opacity: 0; transform: scale(.9); transition: opacity 420ms ease, transform 420ms ease; }
.pay .pay-badge__slide.is-active { opacity: 1; transform: none; }
@media (hover: none) {
  .pay .pay-badge__layer--mono { opacity: 0; }
  .pay .pay-badge__layer--color { opacity: 1; }
}

/* ==========================================================================
   Modal
   ========================================================================== */
.modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(6, 4, 6, .72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); animation: fade-in .22s ease both; }
.modal__dialog {
  --tint: var(--pink);
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 14px;
  width: min(1040px, 100%);
  max-height: min(760px, calc(100dvh - 40px));
  padding: 14px;
  border-radius: 30px;
  background: #110d10;
  border: 1px solid var(--line-2);
  box-shadow: 0 50px 120px -30px rgba(0, 0, 0, .9);
  animation: dialog-in .42s var(--ease-out) both;
}
.modal.is-closing .modal__backdrop { animation: fade-out .2s ease both; }
.modal.is-closing .modal__dialog { animation: dialog-out .2s ease both; }
@keyframes fade-in { from { opacity: 0; } }
@keyframes fade-out { to { opacity: 0; } }
@keyframes dialog-in { from { opacity: 0; transform: translateY(14px) scale(.975); } to { opacity: 1; transform: none; } }
@keyframes dialog-out { to { opacity: 0; transform: translateY(8px) scale(.985); } }

.order-info { display: flex; flex-direction: column; gap: 14px; min-height: 0; }
.order-head {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 26px 24px;
  border-radius: 22px;
  overflow: hidden;
  isolation: isolate;
  background: radial-gradient(90% 120% at 0% 0%, color-mix(in srgb, var(--tint) 22%, transparent), transparent 60%), var(--surface);
  border: 1px solid color-mix(in srgb, var(--tint) 22%, var(--line));
}
.order-head__ghost {
  position: absolute;
  right: 14px;
  top: 50%;
  z-index: -1;
  transform: translateY(-50%);
  color: transparent;
  -webkit-text-stroke: 1.5px color-mix(in srgb, var(--tint) 30%, transparent);
  font-size: 80px;
  font-weight: 900;
  letter-spacing: -.05em;
  white-space: nowrap;
  pointer-events: none;
}
.order-head__art { width: 88px; height: 88px; border-radius: 22px; overflow: hidden; flex-shrink: 0; box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 14px 30px -10px color-mix(in srgb, var(--tint) 50%, #000); }
.order-head__art img, .order-head__art .pixart { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.order-head__text { display: grid; gap: 4px; min-width: 0; }
.order-head__name { font-size: clamp(24px, 2.4vw, 32px); line-height: 1.05; font-weight: 900; letter-spacing: -.035em; }
.order-head__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.order-body { flex: 1; min-height: 0; overflow-y: auto; padding: 22px 24px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); scrollbar-width: thin; scrollbar-color: var(--pink) transparent; }
.order-lead { margin-bottom: 18px; color: var(--text-2); font-size: 15px; }
.perks-title { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; font-size: 16px; font-weight: 800; }
.perks-title .i { width: 32px; height: 32px; padding: 7px; border-radius: 10px; background: color-mix(in srgb, var(--tint) 16%, transparent); color: color-mix(in srgb, var(--tint) 80%, #fff); }
.perks li { display: grid; grid-template-columns: 30px 1fr; gap: 2px 10px; padding: 12px 0; border-bottom: 1px solid var(--line); animation: rise .5s var(--ease-out) calc(var(--i) * 50ms + .1s) both; }
.perks li:last-child { border-bottom: 0; }
.perks__n { grid-row: span 2; color: color-mix(in srgb, var(--tint) 70%, #fff); font-size: 12px; font-weight: 800; padding-top: 3px; }
.perks b { font-size: 15px; font-weight: 700; }
.perks small { color: var(--muted); font-size: 13px; font-weight: 500; }
.notes { display: grid; gap: 8px; margin-top: 16px; }
.notes li { display: flex; gap: 10px; padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, .035); color: var(--text-2); font-size: 13px; font-weight: 600; }
.notes .i { width: 16px; height: 16px; margin-top: 1px; color: var(--gold); }

.order-form { display: flex; flex-direction: column; min-height: 0; padding: 22px 22px 18px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); }
.order-form__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.order-form__title { margin-top: 4px; font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.order-form__btns { display: flex; gap: 8px; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line-2); transition: background-color .2s, transform .3s var(--ease); }
.icon-btn:hover { background: rgba(255, 255, 255, .1); }
.icon-btn[data-close]:hover .i { transform: rotate(90deg); }
.icon-btn .i { transition: transform .3s var(--ease); }
.icon-btn--text { display: inline-flex; gap: 6px; width: auto; padding: 0 14px; font-size: 13px; font-weight: 700; }
.icon-btn[hidden] { display: none; }
.progress { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 16px 0 6px; }
.progress i { position: relative; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.progress i::after { content: ""; position: absolute; inset: 0; background: var(--pink); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.progress i.is-on::after { transform: none; }

.order-steps { flex: 1; min-height: 0; overflow-y: auto; margin: 0 -6px; padding: 0 6px 6px; scrollbar-width: thin; scrollbar-color: var(--line-3) transparent; }
.order-step { animation: step-in .4s var(--ease-out) both; }
.order-step.is-back { animation-name: step-in-back; }
@keyframes step-in { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }
@keyframes step-in-back { from { opacity: 0; transform: translateX(-18px); } to { opacity: 1; transform: none; } }
.field-label { display: block; margin: 18px 0 8px; color: var(--muted); font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.field { position: relative; display: flex; align-items: center; height: 54px; border-radius: 14px; background: #0f0c0e; border: 1px solid var(--line-2); transition: border-color .2s, box-shadow .2s; }
.field:focus-within { border-color: rgba(255, 46, 116, .6); box-shadow: 0 0 0 4px rgba(255, 46, 116, .12); }
.field.is-error { border-color: rgba(255, 75, 92, .8); animation: shake .4s var(--ease); }
@keyframes shake { 20%, 60% { transform: translateX(-5px); } 40%, 80% { transform: translateX(5px); } }
.field__head { display: grid; place-items: center; width: 36px; height: 36px; margin-left: 9px; border-radius: 10px; background: rgba(255, 255, 255, .05); color: var(--muted); overflow: hidden; flex-shrink: 0; }
.field__head .i { width: 18px; height: 18px; }
.field__head img { width: 100%; height: 100%; image-rendering: pixelated; animation: pop .4s var(--ease-spring); }
.field__input { flex: 1; min-width: 0; height: 100%; padding: 0 12px; background: transparent; border: 0; outline: 0; font-size: 16px; font-weight: 700; }
.field__input::placeholder { color: var(--dim); font-weight: 600; }
.field__hint { margin-right: 14px; color: var(--dim); font-size: 12px; font-weight: 700; white-space: nowrap; }
.field-error { min-height: 0; color: #ff7b88; font-size: 13px; font-weight: 600; }
.field-error:not(:empty) { margin-top: 8px; }

.options { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 8px; }
.opt { position: relative; display: grid; gap: 2px; justify-items: center; padding: 13px 8px; border-radius: 14px; background: #0f0c0e; border: 1px solid var(--line-2); text-align: center; transition: border-color .2s, background-color .2s, transform .2s var(--ease); }
.opt:hover { border-color: var(--line-3); }
.opt:active { transform: scale(.97); }
.opt__label { color: var(--text-2); font-size: 14px; font-weight: 700; }
.opt__price { color: var(--muted); font-size: 15px; font-weight: 800; }
.opt__flag { position: absolute; top: -9px; padding: 2px 7px; border-radius: 6px; background: var(--green); color: #062612; font-size: 10px; font-weight: 900; }
.opt.is-active { background: color-mix(in srgb, var(--pink) 10%, #0f0c0e); border-color: rgba(255, 46, 116, .6); }
.opt.is-active .opt__label { color: #fff; }
.opt.is-active .opt__price { color: var(--pink-hi); }
.options--packs { --cols: 3; }

.amount { display: flex; align-items: center; gap: 8px; height: 58px; padding: 0 8px; border-radius: 14px; background: #0f0c0e; border: 1px solid var(--line-2); }
.amount__btn { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 11px; background: rgba(255, 255, 255, .06); transition: background-color .2s; }
.amount__btn:hover { background: rgba(255, 255, 255, .12); }
.amount__input { flex: 1; min-width: 0; height: 100%; background: transparent; border: 0; outline: 0; text-align: center; font-size: 24px; font-weight: 900; letter-spacing: -.02em; }
.amount__cur { color: var(--muted); font-size: 20px; font-weight: 800; }
.presets { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.preset { height: 34px; padding: 0 12px; border-radius: 10px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); font-size: 13px; font-weight: 700; transition: background-color .2s, border-color .2s; }
.preset:hover, .preset.is-active { background: rgba(255, 46, 116, .12); border-color: rgba(255, 46, 116, .45); }

.methods { display: grid; gap: 8px; }
.method { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; background: #0f0c0e; border: 1px solid var(--line-2); cursor: pointer; transition: border-color .2s, background-color .2s; }
.method:hover { border-color: var(--line-3); }
.method input { position: absolute; opacity: 0; pointer-events: none; }
.method__radio { position: relative; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line-3); flex-shrink: 0; transition: border-color .2s; }
.method__radio::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--pink); transform: scale(0); transition: transform .3s var(--ease-spring); }
.method:has(input:checked) { background: color-mix(in srgb, var(--pink) 8%, #0f0c0e); border-color: rgba(255, 46, 116, .55); }
.method:has(input:checked) .method__radio { border-color: var(--pink); }
.method:has(input:checked) .method__radio::after { transform: none; }
.method:has(input:focus-visible) { outline: 2px solid var(--pink-ink); outline-offset: 2px; }
.method__text { display: grid; gap: 1px; min-width: 0; }
.method__text b { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 800; }
.method__text em { padding: 2px 7px; border-radius: 6px; background: rgba(255, 46, 116, .14); color: var(--pink-ink); font-size: 10px; font-style: normal; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.method__text small { color: var(--muted); font-size: 12px; font-weight: 600; }
.method__logos { margin-left: auto; display: flex; align-items: center; gap: 6px; color: var(--muted); }
.logo-chip { padding: 4px 8px; border-radius: 7px; background: rgba(255, 255, 255, .07); color: var(--text-2); font-size: 11px; font-weight: 900; letter-spacing: .04em; }
.mc-dots { display: inline-flex; }
.mc-dots i { width: 16px; height: 16px; border-radius: 50%; background: #eb001b; }
.mc-dots i + i { margin-left: -6px; background: #f79e1b; mix-blend-mode: screen; }

.check { position: relative; display: flex; gap: 12px; margin-top: 18px; color: var(--muted); font-size: 12.5px; line-height: 1.5; font-weight: 500; cursor: pointer; }
.check input { position: absolute; opacity: 0; }
.check__box { display: grid; place-items: center; width: 22px; height: 22px; margin-top: 1px; border-radius: 7px; border: 2px solid var(--line-3); flex-shrink: 0; transition: background-color .2s, border-color .2s; }
.check__box .i { width: 14px; height: 14px; stroke-width: 3; color: #fff; opacity: 0; transform: scale(.4); transition: opacity .2s, transform .3s var(--ease-spring); }
.check input:checked + .check__box { background: var(--pink); border-color: var(--pink); }
.check input:checked + .check__box .i { opacity: 1; transform: none; }
.check input:focus-visible + .check__box { outline: 2px solid var(--pink-ink); outline-offset: 2px; }
.check a { color: var(--pink-ink); text-decoration: underline; text-underline-offset: 2px; }
.check.is-error .check__box { border-color: #ff7b88; animation: shake .4s var(--ease); }

.order-done { display: grid; justify-items: center; gap: 12px; padding: 30px 6px 10px; text-align: center; }
.order-done__icon { display: grid; place-items: center; width: 76px; height: 76px; border-radius: 24px; background: rgba(75, 224, 139, .12); color: var(--green); box-shadow: 0 0 0 10px rgba(75, 224, 139, .05); animation: pop .6s var(--ease-spring); }
.order-done__icon .i { width: 38px; height: 38px; }
.order-done__title { font-size: 24px; font-weight: 900; letter-spacing: -.02em; }
.order-done__text { max-width: 380px; color: var(--muted); font-size: 14px; }
.order-done__text b { color: var(--text); }
.order-done .btn { margin-top: 8px; }

.total { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 10px; margin-top: 16px; padding: 8px; border-radius: 20px; background: #0d0a0c; border: 1px solid var(--line); }
.total__sum { display: grid; place-content: center; justify-items: center; gap: 2px; }
.total__label { color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.total__nums { display: flex; align-items: baseline; gap: 8px; }
.total__nums s { color: var(--dim); font-size: 15px; font-weight: 800; }
.total__nums b { font-size: 26px; font-weight: 900; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.total__btn { width: 100%; }
.total__btn.is-busy { pointer-events: none; }
.total__btn.is-busy::before { content: ""; position: absolute; inset: auto 0 0; height: 3px; background: linear-gradient(90deg, transparent, #fff, transparent); animation: busy 1.1s var(--ease-io) infinite; }
@keyframes busy { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
.total[hidden] { display: none; }

/* ---------- Toasts ---------- */
.toasts { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 120; display: grid; gap: 8px; justify-items: center; transform: translateX(-50%); pointer-events: none; }
.toast { display: flex; align-items: center; gap: 10px; padding: 12px 18px 12px 14px; border-radius: 14px; background: rgba(28, 21, 26, .92); border: 1px solid var(--line-2); box-shadow: 0 20px 40px -12px rgba(0, 0, 0, .7); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); font-size: 14px; font-weight: 700; animation: toast-in .5s var(--ease-spring) both; }
.toast .i { width: 22px; height: 22px; padding: 4px; border-radius: 8px; background: var(--green); color: #062612; stroke-width: 3; }
.toast--err .i { background: var(--red); color: #fff; }
.toast.is-out { animation: toast-out .3s ease both; }
@keyframes toast-in { from { opacity: 0; transform: translateY(16px) scale(.9); } }
@keyframes toast-out { to { opacity: 0; transform: translateY(8px) scale(.95); } }

/* ---------- Reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); }
.js [data-reveal].is-in { opacity: 1; transform: none; transition: opacity .9s var(--ease-out) var(--d, 0s), transform .9s var(--ease-out) var(--d, 0s); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1360px) {
  .hdr__nav a { padding: 0 11px; letter-spacing: .03em; }
  .hdr__nav .i { display: none; }
  .ftr__inner { grid-template-columns: minmax(0, 260px) minmax(0, 1fr) minmax(0, 640px); }
  .ftr__links { grid-template-columns: 100px minmax(0, 1fr) 230px; }
}
@media (max-width: 1260px) {
  .btn--ip__text { display: none; }
  .btn--ip { width: 44px; padding: 0; }
}
@media (max-width: 1180px) {
  .online-pill__label { display: none; }
  .hero { grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); }
  .shop { grid-template-columns: 236px minmax(0, 1fr); gap: 24px; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
  .ftr__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); }
  .ftr__art { display: none; }
  .ftr__links { grid-template-columns: minmax(0, 1fr) 240px; }
  .ftr__links .ftr__col:nth-child(2) { grid-column: 1 / -1; grid-row: 2; }
}
@media (max-width: 1040px) {
  :root { --hdr-h: 72px; }
  .hdr__nav { display: none; }
  .hdr__actions { margin-left: auto; }
  .burger { display: block; }
  .hdr__bar { height: 58px; }
  .hero { grid-template-columns: minmax(0, 1fr); height: auto; }
  .banner--main { height: clamp(420px, 62vw, 540px); }
  .banner--kits { height: 300px; }
  .banner--kits__copy { width: 52%; }
  .kits-fan { inset: 0 0 0 auto; width: 52%; height: 100%; }
  .kit-tile { width: 52%; }
  .kit-tile--b { width: 56%; }
  .shop { grid-template-columns: minmax(0, 1fr); }
  .shop__main { padding-top: 0; }
  .shop__side { position: static; grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .side-help { display: none; }
  .side-label { display: none; }
  .cats { display: flex; gap: 8px; overflow-x: auto; margin: 0 calc(var(--gutter) * -1); padding: 6px var(--gutter) 8px; scrollbar-width: none; }
  .cats::-webkit-scrollbar { display: none; }
  .cat { --cat-pad: 12px; width: auto; flex-shrink: 0; height: 46px; padding: 0 12px; }
  .cat__thumb { width: 26px; height: 26px; }
  .sap, .pass, .faq { grid-template-columns: minmax(0, 1fr); }
  .sap__stage { min-height: 320px; }
  .pass__art { height: 260px; }
  .faq__intro { position: static; }
  .community { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .modal__dialog { grid-template-columns: minmax(0, 1fr); overflow-y: auto; max-height: calc(100dvh - 24px); overscroll-behavior: contain; }
  .order-info { display: contents; }
  .order-head { order: 1; }
  .order-form { order: 2; }
  .order-body { order: 3; flex: none; overflow: visible; }
  .order-steps { overflow: visible; }
}
@media (max-width: 700px) {
  .btn--ip__text { display: none; }
  .btn--ip { width: 44px; padding: 0; }
  .hdr__brand { width: 120px; }
  .online-pill { height: 32px; padding: 0 11px; }
  .hdr__bar { gap: 6px; }
  .hdr.is-scrolled .hdr__bar { padding: 0 8px; }
  .banner { border-radius: 24px; }
  .banner--main { height: auto; min-height: 520px; }
  .banner__copy { position: relative; width: 100%; min-height: 520px; justify-content: flex-end; padding: 24px 22px 26px; }
  .banner__shade { background: linear-gradient(0deg, rgba(10, 7, 9, .96) 0%, rgba(10, 7, 9, .7) 44%, rgba(10, 7, 9, .1) 75%); }
  /* персонаж целиком сверху, текст — под ним */
  .banner--main { min-height: 700px; }
  .banner--main .banner__copy { min-height: 700px; }
  .hero-scene__char { inset: 0 0 auto 0; height: 56%; }
  .hero-scene__char img { object-position: 100% 100%; transform-origin: 77% 100%; }
  .hero-scene__back { object-position: 85% 30%; }
  .hero-scene__glow { right: -25%; bottom: auto; top: 2%; width: 130%; }
  /* затемнение начинается выше нижнего края персонажа, чтобы не было видно шва */
  .banner--main .banner__shade { background: linear-gradient(0deg, rgba(10, 6, 9, .98) 0%, rgba(10, 6, 9, .95) 47%, rgba(10, 6, 9, .4) 60%, rgba(10, 6, 9, 0) 74%); }
  .banner--main .banner__copy { padding-bottom: 82px; }
  .banner__ip { right: 0; height: 56px; padding: 0 22px; border-radius: 0; border-right: 0; }
  .banner__ip small { margin-left: auto; }
  .hero__actions { width: 100%; }
  .hero__actions .btn { flex: 1 1 100%; height: 50px; }
  .feed__item { height: 58px; padding: 0 16px 0 8px; gap: 10px; }
  .feed__art { width: 40px; height: 40px; }
  .feed__art img { width: 48px; height: 48px; }
  .feed__what { font-size: 13px; }
  .banner--kits { height: auto; min-height: 330px; }
  .banner--kits__copy { position: relative; width: 100%; }
  .kits-fan { position: relative; inset: auto; width: 100%; height: 170px; margin-top: -10px; }
  .kit-tile { width: 34%; }
  .kit-tile--a { left: 10%; bottom: 14%; }
  .kit-tile--b { left: 33%; width: 38%; bottom: 18%; }
  .kit-tile--c { right: 10%; width: 30%; }
  .kit-sale { top: auto; bottom: 62%; right: 6%; font-size: 17px; }
  .sale { flex-wrap: wrap; }
  .sale__text { flex: 1 1 60%; }
  .sale__pct { margin-left: 0; }
  .sale__go { display: none; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .pcard { padding: 12px; border-radius: 18px; }
  .pcard__name { font-size: 16px; }
  .pcard__buy { flex-direction: column; align-items: stretch; }
  .pcard__btn { width: 100%; }
  .price__now b { font-size: 18px; }
  .badge { height: 22px; padding: 0 7px; font-size: 11px; }
  .badge--gift { display: none; }
  .sap { border-radius: 26px; }
  .sap__readout { padding: 16px; }
  .sap__price { text-align: left; }
  .range__tick { font-size: 10px; }
  .range__tick:nth-child(even) { display: none; }
  .pass__options { grid-template-columns: minmax(0, 1fr); }
  .socials { gap: 12px; }
  .social--stats { gap: 6px; }
  .social__identity { gap: 8px; }
  .social__meta { font-size: 11px; line-height: 14px; }
  .social { min-height: 88px; padding: 18px 10px; font-size: 18px; }
  .social__wordmark { height: 24px; }
  .social__wordmark--tiktok { height: 27px; }
  .social__icon { width: 26px; height: 24px; }
  .creator-carousel { --creator-video-width: min(calc(100% - 48px), calc((104px * 2 + 16px) * 16 / 9)); }
  .creator-carousel__arrow { width: 28px; height: 28px; }
  .creator-carousel__arrow--prev { left: 2px; }
  .creator-carousel__arrow--next { right: 2px; }
  .creator-carousel__arrow .i { width: 14px; height: 14px; }
  .creator-carousel .community-video__watch { gap: 8px; padding: 4px 12px 4px 7px; font-size: 10px; line-height: 1.2; }
  .creator-carousel .community-video__play { flex-basis: 26px; width: 26px; height: 26px; }
  .creator-carousel .community-video__play svg { width: 17px; height: 17px; }
  .creator-carousel .community-video__caption { right: 10px; bottom: 6px; left: 10px; }
  .creator-carousel .community-video__caption h3 { font-size: 13px; }
  .creator-carousel .community-video__author { margin-top: 4px; font-size: 10px; line-height: 16px; }
  .creator-carousel .community-video__avatar { width: 16px; height: 16px; }
  .community-video__watch { gap: 10px; padding: 5px 16px 5px 9px; font-size: 11px; }
  .community-video__play { flex-basis: 32px; width: 32px; height: 32px; }
  .community-video__play svg { width: 20px; height: 20px; }
  .community-video__caption { right: 14px; bottom: 8px; left: 14px; }
  .community-video__caption h3 { font-size: 14px; }
  .community-video__author { margin-top: 4px; font-size: 11px; line-height: 18px; }
  .community-video__avatar { width: 18px; height: 18px; }
  .ftr__inner { grid-template-columns: minmax(0, 1fr); }
  .ftr__links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ftr__links .ftr__col--contacts { grid-column: 1 / -1; }
  .ftr__status { justify-content: flex-start; }
  .modal { padding: 0; place-items: end stretch; }
  .modal__dialog { width: 100%; max-height: 94dvh; padding: 18px 10px 10px; border-radius: 26px 26px 0 0; animation-name: sheet-in; }
  .modal__dialog::before { content: ""; position: absolute; top: 7px; left: 50%; width: 42px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .22); transform: translateX(-50%); }
  .modal.is-closing .modal__dialog { animation-name: sheet-out; }
  @keyframes sheet-in { from { transform: translateY(100%); } to { transform: none; } }
  @keyframes sheet-out { to { transform: translateY(100%); } }
  .order-head { padding: 18px; }
  .order-head__art { width: 64px; height: 64px; border-radius: 16px; }
  .order-head__ghost { font-size: 64px; }
  .order-body { padding: 16px 18px; }
  .order-form { padding: 18px 16px 14px; }
  .options { --cols: 3; }
  .options--packs { --cols: 3; }
  .opt { padding: 11px 4px; }
  .opt__label { font-size: 13px; }
  .opt__price { font-size: 13px; }
  .total { grid-template-columns: minmax(0, 1fr); position: sticky; bottom: 0; }
  .total__sum { grid-auto-flow: column; justify-content: space-between; align-items: baseline; padding: 6px 10px 0; }
}
@media (max-width: 480px) {
  .ipbox__cta { width: 44px; padding: 0; }
  .ipbox__cta span { display: none; }
  .promo small { display: none; }
  .promo b { font-size: 15px; }
  .pay { justify-content: flex-start; }
}
@media (max-width: 360px) {
  .creator-carousel { --creator-video-width: calc(100% - 32px); }
  .creator-carousel .community-video__watch { padding: 3px 10px 3px 6px; }
  .creator-carousel .community-video__play { flex-basis: 24px; width: 24px; height: 24px; }
  .creator-carousel .community-video__caption { bottom: 5px; }
  .creator-carousel .community-video__caption h3 { font-size: 12px; -webkit-line-clamp: 1; }
  .creator-carousel .community-video__author { margin-top: 3px; line-height: 14px; }
  .creator-carousel .community-video__avatar { width: 14px; height: 14px; }
  .community-video__watch { gap: 8px; padding: 4px 12px 4px 7px; font-size: 10px; line-height: 1.2; }
  .community-video__play { flex-basis: 24px; width: 24px; height: 24px; }
  .community-video__play svg { width: 16px; height: 16px; }
  .community-video__caption { bottom: 6px; }
  .community-video__caption h3 { font-size: 13px; }
  .community-video__author { line-height: 16px; }
  .community-video__avatar { width: 16px; height: 16px; }
}
@media (max-width: 420px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pcard__art { margin-bottom: 4px; }
  .socials { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ftr__links { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  /* без бегущей строки: ленту листают пальцем или колёсиком */
  .feed { overflow-x: auto; scrollbar-width: none; }
  .feed__track { animation: none !important; }
}
