/* ── RESET & BASE ─────────────────────────────────────────────────── */
:root {
  --bg:      #0e0e14;
  --bg2:     #13131e;
  --bg3:     #1a1a28;
  --bg4:     #202032;
  --border:  rgba(255,255,255,.07);
  --border2: rgba(255,255,255,.12);
  --text:    #f0f0f8;
  --text2:   #8888a8;
  --text3:   #55556a;
  --accent:  #e94560;
  --accent2: #7b68ee;
  --green:   #10b981;
  --yellow:  #F5A623;
  --nav-h:   58px;
  --font-display: 'Unbounded', sans-serif;
  --font-body:    'Inter', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; height: 100%; }
body { font-family: var(--font-body); background: var(--bg); color: var(--text); min-height: 100vh; overflow-x: hidden; display: flex; flex-direction: column; }
a { color: inherit; text-decoration: none; }
input, button, textarea { font-family: var(--font-body); }

/* ── NAV ──────────────────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 28px;
  background: rgba(14,14,20,.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-logo { display: flex; align-items: center; gap: 6px; }
.logo-bear { font-size: 26px; }
.nav-logo img { display: block; border-radius: 4px; image-rendering: auto; }
.logo-text { font-family: var(--font-display); font-size: 17px; font-weight: 900; background: linear-gradient(135deg,#fff 0%,#e94560 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.nav-links { display: flex; align-items: center; gap: 20px; }
.nav-link { color: var(--text2); font-size: 14px; transition: color .2s; }
.nav-link:hover { color: var(--text); }
.burger { display: none; background: none; border: none; color: var(--text); font-size: 22px; cursor: pointer; }
.mobile-menu { display: none; position: fixed; top: var(--nav-h); left: 0; right: 0; background: var(--bg2); border-bottom: 1px solid var(--border); padding: 16px 24px; z-index: 199; flex-direction: column; gap: 12px; }
.mobile-menu a { color: var(--text2); font-size: 16px; padding: 8px 0; }
.mobile-menu.open { display: flex; }
@media(max-width:768px){ .nav-links{display:none;} .burger{display:block;} }

.btn { display:inline-flex; align-items:center; justify-content:center; gap:8px; padding:10px 20px; border-radius:10px; font-size:14px; font-weight:600; cursor:pointer; border:none; transition:all .2s; white-space:nowrap; }
.btn-primary { background:var(--accent); color:#fff; }
.btn-primary:hover { background:#c73550; transform:translateY(-1px); }
.btn-ghost { background:transparent; color:var(--text2); border:1px solid var(--border2); }
.btn-ghost:hover { background:var(--bg3); color:var(--text); }
.btn-lg { padding:13px 28px; font-size:15px; border-radius:12px; }
.btn-full { width:100%; }
.btn:disabled { opacity:.5; cursor:not-allowed; transform:none !important; }

/* ── HOME ─────────────────────────────────────────────────────────── */
.home { padding-top: var(--nav-h); }

