:root {
  color-scheme: dark;
  --bg: #140e1b;
  --panel: #211629;
  --raised: #301e3a;
  --line: #432d4e;
  --bright-line: #74476b;
  --text: #fff3fb;
  --muted: #cdb6d0;
  --accent: #ff9bcb;
  --soft-accent: #ffd0e9;
  --on-accent: #331429;
  --stock: #bcebd6;
  --error: #ffb8bd;
  --radius: 14px;
  font: 16px/1.5 Inter, "Segoe UI", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; background: var(--bg); color: var(--text); }
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, select, summary { cursor: pointer; }
button:disabled { cursor: default; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.shell { width: min(1260px, calc(100% - 80px)); margin-inline: auto; }

.site-header { border-bottom: 1px solid var(--line); background: #1a1021; }
.header-inner, .footer-inner { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 0; font-size: 21px; font-weight: 900; letter-spacing: -.065em; }
.brand-dot { color: var(--accent); }
.brand-mark { width: 23px; height: 23px; position: relative; margin-right: 10px; border-radius: 5px; background: var(--accent); transform: rotate(-8deg); }
.brand-mark::after { content: ""; position: absolute; inset: 6px 5px; border: 2px solid var(--on-accent); border-right: 0; border-radius: 5px 0 0 5px; transform: rotate(39deg); }
.site-header nav { display: flex; align-items: center; gap: clamp(16px, 4vw, 40px); }
.site-header nav a, .help-link { font-size: .88rem; font-weight: 650; color: var(--muted); }
.site-header nav a:hover, .help-link:hover, .footer-inner a:hover { color: var(--accent); }
.help-link { padding: 7px 12px; border: 1px solid var(--line); border-radius: 8px; }
.help-link:hover, .help-link[aria-current="page"] { border-color: var(--bright-line); background: var(--raised); color: var(--soft-accent); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.site-language { min-height: 36px; padding: 4px 6px; border: 1px solid var(--line); border-radius: 8px;
  background: var(--panel); color: var(--text); font-size: .82rem; }
.basket-button { display: inline-flex; align-items: center; gap: 7px; min-height: 34px; }
.basket-button[aria-current="page"] { background: var(--raised); border-color: var(--accent); }
#basket-count { color: var(--soft-accent); font-variant-numeric: tabular-nums; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 452px;
  display: grid;
  align-items: center;
  margin-top: 28px;
  padding: 54px clamp(26px, 5.4vw, 78px);
  border: 1px solid var(--bright-line);
  border-radius: 20px;
  background: #25132d;
}
.hero::before {
  content: ""; position: absolute; z-index: -1; inset: 0;
  background: linear-gradient(90deg, #25132df0 2%, #25132d62 43%, #25132d00 70%),
    url("/assets/hero.webp") right center / cover no-repeat;
}
.hero-content { max-width: 550px; }
.hero h1 { font-size: clamp(2.85rem, 5.4vw, 5.3rem); font-weight: 800; line-height: 1.02; letter-spacing: -.065em; }
.hero h1 span, .hero h1 em { display: block; }
.hero h1 em { color: var(--accent); font-style: normal; }
.hero p { max-width: 375px; margin: 22px 0 25px; color: var(--muted); font-size: .99rem; }
.action { display: inline-flex; justify-content: space-between; align-items: center; gap: 19px; padding: 12px 18px; background: var(--accent); color: var(--on-accent); font-weight: 770; border: 1px solid transparent; border-radius: 9px; transition: background .15s ease; }
.action:hover { background: var(--soft-accent); }
.action:disabled { opacity: .66; }

.catalog { margin-block: 52px 64px; }
.catalog-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.section-title { display: flex; align-items: center; gap: 14px; }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.7rem); line-height: 1.1; font-weight: 800; letter-spacing: -.055em; }
.count { min-width: 29px; padding: 2px 7px; border: 1px solid var(--line); border-radius: 6px; color: var(--muted); text-align: center; font: .8rem/1.55 Consolas, monospace; }
.catalog-tools { display: flex; align-items: center; gap: 8px; }
.search, .catalog-tools select { min-height: 42px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); color: var(--text); }
.search { display: flex; align-items: center; gap: 10px; padding: 0 12px; }
.search input { width: 180px; max-width: 100%; padding: 7px 0; border: 0; background: none; color: var(--text); font-size: .86rem; }
.search input:focus-visible { outline-offset: 1px; }
.search input::placeholder { color: var(--muted); }
.search-icon { position: relative; width: 13px; height: 13px; flex: 0 0 13px; border: 1.5px solid var(--muted); border-radius: 50%; }
.search-icon::after { content: ""; width: 5px; height: 1.5px; background: var(--muted); position: absolute; right: -4px; bottom: -2px; transform: rotate(46deg); }
.catalog-tools select { padding: 7px 10px; font-size: .86rem; }
.genres { display: flex; flex-wrap: wrap; gap: 7px; margin: 18px 0 20px; }
.chip { padding: 5px 12px; border: 1px solid var(--line); border-radius: 7px; background: transparent; color: var(--muted); font-size: .85rem; }
.chip:hover, .chip[aria-pressed="true"] { border-color: var(--bright-line); color: var(--soft-accent); background: var(--raised); }
.demo-note { margin: -4px 0 15px; color: var(--muted); font-size: .82rem; }
.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; }
.product { min-width: 0; overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.product:hover { border-color: var(--bright-line); }
.product-cover { aspect-ratio: 460 / 215; position: relative; display: block; overflow: hidden; background: linear-gradient(135deg, var(--raised), var(--panel)); }
.product-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.platform { position: absolute; top: 10px; left: 10px; padding: 3px 7px; background: #1a1021ed; border: 1px solid #ffffff32; border-radius: 5px; color: var(--text); font: 650 .66rem/1.35 Consolas, monospace; letter-spacing: .11em; }
.product-body { flex: 1; display: flex; flex-direction: column; padding: 15px; }
.game-genre { color: var(--muted); font-size: .75rem; }
.product h3 { margin-block: 3px 13px; font-size: 1.1rem; letter-spacing: -.02em; line-height: 1.22; overflow-wrap: anywhere; }
.product h3 a:hover, .game-about a:hover, .game-back:hover { color: var(--accent); }
.product-bottom { display: flex; align-items: center; justify-content: space-between; gap: 5px; margin-top: auto; }
.product-add { margin-top: 8px; text-align: left; }
.product-edition { color: var(--soft-accent); font-size: .8rem; }
.product-region { color: var(--muted); font-size: .76rem; overflow-wrap: anywhere; }
.product-stock { color: var(--stock); font-size: .78rem; font-weight: 620; font-variant-numeric: tabular-nums; }
.product-body .product-stock { margin-bottom: 9px; }
.price { color: var(--soft-accent); font-size: 1.05rem; font-weight: 780; font-variant-numeric: tabular-nums; }
.buy { padding: 5px 9px; color: var(--text); background: transparent; border: 1px solid var(--bright-line); border-radius: 7px; font-size: .77rem; font-weight: 650; }
.buy:hover { border-color: var(--accent); background: var(--raised); }
.buy:disabled { color: var(--muted); border-color: var(--line); }
.empty { grid-column: 1 / -1; padding: 46px 20px; text-align: center; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--muted); }
.empty button { display: inline-flex; margin-top: 13px; }

.game-view { margin: 32px 0 64px; min-height: 260px; }
.game-back { display: inline-block; margin-bottom: 20px; color: var(--muted); font-size: .88rem; font-weight: 700; }
.game-layout { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(280px, 1fr); grid-template-areas: "art buy" "about buy"; gap: 16px clamp(18px, 4vw, 38px); align-items: start; }
.game-art { grid-area: art; display: grid; place-items: center; aspect-ratio: 460 / 215; overflow: hidden; border-radius: 14px; border: 1px solid var(--line); background: linear-gradient(135deg, var(--raised), var(--panel)); }
.game-art img { display: block; width: 100%; height: 100%; object-fit: contain; background: var(--bg); }
.game-about { grid-area: about; min-width: 0; padding: 16px 0; }
.game-about h2 { margin-bottom: 12px; font-size: clamp(1.4rem, 3vw, 2rem); }
.game-about p { color: var(--muted); max-width: 70ch; overflow-wrap: anywhere; }
.game-about a { display: inline-block; margin-top: 15px; color: var(--soft-accent); font-weight: 650; }
.game-purchase { grid-area: buy; min-width: 0; padding: clamp(16px, 3.5vw, 32px); border: 1px solid var(--bright-line); border-radius: 14px; background: linear-gradient(150deg, var(--raised), var(--panel) 72%); }
.game-gallery { margin: 0 0 26px; }
.game-gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.game-gallery-grid button { aspect-ratio: 16 / 9; display: block; min-width: 0; overflow: hidden; padding: 0; border: 1px solid var(--line); border-radius: 7px; background: var(--panel); }
.game-gallery-grid button:hover { border-color: var(--accent); }
.game-gallery-grid img { display: block; width: 100%; height: 100%; object-fit: cover; }
#screenshot-view { width: min(1100px, calc(100% - 24px)); padding: 10px; }
#screenshot-image { display: block; width: 100%; max-height: calc(100dvh - 108px); aspect-ratio: 16 / 9; object-fit: contain; background: var(--bg); border-radius: 8px; }
.screenshot-controls { display: flex; justify-content: space-between; align-items: center; padding: 6px 6px 0; color: var(--muted); }
.screenshot-controls button { min-width: 40px; font-size: 1.1rem; }
.game-purchase h1 { font-size: clamp(1.6rem, 3.4vw, 3rem); line-height: 1.1; margin: 8px 0 12px; overflow-wrap: anywhere; }
.game-platform { color: var(--muted); font: 650 .72rem/1.25 Consolas, monospace; letter-spacing: .09em; }
.game-availability { color: var(--muted); font-size: .86rem; }
.game-availability.available { color: var(--stock); }
.game-price { display: block; margin: 10px 0; color: var(--soft-accent); font-size: 1.65rem; }
.game-purchase .action { width: 100%; justify-content: center; }
.game-purchase .form-note { margin-top: 6px; }
.game-specs { margin: 16px 0 0; }
.game-specs > div { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 6px 0; border-top: 1px solid var(--line); overflow-wrap: anywhere; }
.game-specs dt { color: var(--muted); font-size: .82rem; }
.game-specs dd { margin: 0; text-align: right; font-size: .84rem; }

.guide { padding: 27px 30px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.guide h2, .faq h2 { font-size: clamp(1.55rem, 3.2vw, 2.25rem); }
.guide ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 21px 0 0; padding-left: 22px; }
.guide li { padding-left: 5px; }
.guide li::marker { color: var(--accent); font-weight: 800; }
.guide p, details p { margin-top: 4px; color: var(--muted); font-size: .9rem; }
.faq { display: grid; grid-template-columns: minmax(195px, 1fr) 2fr; gap: 24px; margin-block: 53px 60px; }
details { border-bottom: 1px solid var(--line); padding: 13px 0; }
details:first-child { border-top: 1px solid var(--line); }
summary { font-weight: 680; }
.store-copy { white-space: pre-wrap; overflow-wrap: anywhere; }
.support-link, .order-share a { color: var(--soft-accent); overflow-wrap: anywhere; text-decoration: underline; text-underline-offset: .2em; }
.support-link { display: inline-block; margin-top: 16px; }
.support-view { width: min(680px, 100%); min-height: 65vh; margin: 32px auto 64px; }
.support-card { padding: clamp(21px, 4vw, 40px); border: 1px solid var(--bright-line); border-radius: 18px; background: linear-gradient(150deg, var(--raised), var(--panel) 60%); }
.support-card h1 { margin-bottom: 8px; font-size: clamp(1.85rem, 5vw, 3rem); line-height: 1.1; letter-spacing: -.045em; }
.support-card > p { color: var(--muted); }
.support-form { display: grid; gap: 14px; margin-top: 22px; }
.support-form .action { justify-self: start; }
.support-card .support-status { margin-top: 20px; color: var(--stock); }
.site-footer { border-top: 1px solid var(--line); }
.footer-inner { font-size: .85rem; color: var(--muted); }
.footer-inner .brand { color: var(--text); }

dialog { width: min(515px, calc(100% - 28px)); padding: 25px; max-height: calc(100dvh - 32px); overflow: auto; background: var(--panel); color: var(--text); border: 1px solid var(--bright-line); border-radius: 14px; }
dialog::backdrop { background: #0d0814cf; }
dialog h2 { font-size: 1.8rem; padding-right: 25px; }
.basket-view { margin: 32px 0 64px; min-height: 55vh; }
.basket-view h1 { margin: 0 0 22px; font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.1; letter-spacing: -.055em; }
.basket-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(245px, 306px); gap: 20px; align-items: start; }
.basket-lines { display: grid; gap: 10px; list-style: none; padding: 0; margin: 0; }
.basket-line { display: grid; grid-template-columns: minmax(110px, 156px) minmax(0, 1fr) auto; gap: 14px; align-items: center;
  padding: 14px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
.basket-cover { display: block; aspect-ratio: 460 / 215; overflow: hidden; border-radius: 8px; background: linear-gradient(145deg, var(--raised), var(--bg)); }
.basket-cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.basket-details { display: grid; gap: 4px; min-width: 0; }
.basket-name { font-size: 1.04rem; font-weight: 750; line-height: 1.25; overflow-wrap: anywhere; }
.basket-name:hover { color: var(--accent); }
.basket-line-controls { display: grid; justify-items: end; gap: 5px; }
.basket-stepper { display: flex; align-items: stretch; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); }
.basket-stepper button, .basket-stepper input { min-height: 34px; border: 0; color: var(--text); background: transparent; text-align: center; }
.basket-stepper button { width: 33px; border-radius: 7px; }
.basket-stepper button:disabled { opacity: .45; }
.basket-stepper button:hover:enabled { background: var(--raised); }
.basket-stepper input { width: 52px; padding: 0; appearance: textfield; font-variant-numeric: tabular-nums; }
.basket-stepper input::-webkit-inner-spin-button, .basket-stepper input::-webkit-outer-spin-button { appearance: none; margin: 0; }
.basket-remove { border: 0; padding: 2px 0; background: transparent; color: var(--muted); font-size: .8rem; }
.basket-remove:hover { color: var(--accent); }
.basket-order, .basket-empty { padding: 22px; border: 1px solid var(--bright-line); border-radius: var(--radius); background: var(--panel); }
.basket-order { position: sticky; top: 18px; }
.basket-order h2 { font-size: 1.25rem; letter-spacing: -.03em; }
.basket-totals { display: grid; gap: 12px; margin: 16px 0; }
.basket-totals > div { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.basket-totals dt { color: var(--muted); }
.basket-totals dd { margin: 0; text-align: right; overflow-wrap: anywhere; }
.basket-grand-total { padding-top: 12px; border-top: 1px solid var(--line); }
.basket-grand-total .price { font-size: 1.25rem; }
.basket-order .action { width: 100%; }
.basket-order .form-error { margin-bottom: 12px; }
.basket-empty { padding-block: 28px; }
.basket-empty p { margin-bottom: 14px; color: var(--muted); }
.basket-summary { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; justify-content: space-between; margin-top: 16px; }
.checkout-items { list-style: none; margin: 14px 0; padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px; color: var(--muted); font-size: .85rem; }
.checkout-items li + li { margin-top: 4px; }
.checkout-keys h3 { margin-bottom: 6px; font-size: .9rem; }
dialog .close { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 7px; background: var(--bg); color: var(--text); font-size: 1.35rem; line-height: 1; }
.dialog-lead { margin: 10px 0 15px; color: var(--muted); font-size: .9rem; overflow-wrap: anywhere; white-space: pre-line; }
.order-form { display: grid; gap: 10px; }
.basket-add-stock { margin: 12px 0 3px; }
.basket-add-form { margin-top: 14px; }
.basket-add-form .basket-summary { margin-top: 0; align-items: end; }
.basket-add-form .action { justify-content: center; }
.order-terms { padding: 5px 0; font-size: .8rem; }
.order-form label, .support-form label { display: grid; gap: 4px; font-size: .88rem; }
.order-form input, .support-form :is(input, textarea) { width: 100%; padding: 8px 10px; border: 1px solid var(--line); border-radius: 7px; background: var(--bg); color: var(--text); }
.support-form textarea { resize: vertical; min-height: 120px; }
.order-form .summary { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 10px; margin-bottom: 4px; }
.quantity-controls { display: flex; flex-wrap: wrap; align-items: end; gap: 8px; margin-top: 5px; }
.quantity-controls input { width: 88px; }
.quantity-controls button { min-height: 40px; }
.summary output { font-size: 1.28rem; margin-inline-start: auto; }
.form-error { color: var(--error); font-size: .88rem; }
.form-note { color: var(--muted); font-size: .82rem; }
.order-share { margin-top: 14px; }
.key-list { display: grid; gap: 6px; margin: 0 0 16px; padding: 0; list-style: none; }
.key-list code { display: block; padding: 8px 10px; background: var(--bg); border: 1px solid var(--line); border-radius: 6px; overflow-wrap: anywhere; }
.checkout-stage { display: flex; align-items: center; gap: 8px; margin-bottom: 9px; color: var(--soft-accent); text-transform: uppercase; font: .72rem "IBM Plex Mono", Consolas, monospace; letter-spacing: .09em; }
.checkout-stage span { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.crypto-card { margin: 16px 0; overflow: hidden; border: 1px solid var(--line); border-radius: 11px; background: linear-gradient(160deg, var(--raised), var(--bg) 68%); }
.crypto-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 15px; border-bottom: 1px solid var(--line); }
.crypto-network { display: flex; align-items: center; gap: 10px; }
.crypto-symbol { display: grid; place-items: center; flex: none; width: 35px; height: 35px; border-radius: 50%; background: #83dec1; color: #122d24; font-size: 22px; font-style: normal; font-weight: 800; line-height: 1; }
.crypto-network b, .crypto-network div span { display: block; line-height: 1.25; }
.crypto-network div span { margin-top: 3px; color: var(--muted); font-size: .76rem; }
.crypto-symbol[data-coin="BTC"] { background: #f6a45e; color: #39200d; }
.crypto-symbol[data-coin="SOL"] { background: #b5a2fd; color: #2e2054; }
.crypto-symbol:is([data-coin="USDC"], [data-coin="GRAM"]) { background: #89c6fd; color: #123250; }
.crypto-symbol[data-coin="ETH"] { background: #a6acff; color: #262d59; }
.crypto-symbol[data-coin="BNB"] { background: #f6d365; color: #3d310d; }
.crypto-symbol[data-coin="TRX"] { background: #f39f9c; color: #541e23; }
.crypto-symbol:is([data-coin="XRP"], [data-coin="LTC"]) { background: #c4d2e3; color: #263646; }
.crypto-head time { padding: 5px 8px; border: 1px solid var(--bright-line); border-radius: 6px; color: var(--soft-accent); font: .89rem Consolas, monospace; }
.crypto-body { display: grid; grid-template-columns: 124px minmax(0, 1fr); align-items: center; gap: 14px; padding: 15px; }
.crypto-qr { align-self: start; overflow: hidden; border-radius: 7px; background: #fff; }
.crypto-qr canvas { width: 100%; height: auto; display: block; image-rendering: pixelated; }
.crypto-details { display: grid; gap: 11px; min-width: 0; }
.crypto-field > span { display: block; margin-bottom: 3px; color: var(--muted); font-size: .75rem; }
.crypto-value { display: flex; align-items: center; flex-wrap: wrap; gap: 5px 10px; }
.crypto-value strong { color: var(--text); font-size: 1.12rem; font-variant-numeric: tabular-nums; }
.crypto-value small { color: #a7e1cc; font-size: .71rem; }
.crypto-address { display: block; margin-bottom: 5px; color: var(--text); font-size: .78rem; overflow-wrap: anywhere; }
.crypto-foot, .crypto-demo { padding: 8px 15px; border-top: 1px solid var(--line); color: var(--muted); font-size: .76rem; }
.crypto-demo { border-top: 0; border-bottom: 1px solid var(--line); color: var(--soft-accent); }
.crypto-received { margin: 5px 0 12px; color: #b9dfd1; font-size: .88rem; }
.payment-methods { padding: 0; margin: 3px 0; border: 0; min-width: 0; }
.payment-methods legend { margin-bottom: 5px; padding: 0; font-size: .88rem; }
.payment-methods > div { display: grid; gap: 8px; grid-template-columns: repeat(auto-fit, minmax(82px, 1fr)); }
.payment-methods label { position: relative; cursor: pointer; }
.payment-methods label > span { display: grid; padding: 7px 10px; background: var(--bg); border: 1px solid var(--line); border-radius: 7px; }
.payment-methods label > span small { color: var(--muted); font-size: .65rem; }
.payment-methods input:disabled + span { opacity: .48; cursor: not-allowed; }
.payment-methods input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.payment-methods input:checked + span { background: var(--raised); border-color: var(--accent); }
.payment-methods input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.payment-coins > div { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.payment-coins label > span { display: flex; align-items: center; gap: 5px; padding: 7px 6px; font-size: .78rem; }
.payment-coins .crypto-symbol { width: 19px; height: 19px; font-size: 13px; }
.payment-networks > div { grid-template-columns: repeat(auto-fit, minmax(min(100%, 130px), 1fr)); }
.payment-networks label > span { height: 100%; align-content: center; font-size: .84rem; }

@media (max-width: 975px) {
  .shell { width: calc(100% - 48px); }
  .products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero { min-height: 420px; }
}
@media (max-width: 820px) {
  .basket-layout { grid-template-columns: minmax(0, 1fr); }
  .basket-order { position: static; }
}
@media (max-width: 720px) {
  .shell { width: calc(100% - 32px); }
  .header-inner { min-height: 58px; gap: 12px; }
  .hero { margin-top: 16px; min-height: 0; padding-top: clamp(204px, 57vw, 298px); padding-bottom: 28px; }
  .hero::before { bottom: auto; height: clamp(230px, 58vw, 320px);
    background: linear-gradient(0deg, #25132d 0%, #25132d28 31%, transparent 58%), url("/assets/hero.webp") 91% 32% / cover no-repeat; }
  .hero p { max-width: 330px; margin-block: 13px 19px; }
  .catalog { margin-block: 37px 48px; }
  .catalog-head { align-items: stretch; flex-direction: column; gap: 12px; }
  .catalog-tools .search { min-width: 0; flex: 1; }
  .search input { width: 100%; }
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .faq { grid-template-columns: 1fr; gap: 12px; }
  .guide { padding: 21px; }
  .guide ol { grid-template-columns: 1fr; gap: 12px; }
  .game-view { margin-block: 20px 36px; }
  .game-layout { display: flex; flex-direction: column; align-items: stretch; }
  .game-about { padding: 12px 0; }
}
@media (max-width: 520px) {
  .header-inner { flex-wrap: wrap; gap: 8px; padding-block: 10px; }
  .site-header nav { order: 3; flex-basis: 100%; padding-bottom: 2px; }
  .header-actions { gap: 8px; }
  .site-language { min-height: 32px; padding-inline: 4px; }
  .game-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .basket-view { margin-block: 20px 40px; }
  .basket-line { grid-template-columns: minmax(0, 100px) minmax(0, 1fr); padding: 12px; gap: 10px; }
  .basket-line-controls { grid-column: 1 / -1; display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-top: 9px; border-top: 1px solid var(--line); }
  .basket-order, .basket-empty { padding: 16px; }
}
@media (max-width: 485px) {
  .payment-coins > div { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 420px) {
  .site-header nav { gap: 11px; }
  .site-header nav a, .help-link { font-size: .76rem; }
  .brand { font-size: 18px; }
  .brand-mark { width: 20px; height: 20px; margin-right: 7px; }
  .brand-mark::after { inset: 5px 4px; }
  .hero { padding-inline: 20px; }
  .hero h1 { font-size: clamp(1.95rem, 9.5vw, 2.6rem); }
  .product-body { padding: 10px; }
  .product-bottom { align-items: stretch; flex-direction: column; }
  .footer-inner { flex-wrap: wrap; padding-block: 15px; }
}
@media (max-width: 365px) {
  dialog { padding: 18px; }
  .crypto-body { grid-template-columns: 1fr; }
  .crypto-qr { width: 117px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
