/* =====================================================================
   VIBRANTTY — storefront design system
   Layout: dark starfield, condensed uppercase display type, each server
   owns a colour (VB1 violet · VB2 cyan · VB3 pink · Subscriptions gold).
   ===================================================================== */
:root {
  color-scheme: dark;
  --bg: #05060b;
  --bg-1: #0a0c15;
  --bg-2: #10131f;
  --bg-3: #161a2a;
  --line: rgba(255, 255, 255, 0.07);
  --line-2: rgba(255, 255, 255, 0.13);
  --text: #eef0f8;
  --muted: #9aa0b8;
  --dim: #626a86;
  --white: #ffffff;

  --violet: #a78bfa; --violet-rgb: 167, 139, 250; --violet-deep: #7c3aed;
  --cyan: #22d3ee;   --cyan-rgb: 34, 211, 238;    --cyan-deep: #0891b2;
  --pink: #f472b6;   --pink-rgb: 244, 114, 182;   --pink-deep: #db2777;
  --gold: #f5c451;   --gold-rgb: 245, 196, 81;    --gold-deep: #d97706;
  --slate: #94a3b8;  --slate-rgb: 148, 163, 184;  --slate-deep: #475569;
  --green: #34d399; --red: #fb7185; --discord: #5865f2;

  /* default accent = violet; sections override --c / --c-rgb / --c-deep */
  --c: var(--violet); --c-rgb: var(--violet-rgb); --c-deep: var(--violet-deep);

  --font-display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --font-body: "Barlow", "Segoe UI", Roboto, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", Menlo, Consolas, monospace;

  --r: 16px; --r-sm: 10px; --r-xs: 6px;
  --max: 1240px;
  --gutter: 20px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
}
.theme-violet, [data-color="violet"] { --c: var(--violet); --c-rgb: var(--violet-rgb); --c-deep: var(--violet-deep); }
.theme-cyan,   [data-color="cyan"]   { --c: var(--cyan);   --c-rgb: var(--cyan-rgb);   --c-deep: var(--cyan-deep); }
.theme-pink,   [data-color="pink"]   { --c: var(--pink);   --c-rgb: var(--pink-rgb);   --c-deep: var(--pink-deep); }
.theme-gold,   [data-color="gold"]   { --c: var(--gold);   --c-rgb: var(--gold-rgb);   --c-deep: var(--gold-deep); }
.theme-slate,  [data-color="slate"]  { --c: var(--slate);  --c-rgb: var(--slate-rgb);  --c-deep: var(--slate-deep); }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font-body); font-size: 15.5px; line-height: 1.55;
  min-height: 100vh; overflow-x: hidden;
}
#stars { position: fixed; inset: 0; z-index: -2; width: 100%; height: 100%; display: block; }
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(1100px 600px at 10% -10%, rgba(124, 58, 237, 0.26), transparent 60%),
    radial-gradient(900px 500px at 100% 0%, rgba(34, 211, 238, 0.10), transparent 60%),
    radial-gradient(700px 700px at 50% 120%, rgba(244, 114, 182, 0.08), transparent 60%);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--c); outline-offset: 2px; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.01em; line-height: 1; font-weight: 800; text-wrap: balance; }
p { margin: 0; }
.wrap { width: min(var(--max), 100% - var(--gutter) * 2); margin-inline: auto; }
.muted { color: var(--muted); }
.mono { font-family: var(--font-mono); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
[hidden] { display: none !important; }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 11.5px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--c); }
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--c); box-shadow: 0 0 10px var(--c); }
.display { font-family: var(--font-display); text-transform: uppercase; font-weight: 800; line-height: 0.95; }
.h-xl { font-size: clamp(44px, 7vw, 92px); }
.h-lg { font-size: clamp(34px, 4.6vw, 56px); }
.h-md { font-size: clamp(26px, 3vw, 36px); }
.h-sm { font-size: 22px; }
.lead { font-size: 17.5px; color: var(--muted); max-width: 58ch; }
.num { font-variant-numeric: tabular-nums; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 0 18px; height: 44px; border-radius: var(--r-sm);
  border: 1px solid var(--line-2); background: rgba(255,255,255,0.04); color: var(--text);
  font-family: var(--font-display); font-weight: 700; font-size: 16px; letter-spacing: 0.06em; text-transform: uppercase;
  transition: transform .15s ease, box-shadow .2s ease, background .2s, border-color .2s, color .2s; white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); border-color: rgba(255,255,255,0.3); background: rgba(255,255,255,0.07); }