/* Cat stripe */
.cat-stripe { background: var(--bg2); border-bottom: 1px solid var(--border); overflow-x: auto; scrollbar-width: none; }
.cat-stripe::-webkit-scrollbar { display: none; }
.cat-stripe-inner { display: flex; padding: 0 20px; max-width: 1400px; margin: 0 auto; }
.cs-item { display: flex; align-items: center; gap: 9px; padding: 14px 18px; color: var(--text2); font-size: 14px; font-weight: 600; white-space: nowrap; border-bottom: 2px solid transparent; transition: all .2s; cursor: pointer; }
.cs-item:hover { color: var(--text); }
.cs-item.active { color: #fff; border-bottom-color: var(--accent); }
.cs-logo { width: 24px; height: 24px; border-radius: 6px; object-fit: cover; display: flex; align-items: center; justify-content: center; font-size: 14px; overflow: hidden; background: var(--bg3); flex-shrink: 0; }
.cs-logo img { width: 100%; height: 100%; object-fit: cover; border-radius: 6px; }

/* Hero layout */
.hero-wrap { max-width: 1400px; margin: 0 auto; padding: 20px 20px 0; display: grid; grid-template-columns: 1fr 360px; gap: 16px; align-items: start; }
@media(max-width:960px){ .hero-wrap { grid-template-columns: 1fr; padding: 12px 12px 0; } }
@media(max-width:600px){ .hero-wrap { padding: 8px 8px 0; gap: 10px; } }
@media(max-width:600px){ .main-banner { aspect-ratio: 16/9; border-radius: 12px; } }
@media(max-width:600px){ .banner-slide { padding: 20px; } }
@media(max-width:600px){ .banner-h { font-size: 20px !important; } }
@media(max-width:600px){ .banner-arrow { width: 32px; height: 32px; font-size: 22px; } }

/* BANNER */
.main-banner {
  border-radius: 18px; overflow: hidden; position: relative;
  width: 100%; aspect-ratio: 16/7;
  background: #0a0a18;
  flex-shrink: 0;
  min-height: 200px;
}
.banner-bg-img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: .25;
}
.banner-slide {
  position: absolute; inset: 0; opacity: 0;
  transition: opacity .55s ease;
  display: flex; align-items: center; padding: 32px 40px;
}
.banner-slide.active { opacity: 1; z-index: 1; }
.banner-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 10; background: rgba(255,255,255,.12); border: none;
  color: #fff; font-size: 28px; line-height: 1;
  width: 40px; height: 40px; border-radius: 50%;
  cursor: pointer; transition: .2s; display: flex; align-items: center; justify-content: center;
}
.banner-arrow:hover { background: rgba(255,255,255,.25); }
.banner-arrow-l { left: 14px; }
.banner-arrow-r { right: 14px; }
.banner-body { position: relative; z-index: 2; max-width: 480px; }
.banner-eyebrow { display: inline-flex; align-items: center; gap: 5px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15); color: rgba(255,255,255,.85); padding: 4px 12px; border-radius: 100px; font-size: 11px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; margin-bottom: 14px; }
.banner-h { font-family: var(--font-display); font-size: clamp(22px,3.5vw,40px); font-weight: 900; color: #fff; line-height: 1.15; margin-bottom: 8px; }
.banner-sub { font-size: 14px; color: rgba(255,255,255,.55); margin-bottom: 22px; line-height: 1.5; }
.banner-cta { display: inline-flex; align-items: center; gap: 7px; background: #e94560; color: #fff; padding: 12px 22px; border-radius: 11px; font-size: 14px; font-weight: 700; transition: all .2s; }
.banner-cta:hover { background: #c73550; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(233,69,96,.35); }
.trust-strip {
  display:flex; align-items:center; justify-content:center;
  gap:0; padding:12px 20px; margin:0 20px 0;
  background:rgba(255,255,255,.03); border:1px solid rgba(255,255,255,.07);
  border-radius:12px; flex-wrap:wrap;
}
.trust-item { display:flex; align-items:center; gap:7px; padding:6px 18px; font-size:12px; font-weight:500; color:rgba(255,255,255,.55); white-space:nowrap; }
.trust-dot { width:6px; height:6px; border-radius:50%; background:#e94560; flex-shrink:0; }
.trust-div { width:1px; height:18px; background:rgba(255,255,255,.08); }
@media(max-width:600px){ .trust-strip { gap:4px; padding:8px 12px; } .trust-div { display:none; } .trust-item { padding:4px 10px; font-size:11px; } }

.banner-dots { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; z-index: 10; }
.bdot { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.3); cursor: pointer; transition: all .3s; border: none; }
.bdot.active { background: #fff; width: 24px; border-radius: 4px; }

/* STEAM QUICK FORM (right side of hero) */
.steam-form-card { background: var(--bg2); border: 1px solid var(--border); border-radius: 18px; overflow: hidden; }
.sfc-header { padding: 18px 20px 16px; border-bottom: 1px solid var(--border); }
.sfc-title { display: flex; align-items: center; gap: 10px; flex-wrap: nowrap; }
.sfc-icon { width: 36px; height: 36px; border-radius: 9px; display: flex; align-items: center; justify-content: center; font-size: 20px; background: #1B2838; flex-shrink: 0; }
.sfc-name { font-family: var(--font-display); font-size: 16px; font-weight: 700; white-space: nowrap; }
.sfc-badge { margin-left: auto; background: rgba(16,185,129,.15); color: var(--green); padding: 3px 10px; border-radius: 100px; font-size: 11px; font-weight: 700; white-space: nowrap; flex-shrink: 0; align-self: center; }
.sfc-body { padding: 16px 20px; display: flex; flex-direction: column; gap: 14px; }
.sfc-input-wrap { position: relative; }
.sfc-input {
  width: 100%; padding: 13px 16px; background: var(--bg3);
  border: 1px solid var(--border); border-radius: 11px;
  color: var(--text); font-size: 14px; outline: none; transition: border-color .2s;
}
.sfc-input:focus { border-color: rgba(233,69,96,.4); }
.sfc-input::placeholder { color: var(--text3); }

.sfc-amounts { display: flex; flex-wrap: wrap; gap: 7px; }
.sfc-amt {
  padding: 8px 14px; border-radius: 8px;
  background: var(--bg3); border: 1.5px solid var(--border);
  font-size: 13px; font-weight: 600; color: var(--text2);
  cursor: pointer; transition: all .2s;
}
.sfc-amt:hover { border-color: rgba(233,69,96,.3); color: var(--text); }
.sfc-amt.sel { border-color: var(--accent); background: rgba(233,69,96,.08); color: #fff; }

.sfc-total { display: flex; justify-content: space-between; align-items: baseline; padding: 4px 0; }
.sfc-total-label { font-size: 13px; color: var(--text2); }
.sfc-total-price { font-family: var(--font-display); font-size: 26px; font-weight: 900; color: #fff; }

.sfc-pay-btn { width: 100%; padding: 14px; background: var(--accent); color: #fff; border: none; border-radius: 12px; font-size: 15px; font-weight: 700; cursor: pointer; transition: background .2s; }
.sfc-pay-btn:hover { background: #c73550; }

/* MAIN SECTION */
.home-body { max-width: 1400px; margin: 0 auto; padding: 16px 20px 60px; }

.sec-hdr { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; margin-top: 20px; }
.sec-title { font-family: var(--font-display); font-size: 17px; font-weight: 900; }
.sec-link { font-size: 13px; color: var(--text2); transition: color .2s; }
.sec-link:hover { color: var(--text); }

/* Game logo cards */
.games-row { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.1) transparent; }
.games-row::-webkit-scrollbar { height: 3px; }
.games-row::-webkit-scrollbar-thumb { background: rgba(255,255,255,.1); border-radius: 2px; }
.game-pill {
  flex-shrink: 0; display: flex; align-items: center; gap: 10px;
  padding: 10px 16px 10px 10px;
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 12px; cursor: pointer; transition: all .2s; white-space: nowrap;
}
.game-pill:hover { border-color: var(--border2); transform: translateY(-2px); }
.game-pill-logo { width: 36px; height: 36px; border-radius: 9px; object-fit: cover; display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; overflow: hidden; }
.game-pill-logo svg { width: 100%; height: 100%; }
.game-pill-info { }
.game-pill-name { font-size: 13px; font-weight: 700; color: var(--text); }
.game-pill-from { font-size: 11px; color: var(--text2); margin-top: 1px; }

/* Products grid */
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px,1fr)); gap: 10px; }
.prod-tile {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 14px; overflow: hidden;
  transition: all .25s; cursor: pointer;
}
.prod-tile:hover { border-color: var(--border2); transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,0,0,.4); }
.prod-tile-img {
  width: 100%; aspect-ratio: 16/9;
  display: flex; align-items: center; justify-content: center;
  font-size: 48px; position: relative; overflow: hidden;
}
.prod-tile-img-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 30%, rgba(0,0,0,.5) 100%); }
.prod-tile-body { padding: 12px 14px; }
.prod-tile-name { font-size: 14px; font-weight: 700; margin-bottom: 3px; }
.prod-tile-desc { font-size: 12px; color: var(--text2); }
.prod-tile-footer { padding: 10px 14px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
.prod-tile-from { font-size: 11px; color: var(--text2); }
.prod-tile-price { font-size: 15px; font-weight: 700; }

/* Why strip */
.why-strip { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; margin-top: 32px; }
@media(max-width:700px){ .why-strip{grid-template-columns:1fr 1fr;} }
.why-cell { padding: 18px; border-right: 1px solid var(--border); display: flex; align-items: flex-start; gap: 11px; }
.why-cell:last-child { border-right: none; }
.why-ico { font-size: 20px; flex-shrink: 0; margin-top: 1px; }
.why-n { font-size: 13px; font-weight: 700; margin-bottom: 3px; }
.why-d { font-size: 12px; color: var(--text2); line-height: 1.4; }

/* ── AUTH PAGE ─────────────────────────────────────────────────────── */
.auth-section { min-height:100vh; display:flex; align-items:center; justify-content:center; padding:calc(var(--nav-h)+40px) 24px 40px; }
.auth-card { background:var(--bg2); border:1px solid var(--border); border-radius:22px; padding:44px; width:100%; max-width:420px; text-align:center; }
.auth-logo { font-size:52px; margin-bottom:18px; }
.auth-title { font-family:var(--font-display); font-size:24px; font-weight:900; margin-bottom:8px; }
.auth-sub { color:var(--text2); font-size:14px; margin-bottom:28px; line-height:1.5; }
.auth-tabs { display:flex; gap:6px; background:var(--bg3); border-radius:11px; padding:4px; margin-bottom:24px; }
.auth-tab { flex:1; padding:9px; border-radius:9px; border:none; background:none; color:var(--text2); font-size:13px; font-weight:600; cursor:pointer; transition:all .2s; }
.auth-tab.active { background:var(--bg2); color:var(--text); box-shadow:0 2px 8px rgba(0,0,0,.3); }
.auth-form { text-align:left; }
.form-group { margin-bottom:16px; }
.form-label { display:block; font-size:12px; font-weight:600; color:var(--text2); margin-bottom:7px; letter-spacing:.3px; }
.form-input { width:100%; padding:13px 15px; background:var(--bg3); border:1px solid var(--border); border-radius:11px; color:var(--text); font-size:14px; outline:none; transition:border-color .2s; }
.form-input:focus { border-color:rgba(233,69,96,.4); }
.code-input { text-align:center; font-size:28px; font-weight:700; letter-spacing:10px; }
.code-hint { text-align:center; color:var(--text2); font-size:13px; margin-bottom:18px; }
.code-hint strong { color:var(--text); }
.tg-hint { color:var(--text2); font-size:14px; margin-bottom:18px; text-align:center; line-height:1.5; }
.tg-widget-wrap { display:flex; justify-content:center; }

/* ── CATALOG ───────────────────────────────────────────────────────── */
.page-hero { padding:calc(var(--nav-h)+36px) 0 32px; }
.container { max-width:1400px; margin:0 auto; padding:0 20px; }
.page-title { font-family:var(--font-display); font-size:32px; font-weight:900; margin-bottom:6px; }
.page-sub { color:var(--text2); font-size:15px; }
.catalog-section { padding:0 0 80px; }
.products-grid-catalog { display:grid; grid-template-columns:repeat(auto-fill,minmax(240px,1fr)); gap:12px; }

/* ── PRODUCT PAGE ──────────────────────────────────────────────────── */
.product-banner { position:relative; overflow:hidden; padding:calc(var(--nav-h)+40px) 0 40px; min-height:260px; }
.product-banner-inner { position:relative; display:flex; align-items:center; justify-content:space-between; gap:32px; max-width:1400px; margin:0 auto; padding:0 20px; }
.product-banner-tag { display:inline-block; background:rgba(255,255,255,.1); border:1px solid rgba(255,255,255,.15); color:rgba(255,255,255,.9); padding:5px 14px; border-radius:100px; font-size:12px; font-weight:700; margin-bottom:14px; }
.product-banner-title { font-family:var(--font-display); font-size:clamp(22px,4vw,40px); font-weight:900; color:#fff; margin-bottom:8px; line-height:1.2; }
.product-banner-sub { color:rgba(255,255,255,.5); font-size:14px; }
.product-banner-big-icon { font-size:90px; opacity:.12; flex-shrink:0; }
.product-buy-section { padding:40px 0 80px; max-width:1400px; margin:0 auto; padding-left:20px; padding-right:20px; }
.product-buy-layout { display:grid; grid-template-columns:1fr 360px; gap:36px; align-items:start; }
@media(max-width:860px){.product-buy-layout{grid-template-columns:1fr;}}
.variants-title { font-family:var(--font-display); font-size:18px; font-weight:700; margin-bottom:14px; }
.variants-list { display:flex; flex-direction:column; gap:8px; }
.variant-row { display:flex; align-items:center; justify-content:space-between; gap:12px; background:var(--bg2); border:1.5px solid var(--border); border-radius:11px; padding:14px 16px; cursor:pointer; transition:all .2s; }
.variant-row:hover { border-color:rgba(255,255,255,.15); }
.variant-row.selected { border-color:var(--accent); background:rgba(233,69,96,.06); }
.variant-row-left { display:flex; align-items:center; gap:11px; }
.vcheck { width:20px; height:20px; border-radius:50%; border:2px solid var(--border); display:flex; align-items:center; justify-content:center; font-size:10px; color:transparent; transition:all .2s; flex-shrink:0; }
.variant-row.selected .vcheck { background:var(--accent); border-color:var(--accent); color:#fff; }
.variant-name { font-size:14px; font-weight:600; }
.variant-price { font-size:17px; font-weight:700; color:var(--accent); }
.order-card { background:var(--bg2); border:1px solid var(--border); border-radius:15px; overflow:hidden; position:sticky; top:calc(var(--nav-h)+16px); }
.order-card-top { padding:16px 18px; background:var(--bg3); border-bottom:1px solid var(--border); display:flex; justify-content:space-between; align-items:center; gap:10px; font-weight:600; font-size:14px; }
.sel-price { font-size:22px; font-weight:900; color:var(--accent); flex-shrink:0; }
.order-card-body { padding:18px; display:flex; flex-direction:column; gap:14px; }
.order-info-note { background:rgba(123,104,238,.08); border:1px solid rgba(123,104,238,.2); border-radius:10px; padding:11px 13px; font-size:13px; color:var(--text2); line-height:1.5; }
.btn-buy-main { width:100%; padding:15px; background:var(--accent); color:#fff; border:none; border-radius:11px; font-size:15px; font-weight:700; cursor:pointer; transition:background .2s; }
.btn-buy-main:hover { background:#c73550; }
.order-terms { font-size:11px; color:var(--text2); text-align:center; opacity:.5; }

/* ── PAY WAIT ──────────────────────────────────────────────────────── */
.pay-wait-section { min-height:100vh; display:flex; align-items:center; justify-content:center; padding:calc(var(--nav-h)+40px) 24px 40px; }
.pay-wait-card { background:var(--bg2); border:1px solid var(--border); border-radius:22px; padding:44px 36px; max-width:460px; width:100%; text-align:center; }
.pay-wait-icon { font-size:52px; margin-bottom:18px; }
.pay-wait-title { font-family:var(--font-display); font-size:22px; font-weight:900; margin-bottom:8px; }
.pay-wait-sub { color:var(--text2); font-size:14px; margin-bottom:24px; line-height:1.5; }
.pay-order-info { background:var(--bg3); border-radius:13px; padding:18px; margin-bottom:24px; text-align:left; display:flex; flex-direction:column; gap:10px; }
.pay-order-row { display:flex; justify-content:space-between; align-items:center; font-size:13px; }
.pay-order-row span { color:var(--text2); }
.pay-order-row strong { color:var(--text); }
.pay-actions { display:flex; flex-direction:column; gap:9px; margin-bottom:14px; }
.btn-pay-goto { display:block; padding:14px; background:var(--accent); color:#fff; border-radius:11px; font-size:14px; font-weight:700; text-align:center; transition:all .2s; }
.btn-pay-goto:hover { background:#c73550; }
.btn-check-pay { padding:14px; background:rgba(255,255,255,.06); border:1px solid var(--border); color:var(--text); border-radius:11px; font-size:14px; font-weight:600; cursor:pointer; transition:all .2s; }
.btn-check-pay:hover { background:rgba(255,255,255,.1); }
.btn-check-pay:disabled { opacity:.5; cursor:not-allowed; }
.status-error { background:rgba(233,69,96,.1); border:1px solid rgba(233,69,96,.2); color:var(--accent); padding:11px 15px; border-radius:10px; font-size:13px; }
.status-pending { background:rgba(245,166,35,.1); border:1px solid rgba(245,166,35,.2); color:var(--yellow); padding:11px 15px; border-radius:10px; font-size:13px; }
.pay-hint { font-size:11px; color:var(--text2); opacity:.6; line-height:1.5; margin-top:14px; }

/* ── ORDER TRACKER ─────────────────────────────────────────────────── */
.order-section { padding:calc(var(--nav-h)+40px) 0 80px; }
.order-tracker-wrap { max-width:640px; margin:0 auto; }
.order-tracker-header { display:flex; justify-content:space-between; align-items:center; margin-bottom:28px; flex-wrap:wrap; gap:10px; }
.order-tracker-header h2 { font-family:var(--font-display); font-size:21px; font-weight:900; }
.order-code { color:var(--accent); }
.order-tracker-status { padding:5px 14px; border-radius:100px; font-size:13px; font-weight:600; }
.status-processing { background:rgba(245,166,35,.1); color:var(--yellow); border:1px solid rgba(245,166,35,.2); }
.status-completed  { background:rgba(16,185,129,.1); color:var(--green); border:1px solid rgba(16,185,129,.2); }
.status-cancelled  { background:rgba(233,69,96,.1); color:var(--accent); border:1px solid rgba(233,69,96,.2); }
.tracker-steps { display:flex; align-items:center; margin-bottom:28px; background:var(--bg2); border:1px solid var(--border); border-radius:14px; padding:20px 24px; }
.tracker-step { display:flex; flex-direction:column; align-items:center; gap:7px; min-width:72px; }
.tStep-dot { width:34px; height:34px; border-radius:50%; background:var(--bg3); border:2px solid var(--border); display:flex; align-items:center; justify-content:center; font-size:13px; font-weight:700; color:var(--text2); transition:all .3s; }
.tracker-step.done .tStep-dot { background:var(--accent); border-color:var(--accent); color:#fff; }
.tracker-step.active .tStep-dot { border-color:var(--accent); color:var(--accent); }
.tStep-label { font-size:11px; color:var(--text2); }
.tracker-line { flex:1; height:2px; background:var(--border); transition:background .3s; }
.tracker-line.done { background:var(--accent); }
.order-info-card { background:var(--bg2); border:1px solid var(--border); border-radius:14px; padding:20px; display:flex; flex-direction:column; gap:12px; }
.order-info-row { display:flex; justify-content:space-between; align-items:center; font-size:14px; }
.order-info-row span { color:var(--text2); }
.order-info-row strong { color:var(--text); }
.order-done-msg { margin-top:18px; background:rgba(16,185,129,.08); border:1px solid rgba(16,185,129,.2); border-radius:13px; padding:18px; text-align:center; color:var(--green); font-size:15px; font-weight:600; }
.order-pending-card { max-width:380px; margin:0 auto; text-align:center; padding:60px 20px; }
.order-pending-icon { font-size:52px; margin-bottom:14px; }
.order-pending-card h2 { font-family:var(--font-display); font-size:20px; margin-bottom:6px; }
.order-pending-card p { color:var(--accent); font-size:17px; font-weight:700; margin-bottom:22px; }

/* ── PROFILE ───────────────────────────────────────────────────────── */
.profile-section { padding:calc(var(--nav-h)+36px) 0 80px; }
.profile-layout { display:grid; grid-template-columns:260px 1fr; gap:28px; align-items:start; }
@media(max-width:860px){.profile-layout{grid-template-columns:1fr;}}
.profile-sidebar { background:var(--bg2); border:1px solid var(--border); border-radius:14px; padding:28px; text-align:center; position:sticky; top:calc(var(--nav-h)+16px); }
.profile-avatar { width:72px; height:72px; border-radius:50%; background:linear-gradient(135deg,var(--accent),var(--accent2)); display:flex; align-items:center; justify-content:center; font-size:28px; font-weight:900; margin:0 auto 14px; }
.profile-name { font-family:var(--font-display); font-size:16px; font-weight:700; margin-bottom:4px; word-break:break-all; }
.profile-username { color:var(--text2); font-size:13px; margin-bottom:18px; }
.profile-balance { background:var(--bg3); border-radius:11px; padding:14px; display:flex; flex-direction:column; gap:3px; }
.balance-label { font-size:11px; color:var(--text2); }
.balance-amount { font-family:var(--font-display); font-size:26px; font-weight:900; color:var(--accent); }
.profile-main { }
.orders-list { display:flex; flex-direction:column; gap:10px; }
.order-card-item { background:var(--bg2); border:1px solid var(--border); border-radius:13px; padding:18px; display:flex; justify-content:space-between; align-items:center; gap:14px; }
.order-card-item.status-completed { border-color:rgba(16,185,129,.15); }
.order-card-item.status-cancelled { border-color:rgba(233,69,96,.15); }
.order-name { font-weight:600; font-size:14px; margin-bottom:3px; }
.order-account { color:var(--text2); font-size:12px; margin-bottom:3px; }
.order-date { color:var(--text2); font-size:11px; }
.order-right { text-align:right; flex-shrink:0; }
.order-price { font-size:16px; font-weight:700; color:var(--accent); margin-bottom:3px; }
.order-status { font-size:12px; color:var(--text2); }
.empty-orders { text-align:center; padding:50px 20px; }
.empty-icon { font-size:44px; margin-bottom:14px; }
.empty-orders p { color:var(--text2); margin-bottom:22px; font-size:15px; }

/* ── MODAL ─────────────────────────────────────────────────────────── */
.modal-overlay { position:fixed; inset:0; background:rgba(0,0,0,.78); z-index:1000; display:flex; align-items:center; justify-content:center; padding:20px; opacity:0; pointer-events:none; transition:opacity .3s; }
.modal-overlay.open { opacity:1; pointer-events:all; }
.modal { background:var(--bg2); border:1px solid rgba(255,255,255,.1); border-radius:19px; padding:26px; width:100%; max-width:400px; transform:translateY(18px); transition:transform .3s; }
.modal-overlay.open .modal { transform:translateY(0); }
.modal-header { display:flex; justify-content:space-between; align-items:center; margin-bottom:18px; }
.modal-header h3 { font-family:var(--font-display); font-size:17px; font-weight:700; color:#fff; }
.modal-close { background:none; border:none; color:rgba(255,255,255,.4); font-size:19px; cursor:pointer; transition:color .2s; }
.modal-close:hover { color:#fff; }
.modal-order-info { background:rgba(255,255,255,.04); border-radius:11px; padding:13px 15px; margin-bottom:18px; }
.modal-order-row { display:flex; justify-content:space-between; align-items:center; font-size:14px; font-weight:600; color:#fff; }
.modal-order-acc { font-size:12px; color:rgba(255,255,255,.4); margin-top:5px; }
.pay-methods { display:flex; flex-direction:column; gap:8px; }
.pay-method { display:flex; align-items:center; gap:13px; background:rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.07); border-radius:13px; padding:14px 15px; cursor:pointer; transition:all .2s; text-align:left; }
.pay-method:hover { border-color:rgba(233,69,96,.4); background:rgba(233,69,96,.04); }
.pay-method-icon { width:40px; height:40px; border-radius:10px; background:rgba(255,255,255,.07); display:flex; align-items:center; justify-content:center; font-size:18px; flex-shrink:0; }
.pay-method-info { flex:1; }
.pay-method-name { font-size:14px; font-weight:700; color:#fff; }
.pay-method-sub { font-size:11px; color:rgba(255,255,255,.4); margin-top:1px; }
.pmarr { font-size:19px; color:rgba(255,255,255,.2); }

/* ── FOOTER ────────────────────────────────────────────────────────── */
.footer { border-top:1px solid var(--border); padding:32px 0; margin-top:auto; }
.footer-inner { max-width:1400px; margin:0 auto; padding:0 20px; display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:16px; }
.footer-brand { display:flex; align-items:center; gap:9px; font-family:var(--font-display); font-weight:700; font-size:14px; }
.footer-links { display:flex; gap:20px; }
.footer-links a { color:var(--text2); font-size:13px; transition:color .2s; }
.footer-links a:hover { color:var(--text); }
.footer-copy { color:var(--text2); font-size:12px; }

/* ── TOAST ─────────────────────────────────────────────────────────── */
.toast { position:fixed; bottom:22px; right:22px; z-index:9999; padding:13px 18px; border-radius:11px; font-size:13px; font-weight:600; max-width:300px; opacity:0; transform:translateY(8px); transition:all .3s; pointer-events:none; }
.toast.show { opacity:1; transform:translateY(0); }
.toast.success { background:rgba(16,185,129,.15); border:1px solid rgba(16,185,129,.3); color:var(--green); }
.toast.error { background:rgba(233,69,96,.15); border:1px solid rgba(233,69,96,.3); color:var(--accent); }

/* ── PRODUCT CARDS (catalog) ───────────────────────────────────────── */
.pcard { background:var(--bg2); border:1px solid var(--border); border-radius:14px; overflow:hidden; transition:all .25s; display:block; }
.pcard:hover { border-color:var(--border2); transform:translateY(-3px); box-shadow:0 12px 32px rgba(0,0,0,.4); }
.pcard-img { aspect-ratio:16/9; display:flex; align-items:center; justify-content:center; font-size:48px; }
.pcard-body { padding:12px 14px 6px; }
.pcard-name { font-size:14px; font-weight:700; margin-bottom:2px; }
.pcard-desc { font-size:12px; color:var(--text2); }
.pcard-foot { padding:10px 14px 12px; display:flex; justify-content:space-between; align-items:center; }
.pcard-from { font-size:11px; color:var(--text2); }
.pcard-price { font-size:15px; font-weight:700; }

/* Flex grow для всех страниц — футер всегда внизу */
/* Stretch pages so footer stays at bottom */
.home, .order-page,
.auth-section, .pay-wait-section, .admin-page { flex: 1 0 auto; }
/* product-page не нужен flex:1 — у него своя высота через buy-section */
.legal-page { flex: 1 0 auto; }
.prof-wrap { flex: 1 0 auto; }
/* catalog has own flex layout via .catalog-body */
.catalog-page-wrap { flex: 1 0 auto; display: flex; flex-direction: column; }
