/* ============================================================
   NEXASTORE — Storefront styles
   ============================================================ */

:root {
  --bg: #06080f;
  --bg-2: #0a0e1a;
  --panel: #0d1322;
  --panel-2: #111a2e;
  --line: rgba(148, 163, 184, 0.14);
  --line-strong: rgba(148, 163, 184, 0.26);
  --text: #e9eefb;
  --muted: #93a0b8;
  --muted-2: #6b7893;
  --primary: #7c5cff;
  --primary-2: #22d3ee;
  --primary-soft: rgba(124, 92, 255, 0.14);
  --accent: #fbbf24;
  --green: #34d399;
  --red: #fb7185;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.9);
  --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Sora", var(--font);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(1100px 620px at 12% -8%, rgba(124, 92, 255, 0.2), transparent 62%),
    radial-gradient(900px 520px at 92% -4%, rgba(34, 211, 238, 0.13), transparent 58%),
    radial-gradient(800px 700px at 50% 100%, rgba(124, 92, 255, 0.07), transparent 65%),
    var(--bg);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
img { max-width: 100%; display: block; }
::selection { background: rgba(124, 92, 255, 0.45); }

.container { width: min(1200px, 100% - 32px); margin-inline: auto; }

.ic { width: 18px; height: 18px; flex: none; display: inline-block; vertical-align: middle; }
.ic-lg { width: 22px; height: 22px; }

/* ------------------------------------------------------------ boot */
.boot-loader {
  position: fixed; inset: 0; z-index: 200; display: grid; place-content: center; gap: 18px;
  background: var(--bg); transition: opacity .4s ease, visibility .4s ease;
}
.boot-loader.hide { opacity: 0; visibility: hidden; }
.boot-logo { font-family: var(--display); font-weight: 800; font-size: 30px; letter-spacing: .08em; text-align: center; }
.boot-logo span { background: linear-gradient(90deg, var(--primary), var(--primary-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.boot-bar { width: 180px; height: 4px; border-radius: 99px; background: rgba(255, 255, 255, .08); overflow: hidden; margin-inline: auto; }
.boot-bar i { display: block; width: 45%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--primary), var(--primary-2)); animation: boot 1s ease-in-out infinite; }
@keyframes boot { 0% { transform: translateX(-100%); } 100% { transform: translateX(320%); } }

/* ------------------------------------------------------------ topbar */
.topbar { border-bottom: 1px solid var(--line); background: rgba(6, 8, 15, .6); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; font-size: 12px; color: var(--muted); }
.topbar-badge { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(52, 211, 153, .14); flex: none; }
.topbar-links { display: flex; align-items: center; gap: 18px; white-space: nowrap; }
.topbar-links a:hover { color: var(--text); }

/* ------------------------------------------------------------ header */
.site-header { position: sticky; top: 0; z-index: 80; border-bottom: 1px solid transparent; transition: .25s ease; }
.site-header.scrolled { background: rgba(6, 8, 15, .82); backdrop-filter: blur(18px); border-bottom-color: var(--line); box-shadow: 0 18px 40px -30px #000; }
.header-inner { display: flex; align-items: center; gap: 22px; min-height: 72px; }

.brand { display: flex; align-items: center; gap: 11px; flex: none; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(124, 92, 255, .25), rgba(34, 211, 238, .14));
  border: 1px solid rgba(124, 92, 255, .4); box-shadow: 0 10px 26px -12px rgba(124, 92, 255, .9);
  font-family: var(--display); font-weight: 800; font-size: 20px; color: #fff;
}
.brand-text { font-family: var(--display); font-weight: 800; letter-spacing: .04em; font-size: 19px; line-height: 1; }
.brand-text span { background: linear-gradient(90deg, var(--primary), var(--primary-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand-sub { display: block; font-family: var(--font); font-size: 9.5px; letter-spacing: .22em; color: var(--muted-2); margin-top: 4px; font-weight: 600; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav-link { padding: 9px 12px; border-radius: 10px; font-size: 13.5px; font-weight: 600; color: var(--muted); transition: .18s; }
.nav-link:hover { color: var(--text); background: rgba(255, 255, 255, .05); }
.nav-link.active { color: #fff; background: var(--primary-soft); box-shadow: inset 0 0 0 1px rgba(124, 92, 255, .28); }

.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.search-box {
  display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px;
  border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, .04);
  min-width: 220px; transition: .2s;
}
.search-box:focus-within { border-color: rgba(124, 92, 255, .6); box-shadow: 0 0 0 3px rgba(124, 92, 255, .14); }
.search-box .ic { color: var(--muted-2); width: 17px; height: 17px; }
.search-box input { flex: 1; min-width: 0; background: none; border: 0; outline: none; color: var(--text); font-size: 13px; font-family: inherit; }
.search-box input::placeholder { color: var(--muted-2); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px; padding: 0 18px; border-radius: 12px; border: 1px solid transparent;
  font-size: 13.5px; font-weight: 700; cursor: pointer; white-space: nowrap;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease, border-color .16s;
  background: linear-gradient(135deg, var(--primary), #5b46d8); color: #fff;
  box-shadow: 0 14px 30px -16px rgba(124, 92, 255, .95);
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 18px 36px -16px rgba(124, 92, 255, 1); }
.btn:active { transform: translateY(0); }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }
.btn-ghost { background: rgba(255, 255, 255, .05); border-color: var(--line); color: var(--text); box-shadow: none; }
.btn-ghost:hover { background: rgba(255, 255, 255, .09); border-color: var(--line-strong); box-shadow: none; }
.btn-outline { background: transparent; border-color: rgba(124, 92, 255, .45); color: #c9bdff; box-shadow: none; }
.btn-outline:hover { background: var(--primary-soft); box-shadow: none; }
.btn-sm { height: 34px; padding: 0 13px; font-size: 12.5px; border-radius: 10px; }
.btn-lg { height: 50px; padding: 0 24px; font-size: 15px; border-radius: 14px; }
.btn-block { width: 100%; }
.btn-wa { background: linear-gradient(135deg, #25d366, #128c7e); box-shadow: 0 14px 30px -16px rgba(37, 211, 102, .8); }
.btn-danger { background: rgba(251, 113, 133, .12); border-color: rgba(251, 113, 133, .35); color: #ffb3c0; box-shadow: none; }

.icon-btn {
  width: 40px; height: 40px; display: grid; place-items: center; border-radius: 11px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, .04); color: var(--muted);
  cursor: pointer; transition: .18s;
}
.icon-btn:hover { color: #fff; border-color: var(--line-strong); background: rgba(255, 255, 255, .08); }
.mobile-toggle { display: none; }

/* ------------------------------------------------------------ drawer */
.drawer { position: fixed; inset: 0; z-index: 120; display: none; }
.drawer.open { display: block; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(2, 4, 10, .7); backdrop-filter: blur(4px); }
.drawer-panel {
  position: absolute; top: 0; right: 0; height: 100%; width: min(340px, 88vw);
  background: var(--bg-2); border-left: 1px solid var(--line); padding: 20px;
  display: flex; flex-direction: column; gap: 18px; animation: slideIn .22s ease;
  box-shadow: -30px 0 80px -30px #000;
}
@keyframes slideIn { from { transform: translateX(24px); opacity: .4; } to { transform: none; opacity: 1; } }
.drawer-head { display: flex; align-items: center; justify-content: space-between; }
.drawer-nav { display: flex; flex-direction: column; gap: 6px; }
.drawer-nav a { padding: 13px 14px; border-radius: 12px; border: 1px solid transparent; font-weight: 600; color: var(--muted); }
.drawer-nav a:hover, .drawer-nav a.active { background: var(--primary-soft); color: #fff; border-color: rgba(124, 92, 255, .25); }
.drawer-foot { margin-top: auto; display: grid; gap: 10px; font-size: 12.5px; color: var(--muted); }

/* ------------------------------------------------------------ hero */
.hero { position: relative; margin-top: 22px; }
.hero-viewport { position: relative; border-radius: 26px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.hero-slide {
  position: relative; min-height: 380px; display: none; align-items: center; padding: 48px 54px;
  background: var(--slide-bg, linear-gradient(120deg, #4c1d95, #7c3aed 45%, #06b6d4));
  isolation: isolate;
}
.hero-slide.active { display: flex; animation: heroFade .55s ease; }
@keyframes heroFade { from { opacity: 0; transform: scale(1.012); } to { opacity: 1; transform: none; } }
.hero-slide::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(520px 320px at 82% 20%, rgba(255, 255, 255, .22), transparent 60%),
    radial-gradient(420px 280px at 95% 90%, rgba(0, 0, 0, .4), transparent 65%),
    linear-gradient(90deg, rgba(4, 6, 14, .55), rgba(4, 6, 14, .08) 60%);
}
.hero-slide::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .35;
  background-image: linear-gradient(rgba(255, 255, 255, .12) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .12) 1px, transparent 1px);
  background-size: 44px 44px; mask-image: radial-gradient(600px 300px at 80% 30%, #000, transparent 75%);
}
.hero-content { max-width: 620px; position: relative; z-index: 2; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: #fff; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .22); padding: 7px 12px; border-radius: 99px; backdrop-filter: blur(8px); }
.hero-title { font-family: var(--display); font-size: clamp(30px, 4.4vw, 52px); line-height: 1.04; margin: 18px 0 14px; letter-spacing: -.02em; text-shadow: 0 20px 50px rgba(0, 0, 0, .35); }
.hero-sub { color: rgba(255, 255, 255, .86); font-size: 15px; line-height: 1.65; max-width: 520px; margin: 0 0 26px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-actions .btn { background: #fff; color: #170f38; box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .6); }
.hero-actions .btn-ghost { background: rgba(255, 255, 255, .14); color: #fff; border-color: rgba(255, 255, 255, .26); }
.hero-art { position: absolute; right: 6%; top: 50%; transform: translateY(-50%); z-index: 1; display: flex; gap: 14px; align-items: center; }
.hero-orb {
  width: 118px; height: 118px; border-radius: 30px; display: grid; place-items: center; font-size: 54px;
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .26);
  backdrop-filter: blur(12px); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .5);
  animation: float 5s ease-in-out infinite;
}
.hero-orb:nth-child(2) { margin-top: 64px; animation-delay: -2s; width: 92px; height: 92px; font-size: 42px; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.hero-dots { position: absolute; left: 54px; bottom: 26px; display: flex; gap: 8px; z-index: 3; }
.hero-dot { width: 9px; height: 9px; border-radius: 99px; border: 0; background: rgba(255, 255, 255, .38); cursor: pointer; transition: .2s; padding: 0; }
.hero-dot.active { width: 28px; background: #fff; }
.hero-nav { position: absolute; right: 22px; bottom: 22px; display: flex; gap: 8px; z-index: 3; }
.hero-nav button { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); background: rgba(4, 6, 14, .28); color: #fff; display: grid; place-items: center; cursor: pointer; backdrop-filter: blur(8px); }
.hero-nav button:hover { background: rgba(4, 6, 14, .55); }
.hero-nav [data-hero-prev] .ic { transform: rotate(180deg); }

/* ------------------------------------------------------------ sections */
.main { min-height: 60vh; padding-bottom: 70px; }
.section { margin-top: 54px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 20px; }
.section-eyebrow { font-size: 11px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--primary-2); margin: 0 0 8px; }
.section-title { font-family: var(--display); font-size: clamp(21px, 2.6vw, 30px); margin: 0; letter-spacing: -.015em; }
.section-sub { color: var(--muted); font-size: 13.5px; margin: 7px 0 0; }
.section-link { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: #c3b7ff; white-space: nowrap; }
.section-link:hover { color: #fff; }
.section-link .ic { width: 15px; height: 15px; }

.grid-games { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 14px; }
.game-card {
  position: relative; border-radius: 16px; border: 1px solid var(--line); background: var(--panel);
  padding: 14px; display: flex; flex-direction: column; gap: 12px; overflow: hidden;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.game-card::after { content: ""; position: absolute; inset: -40% -20% auto; height: 90px; background: radial-gradient(closest-side, var(--c, #7c5cff), transparent); opacity: .28; pointer-events: none; }
.game-card:hover { transform: translateY(-4px); border-color: rgba(124, 92, 255, .45); box-shadow: 0 24px 44px -26px rgba(0, 0, 0, .9); }
.game-tile {
  position: relative; aspect-ratio: 1 / .82; border-radius: 13px; display: grid; place-items: center; font-size: 42px;
  background: linear-gradient(145deg, color-mix(in srgb, var(--c, #7c5cff) 55%, #0b1020), #0b1020 82%);
  border: 1px solid rgba(255, 255, 255, .1); overflow: hidden;
}
.game-tile::before { content: ""; position: absolute; inset: 0; background: radial-gradient(90% 70% at 30% 15%, rgba(255, 255, 255, .28), transparent 60%); }
.game-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.game-tile .emoji { position: relative; filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .45)); }
.game-name { font-size: 12.5px; font-weight: 700; letter-spacing: .02em; line-height: 1.35; }
.game-meta { font-size: 11px; color: var(--muted-2); margin-top: 4px; }
.game-cta { display: flex; align-items: center; justify-content: space-between; font-size: 11px; font-weight: 700; color: #c3b7ff; }
.game-cta .ic { width: 14px; height: 14px; }

/* ------------------------------------------------------------ product cards */
.grid-products { display: grid; grid-template-columns: repeat(auto-fill, minmax(224px, 1fr)); gap: 16px; }
.product-card {
  border-radius: 16px; border: 1px solid var(--line); background: var(--panel); overflow: hidden;
  display: flex; flex-direction: column; transition: transform .2s, border-color .2s, box-shadow .2s;
}
.product-card:hover { transform: translateY(-4px); border-color: rgba(124, 92, 255, .4); box-shadow: 0 26px 50px -28px #000; }
.product-thumb {
  position: relative; aspect-ratio: 16 / 9; display: grid; place-items: center; font-size: 44px;
  background: linear-gradient(145deg, color-mix(in srgb, var(--c, #7c5cff) 45%, #0b1020), #0a0e1a 85%);
  border-bottom: 1px solid var(--line);
}
.product-thumb::before { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 80% at 25% 10%, rgba(255, 255, 255, .2), transparent 60%); }
.product-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.product-thumb .emoji { position: relative; filter: drop-shadow(0 10px 20px rgba(0, 0, 0, .5)); }
.product-body { padding: 14px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-cat { font-size: 10px; font-weight: 800; letter-spacing: .12em; color: var(--muted-2); text-transform: uppercase; }
.product-name { font-size: 14px; font-weight: 700; line-height: 1.35; margin: 0; }
.product-desc { font-size: 11.5px; color: var(--muted); line-height: 1.5; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.price-row { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-top: auto; padding-top: 6px; }
.price { font-family: var(--display); font-size: 16px; font-weight: 700; color: #fff; }
.price-old { font-size: 11.5px; color: var(--muted-2); text-decoration: line-through; }
.stock-chip { margin-left: auto; font-size: 10px; font-weight: 700; color: var(--green); background: rgba(52, 211, 153, .1); border: 1px solid rgba(52, 211, 153, .25); padding: 3px 7px; border-radius: 99px; }
.stock-chip.low { color: var(--accent); background: rgba(251, 191, 36, .1); border-color: rgba(251, 191, 36, .25); }
.stock-chip.out { color: var(--red); background: rgba(251, 113, 133, .1); border-color: rgba(251, 113, 133, .25); }

.badge {
  position: absolute; top: 10px; left: 10px; z-index: 2; font-size: 9.5px; font-weight: 800; letter-spacing: .08em;
  padding: 5px 8px; border-radius: 7px; text-transform: uppercase; color: #150e2e;
  background: linear-gradient(135deg, #fde68a, #fbbf24); box-shadow: 0 6px 16px -6px rgba(251, 191, 36, .8);
}
.badge.hot { background: linear-gradient(135deg, #fda4af, #fb7185); color: #3b0410; }
.badge.new { background: linear-gradient(135deg, #a7f3d0, #34d399); color: #04231a; }
.discount-chip {
  position: absolute; top: 10px; right: 10px; z-index: 2; font-size: 10px; font-weight: 800;
  padding: 5px 8px; border-radius: 7px; background: rgba(6, 8, 15, .72); border: 1px solid rgba(251, 113, 133, .5);
  color: #ffb3c0; backdrop-filter: blur(6px);
}

/* ------------------------------------------------------------ flash */
.flash-band {
  margin-top: 54px; border-radius: 22px; border: 1px solid rgba(251, 191, 36, .24); overflow: hidden;
  background:
    radial-gradient(700px 260px at 8% 0%, rgba(251, 191, 36, .16), transparent 60%),
    radial-gradient(600px 300px at 92% 100%, rgba(251, 113, 133, .12), transparent 60%),
    #0c0f1b;
}
.flash-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 22px 24px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.flash-title { display: flex; align-items: center; gap: 12px; }
.flash-icon { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; font-size: 22px; background: linear-gradient(135deg, #fbbf24, #f97316); box-shadow: 0 12px 26px -12px rgba(251, 191, 36, .9); }
.flash-title h3 { margin: 0; font-family: var(--display); font-size: 20px; }
.flash-title p { margin: 3px 0 0; font-size: 12px; color: var(--muted); }
.countdown { display: flex; align-items: center; gap: 6px; }
.count-box { min-width: 46px; text-align: center; background: rgba(6, 8, 15, .6); border: 1px solid var(--line-strong); border-radius: 10px; padding: 7px 6px; }
.count-num { font-family: var(--display); font-size: 17px; font-weight: 700; line-height: 1; }
.count-label { font-size: 8.5px; letter-spacing: .12em; color: var(--muted-2); text-transform: uppercase; margin-top: 4px; }
.count-sep { color: var(--muted-2); font-weight: 800; }
.flash-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 0; }
.flash-item { display: flex; gap: 12px; padding: 16px 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); align-items: center; transition: background .2s; }
.flash-item:hover { background: rgba(255, 255, 255, .03); }
.flash-thumb { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; font-size: 24px; background: linear-gradient(145deg, color-mix(in srgb, var(--c, #7c5cff) 50%, #0b1020), #0b1020); border: 1px solid rgba(255, 255, 255, .1); flex: none; }
.flash-info { min-width: 0; }
.flash-name { font-size: 12.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.flash-price { display: flex; align-items: baseline; gap: 6px; margin-top: 4px; }
.flash-price .price { font-size: 13.5px; }
.flash-price .price-old { font-size: 10.5px; }

/* ------------------------------------------------------------ account */
.grid-accounts { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.account-card { border-radius: 18px; border: 1px solid var(--line); background: var(--panel); overflow: hidden; transition: .2s; display: flex; flex-direction: column; }
.account-card:hover { transform: translateY(-4px); border-color: rgba(34, 211, 238, .35); box-shadow: 0 26px 50px -28px #000; }
.account-media { position: relative; aspect-ratio: 16 / 10; display: grid; place-items: center; font-size: 54px; background: linear-gradient(150deg, color-mix(in srgb, var(--c, #7c5cff) 48%, #0b1020), #090d18 85%); }
.account-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.account-body { padding: 14px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.account-title { font-size: 13.5px; font-weight: 700; line-height: 1.4; margin: 0; }
.account-meta { display: flex; align-items: center; gap: 6px; font-size: 10.5px; color: var(--muted-2); }
.account-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 8px; }

/* ------------------------------------------------------------ trust & testimonials */
.trust-band { margin-top: 54px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.trust-item { border: 1px solid var(--line); background: rgba(255, 255, 255, .025); border-radius: 16px; padding: 20px; text-align: center; }
.trust-icon { width: 42px; height: 42px; margin: 0 auto 10px; border-radius: 12px; display: grid; place-items: center; background: var(--primary-soft); color: #c3b7ff; border: 1px solid rgba(124, 92, 255, .24); }
.trust-num { font-family: var(--display); font-size: 22px; font-weight: 700; }
.trust-label { font-size: 11.5px; color: var(--muted); margin-top: 4px; }

.testi-wrap { margin-top: 54px; overflow: hidden; border-block: 1px solid var(--line); padding: 26px 0; }
.testi-marquee { display: flex; gap: 14px; width: max-content; animation: marquee 60s linear infinite; }
.testi-marquee.reverse { animation-direction: reverse; animation-duration: 72s; margin-top: 14px; }
.testi-wrap:hover .testi-marquee { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.testi-card { width: 300px; flex: none; border: 1px solid var(--line); background: var(--panel); border-radius: 14px; padding: 15px; }
.testi-stars { color: var(--accent); display: flex; gap: 2px; margin-bottom: 8px; }
.testi-stars .ic { width: 13px; height: 13px; }
.testi-msg { font-size: 12.5px; color: #c8d1e3; line-height: 1.6; margin: 0 0 12px; }
.testi-name { display: flex; align-items: center; gap: 8px; font-size: 11px; color: var(--muted-2); font-weight: 600; }
.testi-avatar { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--primary-soft); color: #c3b7ff; font-size: 10px; font-weight: 800; }

/* ------------------------------------------------------------ footer */
.site-footer { border-top: 1px solid var(--line); background: rgba(5, 7, 13, .7); padding: 46px 0 24px; margin-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 34px; }
.footer-brand p { color: var(--muted); font-size: 12.5px; line-height: 1.7; margin: 14px 0 18px; max-width: 320px; }
.footer-col h4 { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); margin: 4px 0 14px; }
.footer-col a, .footer-col span { display: block; font-size: 12.5px; color: var(--muted); padding: 5px 0; }
.footer-col a:hover { color: #fff; }
.social-row { display: flex; gap: 9px; }
.social-row a { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; border: 1px solid var(--line); color: var(--muted); background: rgba(255, 255, 255, .03); }
.social-row a:hover { color: #fff; border-color: rgba(124, 92, 255, .4); background: var(--primary-soft); }
.pay-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }
.pay-chip { font-size: 10px; font-weight: 700; color: var(--muted); border: 1px solid var(--line); padding: 6px 9px; border-radius: 7px; background: rgba(255, 255, 255, .03); }
.footer-bottom { margin-top: 34px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 11.5px; color: var(--muted-2); }

/* ------------------------------------------------------------ page head / catalog */
.page-head { margin-top: 30px; padding: 30px; border-radius: 22px; border: 1px solid var(--line); background: linear-gradient(120deg, rgba(124, 92, 255, .14), rgba(34, 211, 238, .06) 55%, transparent), var(--panel); }
.breadcrumb { display: flex; align-items: center; gap: 7px; font-size: 11.5px; color: var(--muted-2); margin-bottom: 12px; flex-wrap: wrap; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .sep { opacity: .5; }
.page-title { font-family: var(--display); font-size: clamp(24px, 3.2vw, 36px); margin: 0; letter-spacing: -.02em; }
.page-desc { color: var(--muted); font-size: 13.5px; line-height: 1.65; margin: 10px 0 0; max-width: 720px; }
.page-emoji { float: right; font-size: 64px; margin-left: 20px; filter: drop-shadow(0 14px 30px rgba(0, 0, 0, .4)); }

.filter-chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 22px 0 18px; }
.chip { padding: 8px 14px; border-radius: 99px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); color: var(--muted); font-size: 12px; font-weight: 600; cursor: pointer; transition: .18s; }
.chip:hover { color: #fff; border-color: var(--line-strong); }
.chip.active { background: var(--primary-soft); color: #fff; border-color: rgba(124, 92, 255, .45); }

/* ------------------------------------------------------------ product detail */
.detail-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 22px; margin-top: 24px; align-items: start; }
.detail-media { border-radius: 20px; border: 1px solid var(--line); overflow: hidden; background: var(--panel); }
.detail-media .product-thumb { aspect-ratio: 16 / 8; font-size: 76px; }
.detail-body { padding: 22px; }
.detail-desc { color: #c1cada; font-size: 13.5px; line-height: 1.8; white-space: pre-line; }
.detail-points { display: grid; gap: 10px; margin-top: 18px; }
.detail-point { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; color: var(--muted); }
.detail-point .ic { color: var(--green); margin-top: 1px; width: 16px; height: 16px; }
.buy-card { border-radius: 20px; border: 1px solid rgba(124, 92, 255, .26); background: linear-gradient(160deg, rgba(124, 92, 255, .1), transparent 45%), var(--panel); padding: 22px; position: sticky; top: 92px; box-shadow: var(--shadow); }
.buy-label { font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-2); font-weight: 800; }
.buy-price { display: flex; align-items: baseline; gap: 10px; margin: 8px 0 4px; flex-wrap: wrap; }
.buy-price .price { font-size: 30px; }
.buy-note { font-size: 11.5px; color: var(--muted); margin-bottom: 18px; }
.form-grid { display: grid; gap: 13px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 11.5px; font-weight: 700; color: #c6cfe0; }
.field label .req { color: var(--red); }
.field input, .field textarea, .field select {
  width: 100%; background: rgba(6, 8, 15, .6); border: 1px solid var(--line); border-radius: 11px;
  color: var(--text); font-family: inherit; font-size: 13px; padding: 11px 13px; outline: none; transition: .18s;
}
.field textarea { min-height: 84px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: rgba(124, 92, 255, .6); box-shadow: 0 0 0 3px rgba(124, 92, 255, .12); }
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field .hint { font-size: 10.5px; color: var(--muted-2); }

.qty-control { display: flex; align-items: center; gap: 0; border: 1px solid var(--line); border-radius: 11px; overflow: hidden; width: fit-content; }
.qty-control button { width: 38px; height: 38px; border: 0; background: rgba(255, 255, 255, .04); color: var(--text); font-size: 17px; cursor: pointer; }
.qty-control button:hover { background: rgba(255, 255, 255, .09); }
.qty-control input { width: 52px; height: 38px; text-align: center; border: 0; background: transparent; color: var(--text); font-family: inherit; font-size: 13px; font-weight: 700; outline: none; }

.pay-methods { display: grid; gap: 8px; }
.pay-method { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 11px; padding: 10px 12px; cursor: pointer; transition: .18s; background: rgba(255, 255, 255, .02); }
.pay-method:hover { border-color: var(--line-strong); }
.pay-method input { accent-color: var(--primary); }
.pay-method.selected { border-color: rgba(124, 92, 255, .55); background: var(--primary-soft); }
.pay-method-name { font-size: 12.5px; font-weight: 700; }
.pay-method-note { font-size: 10.5px; color: var(--muted-2); }

.promo-row { display: flex; gap: 8px; }
.promo-row input { flex: 1; text-transform: uppercase; }
.promo-msg { font-size: 11px; margin-top: 6px; }
.promo-msg.ok { color: var(--green); }
.promo-msg.err { color: var(--red); }

.summary { border-top: 1px dashed var(--line-strong); margin-top: 16px; padding-top: 14px; display: grid; gap: 8px; }
.summary-row { display: flex; justify-content: space-between; gap: 12px; font-size: 12.5px; color: var(--muted); }
.summary-row strong { color: var(--text); font-weight: 600; }
.summary-row.discount strong { color: var(--green); }
.summary-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--line); }
.summary-total span { font-size: 12px; color: var(--muted); }
.summary-total strong { font-family: var(--display); font-size: 21px; }

/* ------------------------------------------------------------ invoice */
.invoice-wrap { max-width: 860px; margin: 30px auto 0; }
.invoice-card { border: 1px solid var(--line); background: var(--panel); border-radius: 20px; padding: 26px; box-shadow: var(--shadow); }
.invoice-top { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; align-items: flex-start; }
.invoice-no { font-family: var(--display); font-size: 20px; font-weight: 700; letter-spacing: .03em; }
.invoice-date { font-size: 11.5px; color: var(--muted-2); margin-top: 5px; }
.status-pill { display: inline-flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 7px 12px; border-radius: 99px; border: 1px solid; }
.status-pill.pending { color: #fcd34d; border-color: rgba(252, 211, 77, .3); background: rgba(252, 211, 77, .1); }
.status-pill.paid { color: #93c5fd; border-color: rgba(147, 197, 253, .3); background: rgba(147, 197, 253, .1); }
.status-pill.processing { color: #c4b5fd; border-color: rgba(196, 181, 253, .3); background: rgba(196, 181, 253, .1); }
.status-pill.completed { color: #6ee7b7; border-color: rgba(110, 231, 183, .3); background: rgba(110, 231, 183, .1); }
.status-pill.cancelled, .status-pill.refunded { color: #fda4af; border-color: rgba(253, 164, 175, .3); background: rgba(253, 164, 175, .1); }

.status-stepper { display: flex; align-items: flex-start; margin: 26px 0; }
.step { flex: 1; position: relative; text-align: center; font-size: 10.5px; color: var(--muted-2); }
.step::before { content: ""; position: absolute; top: 13px; left: -50%; width: 100%; height: 2px; background: var(--line); }
.step:first-child::before { display: none; }
.step-dot { width: 28px; height: 28px; margin: 0 auto 8px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--line-strong); background: var(--panel); color: var(--muted-2); position: relative; z-index: 1; font-size: 11px; font-weight: 800; }
.step.done { color: #c8d1e3; }
.step.done .step-dot { border-color: var(--primary); background: var(--primary); color: #fff; }
.step.done::before { background: rgba(124, 92, 255, .7); }
.step.active .step-dot { border-color: var(--primary-2); color: var(--primary-2); box-shadow: 0 0 0 5px rgba(34, 211, 238, .12); }

.invoice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }
.info-box { border: 1px solid var(--line); border-radius: 14px; padding: 16px; background: rgba(255, 255, 255, .02); }
.info-box h4 { margin: 0 0 12px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); }
.info-list { display: grid; gap: 9px; }
.info-row { display: flex; justify-content: space-between; gap: 12px; font-size: 12.5px; color: var(--muted); }
.info-row strong { color: var(--text); font-weight: 600; text-align: right; word-break: break-word; }
.info-row.total { padding-top: 10px; border-top: 1px dashed var(--line-strong); align-items: baseline; }
.info-row.total strong { font-family: var(--display); font-size: 18px; color: #fff; }

.instructions { margin-top: 18px; border: 1px solid rgba(124, 92, 255, .24); background: rgba(124, 92, 255, .06); border-radius: 14px; padding: 18px; }
.instructions h4 { margin: 0 0 6px; font-size: 13.5px; }
.instructions p { margin: 0 0 14px; font-size: 12px; color: var(--muted); line-height: 1.6; }
.bank-grid { display: grid; gap: 9px; }
.bank-card { display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 1px solid var(--line); background: rgba(6, 8, 15, .5); border-radius: 11px; padding: 11px 13px; }
.bank-info { display: grid; gap: 2px; }
.bank-name { font-size: 10.5px; font-weight: 800; letter-spacing: .1em; color: var(--primary-2); }
.bank-number { font-family: var(--display); font-size: 15px; font-weight: 700; letter-spacing: .04em; }
.bank-holder { font-size: 10.5px; color: var(--muted-2); }
.copy-btn { border: 1px solid var(--line); background: rgba(255, 255, 255, .04); color: var(--muted); border-radius: 8px; padding: 7px 10px; font-size: 11px; font-weight: 700; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.copy-btn:hover { color: #fff; border-color: var(--line-strong); }
.copy-btn .ic { width: 13px; height: 13px; }

.credential-card { margin-top: 18px; border: 1px solid rgba(52, 211, 153, .28); background: rgba(52, 211, 153, .06); border-radius: 14px; padding: 18px; }
.credential-card h4 { margin: 0 0 4px; font-size: 13.5px; color: #a7f3d0; }
.credential-card p { margin: 0 0 14px; font-size: 11.5px; color: var(--muted); }
.cred-row { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px dashed rgba(52, 211, 153, .2); font-size: 12.5px; }
.cred-row:last-child { border-bottom: 0; }
.cred-key { color: var(--muted); text-transform: capitalize; }
.cred-val { font-family: ui-monospace, "Cascadia Code", monospace; color: #eafff6; word-break: break-all; text-align: right; }

/* ------------------------------------------------------------ check page */
.narrow { max-width: 620px; margin: 34px auto 0; }
.check-card { border: 1px solid var(--line); background: var(--panel); border-radius: 20px; padding: 28px; box-shadow: var(--shadow); }
.check-card h1 { font-family: var(--display); font-size: 26px; margin: 0 0 8px; }
.check-card p { color: var(--muted); font-size: 13px; line-height: 1.65; margin: 0 0 22px; }

.empty-state { text-align: center; padding: 60px 20px; color: var(--muted); }
.empty-state .big { font-size: 52px; margin-bottom: 12px; }
.empty-state h3 { color: var(--text); font-family: var(--display); margin: 0 0 6px; font-size: 19px; }
.empty-state p { margin: 0; font-size: 13px; }

.skeleton { border-radius: 12px; background: linear-gradient(100deg, rgba(255, 255, 255, .04) 30%, rgba(255, 255, 255, .09) 50%, rgba(255, 255, 255, .04) 70%); background-size: 300% 100%; animation: shimmer 1.4s infinite; }
@keyframes shimmer { to { background-position: -150% 0; } }

/* ------------------------------------------------------------ toast */
.toast-root { position: fixed; right: 18px; bottom: 18px; z-index: 300; display: flex; flex-direction: column; gap: 9px; max-width: min(360px, calc(100vw - 36px)); }
.toast { display: flex; gap: 10px; align-items: flex-start; padding: 13px 15px; border-radius: 12px; border: 1px solid var(--line-strong); background: rgba(13, 19, 34, .96); backdrop-filter: blur(14px); box-shadow: 0 20px 40px -20px #000; font-size: 12.5px; line-height: 1.5; animation: toastIn .24s ease; }
.toast.success { border-color: rgba(52, 211, 153, .4); }
.toast.error { border-color: rgba(251, 113, 133, .4); }
.toast .ic { color: var(--primary-2); margin-top: 1px; }
.toast.success .ic { color: var(--green); }
.toast.error .ic { color: var(--red); }
@keyframes toastIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ------------------------------------------------------------ responsive */
@media (max-width: 1024px) {
  .nav { display: none; }
  .mobile-toggle { display: grid; }
  .search-box { min-width: 0; width: 190px; }
  .detail-grid { grid-template-columns: 1fr; }
  .buy-card { position: static; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}

@media (max-width: 820px) {
  .hero-slide { padding: 34px 26px 72px; min-height: 340px; }
  .hero-art { display: none; }
  .hero-dots { left: 26px; bottom: 22px; }
  .hero-title { font-size: clamp(27px, 7vw, 38px); }
  .topbar-links { display: none; }
  .search-box { display: none; }
  .grid-games { grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); }
  .trust-band { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 26px; }
  .invoice-grid { grid-template-columns: 1fr; }
  .page-head { padding: 22px; }
  .page-emoji { font-size: 44px; }
  .flash-head { padding: 18px; }
}

@media (max-width: 560px) {
  .container { width: calc(100% - 24px); }
  .header-inner { min-height: 62px; gap: 10px; }
  .brand-text { font-size: 17px; }
  .brand-mark { width: 36px; height: 36px; border-radius: 10px; font-size: 18px; }
  .header-actions .btn { display: none; }
  .grid-products { grid-template-columns: 1fr 1fr; gap: 10px; }
  .product-body { padding: 11px; gap: 6px; }
  .product-name { font-size: 12.5px; }
  .product-desc { display: none; }
  .price { font-size: 14px; }
  .stock-chip { display: none; }
  .flash-grid { grid-template-columns: 1fr; }
  .flash-item { border-right: 0; }
  .grid-accounts { grid-template-columns: 1fr; }
  .section { margin-top: 40px; }
  .form-row { grid-template-columns: 1fr; }
  .invoice-card, .check-card { padding: 18px; }
  .status-stepper { margin: 20px 0; }
  .step { font-size: 9px; }
  .step-dot { width: 24px; height: 24px; }
  .step::before { top: 11px; }
  .footer-grid { grid-template-columns: 1fr; }
  .toast-root { right: 12px; left: 12px; bottom: 12px; max-width: none; }
  .hero-actions .btn { height: 44px; font-size: 13px; }
  .hero-sub { font-size: 13.5px; }
  .section-head { align-items: center; }
  .section-sub { display: none; }
  .buy-price .price { font-size: 26px; }
}
