:root {
  color-scheme: dark;
  --bg: #03090b;
  --panel: #0d171c;
  --card: #10191e;
  --card2: #16242b;
  --line: rgba(255,255,255,.08);
  --text: #f5fbff;
  --muted: #87979f;
  --soft: #b5c4cb;
  --lime: #b8ff00;
  --green: #00e178;
  --red: #ff394e;
  --shadow: 0 24px 80px rgba(0,0,0,.48);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 10% 5%, rgba(184,255,0,.10), transparent 360px),
    radial-gradient(circle at 78% 14%, rgba(0,225,120,.08), transparent 420px),
    linear-gradient(180deg, #03090b 0, #050b0d 52%, #020506 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
button, input, select { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.app { width: min(1540px, calc(100% - 28px)); margin: 0 auto; padding: 18px 0 34px; }
.topbar {
  display: grid;
  grid-template-columns: auto auto minmax(220px, 1fr) auto auto auto auto auto;
  gap: 16px;
  align-items: center;
  margin-bottom: 18px;
}
.brand { display: inline-flex; align-items: center; font-size: 22px; font-weight: 950; letter-spacing: 0; }
.brand b { color: var(--lime); }
.catalog-btn, .wallet, .pill-btn {
  min-height: 40px;
  border: 1px solid transparent;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 16px;
  font-weight: 900;
  white-space: nowrap;
}
.catalog-btn { background: linear-gradient(135deg, #00db78, #00bd6c); color: #021009; }
.pill-btn { background: transparent; color: var(--text); }
.wallet { background: rgba(184,255,0,.11); border-color: rgba(184,255,0,.22); color: var(--lime); }
.avatar {
  width: 42px; height: 42px; border-radius: 50%;
  border: 2px solid rgba(184,255,0,.25);
  background: url("https://cdn.cloudflare.steamstatic.com/steamcommunity/public/images/avatars/6f/6f05eeb83a4db973da3d1dcbcc9bc7005c6fb7dd_full.jpg") center / cover;
}
.search { position: relative; min-width: 0; }
.search input {
  width: 100%; height: 42px; border: 1px solid rgba(255,255,255,.06); border-radius: 8px;
  background: #10191f; color: var(--text); outline: none; padding: 0 14px 0 44px;
}
.search input::placeholder { color: #65737a; }
.search svg { position: absolute; left: 16px; top: 12px; width: 18px; color: #6e7c83; }
.page-grid { display: grid; grid-template-columns: minmax(0, 1fr) 430px; gap: 24px; align-items: start; }
.hero {
  min-height: 508px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 12px;
  background:
    linear-gradient(90deg, rgba(2,8,10,.98) 0%, rgba(2,8,10,.82) 36%, rgba(2,8,10,.18) 100%),
    url("https://cdn.cloudflare.steamstatic.com/steam/apps/1172470/ss_f35eaaab6c2f8d82d3418fd4dbac15e64e4a2f5c.1920x1080.jpg") center / cover;
  position: relative;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: minmax(0, 430px) 1fr;
  padding: 64px 50px 76px;
  margin-bottom: 22px;
}
.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 63% 42%, rgba(184,255,0,.45), transparent 160px),
    linear-gradient(180deg, transparent 72%, rgba(3,9,11,.86));
}
.steam-card {
  position: absolute; right: 96px; top: 78px; width: 390px; height: 270px; border-radius: 18px;
  transform: rotate(8deg);
  background: linear-gradient(135deg, rgba(255,255,255,.15), rgba(255,255,255,.02)), #11191f;
  box-shadow: 0 28px 95px rgba(184,255,0,.25), 0 34px 110px rgba(0,0,0,.55);
  display: grid; place-items: center; z-index: 2;
}
.steam-card:before { content:""; position:absolute; inset:-28px; background:radial-gradient(circle, rgba(184,255,0,.50), transparent 58%); filter:blur(12px); z-index:-1; }
.steam-logo { display:grid; gap:16px; justify-items:center; color:#fff; font-size:48px; font-weight:950; letter-spacing:.08em; }
.steam-logo svg { width: 86px; height: 86px; color: #fff; }
.hero-copy { position: relative; z-index: 3; align-self: center; }
.hero h1 { margin: 0; font-size: clamp(48px, 6vw, 82px); line-height: .88; font-style: italic; font-weight: 950; letter-spacing: 0; text-transform: uppercase; }
.hero h1 span { display:block; color:var(--lime); }
.hero p { max-width: 370px; margin: 22px 0 26px; color:#e1ebef; font-size:20px; line-height:1.35; }
.primary {
  min-height: 52px; border: 0; border-radius: 8px; background: linear-gradient(135deg, var(--lime), #8cff00);
  color: #071000; padding: 0 34px; font-weight: 950; box-shadow: 0 16px 42px rgba(184,255,0,.22);
  display: inline-flex; align-items: center; justify-content: center;
}
.instant {
  position:absolute; right:42px; bottom:70px; width:132px; height:132px; border-radius:50%; display:grid; place-items:center;
  color:var(--lime); border:1px dashed rgba(255,255,255,.42); background:rgba(9,17,21,.7); z-index:3; font-size:48px;
}
.hero-perks {
  position:absolute; inset:auto 0 0 0; min-height:74px; z-index:4; display:grid; grid-template-columns:repeat(4,1fr);
  border-top:1px solid rgba(255,255,255,.07); background:rgba(5,14,18,.72); backdrop-filter:blur(16px);
}
.perk { display:flex; align-items:center; gap:12px; padding:12px 24px; color:var(--soft); font-size:13px; line-height:1.25; }
.perk i { width:32px; height:32px; border-radius:50%; display:grid; place-items:center; color:var(--lime); border:1px solid rgba(184,255,0,.25); font-style:normal; flex:0 0 auto; }
.section-head { display:flex; justify-content:space-between; align-items:center; gap:12px; margin:0 0 16px; }
.section-head h2 { margin:0; font-size:24px; line-height:1.1; }
.section-head a, .section-head button { color:var(--lime); border:0; background:transparent; font-weight:900; font-size:13px; }
.category-row { display:grid; grid-template-columns:repeat(9, minmax(105px,1fr)); gap:10px; margin-bottom:28px; overflow:hidden; }
.category {
  min-height:138px; border:1px solid rgba(255,255,255,.08); border-radius:8px;
  background:linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.015)), #10191e;
  color:var(--text); display:grid; justify-items:center; align-content:center; gap:13px; text-align:center; font-size:13px; font-weight:850;
}
.category.is-active { border-color:rgba(184,255,0,.38); box-shadow:0 0 0 1px rgba(184,255,0,.18); }
.category svg { width:44px; height:44px; color:var(--lime); filter:drop-shadow(0 0 18px rgba(184,255,0,.25)); }
.product-grid { display:grid; grid-template-columns:repeat(6, minmax(0,1fr)); gap:14px; margin-bottom:28px; }
.state { min-height:120px; display:grid; place-items:center; color:var(--muted); border:1px solid rgba(255,255,255,.08); border-radius:8px; background:rgba(255,255,255,.025); padding:18px; grid-column:1/-1; }
.product {
  min-height:252px; border:1px solid rgba(255,255,255,.08); border-radius:8px; overflow:hidden; background:#10191e;
  position:relative; display:grid; grid-template-rows:1fr auto; text-align:left; color:var(--text); padding:0; box-shadow:0 14px 36px rgba(0,0,0,.22);
}
.product.is-active { border-color:rgba(184,255,0,.55); }
.poster { aspect-ratio:1/1; overflow:hidden; background:radial-gradient(circle at 50% 35%, rgba(184,255,0,.10), transparent 58%), #111b20; position:relative; }
.poster img { width:100%; height:100%; object-fit:cover; padding:0; box-sizing:border-box; transition:transform .18s ease; }
.poster.is-cover-image { aspect-ratio:3/4; }
.poster.is-cover-image img { object-fit:contain; padding:8px; }
.product:hover img { transform:scale(1.04); }
.sale {
  position:absolute; left:8px; top:8px; min-height:25px; border-radius:4px; background:var(--lime); color:#071000;
  padding:0 7px; display:inline-flex; align-items:center; font-size:12px; font-weight:950;
}
.product-info { padding:10px 10px 12px; }
.product-title { min-height:38px; margin-bottom:10px; font-size:13px; color:#e7f0f3; line-height:1.26; font-weight:850; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.offer-count { display:block; color:var(--muted); font-size:11px; line-height:1.2; margin:-3px 0 8px; }
.price { display:flex; align-items:baseline; gap:8px; color:var(--lime); font-size:17px; font-weight:950; }
.old { color:#75828a; text-decoration:line-through; font-size:12px; font-weight:800; }
.promo-row { display:grid; grid-template-columns:1.15fr .95fr; gap:18px; margin-bottom:28px; }
.promo, .feed, .panel {
  border:1px solid rgba(255,255,255,.08); border-radius:10px; background:#0f191e; overflow:hidden; box-shadow:var(--shadow);
}
.promo { min-height:250px; padding:34px; background:linear-gradient(90deg, rgba(9,18,22,.96), rgba(9,18,22,.46)), url("https://cdn.cloudflare.steamstatic.com/steam/apps/1172470/header.jpg") center / cover; }
.promo h3, .feed h3 { margin:0 0 14px; font-size:24px; line-height:1.12; }
.promo p { max-width:360px; color:var(--soft); line-height:1.45; margin:0 0 28px; }
.feed { min-height:250px; padding:20px; }
.purchase, .cart-item, .order-item {
  display:grid; grid-template-columns:44px 1fr auto; gap:10px; align-items:center; padding:12px 0; border-bottom:1px solid rgba(255,255,255,.07); font-size:13px;
}
.purchase:first-of-type { border-top:0; }
.purchase img, .cart-item img, .order-item img { width:44px; height:44px; border-radius:7px; object-fit:cover; }
.purchase span, .muted { color:var(--muted); font-size:12px; }
.reviews { display:grid; grid-template-columns:repeat(4, minmax(0,1fr)); gap:14px; margin-bottom:30px; }
.review { min-height:166px; border:1px solid rgba(255,255,255,.08); border-radius:8px; background:#10191e; padding:18px; }
.review.is-good { border-color:rgba(184,255,0,.14); }
.review.is-bad { border-color:rgba(255,57,78,.22); }
.review-head { display:flex; gap:12px; align-items:center; margin-bottom:10px; }
.review-head img { width:38px; height:38px; border-radius:50%; object-fit:cover; }
.review-avatar { width:38px; height:38px; border-radius:50%; display:grid; place-items:center; background:rgba(184,255,0,.10); color:var(--lime); font-weight:950; }
.review.is-bad .review-avatar { background:rgba(255,57,78,.12); color:var(--red); }
.review-head b { display:block; }
.review-head span { color:var(--muted); font-size:12px; }
.stars { color:var(--lime); letter-spacing:2px; margin-bottom:9px; }
.review p { margin:0; color:var(--soft); font-size:13px; line-height:1.45; }
.review-kind { display:inline-flex; align-items:center; min-height:24px; border-radius:5px; padding:0 8px; margin-bottom:10px; background:rgba(184,255,0,.10); color:var(--lime); font-size:11px; font-weight:950; }
.review.is-bad .review-kind { background:rgba(255,57,78,.12); color:var(--red); }
.review-product { display:block; margin-top:12px; color:var(--muted); font-size:11px; line-height:1.35; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.review-summary { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; margin:0 0 14px; }
.review-summary div { min-height:76px; border:1px solid rgba(255,255,255,.08); border-radius:8px; background:rgba(255,255,255,.025); padding:12px; }
.review-summary span { display:block; color:var(--muted); font-size:12px; margin-bottom:8px; }
.review-summary b { color:var(--lime); font-size:22px; line-height:1; }
.review-filters {
  display:flex; gap:8px; flex-wrap:wrap; margin:-2px 0 14px;
}
.review-filters button {
  min-height:34px; border:1px solid rgba(255,255,255,.10); border-radius:7px; background:rgba(255,255,255,.03);
  color:var(--soft); padding:0 12px; font-weight:900;
}
.review-filters button.is-active {
  border-color:rgba(184,255,0,.38); background:rgba(184,255,0,.12); color:var(--lime);
}
.side, .panel {
  border:1px solid rgba(255,255,255,.09); border-radius:12px; background:radial-gradient(circle at 60% 0, rgba(184,255,0,.08), transparent 280px), #0f191e;
}
.side { position:sticky; top:18px; box-shadow:var(--shadow); padding:18px; min-height:0; overflow:hidden; }
.product-main { min-width:0; }
.product-copy { min-height:0; margin-bottom:26px; }
.product-copy .breadcrumbs { margin-bottom:16px; }
.breadcrumbs, .crumb { display:flex; gap:8px; align-items:center; color:#68777e; font-size:12px; margin-bottom:22px; }
.detail-head { display:grid; grid-template-columns:150px minmax(0,1fr); gap:16px; margin-bottom:22px; }
.detail-head > div { min-width:0; }
.detail-cover { aspect-ratio:1/1; border-radius:8px; object-fit:cover; width:100%; padding:0; box-sizing:border-box; background:radial-gradient(circle at 50% 35%, rgba(184,255,0,.10), transparent 58%), #17252b; }
.detail-cover.is-cover-image { aspect-ratio:3/4; object-fit:contain; padding:8px; }
.detail h1, .detail h2 {
  margin:0 0 8px; font-size:20px; line-height:1.12; overflow:hidden; overflow-wrap:anywhere;
  display:-webkit-box; -webkit-line-clamp:5; -webkit-box-orient:vertical;
}
.rating { display:flex; align-items:center; gap:8px; color:var(--soft); font-size:13px; margin-bottom:22px; }
.rating b { color:var(--lime); }
.steam-review { color:var(--lime); font-size:12px; font-weight:900; margin:-12px 0 18px; }
.specs { display:grid; gap:10px; font-size:12px; min-width:0; }
.spec { display:grid; grid-template-columns:minmax(82px, .7fr) minmax(0, 1fr); gap:10px; align-items:center; color:var(--muted); min-width:0; }
.spec span { min-width:0; }
.spec b, .spec a {
  min-width:0; max-width:100%; color:#e8f0f3; border-radius:6px; background:rgba(255,255,255,.05);
  padding:6px 9px; font-size:11px; line-height:1.2; text-align:right; overflow:hidden; text-overflow:ellipsis; white-space:nowrap;
}
.spec a { color:var(--lime); background:rgba(184,255,0,.08); font-weight:900; }
.detail-price { margin:22px 0 8px; display:flex; align-items:baseline; gap:12px; flex-wrap:wrap; }
.detail-price strong { font-size:30px; }
.detail-price span { color:#68777e; text-decoration:line-through; font-size:18px; }
.detail-price em { font-style:normal; color:#071000; background:#00d979; border-radius:5px; padding:4px 8px; font-size:12px; font-weight:950; }
.stock { display:flex; align-items:center; gap:8px; color:var(--soft); font-size:13px; margin-bottom:18px; }
.stock:before { content:""; width:9px; height:9px; border-radius:50%; background:var(--lime); box-shadow:0 0 16px rgba(184,255,0,.8); }
.checkout-fields { display:grid; gap:10px; margin-bottom:14px; }
.checkout-fields label { display:grid; gap:6px; color:var(--muted); font-size:12px; font-weight:800; }
.checkout-fields input, .checkout-fields select {
  width:100%; min-height:42px; border:1px solid rgba(255,255,255,.12); border-radius:8px; background:#0a1217;
  color:var(--text); padding:0 12px; outline:none; box-sizing:border-box;
}
.checkout-fields input:focus, .checkout-fields select:focus { border-color:rgba(184,255,0,.55); box-shadow:0 0 0 3px rgba(184,255,0,.08); }
.currency-switch {
  min-height:42px; display:grid; grid-template-columns:repeat(3, 1fr); gap:4px; padding:4px;
  border:1px solid rgba(255,255,255,.12); border-radius:8px; background:#0a1217;
}
.currency-switch button {
  min-width:0; min-height:32px; border:0; border-radius:6px; background:transparent; color:var(--soft);
  font-size:12px; font-weight:950; letter-spacing:0;
}
.currency-switch button.is-active {
  background:linear-gradient(135deg, var(--lime), #8cff00); color:#071000;
  box-shadow:0 8px 22px rgba(184,255,0,.16);
}
.top-currency {
  width:124px; min-height:40px; align-self:center; background:#10191f;
  border-color:rgba(184,255,0,.18);
}
.top-currency button { min-height:30px; font-size:16px; }
.side-actions { display:grid; grid-template-columns:1fr 52px; gap:10px; margin-bottom:22px; }
.side-actions .primary { grid-column:1/-1; width:100%; }
.cart-btn, .fav-btn { min-height:48px; border:1px solid rgba(255,255,255,.15); border-radius:8px; background:transparent; color:var(--text); font-weight:900; }
.cart-btn.is-active, .fav-btn.is-active { border-color:rgba(184,255,0,.48); color:var(--lime); background:rgba(184,255,0,.10); }
.cart-empty { min-height:120px; display:grid; place-items:center; color:var(--muted); border:1px dashed rgba(255,255,255,.12); border-radius:8px; }
.cart-actions { display:flex; align-items:center; gap:8px; justify-content:flex-end; flex-wrap:wrap; }
.small-pay, .cart-clear {
  min-height:34px; border:1px solid rgba(184,255,0,.30); border-radius:7px; background:rgba(184,255,0,.10);
  color:var(--lime); padding:0 10px; font-weight:900; cursor:pointer;
}
.cart-clear { width:100%; margin-top:10px; border-color:rgba(255,255,255,.12); background:transparent; color:var(--soft); }
.cart-clear:disabled { opacity:.45; cursor:not-allowed; }
.mini-perks { display:grid; gap:14px; margin:22px 0; }
.mini-perk { display:grid; grid-template-columns:32px 1fr; gap:10px; align-items:start; font-size:13px; }
.mini-perk i { width:32px; height:32px; border-radius:8px; display:grid; place-items:center; color:var(--lime); background:rgba(184,255,0,.08); font-style:normal; }
.mini-perk b { display:block; margin-bottom:3px; }
.mini-perk span { color:var(--muted); font-size:12px; }
.screens { display:grid; grid-template-columns:repeat(3,1fr); gap:8px; margin:18px 0; }
.screens img { aspect-ratio:16/10; width:100%; border-radius:6px; object-fit:cover; }
.description, .requirements, .side-reviews { border-top:1px solid rgba(255,255,255,.08); padding-top:18px; margin-top:18px; }
.description h3, .requirements h3, .side-reviews h3 { margin:0 0 10px; font-size:16px; }
.description p { color:var(--soft); font-size:13px; line-height:1.55; margin:0; }
.seller-description p { color:#9eabb2; }
.product-copy .description { border-top:0; padding-top:0; margin-top:0; }
.product-copy .description + .description,
.product-copy .screens,
.product-copy .requirements { border-top:1px solid rgba(255,255,255,.08); padding-top:20px; margin-top:22px; }
.product-copy .description h2,
.product-copy .requirements h2 { margin:0 0 12px; font-size:24px; line-height:1.15; }
.product-copy .description-body { max-width:980px; color:#c4ced3; font-size:15px; line-height:1.65; }
.product-copy .description-body p { margin:0 0 12px; color:inherit; font-size:inherit; line-height:inherit; }
.product-copy .description-body p:last-child { margin-bottom:0; }
.product-copy .description-body ul { margin:12px 0 0; padding:0; display:grid; gap:8px; list-style:none; }
.product-copy .description-body li { position:relative; padding-left:20px; }
.product-copy .description-body li:before { content:""; position:absolute; left:0; top:.75em; width:7px; height:7px; border-radius:50%; background:var(--lime); box-shadow:0 0 14px rgba(184,255,0,.45); }
.product-copy .seller-description p { color:#aeb9bf; }
.product-copy .screens { margin-bottom:0; }
.requirements-grid { display:grid; grid-template-columns:1fr 1fr; border:1px solid rgba(255,255,255,.07); border-radius:8px; overflow:hidden; font-size:12px; color:var(--soft); }
.requirements-grid div { padding:12px; background:rgba(255,255,255,.025); }
.requirements-grid span { white-space:pre-line; }
.requirements-grid div + div { border-left:1px solid rgba(255,255,255,.07); }
.score { display:grid; grid-template-columns:80px 1fr; gap:12px; align-items:center; }
.score strong { font-size:36px; display:block; line-height:1; }
.bars { display:grid; gap:6px; }
.bar { display:grid; grid-template-columns:24px 1fr 34px; gap:7px; align-items:center; font-size:12px; color:var(--muted); }
.bar i { height:7px; border-radius:999px; background:rgba(255,255,255,.08); overflow:hidden; }
.bar i:before { content:""; display:block; height:100%; width:var(--w); background:var(--lime); }
.catalog-layout { display:grid; grid-template-columns:320px minmax(0,1fr); gap:18px; align-items:start; }
.filters { display:grid; gap:10px; font-size:12px; color:var(--soft); align-content:start; }
.filter-box { border:1px solid rgba(255,255,255,.07); border-radius:8px; padding:12px; background:rgba(255,255,255,.02); }
.filter-box b { display:block; color:#fff; margin-bottom:8px; }
.filter-box label { display:block; margin:6px 0; }
.catalog-links { display:grid; gap:8px; }
.filter-box.catalog-links { min-height:0; max-height:min(82vh, 920px); overflow:hidden; }
.catalog-links > div {
  display:grid; gap:5px; max-height:min(70vh, 790px); overflow-y:auto; overflow-x:hidden;
  padding-right:6px; overscroll-behavior:contain; scrollbar-color:rgba(184,255,0,.45) rgba(255,255,255,.05);
}
.catalog-links a {
  min-height:34px; display:grid; grid-template-columns:22px minmax(0,1fr) auto; gap:8px; align-items:center; border-radius:6px;
  padding:0 8px 0 calc(8px + var(--level, 0) * 10px); color:var(--soft); text-decoration:none; font-weight:800;
  min-width:0; overflow-wrap:anywhere;
}
.catalog-links a.is-child { font-size:12px; min-height:30px; }
.catalog-links a span { width:22px; height:22px; display:grid; place-items:center; color:var(--lime); }
.catalog-links a svg { width:18px; height:18px; }
.catalog-links a.is-active { background:rgba(184,255,0,.12); color:var(--lime); }
.catalog-links a small {
  justify-self:end; color:#718087; font-size:10px; font-weight:900; white-space:nowrap;
}
.category-group { border:1px solid rgba(255,255,255,.06); border-radius:7px; overflow:hidden; background:rgba(255,255,255,.018); }
.category-popular { border-color:rgba(184,255,0,.16); background:rgba(184,255,0,.035); }
.category-group .category-group { margin:4px 0 0 calc(6px + var(--level, 0) * 3px); background:rgba(255,255,255,.012); }
.category-group summary {
  min-height:36px; display:grid; grid-template-columns:22px minmax(0,1fr) auto; gap:8px; align-items:center;
  padding:0 8px 0 calc(8px + var(--level, 0) * 10px); color:var(--text); font-weight:900; cursor:pointer; list-style:none;
  min-width:0; overflow-wrap:anywhere;
}
.category-group summary::-webkit-details-marker { display:none; }
.category-group summary:after { content:"›"; justify-self:end; color:var(--muted); transition:transform .16s ease; }
.category-group[open] summary:after { transform:rotate(90deg); color:var(--lime); }
.category-group summary svg { width:18px; height:18px; color:var(--lime); }
.category-group > div { display:grid; gap:3px; padding:3px 3px 6px; border-top:1px solid rgba(255,255,255,.06); }
.filter-input {
  width:100%; min-height:36px; border:1px solid rgba(255,255,255,.10); border-radius:7px; background:#091116;
  color:var(--text); padding:0 10px; box-sizing:border-box; outline:none;
}
.filter-input:focus { border-color:rgba(184,255,0,.5); }
.content-panel { border:1px solid rgba(255,255,255,.08); border-radius:10px; background:#0f191e; padding:18px; min-height:520px; }
.cart-layout { display:grid; grid-template-columns:minmax(0, 1fr) 360px; gap:18px; align-items:start; }
.account-layout { display:grid; grid-template-columns:320px minmax(0, 1fr); gap:18px; align-items:start; }
.total { display:flex; justify-content:space-between; margin:24px 0 12px; font-size:20px; font-weight:950; }
.pay-button { width:100%; min-height:46px; border:0; border-radius:8px; background:linear-gradient(135deg, var(--lime), #8cff00); color:#071000; font-weight:950; }
.pay-button:disabled { opacity:.45; cursor:not-allowed; }
.pay-icons { margin-top:18px; display:flex; gap:8px; flex-wrap:wrap; color:var(--soft); font-size:12px; }
.pay-icons span { border-radius:5px; padding:5px 8px; background:rgba(255,255,255,.08); font-weight:900; }
.payment-list { display:grid; gap:10px; margin-top:14px; color:var(--soft); font-size:13px; }
.payment-list .small-pay { display:flex; align-items:center; justify-content:center; min-height:38px; text-align:center; }
.offer-list { display:grid; gap:8px; margin:0 0 28px; }
.offer-row {
  display:grid; grid-template-columns:54px minmax(0,1fr) auto auto; gap:12px; align-items:center;
  min-height:72px; border:1px solid rgba(255,255,255,.08); border-radius:8px; background:#10191e; padding:9px;
}
.offer-row img { width:54px; height:54px; border-radius:7px; object-fit:cover; background:#0a1217; }
.offer-row b { display:block; font-size:13px; line-height:1.25; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.offer-row span { display:block; color:var(--muted); font-size:12px; margin-top:4px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.offer-row strong { color:var(--lime); font-size:16px; white-space:nowrap; }
.menu { display:grid; gap:7px; align-content:start; }
.menu button { min-height:34px; border:0; border-radius:6px; background:transparent; color:var(--soft); text-align:left; padding:0 10px; font-weight:800; }
.menu button.is-active { background:rgba(184,255,0,.12); color:var(--lime); }
.profile-head { display:grid; grid-template-columns:64px 1fr auto; gap:12px; align-items:center; border:1px solid rgba(255,255,255,.07); border-radius:10px; padding:14px; background:rgba(255,255,255,.03); }
.profile-head img { width:64px; height:64px; border-radius:50%; object-fit:cover; }
.auth-box { margin:14px 0; border:1px solid rgba(255,255,255,.07); border-radius:8px; padding:14px; background:rgba(255,255,255,.025); }
.balance-card { border-radius:8px; background:rgba(184,255,0,.10); border:1px solid rgba(184,255,0,.16); padding:14px; color:var(--lime); font-weight:950; margin:14px 0; }
.account-stats { display:grid; grid-template-columns:repeat(2,1fr); gap:10px; margin-bottom:10px; }
.account-stat { border:1px solid rgba(255,255,255,.07); border-radius:8px; padding:14px; background:rgba(255,255,255,.025); }
.account-stat b { display:block; font-size:20px; margin-top:6px; }
.account-section { display:none; }
.account-section.is-active { display:block; }
.account-wide { width:100%; margin-top:14px; }
.order-card { border:1px solid rgba(255,255,255,.07); border-radius:8px; padding:12px; background:rgba(255,255,255,.025); margin-bottom:10px; }
.order-head { display:grid; grid-template-columns:1fr auto auto; gap:12px; align-items:center; margin-bottom:6px; color:var(--soft); font-size:13px; }
.order-head b, .order-head strong { color:var(--text); }
.order-item a { color:var(--text); text-decoration:none; }
@media (max-width: 1260px) {
  .page-grid, .cart-layout, .account-layout { grid-template-columns:1fr; }
  .side { position:static; }
  .detail-head { grid-template-columns:150px minmax(0,1fr); }
  .product-grid { grid-template-columns:repeat(4,minmax(0,1fr)); }
  .category-row { grid-template-columns:repeat(5,minmax(110px,1fr)); }
}
@media (max-width: 900px) {
  .topbar { grid-template-columns:1fr auto; }
  .catalog-btn, .search, .pill-btn, .wallet, .top-currency { grid-column:span 2; width:100%; }
  .hero { min-height:620px; grid-template-columns:1fr; padding:42px 24px 92px; }
  .steam-card { right:22px; top:auto; bottom:120px; width:min(330px, calc(100% - 44px)); height:210px; }
  .instant { display:none; }
  .hero-perks { grid-template-columns:repeat(2,1fr); }
  .product-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .promo-row, .catalog-layout { grid-template-columns:1fr; }
  .reviews { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width: 560px) {
  .app { width:min(100% - 18px,1540px); padding-top:10px; }
  .brand { font-size:18px; }
  .hero h1 { font-size:48px; }
  .hero p { font-size:16px; }
  .hero-perks { grid-template-columns:1fr; }
  .category-row { display:flex; overflow-x:auto; padding-bottom:4px; }
  .category { min-width:112px; }
  .product-grid, .reviews { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .detail-head { grid-template-columns:112px minmax(0,1fr); gap:12px; }
  .detail h1, .detail h2 { font-size:17px; -webkit-line-clamp:6; }
  .spec { grid-template-columns:1fr; gap:5px; }
  .spec b, .spec a { text-align:left; }
  .content-panel { padding:14px; }
  .offer-row { grid-template-columns:44px minmax(0,1fr) auto; }
  .offer-row img { width:44px; height:44px; }
  .offer-row .small-pay { grid-column:2/-1; width:100%; }
  .requirements-grid { grid-template-columns:1fr; }
  .requirements-grid div + div { border-left:0; border-top:1px solid rgba(255,255,255,.07); }
}
