/* GameTok — тёмная фиолетовая витрина: веер карточек, лучи, курсивные заголовки.
   Палитра: глубокий фиолетовый фон, неоновый сиреневый акцент, розовый — второй акцент. */
:root {
  --bg: #0d0720;
  --bg-2: #140b2e;
  --surface: #1b1038;
  --surface-2: #251747;
  --line: rgba(196, 160, 255, .14);
  --line-2: rgba(196, 160, 255, .28);
  --text: #f4efff;
  --muted: #ab9fd0;
  --dim: #75689c;

  --y: #c084ff;            /* главный акцент (неоновый сиреневый) */
  --y-2: #9d4dff;
  --pink: #ff5fc8;
  --accent: var(--y);
  --accent-ink: #12052a;
  --grad: linear-gradient(100deg, #8b3dff 0%, #b45cff 55%, #e45cff 100%);
  --grad-text: linear-gradient(100deg, #d6a8ff 0%, #c084ff 45%, #ff7ad6 100%);

  --steam: #5aa9ff;
  --robux: #ff4f7b;
  --pubg: #ffb02e;
  --fortnite: #a66bff;
  --psn: #3e6dff;
  --apple: #c9cde0;
  --ok: #3ee39a;
  --warn: #ffb02e;
  --bad: #ff5c79;

  --radius: 18px;
  --radius-sm: 12px;
  --cut: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display: 'Rubik', 'Inter', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 120px; }
body {
  margin: 0; min-height: 100vh; overflow-x: hidden;
  background:
    radial-gradient(900px 600px at 85% -10%, rgba(157, 77, 255, .28), transparent 60%),
    radial-gradient(700px 500px at -10% 30%, rgba(228, 92, 255, .12), transparent 60%),
    var(--bg);
  background-attachment: fixed;
  color: var(--text); font: 16px/1.55 var(--font); -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--y); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--y); color: var(--accent-ink); }
.hidden { display: none !important; }
.wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.mono { font-variant-numeric: tabular-nums; }
.dim { color: var(--dim); }
.disp { font-family: var(--font-display); font-weight: 900; font-style: italic; text-transform: uppercase; letter-spacing: -.02em; line-height: .92; }
.y, .disp .y { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }

/* ── Промо-полоса ── */
.promo-bar { position: relative; z-index: 31; background: var(--grad); color: #fff; font-family: var(--font-display); font-style: italic; font-weight: 800; text-transform: uppercase; font-size: 14px; letter-spacing: .01em; }
.promo-bar .wrap { display: flex; align-items: center; justify-content: center; gap: 8px 22px; flex-wrap: wrap; min-height: 40px; padding-top: 5px; padding-bottom: 5px; }
.pb-item { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.pb-chip { background: var(--bg); color: #fff; padding: 2px 9px; border-radius: 6px; font-family: var(--mono); font-style: normal; font-weight: 500; font-variant-numeric: tabular-nums; }
.pb-sep { opacity: .5; }
.pb-copy { border: 0; background: none; padding: 0; cursor: pointer; font: inherit; color: inherit; text-transform: inherit; display: inline-flex; align-items: center; gap: 8px; }
.pb-copy .pb-chip { color: #e9d4ff; }
.pb-copy:hover .pb-chip { background: #000; }
.bolt { width: 15px; height: 15px; flex: none; }

/* ── Шапка ── */
.top { position: sticky; top: 0; z-index: 30; background: rgba(13, 7, 32, .82); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 22px; height: 76px; }
.logo { display: flex; align-items: center; gap: 11px; text-decoration: none; font-family: var(--font-display); font-weight: 900; font-style: italic; text-transform: uppercase; font-size: 24px; letter-spacing: -.01em; }
.logo-mark { width: 42px; height: 42px; flex: none; background: var(--grad); color: #fff; display: grid; place-items: center; border-radius: 10px; clip-path: polygon(0 0, 100% 0, 100% 72%, 76% 100%, 0 100%); box-shadow: 0 0 24px rgba(180, 92, 255, .5); transition: transform .3s var(--spring); }
.logo:hover .logo-mark { transform: rotate(-8deg) scale(1.05); }
.logo-mark svg { width: 20px; height: 20px; }
.logo-name b { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 900; }
.nav { display: flex; gap: 6px; }
.nav a { white-space: nowrap; padding: 8px 11px; text-decoration: none; color: var(--muted); font-family: var(--font-display); font-weight: 800; font-style: italic; text-transform: uppercase; font-size: 15px; transition: color .15s; }
.nav a:hover { color: var(--text); }
.nav a.on { color: var(--y); }
.search { position: relative; margin-left: auto; flex: 1 1 300px; max-width: 340px; min-width: 180px; }
.search input { width: 100%; height: 48px; padding: 0 16px 0 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); outline: none; transition: border-color .15s, box-shadow .15s; }
.search input::placeholder { color: var(--dim); }
.search input:focus { border-color: var(--y); box-shadow: 0 0 0 3px rgba(192, 132, 255, .2); }
.search svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
.search-res { position: absolute; top: calc(100% + 8px); left: 0; right: 0; background: var(--surface); border: 1px solid var(--line-2); border-radius: 14px; padding: 6px; box-shadow: 0 20px 50px rgba(0, 0, 0, .5); z-index: 40; max-height: 60vh; overflow-y: auto; animation: pop-in .18s var(--ease); }
.search-res button { display: flex; width: 100%; align-items: center; gap: 10px; padding: 9px 10px; border: 0; background: none; border-radius: 9px; cursor: pointer; text-align: left; }
.search-res button:hover, .search-res button.on { background: var(--surface-2); }
.search-res button > span:first-child { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.search-res .sr-cat { font-size: 12px; color: var(--muted); white-space: nowrap; }
.search-res .sr-price { font-weight: 700; white-space: nowrap; }
.search-res .empty { padding: 12px; }
.top-right { display: flex; align-items: center; gap: 10px; }
.user-bar { display: flex; gap: 10px; align-items: center; }
#guestBar { display: flex; gap: 8px; }
.balance-chip { white-space: nowrap; flex: none; display: flex; align-items: center; gap: 10px; text-decoration: none; height: 48px; padding: 0 5px 0 16px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface); font-family: var(--font-display); font-weight: 800; font-style: italic; font-size: 17px; transition: border-color .15s; }
.balance-chip:hover { border-color: var(--y); }
.balance-chip.bump { animation: bump .5s var(--spring); }
.balance-chip .plus { width: 36px; height: 36px; border-radius: 9px; background: var(--grad); color: #fff; display: grid; place-items: center; font-weight: 800; font-style: normal; font-size: 20px; line-height: 1; }

/* ── Кнопки и поля ── */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 10px 18px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface); color: var(--text);
  font-weight: 700; font-size: 15px; cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: transform .15s var(--ease), background .15s, border-color .15s, box-shadow .2s, filter .15s;
}
.btn:hover { border-color: var(--y); }
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .2s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-y, .btn-foil, .btn-accent {
  background: var(--grad); color: #fff; border: 0; border-radius: 4px; clip-path: var(--cut);
  font-family: var(--font-display); font-style: italic; font-weight: 900; text-transform: uppercase; letter-spacing: .01em;
  box-shadow: 0 10px 30px -8px rgba(180, 92, 255, .7);
}
.btn-y:hover, .btn-foil:hover, .btn-accent:hover { filter: brightness(1.12); }
.btn-cut { background: rgba(157, 77, 255, .22); color: #fff; border: 0; border-radius: 4px; clip-path: var(--cut); font-family: var(--font-display); font-style: italic; font-weight: 900; text-transform: uppercase; }
.btn-cut:hover { background: rgba(157, 77, 255, .38); }
.btn-ghost { border-color: transparent; background: transparent; }
.btn-ghost:hover { background: var(--surface); border-color: transparent; }
.btn-login { height: 48px; padding: 0 18px; border-radius: 12px; background: var(--surface); }
.btn-login svg { width: 19px; height: 19px; }
.btn-login:hover svg { transform: none; }
.btn-lg { padding: 16px 28px; font-size: 17px; }
.btn-sm { padding: 6px 11px; font-size: 13px; border-radius: 9px; }
.btn-block { width: 100%; }
.btn-danger { color: var(--bad); }
.btn.loading { color: transparent !important; pointer-events: none; }
.btn.loading::after { content: ''; position: absolute; width: 18px; height: 18px; border-radius: 50%; border: 3px solid #fff; border-right-color: transparent; animation: spin .7s linear infinite; }

.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.field.tight { margin-bottom: 10px; }
.field label { font-size: 13.5px; font-weight: 700; color: var(--text); }
.field .hint { font-size: 13px; color: var(--muted); }
.input { width: 100%; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--bg-2); border: 1px solid var(--line); outline: none; transition: border-color .15s, box-shadow .15s; }
.input:hover { border-color: var(--line-2); }
.input:focus { border-color: var(--y); box-shadow: 0 0 0 3px rgba(192, 132, 255, .18); }
.input::placeholder { color: var(--dim); }
select.input option { background: var(--surface); }
.input.shake { animation: shake .4s; border-color: var(--bad); }
.err { color: var(--bad); font-size: 13.5px; font-weight: 600; min-height: 20px; margin: -6px 0 10px; }

/* ── Герой ── */
.hero-wrap { padding-top: 40px; }
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: 20px;
  min-height: 560px; padding: 56px; border-radius: 28px;
  background: linear-gradient(135deg, #3a1784 0%, #2a0f63 45%, #1a0a42 100%);
  border: 1px solid rgba(196, 160, 255, .25);
  box-shadow: 0 40px 100px -30px rgba(120, 50, 255, .6);
}
.hero::before { /* лучи */
  content: ''; position: absolute; z-index: -1; left: 62%; top: 50%; width: 1800px; height: 1800px; margin: -900px 0 0 -900px;
  background: repeating-conic-gradient(from 0deg, rgba(255, 255, 255, .07) 0deg 7deg, transparent 7deg 18deg);
  -webkit-mask: radial-gradient(circle, #000 0 18%, transparent 55%); mask: radial-gradient(circle, #000 0 18%, transparent 55%);
  animation: rays 80s linear infinite;
}
.hero::after { content: ''; position: absolute; z-index: -1; right: -8%; top: 10%; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(228, 92, 255, .35), transparent 65%); filter: blur(20px); }
.pill { display: inline-flex; align-items: center; gap: 9px; padding: 7px 15px; border-radius: 999px; background: rgba(13, 7, 32, .55); border: 1px solid var(--line-2); font-weight: 700; font-size: 14px; }
.pill .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px var(--ok); animation: blink-dot 1.6s ease-in-out infinite; }
.hero-title { font-size: clamp(44px, 5.5vw, 84px); margin: 26px 0 22px; text-shadow: 0 8px 40px rgba(0, 0, 0, .35); }
.hero-title .ln { display: block; }
.hero-title .ln:nth-child(2) .w { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .08em; }
.hero-title .w { display: inline-block; opacity: 0; transform: translateY(40%) skewX(-8deg); }
.ready .hero-title .w { animation: slam .65s var(--spring) forwards; }
.ready .hero-title .ln:nth-child(2) .w { animation-delay: .12s; }
.hero .lead { font-size: 18.5px; color: #d8ccf5; max-width: 42ch; margin: 0 0 30px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-stats { display: flex; gap: 40px; flex-wrap: wrap; }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats b { font-family: var(--font-display); font-style: italic; font-size: 38px; font-weight: 900; line-height: 1; font-variant-numeric: tabular-nums; }
.hero-stats span { font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; color: var(--muted); margin-top: 8px; }
.hero-copy { position: relative; z-index: 2; }
.hero-copy > .lead, .hero-copy > .hero-cta, .hero-copy > .hero-stats, .hero-copy > .pill { opacity: 0; }
.ready .hero-copy > .pill { animation: fade-up .5s .05s var(--ease) forwards; }
.ready .hero-copy > .lead { animation: fade-up .5s .25s var(--ease) forwards; }
.ready .hero-copy > .hero-cta { animation: fade-up .5s .35s var(--ease) forwards; }
.ready .hero-copy > .hero-stats { animation: fade-up .5s .45s var(--ease) forwards; }

/* веер карточек */
.deck { position: relative; z-index: 1; height: 420px; }
.holo {
  --rx: 0deg; --ry: 0deg; --hover: 0; --c: var(--y); --rot: 0deg; --lift: 0px;
  position: absolute; top: calc(50% - 140px + var(--dy, 0px)); left: calc(var(--i) * 15% - 4%);
  width: 196px; height: 280px; padding: 0; border: 1.5px solid color-mix(in srgb, var(--c) 70%, #fff); border-radius: 18px;
  background: linear-gradient(160deg, color-mix(in srgb, var(--c) 55%, #2a1060) 0%, #1c0c45 70%);
  box-shadow: 0 24px 50px -12px rgba(0, 0, 0, .6), inset 0 0 0 1px rgba(255, 255, 255, .06);
  color: #fff; text-align: left; cursor: pointer; overflow: hidden; opacity: 0;
  transform: perspective(800px) rotate(var(--rot)) translateY(calc(var(--hover) * -26px)) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .45s var(--spring), box-shadow .3s;
}
.holo[data-cat="steam"] { --c: var(--steam); --i: 0; --rot: -16deg; --dy: 28px; }
.holo[data-cat="robux"] { --c: var(--robux); --i: 1; --rot: -10deg; --dy: 6px; }
.holo[data-cat="pubg"] { --c: var(--pubg); --i: 2; --rot: -4deg; --dy: -6px; }
.holo[data-cat="fortnite"] { --c: var(--fortnite); --i: 3; --rot: 3deg; --dy: -8px; }
.holo[data-cat="psn"] { --c: var(--psn); --i: 4; --rot: 10deg; --dy: 4px; }
.holo[data-cat="apple"] { --c: #b9bfd8; --i: 5; --rot: 17deg; --dy: 24px; }
.holo:hover, .holo.tilting { --hover: 1; z-index: 5; box-shadow: 0 34px 70px -14px rgba(0, 0, 0, .7), 0 0 40px -6px var(--c); }
.holo.tilting { transition: transform .1s linear, box-shadow .3s; }
.holo-foil { position: absolute; inset: 0; background: repeating-linear-gradient(-55deg, rgba(255, 255, 255, .05) 0 2px, transparent 2px 9px); }
.holo-glare { position: absolute; inset: 0; background: radial-gradient(circle at var(--mx, 30%) var(--my, 20%), rgba(255, 255, 255, .28), transparent 50%); opacity: calc(.4 + var(--hover) * .6); transition: opacity .3s; }
.holo-body { position: relative; display: flex; flex-direction: column; height: 100%; padding: 16px 16px 18px; }
.holo-top { display: flex; align-items: center; gap: 8px; }
.holo-chip { display: none; }
.holo-brand { padding: 3px 9px; border-radius: 6px; background: rgba(0, 0, 0, .35); font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: 12.5px; text-transform: uppercase; letter-spacing: .03em; color: color-mix(in srgb, var(--c) 60%, #fff); }
.holo-glyph { margin: auto 0 6px; font-family: var(--font-display); font-style: italic; font-weight: 900; font-size: 72px; line-height: 1; letter-spacing: -.03em; text-shadow: 0 6px 24px rgba(0, 0, 0, .4); }
.holo-name { font-family: var(--font-display); font-style: italic; font-weight: 900; font-size: 19px; text-transform: uppercase; line-height: 1.05; }
.holo-meta { font-size: 12.5px; color: rgba(255, 255, 255, .7); margin-top: 4px; }
.ready .holo { animation: deal .8s var(--spring) forwards; }
.ready .holo[data-deal="0"] { animation-delay: .25s; } .ready .holo[data-deal="1"] { animation-delay: .33s; }
.ready .holo[data-deal="2"] { animation-delay: .41s; } .ready .holo[data-deal="3"] { animation-delay: .49s; }
.ready .holo[data-deal="4"] { animation-delay: .57s; } .ready .holo[data-deal="5"] { animation-delay: .65s; }
.ready .holo.dealt { opacity: 1; animation: none; }

/* ── Заголовки секций ── */
.section { padding-top: 96px; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; margin-bottom: 28px; }
.eyebrow { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); margin: 0 0 12px; }
.sec-title { font-size: clamp(36px, 5vw, 64px); margin: 0; }
.sec-link { font-family: var(--font-display); font-style: italic; font-weight: 800; text-transform: uppercase; color: var(--y); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; font-size: 15px; }
.sec-link:hover { color: #fff; }
.sec-link svg { width: 18px; height: 18px; transition: transform .2s; }
.sec-link:hover svg { transform: translateX(4px); }
.timer-chip { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 8px; background: var(--grad); color: #fff; font-family: var(--mono); font-weight: 500; font-variant-numeric: tabular-nums; letter-spacing: 0; text-transform: none; }

/* ── Скидки дня ── */
.deals { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.deal {
  --c: var(--y); position: relative; overflow: hidden; text-align: left; cursor: pointer; padding: 0; color: var(--text);
  border: 1px solid var(--line); border-radius: 20px; background: var(--surface);
  transition: transform .3s var(--spring), border-color .2s, box-shadow .3s;
}
.deal:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--c) 60%, transparent); box-shadow: 0 24px 50px -16px color-mix(in srgb, var(--c) 55%, transparent); }
.deal-art { position: relative; height: 190px; display: grid; place-items: center; overflow: hidden; background: linear-gradient(160deg, color-mix(in srgb, var(--c) 60%, #2a1060), #1c0c45 80%); }
.deal-art::before { content: ''; position: absolute; inset: -50%; background: repeating-conic-gradient(rgba(255, 255, 255, .06) 0deg 8deg, transparent 8deg 20deg); animation: rays 60s linear infinite; }
.deal-art > span { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.deal-glyph { font-family: var(--font-display); font-style: italic; font-weight: 900; font-size: 76px; line-height: 1; color: #fff; text-shadow: 0 8px 30px rgba(0, 0, 0, .4); transition: transform .4s var(--spring); }
.deal:hover .deal-glyph { transform: scale(1.1) rotate(-4deg); }
.deal-qty { font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: 16px; text-transform: uppercase; color: #fff; background: rgba(0, 0, 0, .35); border-radius: 8px; padding: 2px 10px; }
.tag { position: absolute; top: 12px; left: 12px; z-index: 2; background: var(--grad); color: #fff; font-family: var(--font-display); font-style: italic; font-weight: 900; font-size: 15px; padding: 4px 11px; border-radius: 4px; clip-path: var(--cut); }
.tag-r { left: auto; right: 12px; background: rgba(0, 0, 0, .55); font-size: 12px; text-transform: uppercase; }
.deal-body { display: block; padding: 16px 18px 18px; }
.deal-cat { display: block; font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.deal-name { display: block; font-weight: 700; font-size: 17px; margin: 4px 0 12px; line-height: 1.25; }
.deal-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.price-now { font-family: var(--font-display); font-style: italic; font-weight: 900; font-size: 25px; font-variant-numeric: tabular-nums; }
.price-old { color: var(--dim); text-decoration: line-through; font-size: 14px; margin-left: 6px; font-weight: 600; }
.deal-buy { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 10px; background: var(--grad); color: #fff; transition: transform .25s var(--spring); }
.deal:hover .deal-buy { transform: translateX(3px) scale(1.06); }
.deal-buy svg { width: 19px; height: 19px; }
.deal[data-cat="steam"] { --c: var(--steam); } .deal[data-cat="robux"] { --c: var(--robux); }
.deal[data-cat="pubg"] { --c: var(--pubg); } .deal[data-cat="fortnite"] { --c: var(--fortnite); }
.deal[data-cat="psn"] { --c: var(--psn); } .deal[data-cat="apple"] { --c: #8f96b8; }
.deals-empty { padding: 40px; text-align: center; color: var(--muted); border: 1px dashed var(--line-2); border-radius: 20px; }

/* ── Каталог ── */
.seg-scroll { overflow-x: auto; scrollbar-width: none; margin: 0 -24px 22px; padding: 2px 24px 6px; }
.seg-scroll::-webkit-scrollbar { display: none; }
.seg { position: relative; display: inline-flex; gap: 4px; padding: 5px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.seg-thumb { position: absolute; top: 5px; bottom: 5px; left: 0; width: 0; border-radius: 10px; background: var(--grad); transition: transform .35s var(--spring), width .35s var(--spring); z-index: 0; }
.seg-btn { position: relative; z-index: 1; display: flex; align-items: center; gap: 9px; padding: 10px 18px; border: 0; border-radius: 10px; cursor: pointer; white-space: nowrap; background: none; color: var(--muted); font-family: var(--font-display); font-style: italic; font-weight: 800; text-transform: uppercase; font-size: 15px; transition: color .2s; }
.seg-btn:hover { color: var(--text); }
.seg-btn.on { color: #fff; }
.seg:not(:has(.seg-thumb)) .seg-btn.on { background: var(--grad); }
.seg-btn .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--c); box-shadow: 0 0 8px var(--c); }
.seg-btn[data-cat="steam"] { --c: var(--steam); } .seg-btn[data-cat="robux"] { --c: var(--robux); }
.seg-btn[data-cat="pubg"] { --c: var(--pubg); } .seg-btn[data-cat="fortnite"] { --c: var(--fortnite); }
.seg-btn[data-cat="psn"] { --c: var(--psn); } .seg-btn[data-cat="apple"] { --c: var(--apple); }

[data-view="steam"] { --c: var(--steam); } [data-view="robux"] { --c: var(--robux); } [data-view="pubg"] { --c: var(--pubg); }
[data-view="fortnite"] { --c: var(--fortnite); } [data-view="psn"] { --c: var(--psn); } [data-view="apple"] { --c: #9aa1c4; }
.panel { position: relative; display: grid; grid-template-columns: 1.3fr 1fr; overflow: hidden; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); }
.panel::before { content: ''; position: absolute; left: -10%; top: -60%; width: 60%; height: 120%; background: radial-gradient(circle, color-mix(in srgb, var(--c) 28%, transparent), transparent 65%); pointer-events: none; }
.panel.enter { animation: panel-in .35s var(--ease); }
.panel-main { position: relative; padding: 36px 32px 32px; }
.panel-side { position: relative; padding: 36px 32px 32px; background: var(--bg-2); border-left: 1px solid var(--line); display: flex; flex-direction: column; }
.panel h2 { font-family: var(--font-display); font-weight: 900; font-style: italic; text-transform: uppercase; font-size: 30px; line-height: 1; margin: 0 0 10px; }
.panel .sub { color: var(--muted); font-size: 15.5px; margin: 0 0 24px; max-width: 54ch; }

.packs { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.pack { position: relative; text-align: left; cursor: pointer; padding: 15px 15px 13px; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--line); transition: transform .2s var(--spring), border-color .15s, background .15s, box-shadow .2s; }
.pack:hover { border-color: var(--line-2); transform: translateY(-2px); }
.pack.on { border-color: var(--c); background: color-mix(in srgb, var(--c) 14%, var(--bg-2)); box-shadow: 0 0 0 1px var(--c), 0 12px 30px -12px var(--c); }
.pack.pop { animation: pop .35s var(--spring); }
.pack .qty { font-family: var(--font-display); font-style: italic; font-weight: 900; font-size: 24px; line-height: 1.05; }
.pack .unit { font-family: var(--font); font-style: normal; font-size: 13px; font-weight: 700; color: var(--muted); margin-left: 5px; }
.pack .price { margin-top: 6px; font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; }
.pack .price s { color: var(--dim); font-weight: 500; font-size: 13px; margin-left: 4px; }
.pack .pack-tag { position: absolute; top: -10px; right: 10px; background: var(--grad); color: #fff; font-family: var(--font-display); font-style: italic; font-weight: 900; font-size: 12px; padding: 2px 9px; border-radius: 4px; clip-path: var(--cut); }

.regions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.region { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 11px; align-items: center; text-align: left; cursor: pointer; padding: 10px 12px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line); transition: border-color .15s, background .15s; }
.region:hover { border-color: var(--line-2); }
.region .flag { grid-row: 1 / 3; width: 32px; height: 22px; border-radius: 4px; overflow: hidden; display: block; }
.region .flag svg { display: block; width: 100%; height: 100%; }
.region-name { font-weight: 700; font-size: 14.5px; }
.region-cur { font-size: 12px; color: var(--muted); font-weight: 600; }
.region.on { border-color: var(--y); background: rgba(157, 77, 255, .16); }
.regions-sm { display: inline-flex; gap: 8px; margin-bottom: 16px; }
.regions-sm .region { grid-template-columns: auto auto; grid-template-rows: auto; padding: 7px 14px 7px 10px; }
.regions-sm .region .flag { grid-row: auto; width: 26px; height: 18px; }
.regions-sm .region-cur { display: none; }

.quick { display: flex; flex-wrap: wrap; gap: 8px; margin: -4px 0 16px; }
.quick.quick-accent { margin: 0 0 14px; }
.quick button { padding: 7px 14px; border-radius: 9px; cursor: pointer; background: var(--bg-2); border: 1px solid var(--line); font-weight: 700; font-size: 14px; font-variant-numeric: tabular-nums; transition: border-color .15s, background .15s; }
.quick button:hover { border-color: var(--line-2); }
.quick button.on { border-color: var(--y); background: rgba(157, 77, 255, .22); }

.summary { margin-top: auto; }
.sum-row { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; color: var(--muted); padding: 7px 0; }
.sum-row b { color: var(--text); font-weight: 700; text-align: right; }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--line); margin-top: 8px; padding-top: 16px; margin-bottom: 18px; }
.sum-total span { font-weight: 700; color: var(--muted); }
.sum-total b { font-family: var(--font-display); font-style: italic; font-weight: 900; font-size: 36px; font-variant-numeric: tabular-nums; }
.sum-total b.tick { animation: tick .35s var(--ease); }
.note { font-size: 14px; color: #ddd2f8; background: color-mix(in srgb, var(--c, var(--y)) 10%, transparent); border-left: 3px solid var(--c, var(--y)); padding: 10px 13px; border-radius: 8px; margin-bottom: 16px; }

.promo-row { display: flex; gap: 8px; margin: 4px 0 6px; }
.promo-row .input { padding: 9px 12px; text-transform: uppercase; font-weight: 700; letter-spacing: .04em; }
.promo-row .input::placeholder { text-transform: none; font-weight: 400; letter-spacing: 0; }
.promo-row .btn { padding: 8px 14px; }
.promo-ok { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 4px 0 6px; padding: 9px 12px; border-radius: 10px; background: rgba(62, 227, 154, .12); border: 1px solid rgba(62, 227, 154, .4); color: var(--ok); font-weight: 700; font-size: 14px; }
.promo-ok button { border: 0; background: none; color: var(--muted); cursor: pointer; font-size: 13px; text-decoration: underline; }
.promo-msg { font-size: 13px; color: var(--bad); font-weight: 600; min-height: 18px; }

.code-preview { position: relative; overflow: hidden; margin-bottom: 16px; padding: 14px 16px; border-radius: 12px; border: 1px dashed var(--line-2); background: var(--bg-2); display: flex; flex-direction: column; gap: 4px; }
.code-preview::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(105deg, transparent 35%, rgba(192, 132, 255, .16) 50%, transparent 65%); transform: translateX(-100%); animation: sweep 3.2s ease-in-out infinite; }
.cp-label { font-size: 12.5px; color: var(--muted); font-weight: 700; }
.cp-code { font-family: var(--mono); font-size: 18px; letter-spacing: .12em; color: var(--dim); }

/* ── Как это работает, вопросы ── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { position: relative; overflow: hidden; padding: 26px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.step-n { font-family: var(--font-display); font-style: italic; font-weight: 900; font-size: 56px; line-height: 1; margin-bottom: 14px; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .1em; }
.step h4 { margin: 0 0 8px; font-family: var(--font-display); font-style: italic; font-weight: 900; text-transform: uppercase; font-size: 20px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; margin-bottom: 12px; padding: 0 20px; transition: border-color .15s; }
.faq details[open] { border-color: var(--line-2); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font-weight: 700; font-size: 17.5px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: none; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 9px; background: var(--surface-2); font-weight: 800; font-size: 20px; line-height: 1; transition: transform .3s var(--spring), background .15s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--grad); }
.faq details p { color: var(--muted); margin: 0 0 18px; max-width: 72ch; }
.faq details[open] p { animation: fade-up .3s var(--ease); }

.foot { margin-top: 96px; border-top: 1px solid var(--line); padding: 28px 0 44px; color: var(--dim); font-size: 13.5px; }
.foot .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.foot p { margin: 0; max-width: 64ch; }
.foot-side { display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }
.foot-links { display: flex; gap: 18px; flex-wrap: wrap; }
.foot-links a { color: var(--muted); }
.foot-links a:hover { color: var(--y); }
.consent { font-size: 13px; color: var(--dim); text-align: center; margin: 14px 0 0; }
.consent a { color: var(--muted); }

/* ── Кабинет ── */
.cab { padding-top: 40px; animation: fade-up .4s var(--ease); }
.cab-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.cab-head h1 { font-family: var(--font-display); font-weight: 900; font-style: italic; text-transform: uppercase; font-size: clamp(34px, 4.4vw, 52px); margin: 0; line-height: 1; }
.cab-head .muted { color: var(--muted); font-size: 14.5px; margin-bottom: 6px; }
.cab-grid { display: grid; grid-template-columns: 360px 1fr; gap: 20px; align-items: start; }
.stack { display: flex; flex-direction: column; gap: 20px; }
.card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card h3 { margin: 0 0 14px; font-size: 16px; }
.wallet { background: linear-gradient(140deg, #3a1784, #1f0b4f); border-color: rgba(196, 160, 255, .3); overflow: hidden; }
.wallet::before { content: ''; position: absolute; right: -80px; top: -80px; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(circle, rgba(228, 92, 255, .35), transparent 65%); }
.wallet > * { position: relative; }
.bal-label { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: #cdbff0; }
.bal-big { font-family: var(--font-display); font-style: italic; font-weight: 900; font-size: 48px; line-height: 1.05; margin: 4px 0 18px; }
.wallet .input { background: rgba(13, 7, 32, .5); }
.fine { font-size: 13px; color: var(--dim); margin: 12px 0 0; }
.wallet .fine { color: #b9a9e0; }
.list { display: flex; flex-direction: column; }
.row { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: center; padding: 15px 0; border-bottom: 1px solid var(--line); animation: fade-up .35s var(--ease) backwards; }
.row:nth-child(2) { animation-delay: .04s; } .row:nth-child(3) { animation-delay: .08s; } .row:nth-child(4) { animation-delay: .12s; }
.row:last-child { border-bottom: 0; }
.row .t { font-weight: 700; font-size: 15px; }
.row .m { font-size: 13px; color: var(--muted); grid-column: 1; }
.row .p { font-family: var(--font-display); font-style: italic; font-size: 17px; text-align: right; font-weight: 900; font-variant-numeric: tabular-nums; }
.row .s { grid-column: 2; text-align: right; }
.row .admin-note { grid-column: 1 / -1; font-size: 13.5px; background: var(--bg-2); padding: 9px 11px; border-radius: 10px; color: var(--muted); }
.code-box { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 12px; background: rgba(62, 227, 154, .1); border: 1px solid rgba(62, 227, 154, .35); }
.code-box code { font-family: var(--mono); font-size: 15px; letter-spacing: .06em; word-break: break-all; color: var(--ok); }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--surface-2); color: var(--muted); }
.badge.pending { color: var(--warn); background: rgba(255, 176, 46, .12); }
.badge.pending::before, .badge.processing::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: pulse 1.6s ease-in-out infinite; }
.badge.processing { color: #8fb0ff; background: rgba(62, 109, 255, .16); }
.badge.done, .badge.paid { color: var(--ok); background: rgba(62, 227, 154, .12); }
.badge.canceled, .badge.failed { color: var(--bad); background: rgba(255, 92, 121, .12); }
.empty { color: var(--dim); font-size: 14.5px; padding: 26px 0; text-align: center; }
.tabs-inline { display: flex; gap: 6px; margin-bottom: 8px; }
.tabs-inline button { background: none; border: 0; border-radius: 9px; cursor: pointer; padding: 7px 14px; font-weight: 700; font-size: 14.5px; color: var(--muted); transition: color .15s, background .15s; }
.tabs-inline button:hover { color: var(--text); }
.tabs-inline button.on { color: #fff; background: var(--surface-2); }

/* ── Окна и уведомления ── */
.modal { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 20px; background: rgba(6, 2, 16, .7); backdrop-filter: blur(6px); animation: fade .2s ease-out; }
.modal-box { width: 100%; max-width: 420px; position: relative; background: var(--surface); border: 1px solid var(--line-2); border-radius: 22px; padding: 30px 28px 26px; box-shadow: 0 40px 100px rgba(0, 0, 0, .6); animation: modal-in .35s var(--spring); }
.modal-box h2 { font-family: var(--font-display); font-weight: 900; font-style: italic; text-transform: uppercase; font-size: 30px; margin: 0 0 20px; line-height: 1; }
.modal-close { position: absolute; top: 16px; right: 16px; }
.switch { text-align: center; margin-top: 16px; font-size: 14.5px; color: var(--muted); }
.switch button { background: none; border: 0; cursor: pointer; font-weight: 700; padding: 0; color: var(--y); }
.toast { position: fixed; left: 50%; bottom: 26px; z-index: 60; display: flex; align-items: center; gap: 10px; background: var(--surface-2); color: #fff; border: 1px solid var(--line-2); padding: 12px 18px; border-radius: 14px; font-weight: 600; font-size: 14.5px; box-shadow: 0 20px 50px rgba(0, 0, 0, .5); max-width: calc(100% - 32px); animation: toast-in .4s var(--spring) forwards; }
.toast::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--y); flex: none; }
.toast.ok::before { background: var(--ok); } .toast.bad::before { background: var(--bad); }
.coin { position: fixed; z-index: 70; width: 18px; height: 18px; border-radius: 50%; pointer-events: none; background: radial-gradient(circle at 35% 30%, #f0d9ff, var(--y) 60%); box-shadow: 0 0 12px var(--y); }

/* ── Документы ── */
.legal { max-width: 820px; padding-top: 40px; animation: fade-up .4s var(--ease); }
.legal .legal-tabs { display: inline-flex; gap: 4px; margin-bottom: 26px; flex-wrap: wrap; padding: 5px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.legal .legal-tabs a { padding: 8px 16px; border-radius: 10px; text-decoration: none; font-weight: 700; font-size: 14px; color: var(--muted); }
.legal .legal-tabs a.on { background: var(--grad); color: #fff; }
.legal h1 { font-family: var(--font-display); font-weight: 900; font-style: italic; text-transform: uppercase; font-size: clamp(34px, 4.8vw, 54px); line-height: 1; margin: 0 0 10px; }
.legal-date { color: var(--muted); font-size: 14px; margin: 0 0 26px; }
.legal > p, .legal li { max-width: 72ch; }
.legal p { margin: 0 0 14px; color: #d9cff2; }
.legal a { color: var(--y); }
.legal-list { list-style: none; padding: 0; margin: 30px 0 0; counter-reset: sec; }
.legal-list > li { counter-increment: sec; padding: 24px 26px 12px; margin-bottom: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; }
.legal-list > li > h2 { display: flex; align-items: center; gap: 12px; font-size: 19px; font-weight: 700; margin: 0 0 14px; }
.legal-list > li > h2::before { content: counter(sec); flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 9px; background: var(--grad); color: #fff; font-family: var(--font-display); font-style: italic; font-weight: 900; font-size: 16px; }
.legal-list ul { margin: 0 0 14px; padding-left: 20px; color: #d9cff2; }
.legal-list ul li::marker { color: var(--y); }
.fill { background: rgba(192, 132, 255, .16); color: #e4ccff; border-radius: 5px; padding: 0 5px; box-shadow: inset 0 0 0 1px rgba(192, 132, 255, .4); }
.read-progress { position: fixed; left: 0; right: 0; top: 76px; height: 3px; z-index: 31; background: var(--grad); transform-origin: left; transform: scaleX(0); }

/* ── Живые эффекты (motion.js) ── */
.fx-canvas { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
main, .top, .foot, .promo-bar { position: relative; z-index: 1; }
.top { position: sticky; z-index: 30; }
.promo-bar { z-index: 31; }
.rv { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.spot-on { position: relative; }

/* ── Магазин Fortnite ── */
.fn-how { margin: 0; max-width: 34ch; color: var(--muted); font-weight: 600; font-size: 15px; }
.fn-tabs .seg-btn { font-size: 14px; padding: 8px 15px; }
.fn-tabs .seg-btn.on { background: var(--grad); }
.fn-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(196px, 1fr)); gap: 16px; }
.fn-card { --fc: var(--y); position: relative; display: flex; flex-direction: column; padding: 0; text-align: left; cursor: pointer; color: var(--text); background: var(--surface); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; transition: transform .3s var(--spring), border-color .2s, box-shadow .3s; animation: fade-up .35s var(--ease) backwards; }
.fn-card:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--fc) 70%, transparent); box-shadow: 0 24px 50px -16px color-mix(in srgb, var(--fc) 60%, transparent); }
.fn-art { position: relative; display: block; aspect-ratio: 1; background: radial-gradient(circle at 50% 30%, color-mix(in srgb, var(--fc) 75%, #fff 5%), color-mix(in srgb, var(--fc) 45%, #12052a) 80%); overflow: hidden; }
.fn-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.fn-card:hover .fn-art img { transform: scale(1.07); }
.fn-card .tag { max-width: calc(100% - 24px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; text-transform: uppercase; }
.fn-info { display: flex; flex-direction: column; flex: 1; padding: 12px 14px 14px; }
.fn-type { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.fn-name { font-family: var(--font-display); font-style: italic; font-weight: 900; text-transform: uppercase; font-size: 16px; line-height: 1.1; margin: 4px 0 10px; }
.fn-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.fn-foot .price-now { font-size: 21px; }
.vb { display: inline-flex; align-items: center; gap: 5px; font-weight: 700; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.vb::before { content: 'V'; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; font-family: var(--font-display); font-style: italic; font-size: 10px; font-weight: 900; }
.fn-more { display: flex; justify-content: center; margin-top: 26px; }
.fnm { max-width: 440px; }
.fnm-art { --fc: var(--y); position: relative; height: 220px; margin: -6px 0 16px; border-radius: 16px; overflow: hidden; background: radial-gradient(circle at 50% 30%, color-mix(in srgb, var(--fc) 75%, #fff 5%), color-mix(in srgb, var(--fc) 45%, #12052a) 80%); }
.fnm-art img { width: 100%; height: 100%; object-fit: contain; }
.fnm-type { margin: 0 0 6px; font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.fnm h2 { margin-bottom: 12px; }
.fnm-price { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 12px 0 14px; margin-bottom: 14px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.fnm-price b { font-family: var(--font-display); font-style: italic; font-weight: 900; font-size: 32px; }
.fnm .modal-close { z-index: 2; background: rgba(13, 7, 32, .6); }
.modal-box.fnm { max-height: calc(100vh - 40px); overflow-y: auto; }

/* ── Кадры ── */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes rays { to { transform: rotate(360deg); } }
@keyframes fade { from { opacity: 0; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes slam { 0% { opacity: 0; transform: translateY(40%) skewX(-8deg); } 100% { opacity: 1; transform: none; } }
@keyframes blink-dot { 50% { opacity: .35; } }
/* имя «deal» использует app.js — по окончании карточка получает класс .dealt */
@keyframes deal { 0% { opacity: 0; transform: perspective(800px) translate(-120px, 160px) rotate(-40deg) scale(.7); } 100% { opacity: 1; transform: perspective(800px) rotate(var(--rot)); } }
@keyframes panel-in { from { opacity: 0; transform: translateY(8px); } }
@keyframes pop { 40% { transform: scale(1.05); } }
@keyframes pop-in { from { opacity: 0; transform: translateY(-4px); } }
@keyframes bump { 40% { transform: scale(1.08); } }
@keyframes tick { from { opacity: .3; transform: translateY(-6px); } }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
@keyframes pulse { 50% { opacity: .3; } }
@keyframes sweep { 0%, 30% { transform: translateX(-100%); } 70%, 100% { transform: translateX(100%); } }
@keyframes modal-in { from { opacity: 0; transform: translateY(20px) scale(.96); } }
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, 20px); } to { opacity: 1; transform: translate(-50%, 0); } }

/* ── Адаптив ── */
@media (max-width: 1240px) { .user-bar #adminLink { display: none; } }
@media (max-width: 1100px) {
  .search { flex-basis: 220px; } .nav a { padding: 8px 8px; font-size: 14px; }
  .holo { width: 170px; height: 244px; } .holo-glyph { font-size: 60px; } .holo-name { font-size: 16px; }
}
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; padding: 40px 32px 20px; min-height: 0; }
  .hero::before { left: 50%; top: 80%; }
  .deck { height: 330px; max-width: 560px; width: 100%; margin: 0 auto; }
  .panel { grid-template-columns: 1fr; }
  .panel-side { border-left: 0; border-top: 1px solid var(--line); }
  .cab-grid { grid-template-columns: 1fr; }
  .nav { display: none; }
}
@media (max-width: 720px) {
  .steps { grid-template-columns: 1fr; }
  .search { display: none; }
  .top-right { margin-left: auto; }
}
@media (max-width: 640px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .promo-bar { font-size: 12px; }
  .promo-bar .wrap { gap: 4px 12px; }
  .pb-sep { display: none; }
  .top .wrap { height: 64px; gap: 12px; }
  .logo { font-size: 20px; gap: 9px; }
  .logo-mark { width: 36px; height: 36px; }
  .btn-login, .balance-chip { height: 42px; }
  .btn-login span { display: none; }
  .balance-chip .plus { width: 30px; height: 30px; }
  .hero-wrap { padding-top: 18px; }
  .hero { padding: 28px 20px 10px; border-radius: 22px; }
  .hero-title { margin: 18px 0 16px; }
  .hero .lead { font-size: 16.5px; }
  .hero-cta .btn { flex: 1; padding: 14px 14px; font-size: 15px; }
  .hero-stats { gap: 18px; flex-wrap: nowrap; }
  .hero-stats b { font-size: 25px; }
  .hero-stats span { font-size: 10.5px; }
  .deck { height: 250px; }
  .holo { width: 120px; height: 174px; border-radius: 13px; top: calc(50% - 87px + var(--dy, 0px) * .6); left: calc(var(--i) * 15.2% - 3%); }
  .holo-body { padding: 10px; }
  .holo-brand { font-size: 9.5px; padding: 2px 6px; }
  .holo-glyph { font-size: 42px; }
  .holo-name { font-size: 12px; }
  .holo-meta { display: none; }
  .section { padding-top: 72px; }
  .seg-scroll { margin-left: -16px; margin-right: -16px; padding-left: 16px; padding-right: 16px; }
  .seg-btn { padding: 9px 14px; font-size: 14px; }
  .panel-main, .panel-side { padding: 28px 20px 22px; }
  .panel h2 { font-size: 24px; }
  .packs { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .deals { grid-template-columns: 1fr 1fr; gap: 12px; }
  .deal-art { height: 128px; }
  .deal-glyph { font-size: 48px; }
  .deal-qty { font-size: 12px; padding: 1px 7px; }
  .deal-body { padding: 12px; }
  .deal-name { font-size: 14px; margin-bottom: 8px; }
  .price-now { font-size: 19px; }
  .price-old { display: block; margin: 0; }
  .deal-buy { display: none; }
  .tag { top: 8px; left: 8px; font-size: 12px; padding: 3px 8px; }
  .tag-r { left: auto; right: 8px; font-size: 10.5px; }
  .regions-sm { display: grid; grid-template-columns: 1fr 1fr; }
  .fn-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .fn-name { font-size: 13.5px; }
  .fn-foot { flex-direction: column; align-items: flex-start; gap: 2px; }
  .fn-foot .price-now { font-size: 18px; }
  .fnm-art { height: 170px; }
  .foot-side { align-items: flex-start; }
  .legal-list > li { padding: 20px 18px 8px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .hero-title .w, .hero-copy > * { opacity: 1 !important; transform: none !important; }
  .holo, .rv { opacity: 1 !important; }
  .rv { transform: none !important; }
}