.btn:active { transform: translateY(0); }
.btn-c { background: var(--c); border-color: transparent; color: #0a0a12; }
.btn-c:hover { background: var(--c); box-shadow: 0 0 0 1px rgba(var(--c-rgb), .4), 0 8px 30px rgba(var(--c-rgb), .45); }
.btn-outline-c { border-color: rgba(var(--c-rgb), .55); color: var(--c); background: rgba(var(--c-rgb), .06); }
.btn-outline-c:hover { background: rgba(var(--c-rgb), .14); border-color: var(--c); }
.btn-discord { background: var(--discord); border-color: transparent; color: #fff; }
.btn-discord:hover { background: #4752c4; box-shadow: 0 8px 30px rgba(88,101,242,.45); }
.btn-sm { height: 36px; padding: 0 13px; font-size: 14px; }
.btn-lg { height: 52px; padding: 0 26px; font-size: 18px; }
.btn-block { width: 100%; }
.btn-icon { width: 44px; padding: 0; }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none !important; box-shadow: none !important; }
.btn svg { width: 17px; height: 17px; flex: none; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 60; background: rgba(5, 6, 11, 0.72); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; gap: 18px; height: 70px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img, .brand .brand-mark { width: 40px; height: 40px; border-radius: 11px; object-fit: cover; box-shadow: 0 0 0 1px var(--line-2), 0 0 24px rgba(var(--violet-rgb), .45); }
.brand .brand-mark { display: grid; place-items: center; background: linear-gradient(135deg, var(--violet-deep), var(--cyan)); font-family: var(--font-display); font-weight: 800; font-size: 18px; color: #fff; }
.brand-name { font-family: var(--font-display); font-weight: 800; font-size: 24px; letter-spacing: 0.08em; text-transform: uppercase; }
.brand-name b { color: var(--violet); font-weight: 800; }
.nav-links { display: flex; gap: 2px; margin-left: 10px; }
.nav-links a { padding: 9px 13px; border-radius: 8px; color: var(--muted); font-family: var(--font-display); font-weight: 700; font-size: 16px; letter-spacing: .08em; text-transform: uppercase; transition: color .15s, background .15s; }
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,.05); }
.nav-links a.active { color: var(--text); background: rgba(var(--violet-rgb), .16); box-shadow: inset 0 -2px 0 var(--violet); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.cart-btn { position: relative; }
.cart-btn .count { position: absolute; top: -7px; right: -7px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; background: var(--cyan); color: #04141a; font-family: var(--font-mono); font-size: 11px; font-weight: 800; display: none; align-items: center; justify-content: center; }
.cart-btn .count.show { display: inline-flex; }
.nav-toggle { display: none; width: 42px; height: 42px; border-radius: 9px; border: 1px solid var(--line-2); }
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--text); margin: 4px auto; border-radius: 2px; }

/* ---------- ticker ---------- */
.ticker { border-bottom: 1px solid var(--line); background: rgba(10, 12, 21, 0.7); overflow: hidden; height: 38px; display: flex; align-items: center; position: relative; }
.ticker::before, .ticker::after { content: ""; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2; pointer-events: none; }
.ticker::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.ticker::after { right: 0; background: linear-gradient(270deg, var(--bg), transparent); }
.ticker-track { display: flex; gap: 44px; padding-right: 44px; white-space: nowrap; animation: ticker 48s linear infinite; will-change: transform; width: max-content; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item { display: inline-flex; align-items: center; gap: 9px; font-size: 13.5px; color: var(--muted); font-family: var(--font-mono); }
.ticker-item i { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }
.ticker-item b { color: var(--text); font-weight: 600; }
.ticker-item em { font-style: normal; color: var(--cyan); font-weight: 600; }
.ticker-item small { color: var(--dim); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- announcement ---------- */
.announce { background: linear-gradient(90deg, rgba(var(--violet-rgb), .18), rgba(var(--cyan-rgb), .12)); border-bottom: 1px solid var(--line); }
.announce .wrap { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 38px; font-size: 13.5px; text-align: center; padding-block: 6px; }
.announce b { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); white-space: nowrap; }
.announce .btn { height: 28px; font-size: 13px; padding: 0 10px; }
.link-inline { color: var(--c); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; font-weight: 600; }
.link-inline:hover { color: var(--text); }
.kaos-note { display: flex; align-items: flex-start; gap: 10px; padding: 10px 12px; border-radius: 10px; border: 1px solid rgba(88,101,242,.45); background: rgba(88,101,242,.1); font-size: 13px; color: var(--muted); line-height: 1.45; }
.kaos-note svg { width: 18px; height: 18px; flex: none; color: #8b95ff; margin-top: 1px; }
.kaos-note b { color: var(--text); }
.kaos-note code { font-family: var(--font-mono); font-size: 12px; color: var(--text); background: rgba(0,0,0,.35); padding: 1px 6px; border-radius: 5px; }
.kaos-box { border-color: rgba(88,101,242,.5); background: linear-gradient(160deg, rgba(88,101,242,.18), rgba(255,255,255,.02) 60%); }
.kaos-box h3 { display: flex; align-items: center; gap: 8px; }
.kaos-box ol { margin: 0; padding-left: 18px; color: var(--muted); font-size: 14px; display: grid; gap: 6px; }
.kaos-box ol b { color: var(--text); }
.kaos-box code { font-family: var(--font-mono); font-size: 12px; color: var(--text); background: rgba(0,0,0,.35); padding: 1px 6px; border-radius: 5px; }

/* ---------- hero ---------- */
.hero { padding-block: clamp(44px, 7vw, 84px) 36px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr); gap: 48px; align-items: start; }
.hero h1 { margin-block: 16px 18px; }
.hero h1 .c { color: var(--c); text-shadow: 0 0 36px rgba(var(--c-rgb), .55); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.stats { display: flex; gap: 34px; margin-top: 36px; flex-wrap: wrap; }
.stat b { display: block; font-family: var(--font-display); font-size: 34px; line-height: 1; font-weight: 800; }
.stat span { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); }

.panel { border: 1px solid var(--line-2); border-radius: var(--r); background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.015)); }
.trust { padding: 18px 20px; margin-top: 28px; max-width: 640px; }
.trust-h { display: flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.trust-h svg { width: 15px; height: 15px; color: var(--green); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--line-2); background: rgba(0,0,0,.3); font-family: var(--font-mono); font-size: 12px; font-weight: 600; letter-spacing: .04em; color: var(--text); }
.chip svg { width: 14px; height: 14px; color: var(--c); }
.chip.ghost { color: var(--muted); font-weight: 500; }

.hero-side { display: grid; gap: 12px; }
.side-card { padding: 18px; display: grid; gap: 12px; }
.side-card h3 { font-size: 20px; letter-spacing: .04em; }
.server-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 12px; border-radius: var(--r-sm); border: 1px solid var(--line); background: rgba(0,0,0,.25); border-left: 3px solid var(--c); }
.server-row b { font-family: var(--font-display); font-size: 20px; letter-spacing: .04em; color: var(--c); }
.server-row span { font-size: 13px; color: var(--muted); }
.status { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.status i { width: 7px; height: 7px; border-radius: 50%; background: var(--dim); }
.status.on { color: var(--green); } .status.on i { background: var(--green); box-shadow: 0 0 10px var(--green); }
.status.off { color: var(--red); } .status.off i { background: var(--red); box-shadow: 0 0 10px var(--red); }

/* ---------- sections (generic) ---------- */
.section { padding-block: 44px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-bottom: 22px; }
.section-head p { color: var(--muted); margin-top: 6px; max-width: 60ch; }
.count-pill { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: .08em; color: var(--c); background: rgba(var(--c-rgb), .14); border: 1px solid rgba(var(--c-rgb), .3); vertical-align: middle; margin-left: 10px; text-transform: uppercase; }

/* ---------- store: section selector ---------- */
.search { position: relative; }
.search input { width: 100%; height: 48px; padding: 0 14px 0 44px; border-radius: var(--r-sm); border: 1px solid var(--line-2); background: rgba(0,0,0,.35); color: var(--text); outline: none; font-size: 15px; }
.search input::placeholder { color: var(--dim); }
.search input:focus { border-color: var(--c); box-shadow: 0 0 0 3px rgba(var(--c-rgb), .18); }
.search svg { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; color: var(--dim); }

.sec-tabs { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; margin-block: 8px 28px; }
.sec-tab { position: relative; text-align: left; padding: 16px 16px 14px; border-radius: var(--r); border: 1px solid var(--line-2); background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.01)); overflow: hidden; transition: transform .18s, border-color .2s, box-shadow .25s, background .2s; min-width: 0; }
.sec-tab::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--c); opacity: .5; }
.sec-tab::after { content: ""; position: absolute; inset: 0; background: radial-gradient(360px 160px at 10% 0%, rgba(var(--c-rgb), .22), transparent 70%); opacity: 0; transition: opacity .25s; }
.sec-tab:hover { transform: translateY(-2px); border-color: rgba(var(--c-rgb), .5); }
.sec-tab.active { border-color: rgba(var(--c-rgb), .8); box-shadow: 0 0 0 1px rgba(var(--c-rgb), .35), 0 12px 40px rgba(var(--c-rgb), .18); }
.sec-tab.active::before { opacity: 1; box-shadow: 0 0 16px var(--c); }
.sec-tab.active::after { opacity: 1; }
.sec-tab > * { position: relative; z-index: 1; }
.sec-tab .lab { font-family: var(--font-display); font-weight: 800; font-size: clamp(22px, 2.4vw, 30px); line-height: 1; letter-spacing: .03em; color: var(--c); text-transform: uppercase; display: flex; align-items: center; gap: 10px; }
.sec-tab .lab .status { margin-left: auto; }
.sec-tab .ttl { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }
.sec-tab .n { display: block; margin-top: 10px; font-family: var(--font-mono); font-size: 11px; color: var(--dim); }
.sec-tab .pill { display: inline-block; margin-top: 10px; margin-right: 8px; font-family: var(--font-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: #0a0a12; background: var(--c); padding: 3px 7px; border-radius: 5px; font-weight: 800; }

.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-bottom: 18px; }
.sec-head h2 { font-size: clamp(30px, 4vw, 46px); }
.sec-head h2 span { color: var(--c); }
.sec-head p { color: var(--muted); margin-top: 8px; max-width: 62ch; }
.sub-tabs { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.sub-tab { height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(0,0,0,.25); color: var(--muted); font-family: var(--font-mono); font-size: 12px; font-weight: 600; letter-spacing: .04em; transition: all .15s; }
.sub-tab:hover { color: var(--text); border-color: rgba(255,255,255,.3); }
.sub-tab.active { color: #0a0a12; background: var(--c); border-color: transparent; box-shadow: 0 0 18px rgba(var(--c-rgb), .4); }
.sub-tab .n { opacity: .65; margin-left: 5px; }
.sort { height: 36px; padding: 0 34px 0 12px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(0,0,0,.25) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239aa0b8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center; color: var(--muted); font-family: var(--font-mono); font-size: 12px; appearance: none; -webkit-appearance: none; outline: none; }

/* ---------- spotlight ---------- */
.spot { position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); border-radius: 20px; overflow: hidden; margin-bottom: 20px;
  border: 1px solid rgba(var(--c-rgb), .55); background: linear-gradient(135deg, rgba(var(--c-rgb), .14), var(--bg-1) 45%, rgba(var(--c-rgb), .06)); box-shadow: 0 0 0 1px rgba(var(--c-rgb), .15), 0 24px 70px rgba(0,0,0,.5), 0 0 60px rgba(var(--c-rgb), .12); }
.spot-media { position: relative; min-height: 300px; background: var(--bg-2); }
.spot-media img, .spot-media .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.spot-media img { padding: 10px; background: #0b0d16; }
.spot-body { padding: 28px 30px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.spot-body h3 { font-size: clamp(30px, 3.6vw, 44px); }
.spot-body .desc { color: var(--muted); font-size: 15.5px; max-width: 60ch; }
.spot-body .desc ul { margin: 8px 0 0; padding-left: 18px; }
.spot-foot { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: auto; padding-top: 8px; }
.price-box { display: inline-flex; align-items: baseline; gap: 6px; padding: 8px 14px; border-radius: 10px; border: 1px solid rgba(var(--c-rgb), .5); background: rgba(0,0,0,.35); }
.price-box .p { font-family: var(--font-mono); font-weight: 800; font-size: 28px; color: var(--c); letter-spacing: -.02em; }
.price-box .per { font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.price-box .old { font-family: var(--font-mono); font-size: 14px; color: var(--dim); text-decoration: line-through; margin-left: 4px; }

/* ---------- badges ---------- */
.badges { display: flex; gap: 6px; flex-wrap: wrap; }
.badge { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 6px; font-family: var(--font-mono); font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; border: 1px solid var(--line-2); background: rgba(0,0,0,.45); color: var(--text); }
.badge.c { color: var(--c); border-color: rgba(var(--c-rgb), .5); background: rgba(var(--c-rgb), .12); }
.badge.hot { color: #1a1000; background: var(--gold); border-color: transparent; }
.badge.sale { color: #1a0410; background: var(--pink); border-color: transparent; }
.badge.sub { color: #04141a; background: var(--cyan); border-color: transparent; }
.badge.life { color: #0a0a12; background: var(--violet); border-color: transparent; }
.badge.stock { color: #fff; background: var(--red); border-color: transparent; }
.badge.all { color: #0a0a12; background: var(--gold); border-color: transparent; }

/* ---------- product grid / card ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(268px, 1fr)); gap: 16px; }
.card { position: relative; display: flex; flex-direction: column; min-width: 0; border-radius: var(--r); overflow: hidden;
  border: 1px solid rgba(var(--c-rgb), .32); background: linear-gradient(180deg, var(--bg-2), var(--bg-1));
  transition: transform .18s ease, border-color .2s, box-shadow .25s; }
.card:hover { transform: translateY(-4px); border-color: rgba(var(--c-rgb), .85); box-shadow: 0 16px 50px rgba(0,0,0,.5), 0 0 34px rgba(var(--c-rgb), .22); }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 14px 10px; }
.ribbon { font-family: var(--font-mono); font-size: 12px; font-weight: 700; letter-spacing: .04em; text-align: center; padding: 7px 10px; color: #0a0a12; background: linear-gradient(90deg, var(--c), rgba(var(--c-rgb), .75)); }
.ribbon b { font-weight: 800; }
.card-media { position: relative; aspect-ratio: 4 / 3; background: #0b0d16; overflow: hidden; cursor: pointer; }
.card-media img { width: 100%; height: 100%; object-fit: contain; padding: 6px; transition: transform .4s ease; }
.card:hover .card-media img { transform: scale(1.04); }
.ph { width: 100%; height: 100%; min-height: 100%; display: grid; place-items: center; position: relative;
  background: radial-gradient(circle at 30% 25%, rgba(var(--c-rgb), .45), transparent 55%), radial-gradient(circle at 80% 85%, rgba(var(--c-rgb), .18), transparent 55%), linear-gradient(180deg, #171b2c, #0d1019); }
.ph span { font-family: var(--font-display); font-weight: 800; font-size: 44px; letter-spacing: .06em; color: rgba(255,255,255,.9); text-shadow: 0 0 24px rgba(var(--c-rgb), .8); text-transform: uppercase; }
.ph small { position: absolute; bottom: 10px; right: 12px; font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: rgba(var(--c-rgb), .9); }
.card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 9px; flex: 1; min-width: 0; }
.card-title { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.card-title h3 { font-size: 22px; letter-spacing: .02em; line-height: 1.05; cursor: pointer; }
.card-title h3:hover { color: var(--c); }
.price { text-align: right; flex: none; }
.price .p { display: block; font-family: var(--font-mono); font-weight: 800; font-size: 20px; color: var(--c); letter-spacing: -.02em; line-height: 1; }
.price .per { display: block; font-family: var(--font-mono); font-size: 11px; color: var(--muted); margin-top: 3px; }
.price .old { font-family: var(--font-mono); font-size: 12px; color: var(--dim); text-decoration: line-through; margin-right: 6px; }
.card .desc { color: var(--muted); font-size: 14px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line); }
.link-view { font-family: var(--font-display); font-weight: 700; font-size: 15px; letter-spacing: .1em; text-transform: uppercase; color: var(--text); display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.link-view svg { width: 15px; height: 15px; }
.link-view:hover { color: var(--c); }
.card-foot .btns { display: flex; gap: 8px; }
.empty { text-align: center; padding: 60px 20px; color: var(--muted); border: 1px dashed var(--line-2); border-radius: var(--r); }
.skel { height: 380px; border-radius: var(--r); border: 1px solid var(--line); background: linear-gradient(90deg, var(--bg-2) 25%, var(--bg-3) 50%, var(--bg-2) 75%); background-size: 200% 100%; animation: shimmer 1.4s infinite; }
@keyframes shimmer { 0% { background-position: 200% 0 } 100% { background-position: -200% 0 } }

/* ---------- leaderboard ---------- */
.board { padding: 22px; display: grid; gap: 14px; }
.board-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.board-h h3 { font-size: 26px; }
.seg { display: inline-flex; border: 1px solid var(--line-2); border-radius: 999px; padding: 3px; background: rgba(0,0,0,.3); }
.seg button { height: 30px; padding: 0 14px; border-radius: 999px; font-family: var(--font-mono); font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.seg button.active { background: var(--c); color: #0a0a12; }
.board-list { display: grid; gap: 8px; }
.row { display: grid; grid-template-columns: 32px 36px 1fr auto; align-items: center; gap: 12px; padding: 9px 12px; border-radius: var(--r-sm); border: 1px solid var(--line); background: rgba(0,0,0,.22); position: relative; overflow: hidden; }
.row .bar { position: absolute; left: 0; top: 0; bottom: 0; background: linear-gradient(90deg, rgba(var(--c-rgb), .18), transparent); z-index: 0; }
.row > * { position: relative; z-index: 1; min-width: 0; }
.row .rank { font-family: var(--font-display); font-weight: 800; font-size: 20px; color: var(--dim); text-align: center; }
.row:nth-child(1) .rank { color: var(--gold); } .row:nth-child(2) .rank { color: #cbd5e1; } .row:nth-child(3) .rank { color: #d97706; }
.row .av { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, rgba(var(--c-rgb), .6), rgba(var(--c-rgb), .2)); font-family: var(--font-display); font-weight: 800; font-size: 16px; overflow: hidden; }
.row .av img { width: 100%; height: 100%; object-fit: cover; }
.row .nm { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row .amt { font-family: var(--font-mono); font-weight: 700; color: var(--c); }

/* ---------- modal ---------- */
.modal-bg { position: fixed; inset: 0; z-index: 90; background: rgba(2,3,8,.78); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); display: none; align-items: center; justify-content: center; padding: 20px; }
.modal-bg.open { display: flex; }
.modal-wrap { position: relative; width: min(920px, 100%); }
.modal { width: 100%; max-height: 88vh; overflow: auto; border-radius: 20px; border: 1px solid rgba(var(--c-rgb), .5); background: var(--bg-1); box-shadow: var(--shadow), 0 0 80px rgba(var(--c-rgb), .18); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }
.m-media { position: relative; background: var(--bg-2); min-height: 320px; display: flex; }
.m-media img { width: 100%; height: 100%; object-fit: contain; padding: 10px; background: #0b0d16; }
.m-body { padding: 28px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.m-body h2 { font-size: clamp(28px, 3vw, 38px); }
.m-desc { color: var(--muted); font-size: 15px; line-height: 1.6; }
.m-desc p { margin: 0 0 8px; } .m-desc ul, .m-desc ol { margin: 6px 0 10px; padding-left: 20px; } .m-desc li { margin: 3px 0; } .m-desc b, .m-desc strong { color: var(--text); }
.m-close { position: absolute; top: 12px; right: 12px; z-index: 3; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(0,0,0,.6); color: var(--text); font-size: 16px; }
.m-close:hover { border-color: var(--c); color: var(--c); }
.m-meta { display: flex; flex-wrap: wrap; gap: 6px; }
.m-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 10px; }
.m-actions .btn { flex: 1 1 170px; }
.qty { display: flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.qty input { width: 70px; height: 38px; padding: 0 10px; border-radius: 8px; border: 1px solid var(--line-2); background: rgba(0,0,0,.35); color: var(--text); text-align: center; font-family: var(--font-mono); }
.thumbs { display: flex; gap: 6px; position: absolute; left: 10px; bottom: 10px; }
.thumbs button { width: 44px; height: 32px; border-radius: 6px; border: 1px solid var(--line-2); overflow: hidden; background: #000; opacity: .7; }
.thumbs button.active, .thumbs button:hover { opacity: 1; border-color: var(--c); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- home: server tiles / band / steps ---------- */
.server-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.server { position: relative; padding: 22px; border-radius: var(--r); border: 1px solid rgba(var(--c-rgb), .4); background: linear-gradient(160deg, rgba(var(--c-rgb), .12), var(--bg-1) 55%); display: flex; flex-direction: column; gap: 14px; overflow: hidden; min-width: 0; transition: transform .18s, box-shadow .25s; }
.server:hover { transform: translateY(-3px); box-shadow: 0 16px 50px rgba(0,0,0,.45), 0 0 40px rgba(var(--c-rgb), .16); }
.server::after { content: attr(data-big); position: absolute; right: -6px; top: -18px; font-family: var(--font-display); font-weight: 800; font-size: 120px; line-height: 1; color: rgba(var(--c-rgb), .08); pointer-events: none; }
.server-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.server h3 { font-size: 44px; color: var(--c); text-shadow: 0 0 24px rgba(var(--c-rgb), .4); }
.server .sub { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 7px 14px; font-size: 14px; margin: 0; }
.kv dt { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); align-self: center; } .kv dd { margin: 0; }
.tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tag { font-family: var(--font-mono); font-size: 11px; padding: 4px 9px; border-radius: 999px; border: 1px solid rgba(var(--c-rgb), .4); color: var(--c); background: rgba(var(--c-rgb), .08); }
.findit { border: 1px dashed var(--line-2); border-radius: 10px; padding: 10px 12px; font-size: 13px; color: var(--muted); background: rgba(0,0,0,.25); }
.findit b { color: var(--c); font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }

.band { position: relative; overflow: hidden; border-radius: 20px; padding: 34px 36px; border: 1px solid rgba(var(--gold-rgb), .45); background: linear-gradient(120deg, rgba(var(--gold-rgb), .18), var(--bg-1) 50%, rgba(var(--gold-rgb), .08)); display: grid; grid-template-columns: minmax(0, 1.3fr) auto; gap: 24px; align-items: center; }
.band h2 { font-size: clamp(30px, 4vw, 48px); } .band h2 span { color: var(--gold); }
.band p { color: var(--muted); margin-top: 10px; max-width: 60ch; }
.band .srv { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.band .srv span { font-family: var(--font-display); font-weight: 800; font-size: 18px; letter-spacing: .06em; padding: 4px 12px; border-radius: 8px; border: 1px solid var(--line-2); background: rgba(0,0,0,.3); }

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.step { position: relative; padding: 22px; border-radius: var(--r); border: 1px solid var(--line); background: var(--bg-1); overflow: hidden; min-width: 0; }
.step .k { font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; color: var(--c); margin-bottom: 14px; }
.step h3 { font-size: 22px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 14px; }

.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details { border: 1px solid var(--line); border-radius: 12px; background: var(--bg-1); padding: 0 18px; }
.faq details[open] { border-color: rgba(var(--c-rgb), .4); }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; font-size: 15.5px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--c); font-family: var(--font-mono); font-weight: 800; font-size: 18px; }
.faq details[open] summary::after { content: "–"; }
.faq p { margin: 0 0 16px; color: var(--muted); }

.cta { position: relative; overflow: hidden; border: 1px solid rgba(88,101,242,.5); border-radius: 20px; padding: 44px 32px; text-align: center; background: radial-gradient(700px 240px at 50% 0%, rgba(88,101,242,.4), transparent), var(--bg-1); }
.cta h2 { font-size: clamp(30px, 4vw, 48px); margin-bottom: 10px; }
.cta p { color: var(--muted); margin-bottom: 22px; }

/* ---------- legal ---------- */
.prose { max-width: 72ch; color: var(--muted); font-size: 16px; }
.prose h2 { color: var(--text); font-size: 30px; margin: 34px 0 12px; }
.prose ol { padding-left: 22px; margin: 0; } .prose li { margin: 8px 0; }

/* ---------- footer ---------- */
footer { margin-top: 50px; border-top: 1px solid var(--line); background: linear-gradient(180deg, transparent, rgba(0,0,0,.35)); }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 28px; padding-block: 40px 28px; }
.foot-grid h4 { font-family: var(--font-mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.foot-grid a { display: block; color: var(--muted); padding: 4px 0; font-size: 14.5px; } .foot-grid a:hover { color: var(--text); }
.foot-about p { color: var(--muted); font-size: 14px; max-width: 40ch; margin-top: 12px; }
.foot-bottom { border-top: 1px solid var(--line); padding-block: 18px 30px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-family: var(--font-mono); font-size: 11.5px; color: var(--dim); }
.foot-bottom .warn { color: var(--gold); }

/* ---------- toast ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(20px); opacity: 0; pointer-events: none; z-index: 100; background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 12px; padding: 12px 18px; font-size: 14px; box-shadow: var(--shadow); transition: all .25s; max-width: calc(100% - 32px); }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.err { border-color: var(--red); }

/* ---------- motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .ticker-track { animation: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .spot { grid-template-columns: 1fr; } .spot-media { min-height: 220px; }
  .server-grid { grid-template-columns: 1fr; }
  .band { grid-template-columns: 1fr; }
  .modal { grid-template-columns: 1fr; } .m-media { min-height: 220px; max-height: 260px; }
}
@media (max-width: 720px) {
  :root { --gutter: 16px; }
  .nav-inner { height: 64px; }
  .nav-links { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; padding: 10px 16px 14px; background: rgba(5,6,11,.97); border-bottom: 1px solid var(--line); margin: 0; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px; }
  .nav-toggle { display: inline-block; }
  .hide-sm { display: none !important; }
  .brand-name { font-size: 20px; }
  .steps { grid-template-columns: 1fr; }
  .grid { grid-template-columns: 1fr; }
  .sec-tabs { grid-template-columns: 1fr 1fr; }
  .announce b { display: none; }
  .foot-grid { grid-template-columns: 1fr; gap: 20px; }
  .stats { gap: 22px; }
}
@media (min-width: 480px) and (max-width: 720px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .sec-tabs { gap: 8px; } .sec-tab { padding: 12px; } }

/* ---------- store toolbar ---------- */
.store-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.store-toolbar .sub-tabs { flex: 1; }
.store-toolbar .sort { margin-left: auto; }
.hero-side .search input { height: 52px; }
.quick { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.quick a { display: flex; flex-direction: column; gap: 2px; padding: 12px 12px; border-radius: var(--r-sm); border: 1px solid rgba(var(--c-rgb), .4); background: rgba(var(--c-rgb), .07); transition: background .15s, transform .15s; min-width: 0; }
.quick a:hover { background: rgba(var(--c-rgb), .16); transform: translateY(-1px); }
.quick b { font-family: var(--font-display); font-size: 22px; letter-spacing: .04em; color: var(--c); line-height: 1; }
.quick span { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.page-head { padding-block: clamp(40px, 6vw, 70px) 24px; }
.page-head h1 { margin-top: 14px; }
.page-head .lead { margin-top: 14px; }
