/* ===================== BASE / THEME ===================== */
:root {
  --bg: #060606;
  --bg-2: #0b0b0d;
  --panel: #101013;
  --panel-2: #16161a;
  --line: rgba(255, 255, 255, 0.08);
  --line-red: rgba(255, 40, 40, 0.22);
  --text: #f4f4f6;
  --muted: #9a9aa5;
  --muted-2: #6b6b76;
  --red: #ff2b2b;
  --red-2: #ff5a4d;
  --red-deep: #b40d12;
  --green: #35d07f;
  --glow: rgba(255, 43, 43, 0.55);
  --grad: linear-gradient(100deg, #ff4d4d 0%, #ff2b2b 40%, #ffffff 120%);
  --grad-red: linear-gradient(120deg, #ff5a4d, #ff2b2b 55%, #b40d12);
  --radius: 18px;
  --radius-lg: 26px;
  --font: 'Inter', system-ui, sans-serif;
  --mono: 'JetBrains Mono', monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  position: relative;
  min-height: 100vh;
}
body::before {
  content: "";
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(600px 400px at 50% -5%, rgba(255, 43, 43, 0.14), transparent 70%),
    radial-gradient(900px 600px at 90% 20%, rgba(255, 43, 43, 0.06), transparent 70%),
    radial-gradient(700px 500px at 5% 60%, rgba(255, 43, 43, 0.05), transparent 70%);
}
a { text-decoration: none; color: inherit; }

/* Lucide icons: they inject an <svg> in place of <i data-lucide>. Size the
   wrapper and the svg together so icons are consistent everywhere. */
[data-lucide] { width: 18px; height: 18px; display: inline-flex; flex-shrink: 0; }
.lucide, svg.lucide { width: 18px; height: 18px; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
/* brand glyphs (Discord/TikTok) are filled paths */
svg.brand { width: 20px; height: 20px; fill: currentColor; stroke: none; }
section { position: relative; z-index: 1; }

.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { display: inline-block; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--red-2); font-weight: 700; margin-bottom: 14px; }
.section-head { text-align: center; margin: 0 auto 54px; }
.section-title { font-size: clamp(30px, 5vw, 52px); font-weight: 800; letter-spacing: -0.02em; }

/* ===================== PAGE LOAD ANIMATION ===================== */
.reveal { opacity: 0; transform: translateY(26px); }
body.loaded .reveal.in-view { animation: reveal-up .8s cubic-bezier(.2,.7,.2,1) forwards; }
@keyframes reveal-up { to { opacity: 1; transform: translateY(0); } }

/* ===================== NAVBAR ===================== */
.navbar {
  position: fixed; top: 16px; left: 50%;
  transform: translateX(-50%) translateY(-140%);
  z-index: 900; width: min(1180px, calc(100% - 24px));
  transition: transform .7s cubic-bezier(.2,.8,.2,1);
}
body.loaded .navbar { transform: translateX(-50%) translateY(0); }
.nav-inner {
  position: relative;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 10px 12px;
  background: rgba(14, 14, 16, 0.72);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--line); border-radius: 99px;
  box-shadow: 0 10px 40px rgba(0,0,0,.5);
  transition: border-color .3s, box-shadow .3s;
}
.navbar.scrolled .nav-inner { border-color: var(--line-red); box-shadow: 0 10px 44px rgba(0,0,0,.6), 0 0 0 1px rgba(255,43,43,.08); }
.nav-logo { display: flex; align-items: center; flex-shrink: 0; }
.nav-logo img { height: 28px; display: block; filter: drop-shadow(0 0 10px rgba(255,43,43,.35)); }

/* absolutely centered in the bar regardless of logo / right-side widths */
.nav-tabs { display: flex; align-items: center; gap: 4px; position: absolute; left: 50%; transform: translateX(-50%); }
.tab {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 0 15px; border-radius: 99px; line-height: 1;
  color: var(--muted); font-weight: 600; font-size: 14px; white-space: nowrap;
  transition: color .2s, background .2s, box-shadow .2s;
}
.tab svg { width: 17px; height: 17px; flex-shrink: 0; }
.tab span { display: inline-block; }
.tab:hover { color: var(--text); }
.tab.active {
  color: #fff;
  background: linear-gradient(120deg, rgba(255,43,43,.22), rgba(255,43,43,.08));
  box-shadow: inset 0 0 0 1px rgba(255,43,43,.35), 0 0 18px rgba(255,43,43,.18);
}

.nav-right { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.nav-icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 99px;
  color: var(--muted); border: 1px solid var(--line); transition: all .2s;
}
.nav-icon-btn:hover { color: #fff; border-color: var(--line-red); box-shadow: 0 0 16px rgba(255,43,43,.25); }
.nav-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 0 15px; border-radius: 99px; font-weight: 600; font-size: 14px; white-space: nowrap;
  transition: all .2s;
}
.nav-btn svg { width: 17px; height: 17px; }
.nav-btn.ghost { color: var(--muted); border: 1px solid var(--line); width: 40px; padding: 0; }
.nav-btn.ghost:hover { color: #fff; border-color: var(--line-red); }
.nav-btn.solid { color: #fff; background: var(--grad-red); box-shadow: 0 6px 20px rgba(255,43,43,.35); }
.nav-btn.solid:hover { box-shadow: 0 8px 28px rgba(255,43,43,.55); transform: translateY(-1px); }

/* ===================== BUTTONS (shared) ===================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 99px; border: none; cursor: pointer;
  font-family: var(--font); font-weight: 700; font-size: 15px;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.btn svg { width: 18px; height: 18px; }
.btn-gradient { color: #fff; background: var(--grad-red); background-size: 160% 160%; box-shadow: 0 8px 26px rgba(255,43,43,.4); animation: gradShift 5s ease infinite; }
@keyframes gradShift { 0%,100%{ background-position:0% 50%; } 50%{ background-position:100% 50%; } }
.btn-gradient:hover { transform: translateY(-2px); box-shadow: 0 12px 38px rgba(255,43,43,.6); }
.btn-gradient svg { transition: transform .2s; }
.btn-gradient:hover svg { transform: translateX(3px); }
.btn-bw { color: #0a0a0a; background: #fff; box-shadow: 0 8px 26px rgba(0,0,0,.4); }
.btn-bw:hover { transform: translateY(-2px); background: #eaeaea; }
.btn.wide { padding: 16px 34px; font-size: 16px; }

/* ===================== HERO (home) ===================== */
.hero { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 150px 20px 80px; overflow: hidden; }
.hero-grid {
  position: absolute; inset: 0; z-index: 0;
  background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(circle at 50% 40%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle at 50% 40%, #000 0%, transparent 70%);
}
.hero-glow-follow {
  position: absolute; width: 520px; height: 520px; border-radius: 50%; z-index: 0;
  background: radial-gradient(circle, rgba(255,43,43,.22), transparent 65%);
  filter: blur(30px); pointer-events: none;
  /* centered on its own origin via negative margins; JS moves it with a pure
     translate() (GPU compositor, no layout thrash). */
  left: 0; top: 0; margin: -260px 0 0 -260px;
  transform: translate(50%, 40%);
  transition: transform .25s ease;
  will-change: transform;
}
.hero-content { position: relative; z-index: 2; max-width: 820px; }

.badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 8px; border-radius: 99px;
  background: linear-gradient(120deg, rgba(180,13,18,.35), rgba(255,43,43,.18));
  border: 1px solid rgba(255,43,43,.4); box-shadow: 0 0 22px rgba(255,43,43,.25);
  font-size: 13px; font-weight: 600; margin-bottom: 30px; transition: transform .2s, box-shadow .2s;
}
.badge:hover { transform: translateY(-2px); box-shadow: 0 0 30px rgba(255,43,43,.45); }
.badge-discord { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 99px; background: #fff; color: var(--red-deep); }
.badge-discord svg { width: 16px; height: 16px; }
.badge-text, .badge-join { color: #fff; }
.badge-dot { width: 4px; height: 4px; border-radius: 99px; background: rgba(255,255,255,.5); }
.badge-arrow { width: 15px; height: 15px; color: #fff; transition: transform .2s; }
.badge:hover .badge-arrow { transform: translateX(3px); }

.hero-title { font-size: clamp(40px, 8vw, 86px); font-weight: 900; line-height: 1.02; letter-spacing: -0.03em; }
.hero-line { display: block; color: #fff; }
.hero-gradient {
  display: inline-block; background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  background-size: 200% 200%; filter: drop-shadow(0 0 22px rgba(255,43,43,.35));
  transition: background-position .3s ease, filter .3s ease;
}
.hero-gradient.glow { filter: drop-shadow(0 0 34px rgba(255,43,43,.6)); }
.tw-caret { display: inline-block; width: 4px; height: 0.92em; background: var(--red); margin-left: 4px; border-radius: 2px; transform: translateY(6px); animation: blink 1s step-end infinite; box-shadow: 0 0 12px var(--glow); }
@keyframes blink { 50% { opacity: 0; } }

.hero-desc { max-width: 620px; margin: 26px auto 0; color: var(--muted); font-size: 17px; line-height: 1.7; }
.hero-buttons { display: flex; gap: 14px; justify-content: center; margin-top: 34px; flex-wrap: wrap; }
.hero-trust { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 40px; flex-wrap: wrap; color: var(--muted-2); font-size: 13px; font-weight: 500; }
.hero-trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust svg { width: 15px; height: 15px; color: var(--red-2); }
.hero-trust .sep { width: 4px; height: 4px; border-radius: 99px; background: var(--muted-2); }

/* ===================== PRODUCTS PREVIEW (home) ===================== */
.products-preview { max-width: 1180px; margin: 0 auto; padding: 90px 20px; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; justify-content: center; }
.product-grid.single { grid-template-columns: minmax(0, 420px); justify-content: center; }
.product-card {
  position: relative; background: linear-gradient(180deg, var(--panel), var(--bg-2));
  border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  transition: transform .25s, border-color .25s, box-shadow .25s; text-align: left; display: block;
}
.product-card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 1px rgba(255,43,43,0), 0 0 30px rgba(255,43,43,0); transition: box-shadow .3s; pointer-events: none; }
.product-card:hover { transform: translateY(-6px); border-color: var(--line-red); }
.product-card:hover::after { box-shadow: 0 0 0 1px rgba(255,43,43,.35), 0 14px 44px rgba(255,43,43,.28); }
.product-media { position: relative; aspect-ratio: 4 / 3; background: #0a0a0c; overflow: hidden; display: grid; place-items: center; }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.product-card:hover .product-media img { transform: scale(1.05); }
.product-media .tag, .pd-image .tag { position: absolute; top: 12px; left: 12px; padding: 5px 11px; border-radius: 99px; font-size: 11px; font-weight: 700; background: var(--grad-red); color: #fff; box-shadow: 0 0 14px rgba(255,43,43,.4); }
.product-info { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding: 16px 18px 18px; }
.product-name { font-weight: 700; font-size: 16px; }
.product-name small { display: block; color: var(--muted-2); font-weight: 500; font-size: 12px; margin-top: 3px; }
.product-meta { text-align: right; }
.product-price { font-weight: 800; font-size: 18px; color: var(--red-2); }
.product-stock { font-size: 11px; color: var(--muted-2); margin-top: 3px; }
.product-stock.in { color: var(--green); }
.products-cta { text-align: center; margin-top: 48px; }

/* ===================== FEATURES (home) ===================== */
.features { max-width: 1180px; margin: 0 auto; padding: 60px 20px 90px; }
.features-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 22px; margin-bottom: 22px; }
.feature-card { position: relative; background: linear-gradient(180deg, var(--panel), var(--bg-2)); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; overflow: hidden; transition: border-color .25s, box-shadow .25s; }
.feature-card:hover { border-color: var(--line-red); box-shadow: 0 14px 44px rgba(255,43,43,.14); }
.feature-card-body { position: relative; z-index: 2; }
.feature-card h3 { font-size: 22px; font-weight: 800; margin-bottom: 10px; }
.feature-card p { color: var(--muted); font-size: 15px; line-height: 1.6; }
.secure-card { min-height: 300px; display: flex; align-items: flex-end; }
.lock-icon { display: inline-flex; align-items: center; justify-content: center; width: 62px; height: 62px; border-radius: 18px; background: linear-gradient(150deg, rgba(255,43,43,.25), rgba(255,43,43,.08)); border: 1px solid var(--line-red); color: var(--red-2); margin-bottom: 18px; transition: transform .3s, box-shadow .3s; }
.lock-icon svg { width: 30px; height: 30px; }
.secure-card:hover .lock-icon { transform: translateY(-4px) rotate(-6deg) scale(1.06); box-shadow: 0 0 26px rgba(255,43,43,.5); }
.matrix { position: absolute; inset: 0; z-index: 1; font-family: var(--mono); font-size: 13px; line-height: 1.2; color: #22c55e; opacity: 0; overflow: hidden; transition: opacity .4s; mask-image: linear-gradient(180deg, #000 20%, transparent 90%); -webkit-mask-image: linear-gradient(180deg, #000 20%, transparent 90%); }
.secure-card:hover .matrix { opacity: .5; }
.matrix .col { position: absolute; top: -20%; display: flex; flex-direction: column; gap: 2px; animation: matrixfall linear infinite; text-shadow: 0 0 6px rgba(34,197,94,.7); }
@keyframes matrixfall { to { transform: translateY(130%); } }
.payments-card { display: flex; align-items: center; }
.pay-sub { margin-bottom: 20px; }
.pay-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.pay-chip { padding: 11px 16px; border-radius: 14px; font-size: 14px; font-weight: 600; background: rgba(255,255,255,.03); border: 1px solid var(--line); color: var(--text); transition: all .2s; }
.pay-chip:hover { border-color: var(--line-red); color: #fff; box-shadow: 0 0 18px rgba(255,43,43,.25); transform: translateY(-2px); }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.stat-card { position: relative; aspect-ratio: 1 / .78; border-radius: var(--radius-lg); padding: 26px; display: flex; flex-direction: column; justify-content: center; background: linear-gradient(150deg, rgba(180,13,18,.4), rgba(255,43,43,.14) 60%, rgba(10,10,12,.6)); border: 1px solid var(--line-red); overflow: hidden; box-shadow: 0 12px 40px rgba(255,43,43,.12); }
.stat-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 80% 20%, rgba(255,255,255,.12), transparent 45%); }
.star { position: absolute; color: #fff; font-size: 12px; animation: twinkle 2.4s ease-in-out infinite; text-shadow: 0 0 8px rgba(255,255,255,.8); pointer-events: none; }
@keyframes twinkle { 0%,100%{ opacity:.15; transform: scale(.7);} 50%{ opacity:1; transform: scale(1.1);} }
.stat-stars { color: #ffd15c; letter-spacing: 2px; font-size: 15px; margin-bottom: 10px; text-shadow: 0 0 10px rgba(255,209,92,.5); position: relative; z-index: 2; }
.stat-num { font-size: 40px; font-weight: 900; line-height: 1; position: relative; z-index: 2; }
.stat-label { color: rgba(255,255,255,.8); font-weight: 600; margin-top: 6px; position: relative; z-index: 2; }

/* ===================== Q&A ===================== */
.qa { max-width: 1180px; margin: 0 auto; padding: 60px 20px 100px; display: grid; grid-template-columns: 0.9fr 1.4fr; gap: 40px; align-items: start; }
.qa-left { position: sticky; top: 120px; }
.qa-left .section-title { text-align: left; }
.qa-desc { color: var(--muted); margin: 16px 0 26px; line-height: 1.6; }
.qa-right { display: flex; flex-direction: column; gap: 14px; }
.qa-item { background: linear-gradient(180deg, var(--panel), var(--bg-2)); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .25s, box-shadow .25s; }
.qa-item.open { border-color: var(--line-red); box-shadow: 0 10px 34px rgba(255,43,43,.14); }
.qa-q { width: 100%; background: none; border: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 20px 22px; text-align: left; color: var(--text); font-family: var(--font); font-size: 17px; font-weight: 700; }
.qa-q svg { width: 20px; height: 20px; color: var(--red-2); transition: transform .3s; flex-shrink: 0; }
.qa-item.open .qa-q svg { transform: rotate(180deg); }
.qa-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.qa-a p { padding: 0 22px 22px; color: var(--muted); line-height: 1.7; }

/* ===================== PAGE HERO (sub pages) ===================== */
.page-hero { position: relative; padding: 160px 20px 40px; text-align: center; overflow: hidden; }
.page-hero-inner { position: relative; z-index: 2; max-width: 720px; margin: 0 auto; }
.page-title { font-size: clamp(38px, 7vw, 68px); font-weight: 900; letter-spacing: -0.03em; }
.page-sub { color: var(--muted); font-size: 17px; line-height: 1.7; margin-top: 16px; }

/* ===================== STORE / PRODUCT DETAIL ===================== */
.store { max-width: 1180px; margin: 0 auto; padding: 30px 20px 90px; }
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.pd-media { position: sticky; top: 110px; }
.pd-image { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line-red); background: #0a0a0c; box-shadow: 0 20px 60px rgba(255,43,43,.16); }
.pd-image img { width: 100%; display: block; }
.pd-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.pd-badges span { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--muted); border: 1px solid var(--line); padding: 8px 12px; border-radius: 99px; }
.pd-badges svg { width: 15px; height: 15px; color: var(--red-2); }

.pd-cat { display: inline-block; font-size: 13px; color: var(--red-2); font-weight: 700; letter-spacing: .04em; margin-bottom: 8px; }
.pd-name { font-size: clamp(28px, 4vw, 40px); font-weight: 900; letter-spacing: -0.02em; }
.pd-desc { color: var(--muted); font-size: 16px; line-height: 1.7; margin: 14px 0 18px; }
.pd-rating { display: flex; align-items: center; gap: 10px; margin-bottom: 26px; }
.pd-rating .stars { color: #ffd15c; letter-spacing: 2px; text-shadow: 0 0 10px rgba(255,209,92,.5); }
.pd-rating .rating-text { color: var(--muted); font-size: 14px; }

.pd-plans { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 22px; }
.plan { position: relative; cursor: pointer; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; background: linear-gradient(180deg, var(--panel), var(--bg-2)); transition: border-color .2s, box-shadow .2s, transform .2s; }
.plan:hover { transform: translateY(-2px); border-color: var(--line-red); }
.plan.selected { border-color: var(--red); box-shadow: inset 0 0 0 1px var(--red), 0 12px 34px rgba(255,43,43,.22); }
.plan-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.plan-name { font-weight: 700; font-size: 15px; }
.plan-badge { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: #fff; background: var(--grad-red); padding: 3px 8px; border-radius: 99px; }
.plan-price { font-size: 30px; font-weight: 900; }
.plan-price span { font-size: 13px; font-weight: 600; color: var(--muted); margin-left: 4px; }
.plan-note { color: var(--muted-2); font-size: 12px; margin-top: 6px; }

.pd-stock { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; padding: 7px 13px; border-radius: 99px; margin-bottom: 14px; }
.pd-stock .dot { width: 8px; height: 8px; border-radius: 99px; background: currentColor; box-shadow: 0 0 8px currentColor; }
.pd-stock.in { color: var(--green); background: rgba(53,208,127,.1); border: 1px solid rgba(53,208,127,.3); }
.pd-stock.out { color: var(--red-2); background: rgba(255,43,43,.1); border: 1px solid var(--line-red); }
.buy-btn { width: 100%; }
.pd-secure { display: flex; align-items: center; gap: 8px; color: var(--muted-2); font-size: 12.5px; margin-top: 14px; }
.pd-secure svg { width: 15px; height: 15px; color: var(--green); }

/* Feature accordion (categories) */
.features-section { margin-top: 90px; }
.feature-accordion { display: flex; flex-direction: column; gap: 12px; max-width: 900px; margin: 0 auto; }
.facc { background: linear-gradient(180deg, var(--panel), var(--bg-2)); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .25s, box-shadow .25s; }
.facc.open { border-color: var(--line-red); box-shadow: 0 10px 34px rgba(255,43,43,.14); }
.facc-head { width: 100%; background: none; border: none; cursor: pointer; display: flex; align-items: center; gap: 14px; padding: 18px 20px; color: var(--text); font-family: var(--font); text-align: left; }
.facc-ico { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px; background: linear-gradient(150deg, rgba(255,43,43,.22), rgba(255,43,43,.06)); border: 1px solid var(--line-red); color: var(--red-2); flex-shrink: 0; }
.facc-ico svg { width: 20px; height: 20px; }
.facc-titles { flex: 1; }
.facc-titles strong { display: block; font-size: 16px; font-weight: 700; }
.facc-titles small { color: var(--muted-2); font-size: 12.5px; }
.facc-chev { width: 20px; height: 20px; color: var(--red-2); transition: transform .3s; flex-shrink: 0; }
.facc.open .facc-chev { transform: rotate(180deg); }
.facc-body { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.facc-list { padding: 4px 20px 20px 74px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 20px; }
.facc-list li { list-style: none; color: var(--muted); font-size: 14px; display: flex; align-items: center; gap: 9px; }
.facc-list li svg { width: 15px; height: 15px; color: var(--green); flex-shrink: 0; }

/* ===================== STATUS PAGE ===================== */
.status-banner { display: inline-flex; align-items: center; gap: 10px; margin-top: 20px; padding: 10px 18px; border-radius: 99px; font-weight: 700; font-size: 15px; border: 1px solid; }
.status-banner.up { color: var(--green); border-color: rgba(53,208,127,.4); background: rgba(53,208,127,.08); }
.pulse-dot { width: 10px; height: 10px; border-radius: 99px; background: var(--green); box-shadow: 0 0 0 0 rgba(53,208,127,.6); animation: pulse 2s infinite; }
@keyframes pulse { 0%{ box-shadow: 0 0 0 0 rgba(53,208,127,.5);} 70%{ box-shadow: 0 0 0 10px rgba(53,208,127,0);} 100%{ box-shadow: 0 0 0 0 rgba(53,208,127,0);} }
.status-wrap { max-width: 980px; margin: 0 auto; padding: 20px 20px 90px; }
.status-grid { display: flex; flex-direction: column; gap: 12px; margin-bottom: 30px; }
.status-row { display: flex; align-items: center; gap: 16px; padding: 18px 22px; background: linear-gradient(180deg, var(--panel), var(--bg-2)); border: 1px solid var(--line); border-radius: var(--radius); }
.status-name { flex: 1; }
.status-name strong { display: block; font-weight: 700; }
.status-name small { color: var(--muted-2); font-size: 12.5px; }
.status-bars { display: flex; gap: 3px; }
.status-bars span { width: 6px; height: 26px; border-radius: 3px; background: var(--green); opacity: .9; }
.status-bars span.down { background: var(--red); }
.status-bars span.warn { background: #ffc24b; }
.status-pill { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 99px; }
.status-pill.up { color: var(--green); background: rgba(53,208,127,.1); border: 1px solid rgba(53,208,127,.3); }
.status-pill.warn { color: #ffc24b; background: rgba(255,194,75,.1); border: 1px solid rgba(255,194,75,.3); }
.status-pill.down { color: var(--red); background: rgba(255,43,43,.1); border: 1px solid rgba(255,43,43,.3); }
.status-pill.maintenance { color: #8ab4ff; background: rgba(138,180,255,.1); border: 1px solid rgba(138,180,255,.3); }
.status-bars span.maintenance { background: #8ab4ff; }
.status-pill .dot { width: 8px; height: 8px; border-radius: 99px; background: currentColor; }
.status-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 30px; }
.metric-card { padding: 22px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(180deg, var(--panel), var(--bg-2)); text-align: center; }
.metric-num { font-size: 28px; font-weight: 900; color: var(--red-2); }
.metric-label { color: var(--muted); font-size: 13px; margin-top: 4px; }
.incidents h3 { font-size: 18px; margin-bottom: 14px; }
.incident { display: flex; gap: 14px; padding: 20px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(180deg, var(--panel), var(--bg-2)); }
.incident-dot { width: 10px; height: 10px; border-radius: 99px; margin-top: 5px; flex-shrink: 0; background: var(--green); box-shadow: 0 0 10px rgba(53,208,127,.6); }
.incident strong { display: block; margin-bottom: 4px; }
.incident p { color: var(--muted); font-size: 14px; }

/* ===================== REFERRAL PAGE ===================== */
.referral-hero { position: relative; min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 150px 20px 80px; overflow: hidden; }
.ref-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.orb { position: absolute; border-radius: 50%; filter: blur(50px); opacity: .5; }
.orb.o1 { width: 40vmax; height: 40vmax; background: radial-gradient(circle, rgba(255,43,43,.45), transparent 60%); top: -10%; left: -8%; animation: floatOrb 14s ease-in-out infinite; }
.orb.o2 { width: 34vmax; height: 34vmax; background: radial-gradient(circle, rgba(180,13,18,.5), transparent 60%); bottom: -12%; right: -6%; animation: floatOrb 16s ease-in-out infinite reverse; }
.orb.o3 { width: 26vmax; height: 26vmax; background: radial-gradient(circle, rgba(255,90,77,.35), transparent 60%); top: 40%; left: 50%; animation: floatOrb 12s ease-in-out infinite; }
@keyframes floatOrb { 0%,100%{ transform: translate(0,0) scale(1);} 50%{ transform: translate(4vw,5vh) scale(1.18);} }
.ref-content { position: relative; z-index: 2; max-width: 820px; }
.cs-tag { display: inline-block; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--red-2); font-weight: 700; margin-bottom: 14px; }
.ref-title { font-size: clamp(48px, 10vw, 96px); font-weight: 900; letter-spacing: -0.04em; line-height: 1; }
.ref-sub { color: var(--muted); font-size: 18px; line-height: 1.7; max-width: 560px; margin: 20px auto 0; }
.ref-preview { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 44px 0; }
.ref-step { background: rgba(16,16,19,.6); backdrop-filter: blur(10px); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; text-align: left; transition: border-color .2s, transform .2s; }
.ref-step:hover { border-color: var(--line-red); transform: translateY(-4px); }
.ref-step-icon { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 14px; background: linear-gradient(150deg, rgba(255,43,43,.22), rgba(255,43,43,.06)); border: 1px solid var(--line-red); color: var(--red-2); margin-bottom: 14px; }
.ref-step h4 { font-size: 16px; margin-bottom: 6px; }
.ref-step p { color: var(--muted); font-size: 14px; line-height: 1.5; }
.ref-notify { display: flex; gap: 10px; max-width: 480px; margin: 0 auto; flex-wrap: wrap; justify-content: center; }
.ref-notify input { flex: 1; min-width: 220px; padding: 15px 18px; border-radius: 99px; border: 1px solid var(--line); background: rgba(16,16,19,.7); color: var(--text); font-family: var(--font); font-size: 15px; outline: none; transition: border-color .2s, box-shadow .2s; }
.ref-notify input:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(255,43,43,.15); }
.ref-note { color: var(--green); margin-top: 16px; font-weight: 600; }

/* ===================== FOOTER ===================== */
.footer { position: relative; z-index: 1; border-top: 1px solid var(--line); background: linear-gradient(180deg, transparent, rgba(255,43,43,.04)); padding: 60px 20px 30px; }
.footer-inner { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-logo { height: 34px; margin-bottom: 16px; filter: drop-shadow(0 0 10px rgba(255,43,43,.3)); }
.footer-brand p { color: var(--muted); line-height: 1.6; max-width: 320px; font-size: 14px; }
.footer-socials { display: flex; gap: 10px; margin-top: 18px; }
.footer-socials a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); color: var(--muted); transition: all .2s; }
.footer-socials a:hover { color: #fff; border-color: var(--line-red); box-shadow: 0 0 16px rgba(255,43,43,.25); }
.footer-col h4 { font-size: 14px; margin-bottom: 16px; letter-spacing: .04em; }
.footer-col a { display: block; color: var(--muted); font-size: 14px; margin-bottom: 12px; transition: color .2s; }
.footer-col a:hover { color: var(--red-2); }
.footer-bottom { max-width: 1180px; margin: 40px auto 0; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: var(--muted-2); font-size: 13px; }
.footer-bottom a { color: var(--red-2); }
.footer-bottom a:hover { text-decoration: underline; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 960px) {
  .features-grid { grid-template-columns: 1fr; }
  .qa { grid-template-columns: 1fr; }
  .qa-left { position: static; }
  .qa-left .section-title { text-align: center; }
  .product-detail { grid-template-columns: 1fr; }
  .pd-media { position: static; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .nav-tabs .tab span { display: none; }
  .nav-btn.solid span { display: none; }
  .nav-btn.solid { width: 40px; padding: 0; }
  .status-metrics { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .tab { padding: 0 10px; }
  .stats-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 30px; }
  .hero-trust .sep { display: none; }
  .pd-plans { grid-template-columns: 1fr; }
  .facc-list { grid-template-columns: 1fr; padding-left: 20px; }
  .ref-preview { grid-template-columns: 1fr; }
  .nav-inner { gap: 8px; }
  .nav-logo img { height: 24px; }
}

/* ===================== DASHBOARD ===================== */
.dash-main { min-height: 100vh; transition: filter .4s ease; }
.dash-main.blurred { filter: blur(14px) brightness(.6); pointer-events: none; user-select: none; }
.dash-wrap { max-width: 1100px; margin: 0 auto; padding: 0 20px 90px; }
.dash-body { margin-top: 10px; }

.dash-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.dtab { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 99px; border: 1px solid var(--line); background: transparent; color: var(--muted); font-family: var(--font); font-weight: 600; font-size: 14px; cursor: pointer; transition: all .2s; }
.dtab svg { width: 16px; height: 16px; }
.dtab:hover { color: #fff; border-color: var(--line-red); }
.dtab.active { color: #fff; background: linear-gradient(120deg, rgba(255,43,43,.22), rgba(255,43,43,.08)); box-shadow: inset 0 0 0 1px rgba(255,43,43,.35); }
.dtab.logout { margin-left: auto; }
.dtab.logout:hover { color: var(--red-2); }
/* the [hidden] attribute must win over the display rules above */
.dtab[hidden], .dview[hidden] { display: none !important; }

.dview { animation: reveal-up .4s ease; }

.user-card { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, var(--panel), var(--bg-2)); margin-bottom: 20px; }
.user-avatar { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 2px solid var(--line-red); }
.user-avatar.ph { background: linear-gradient(150deg, var(--red-deep), var(--red)); }
.user-name { font-weight: 800; font-size: 18px; }
.user-sub { color: var(--muted-2); font-size: 13px; margin-top: 2px; }
.user-sub code { color: var(--muted); }

.key-card { border: 1px solid var(--line-red); border-radius: var(--radius-lg); background: linear-gradient(180deg, var(--panel), var(--bg-2)); padding: 22px; margin-bottom: 16px; box-shadow: 0 12px 40px rgba(255,43,43,.1); }
.key-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.key-label { color: var(--muted-2); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 6px; }
.key-value { display: flex; align-items: center; gap: 10px; }
.key-value code { font-family: var(--mono); font-size: 16px; color: #fff; background: rgba(255,43,43,.1); padding: 6px 12px; border-radius: 10px; border: 1px solid var(--line-red); }
.copy-btn { background: none; border: 1px solid var(--line); color: var(--muted); border-radius: 8px; padding: 6px 12px; cursor: pointer; font-size: 12px; transition: all .2s; }
.copy-btn:hover { color: #fff; border-color: var(--line-red); }
.key-status { font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: 99px; white-space: nowrap; }
.key-status.ok { color: var(--green); background: rgba(53,208,127,.1); border: 1px solid rgba(53,208,127,.3); }
.key-status.pending { color: #ffc24b; background: rgba(255,194,75,.1); border: 1px solid rgba(255,194,75,.3); }
.key-status.bad { color: var(--red-2); background: rgba(255,43,43,.1); border: 1px solid var(--line-red); }
.key-meta { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 20px; margin: 18px 0; color: var(--muted); font-size: 14px; }
.key-meta b { color: #fff; font-weight: 600; }
.key-actions { display: flex; gap: 10px; }

.empty { padding: 40px; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: var(--radius); }
.empty a { color: var(--red-2); }
.ok-note { color: var(--green); font-size: 14px; margin: 10px 0; }

/* loading dots */
.dash-loading { display: flex; gap: 8px; justify-content: center; padding: 50px; }
.dash-loading span { width: 12px; height: 12px; border-radius: 50%; background: var(--red); animation: bounce 1.2s ease-in-out infinite; box-shadow: 0 0 12px var(--glow); }
.dash-loading span:nth-child(2) { animation-delay: .15s; }
.dash-loading span:nth-child(3) { animation-delay: .3s; }
@keyframes bounce { 0%,80%,100%{ transform: scale(.5); opacity:.4; } 40%{ transform: scale(1); opacity:1; } }

/* updates */
.updates-feed { display: flex; flex-direction: column; gap: 14px; }
.devlog-item { border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, var(--panel), var(--bg-2)); padding: 20px 22px; }
.devlog-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; flex-wrap: wrap; }
.devlog-head h3 { font-size: 17px; flex: 1; }
.devlog-head time { color: var(--muted-2); font-size: 12px; }
.devlog-tag { font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; padding: 4px 9px; border-radius: 99px; }
.devlog-tag.update { color: var(--red-2); background: rgba(255,43,43,.12); }
.devlog-tag.new { color: var(--green); background: rgba(53,208,127,.12); }
.devlog-tag.fix { color: #ffc24b; background: rgba(255,194,75,.12); }
.devlog-tag.notice { color: #6aa8ff; background: rgba(106,168,255,.12); }
.devlog-item p { color: var(--muted); line-height: 1.6; font-size: 14px; }

/* admin */
.admin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.admin-card { border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, var(--panel), var(--bg-2)); padding: 22px; }
.admin-card.wide { grid-column: 1 / -1; }
.admin-card h3 { font-size: 16px; margin-bottom: 6px; }
.admin-hint { color: var(--muted-2); font-size: 12.5px; margin-bottom: 12px; }
.admin-hint code { color: var(--muted); }
.admin-row { display: flex; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.admin-row > * { flex: 1; min-width: 120px; }
.admin-card input, .admin-card textarea, .admin-card select,
.ag-card input {
  width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line);
  background: rgba(0,0,0,.3); color: var(--text); font-family: var(--font); font-size: 14px; outline: none;
  transition: border-color .2s, box-shadow .2s; margin-bottom: 10px;
}
.admin-card textarea { font-family: var(--mono); resize: vertical; }
.admin-card input:focus, .admin-card textarea:focus, .admin-card select:focus,
.ag-card input:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(255,43,43,.15); }
.admin-list { display: flex; flex-direction: column; gap: 8px; max-height: 340px; overflow-y: auto; margin-top: 8px; }
.admin-key { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: rgba(0,0,0,.2); }
.ak-main code { font-family: var(--mono); font-size: 13px; color: #fff; }
.ak-sub { color: var(--muted-2); font-size: 12px; margin-top: 3px; }
.ak-sub .bad { color: var(--red-2); }
.ak-actions { display: flex; gap: 6px; flex-shrink: 0; }
.mini { background: none; border: 1px solid var(--line); color: var(--muted); border-radius: 8px; padding: 6px 10px; cursor: pointer; font-size: 12px; transition: all .2s; }
.mini:hover { color: #fff; border-color: var(--line-red); }
.mini.danger:hover { color: var(--red-2); border-color: var(--red); }

/* ===================== AUTH GATE ===================== */
.auth-gate { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 20px; transition: opacity .4s ease, visibility .4s ease; }
.auth-gate.hidden { opacity: 0; visibility: hidden; }
.ag-bg { position: absolute; inset: 0; background: rgba(4,4,4,.55); overflow: hidden; }
.ag-bg .orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .5; }
.ag-bg .o1 { width: 40vmax; height: 40vmax; background: radial-gradient(circle, rgba(255,43,43,.4), transparent 60%); top: -10%; left: -8%; animation: floatOrb 14s ease-in-out infinite; }
.ag-bg .o2 { width: 32vmax; height: 32vmax; background: radial-gradient(circle, rgba(180,13,18,.5), transparent 60%); bottom: -12%; right: -8%; animation: floatOrb 16s ease-in-out infinite reverse; }
.ag-card { position: relative; z-index: 2; width: 100%; max-width: 420px; text-align: center; background: linear-gradient(180deg, var(--panel), var(--bg-2)); border: 1px solid var(--line-red); border-radius: var(--radius-lg); padding: 40px 34px; box-shadow: 0 30px 80px rgba(0,0,0,.6), 0 0 40px rgba(255,43,43,.15); }
.ag-logo { height: 40px; margin-bottom: 18px; filter: drop-shadow(0 0 14px var(--glow)); }
.ag-card h2 { font-size: 24px; font-weight: 800; margin-bottom: 8px; }
.ag-card > p, .ag-note { color: var(--muted); font-size: 14px; line-height: 1.5; margin-bottom: 22px; }
.ag-card .btn.wide { width: 100%; }
.ag-admin-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 6px; width: 100%; background: none; border: none; color: var(--muted-2); font-size: 13px; margin-top: 14px; cursor: pointer; }
.ag-admin-toggle:hover { color: var(--red-2); }
.ag-admin-toggle i, .ag-admin-toggle .lucide { width: 14px; height: 14px; }
.ag-card { position: relative; }
.ag-back {
  position: absolute; top: 16px; left: 16px; width: 38px; height: 38px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 10px; border: 1px solid var(--line); background: rgba(0,0,0,.25);
  color: var(--muted); cursor: pointer; transition: all .2s;
}
.ag-back:hover { color: #fff; border-color: var(--line-red); background: rgba(255,43,43,.1); }
.ag-back i, .ag-back .lucide { width: 18px; height: 18px; }
.ag-or { display: flex; align-items: center; gap: 12px; margin: 14px 0; color: var(--muted-2); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.ag-or::before, .ag-or::after { content: ''; flex: 1; height: 1px; background: var(--line); }
#agStepStart .btn.wide { width: 100%; }
#agStepStart .btn + .ag-admin-toggle { margin-top: 14px; }
.ag-user { display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--muted); font-size: 14px; margin-bottom: 12px; }
.ag-user .user-avatar { width: 32px; height: 32px; }
.ag-error { color: var(--red-2); font-size: 13px; margin-top: 10px; }

/* Discord-link overlay: dashboard is visible but blurred behind this card */
.link-gate { position: fixed; inset: 0; z-index: 1001; display: grid; place-items: center; padding: 20px; }
.link-gate[hidden] { display: none; }
.lg-card {
  position: relative; z-index: 2; width: 100%; max-width: 400px; text-align: center;
  background: linear-gradient(180deg, var(--panel), var(--bg-2));
  border: 1px solid var(--line-red); border-radius: var(--radius-lg);
  padding: 38px 32px; box-shadow: 0 30px 80px rgba(0,0,0,.6), 0 0 40px rgba(255,43,43,.15);
}
.lg-card h2 { font-size: 22px; font-weight: 800; margin-bottom: 8px; }
.lg-card p { color: var(--muted); font-size: 14px; line-height: 1.5; margin-bottom: 22px; }
.lg-card .btn.wide { width: 100%; }
.reveal-in { animation: reveal-pop .45s cubic-bezier(.2,.8,.2,1); }
@keyframes reveal-pop { from { opacity: 0; transform: scale(.94) translateY(10px); } }

@media (max-width: 760px) {
  .admin-grid { grid-template-columns: 1fr; }
  .key-meta { grid-template-columns: 1fr; }
  .admin-key { flex-direction: column; align-items: flex-start; }
}

/* ===================== STORE (grid + toolbar + holo) ===================== */
.store-toolbar {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  margin-bottom: 28px;
}
.store-search {
  display: flex; align-items: center; gap: 8px;
  flex: 1; min-width: 200px;
  padding: 11px 16px; border-radius: 99px;
  background: rgba(16,16,19,.7); border: 1px solid var(--line);
  transition: border-color .2s, box-shadow .2s;
}
.store-search:focus-within { border-color: var(--red); box-shadow: 0 0 0 3px rgba(255,43,43,.15); }
.store-search i, .store-search .lucide { color: var(--muted-2); width: 16px; height: 16px; }
.store-search input { flex: 1; background: none; border: none; outline: none; color: var(--text); font-family: var(--font); font-size: 14px; }
.store-filters { display: flex; gap: 6px; flex-wrap: wrap; }
.store-chip {
  padding: 9px 15px; border-radius: 99px; border: 1px solid var(--line);
  background: transparent; color: var(--muted); font-family: var(--font);
  font-weight: 600; font-size: 13px; cursor: pointer; transition: all .2s; white-space: nowrap;
}
.store-chip:hover { color: #fff; border-color: var(--line-red); }
.store-chip.active { color: #fff; background: linear-gradient(120deg, rgba(255,43,43,.22), rgba(255,43,43,.08)); box-shadow: inset 0 0 0 1px rgba(255,43,43,.35); }
.store-sort select {
  padding: 11px 16px; border-radius: 99px; border: 1px solid var(--line);
  background: rgba(16,16,19,.7); color: var(--text); font-family: var(--font); font-size: 13px;
  outline: none; cursor: pointer;
}
.store-sort select:focus { border-color: var(--red); }

.store-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }
.store-empty { padding: 60px; text-align: center; color: var(--muted); }

/* store card with holographic sheen */
.store-card {
  position: relative; text-align: left; cursor: pointer;
  background: linear-gradient(180deg, var(--panel), var(--bg-2));
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; transition: transform .25s, border-color .25s, box-shadow .25s;
  opacity: 0; transform: translateY(16px);
  animation: card-in .5s cubic-bezier(.2,.7,.2,1) forwards;
}
@keyframes card-in { to { opacity: 1; transform: translateY(0); } }
.store-card:hover { transform: translateY(-6px); border-color: var(--line-red); box-shadow: 0 16px 46px rgba(255,43,43,.22); }
.store-card-media { position: relative; aspect-ratio: 4/3; background: #0a0a0c; overflow: hidden; }
.store-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.store-card:hover .store-card-media img { transform: scale(1.06); }
.store-card .tag { position: absolute; top: 12px; left: 12px; z-index: 3; padding: 5px 11px; border-radius: 99px; font-size: 11px; font-weight: 700; background: var(--grad-red); color: #fff; box-shadow: 0 0 14px rgba(255,43,43,.4); }

/* holographic sweep overlay — only animates on hover (perf: no always-on
   mix-blend-mode / infinite animation running for every card off-screen) */
.holo::before, .store-card-media::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.10) 47%, rgba(255,43,43,.16) 50%, rgba(120,80,255,.12) 53%, transparent 65%);
  background-size: 250% 250%; background-position: 0% 0%;
  opacity: 0; transition: opacity .3s;
}
.store-card:hover .store-card-media::after { opacity: 1; animation: holo 4.5s linear infinite; }
.holo::before { opacity: .5; animation: holo 6s linear infinite; }
@keyframes holo { 0% { background-position: 0% 0%; } 100% { background-position: 200% 200%; } }

.store-card-info { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding: 16px 18px 18px; }
.store-card-name { font-weight: 700; font-size: 16px; }
.store-card-name small { display: block; color: var(--muted-2); font-weight: 500; font-size: 12px; margin-top: 3px; }
.store-card-meta { text-align: right; }
.store-card-price { font-weight: 800; font-size: 17px; color: var(--red-2); }
.store-card-stock { font-size: 11px; color: var(--muted-2); margin-top: 3px; }
.store-card-stock.in { color: var(--green); }

.detail-back {
  display: inline-flex; align-items: center; gap: 7px; margin-bottom: 20px;
  background: none; border: 1px solid var(--line); color: var(--muted);
  padding: 9px 15px; border-radius: 99px; cursor: pointer; font-family: var(--font); font-weight: 600; font-size: 14px;
  transition: all .2s;
}
.detail-back:hover { color: #fff; border-color: var(--line-red); }
.detail-back i, .detail-back .lucide { width: 16px; height: 16px; }

@media (max-width: 620px) {
  .store-toolbar { flex-direction: column; align-items: stretch; }
  .store-sort select { width: 100%; }
}

/* ===================== ADMIN: product manager ===================== */
.admin-products { display: flex; flex-direction: column; gap: 10px; }
.admin-prod {
  display: flex; align-items: center; gap: 14px; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: 12px; background: rgba(0,0,0,.2);
}
.admin-prod img { width: 46px; height: 46px; border-radius: 8px; object-fit: cover; background: #0a0a0c; flex-shrink: 0; }
.admin-prod .ap-main { flex: 1; }
.admin-prod .ap-name { font-weight: 700; }
.admin-prod .ap-sub { color: var(--muted-2); font-size: 12.5px; margin-top: 2px; }
.admin-prod .ap-actions { display: flex; gap: 6px; }
.img-drop {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px dashed var(--line); border-radius: 12px; padding: 18px; cursor: pointer;
  color: var(--muted); font-size: 13px; transition: all .2s; margin-bottom: 10px;
}
.img-drop:hover { border-color: var(--line-red); color: #fff; }
.img-drop.has-img { border-style: solid; }
.img-preview { width: 100%; max-height: 140px; object-fit: contain; border-radius: 10px; margin-bottom: 10px; }

/* ===================== PERFORMANCE ===================== */
/* Big blurred orbs: hint the compositor so the transform animation stays on
   the GPU instead of repainting the blur every frame. */
.orb, .ag-bg .orb { will-change: transform; }
.hero-glow-follow { will-change: transform; }

/* Respect users who ask for less motion — kills the heavy infinite loops. */
@media (prefers-reduced-motion: reduce) {
  .btn-gradient { animation: none !important; }
  .orb, .ag-bg .orb { animation: none !important; }
  .holo::before, .store-card:hover .store-card-media::after { animation: none !important; }
  .matrix .col { animation: none !important; }
  .star { animation: none !important; }
  * { scroll-behavior: auto !important; }
}

/* ===================== DASHBOARD PROFILE ===================== */
.profile-card {
  border: 1px solid var(--line-red); border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--panel), var(--bg-2));
  padding: 26px; box-shadow: 0 14px 44px rgba(255,43,43,.12);
}
.profile-head { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.profile-avatar { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; border: 2px solid var(--line-red); box-shadow: 0 0 20px rgba(255,43,43,.3); }
.profile-avatar.ph { background: linear-gradient(150deg, var(--red-deep), var(--red)); }
.profile-id { flex: 1; min-width: 180px; }
.profile-name { font-size: 22px; font-weight: 800; }
.profile-sub { color: var(--muted-2); font-size: 13px; margin-top: 2px; }
.profile-sub code { color: var(--muted); }
.profile-badge { flex-shrink: 0; }

.profile-key { margin: 22px 0 6px; }
.profile-key .key-value { display: flex; align-items: center; gap: 10px; }
.profile-key code { font-family: var(--mono); font-size: 15px; color: #fff; background: rgba(255,43,43,.1); padding: 7px 13px; border-radius: 10px; border: 1px solid var(--line-red); word-break: break-all; }

.pstat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 20px 0; }
.pstat { border: 1px solid var(--line); border-radius: 14px; background: rgba(0,0,0,.2); padding: 16px; text-align: center; }
.pstat-val { font-size: 18px; font-weight: 800; color: #fff; }
.pstat-label { color: var(--muted-2); font-size: 12px; margin-top: 4px; text-transform: uppercase; letter-spacing: .05em; }

.profile-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.profile-actions .btn { flex: 1; min-width: 160px; }
.profile-actions .btn i, .profile-actions .btn .lucide { width: 16px; height: 16px; }
.profile-note { color: var(--muted-2); font-size: 12.5px; margin-top: 14px; line-height: 1.5; }

@media (max-width: 620px) {
  .pstat-grid { grid-template-columns: 1fr 1fr; }
}

/* ===================== CART ===================== */
.cart-btn { position: relative; }
.cart-badge {
  position: absolute; top: -4px; right: -4px; min-width: 17px; height: 17px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--grad-red); color: #fff; font-size: 10px; font-weight: 800;
  border-radius: 99px; padding: 0 4px; box-shadow: 0 0 10px rgba(255,43,43,.5);
}
.cart-overlay { position: fixed; inset: 0; z-index: 1200; background: rgba(0,0,0,.6); backdrop-filter: blur(4px); }
.cart-overlay[hidden] { display: none; }
.cart-drawer {
  position: fixed; top: 0; right: 0; z-index: 1201; height: 100%;
  width: min(400px, 92vw); display: flex; flex-direction: column;
  background: linear-gradient(180deg, var(--panel), var(--bg-2));
  border-left: 1px solid var(--line-red); box-shadow: -20px 0 60px rgba(0,0,0,.6);
  animation: cart-in .3s cubic-bezier(.2,.8,.2,1);
}
.cart-drawer[hidden] { display: none; }
@keyframes cart-in { from { transform: translateX(100%); } }
.cart-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.cart-head h3 { font-size: 18px; font-weight: 800; }
.cart-close { background: none; border: 1px solid var(--line); color: var(--muted); width: 34px; height: 34px; border-radius: 10px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.cart-close:hover { color: #fff; border-color: var(--line-red); }
.cart-items { flex: 1; overflow-y: auto; padding: 16px 18px; display: flex; flex-direction: column; gap: 12px; }
.cart-empty { color: var(--muted); text-align: center; padding: 40px 0; }
.cart-item { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: rgba(0,0,0,.2); }
.cart-item img { width: 46px; height: 46px; border-radius: 8px; object-fit: cover; background: #0a0a0c; }
.ci-main { flex: 1; min-width: 0; }
.ci-name { font-weight: 600; font-size: 14px; }
.ci-price { color: var(--red-2); font-weight: 700; font-size: 13px; margin-top: 2px; }
.ci-qty { display: flex; align-items: center; gap: 8px; }
.ci-qty button { width: 24px; height: 24px; border-radius: 7px; border: 1px solid var(--line); background: none; color: var(--text); cursor: pointer; font-size: 14px; }
.ci-qty button:hover { border-color: var(--line-red); }
.ci-qty span { min-width: 16px; text-align: center; font-size: 14px; }
.ci-remove { background: none; border: none; color: var(--muted-2); cursor: pointer; padding: 4px; }
.ci-remove:hover { color: var(--red-2); }
.ci-remove i, .ci-remove .lucide { width: 16px; height: 16px; }
.cart-foot { border-top: 1px solid var(--line); padding: 18px 20px; display: flex; flex-direction: column; gap: 10px; }
.cart-total-row { display: flex; justify-content: space-between; font-weight: 800; font-size: 16px; margin-bottom: 4px; }
.cart-total-row span:last-child { color: var(--red-2); }
.cart-foot input { padding: 11px 14px; border-radius: 10px; border: 1px solid var(--line); background: rgba(0,0,0,.3); color: var(--text); font-family: var(--font); font-size: 14px; outline: none; }
.cart-foot input:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(255,43,43,.15); }
.cart-note { color: var(--muted-2); font-size: 12.5px; min-height: 16px; }

.store-card-add {
  width: calc(100% - 36px); margin: 0 18px 18px; padding: 10px; border-radius: 12px;
  border: 1px solid var(--line-red); background: rgba(255,43,43,.08); color: #fff;
  font-family: var(--font); font-weight: 700; font-size: 13px; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  transition: background .2s, box-shadow .2s;
}
.store-card-add:hover { background: rgba(255,43,43,.18); box-shadow: 0 0 18px rgba(255,43,43,.25); }
.store-card-add i, .store-card-add .lucide { width: 15px; height: 15px; }

/* ===================== TICKETS ===================== */
.ticket-new { border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, var(--panel), var(--bg-2)); padding: 22px; margin-bottom: 18px; }
.ticket-new h3 { font-size: 16px; margin-bottom: 12px; }
.ticket-new input, .ticket-new textarea { width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: rgba(0,0,0,.3); color: var(--text); font-family: var(--font); font-size: 14px; outline: none; margin-bottom: 10px; }
.ticket-new textarea { resize: vertical; }
.ticket-new input:focus, .ticket-new textarea:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(255,43,43,.15); }
.ticket-list { display: flex; flex-direction: column; gap: 12px; }
.ticket-card, .admin-ticket { border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, var(--panel), var(--bg-2)); padding: 16px 18px; }
.tc-head, .at-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.ticket-status { font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 99px; text-transform: uppercase; letter-spacing: .04em; }
.ticket-status.open { color: var(--green); background: rgba(53,208,127,.1); border: 1px solid rgba(53,208,127,.3); }
.ticket-status.closed { color: var(--muted-2); background: rgba(255,255,255,.04); border: 1px solid var(--line); }
.at-msg { color: var(--muted); font-size: 14px; line-height: 1.5; margin-bottom: 8px; }
.at-reply { font-size: 13px; color: var(--muted); margin: 4px 0; padding: 8px 12px; border-radius: 10px; background: rgba(0,0,0,.2); }
.at-reply.staff { border-left: 2px solid var(--red); }
.at-actions { display: flex; gap: 8px; margin-top: 10px; }
.at-actions input { flex: 1; padding: 9px 12px; border-radius: 10px; border: 1px solid var(--line); background: rgba(0,0,0,.3); color: var(--text); font-family: var(--font); font-size: 13px; outline: none; }
.at-actions input:focus { border-color: var(--red); }

/* ===================== ADMIN: refined cards + status rows ===================== */
.admin-card {
  position: relative;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.admin-card:hover { border-color: var(--line-red); box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.admin-card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 4px; }
.admin-card-head h3 { margin: 0; }
.admin-badge {
  font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  color: #fff; background: var(--grad-red); padding: 3px 9px; border-radius: 99px;
  box-shadow: 0 0 12px rgba(255,43,43,.4);
}
.admin-label {
  display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .05em;
  text-transform: uppercase; color: var(--muted); margin: 10px 0 6px;
}
.btn.sm { padding: 8px 14px; font-size: 13px; }
.btn.sm i, .btn.sm .lucide { width: 15px; height: 15px; }

/* editable status service rows */
.status-rows { display: flex; flex-direction: column; gap: 8px; margin-bottom: 10px; }
.status-row {
  display: grid; grid-template-columns: 1.1fr 1.3fr auto auto; gap: 8px; align-items: center;
  padding: 8px; border: 1px solid var(--line); border-radius: 12px; background: rgba(0,0,0,.2);
}
.status-row input, .status-row select { margin-bottom: 0 !important; }
.status-row .sr-remove {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 10px; cursor: pointer;
  border: 1px solid var(--line); background: rgba(255,43,43,.08); color: #ff6b6b;
  transition: all .2s;
}
.status-row .sr-remove:hover { background: rgba(255,43,43,.18); border-color: var(--line-red); }
.status-row .sr-remove i, .status-row .sr-remove .lucide { width: 16px; height: 16px; }
@media (max-width: 620px) {
  .status-row { grid-template-columns: 1fr auto; }
  .status-row .sr-desc { grid-column: 1 / -1; }
}

/* ===================== REFERRAL: real signup panel ===================== */
.ref-panel { width: 100%; max-width: 540px; margin: 26px auto 0; min-height: 120px; }
.ref-card {
  position: relative; overflow: hidden;
  border: 1px solid var(--line-red); border-radius: var(--radius-lg);
  background:
    radial-gradient(120% 80% at 50% -20%, rgba(255,43,43,.14), transparent 60%),
    linear-gradient(180deg, var(--panel), var(--bg-2));
  padding: 26px; box-shadow: 0 18px 50px rgba(255,43,43,.14); text-align: left;
}
/* glowing accent bar across the top */
.ref-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--grad-red); box-shadow: 0 0 18px rgba(255,43,43,.6);
}
.ref-card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.ref-card-head h3 { font-size: 18px; margin: 0; font-weight: 800; }
.ref-card .ref-note { color: var(--muted); font-size: 13px; line-height: 1.55; margin: 6px 0 16px; }
.ref-card input {
  width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line);
  background: rgba(0,0,0,.3); color: #fff; margin-bottom: 10px; font-size: 14px;
  transition: border-color .2s, box-shadow .2s;
}
.ref-card input::placeholder { color: var(--muted-2); }
.ref-card input:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(255,43,43,.15); outline: none; }
.ref-card .btn.wide { width: 100%; }

.ref-code-label { display: block; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 8px; }
.ref-code-row {
  display: flex; gap: 8px; align-items: stretch; margin-bottom: 18px;
  background: rgba(0,0,0,.28); border: 1px solid var(--line-red); border-radius: 12px; padding: 6px;
}
.ref-code-row code {
  flex: 1; display: flex; align-items: center; font-family: var(--mono); font-size: 13px; color: #fff;
  padding: 8px 12px; word-break: break-all; background: none; border: none;
}
.ref-code-row .btn { white-space: nowrap; }

.ref-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; }
.ref-stat {
  border: 1px solid var(--line); border-radius: 14px; background: rgba(0,0,0,.22);
  padding: 16px 12px; text-align: center; transition: border-color .2s, transform .2s;
}
.ref-stat:hover { border-color: var(--line-red); transform: translateY(-2px); }
.ref-stat .rs-val { font-size: 24px; font-weight: 800; color: #fff; line-height: 1; }
.ref-stat .rs-label { color: var(--muted-2); font-size: 10.5px; margin-top: 6px; text-transform: uppercase; letter-spacing: .06em; }
.ref-error { color: #ff6b6b; font-size: 13px; margin-top: 4px; }

/* copy button success pulse */
.ref-copied { color: var(--green) !important; }

/* ===================== ADMIN: SellAuth-style layout ===================== */
.adm { display: grid; grid-template-columns: 210px 1fr; gap: 20px; align-items: start; }
.adm-nav {
  position: sticky; top: 90px; display: flex; flex-direction: column; gap: 4px;
  border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, var(--panel), var(--bg-2)); padding: 12px;
}
.adm-nav-title { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); padding: 6px 10px 10px; }
.adm-navbtn {
  display: flex; align-items: center; gap: 10px; width: 100%; text-align: left;
  padding: 10px 12px; border-radius: 10px; border: none; background: none;
  color: var(--muted); font-size: 14px; font-weight: 600; cursor: pointer; transition: all .15s;
}
.adm-navbtn:hover { background: rgba(255,255,255,.04); color: #fff; }
.adm-navbtn.active { background: rgba(255,43,43,.12); color: #fff; box-shadow: inset 0 0 0 1px var(--line-red); }
.adm-navbtn i, .adm-navbtn .lucide { width: 17px; height: 17px; flex-shrink: 0; }

.adm-main { min-width: 0; }
.adm-head { margin-bottom: 18px; }
.adm-head h2 { font-size: 22px; font-weight: 800; }
.adm-head p { color: var(--muted-2); font-size: 13.5px; margin-top: 4px; }

.adm-card {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel), var(--bg-2)); padding: 20px; margin-bottom: 16px;
}
.adm-card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.adm-card-head h3 { font-size: 15px; margin: 0; }
.adm-card input, .adm-card textarea, .adm-card select {
  width: 100%; padding: 11px 13px; border-radius: 11px; border: 1px solid var(--line);
  background: rgba(0,0,0,.25); color: #fff; font-size: 14px; margin-bottom: 10px;
  transition: border-color .2s, box-shadow .2s;
}
.adm-card textarea { font-family: var(--mono); resize: vertical; }
.adm-card input:focus, .adm-card textarea:focus, .adm-card select:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(255,43,43,.15); outline: none; }

/* overview stats */
.adm-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 16px; }
.adm-stat {
  display: flex; align-items: center; gap: 14px; padding: 18px;
  border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, var(--panel), var(--bg-2));
}
.adm-stat .as-ico {
  width: 42px; height: 42px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,43,43,.1); color: var(--red-2); border: 1px solid var(--line-red); flex-shrink: 0;
}
.adm-stat .as-ico i, .adm-stat .as-ico .lucide { width: 20px; height: 20px; }
.adm-stat .as-val { font-size: 24px; font-weight: 800; color: #fff; line-height: 1; }
.adm-stat .as-label { color: var(--muted-2); font-size: 12px; margin-top: 4px; }

.adm-quick { display: flex; flex-wrap: wrap; gap: 10px; }
.adm-quick-btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 16px; border-radius: 12px;
  border: 1px solid var(--line); background: rgba(0,0,0,.2); color: #fff; font-size: 13.5px; font-weight: 600; cursor: pointer; transition: all .2s;
}
.adm-quick-btn:hover { border-color: var(--line-red); background: rgba(255,43,43,.08); }
.adm-quick-btn i, .adm-quick-btn .lucide { width: 16px; height: 16px; }

/* product form two-column */
.adm-form-grid { display: grid; grid-template-columns: 220px 1fr; gap: 18px; align-items: start; }
.adm-form-left .img-drop { margin-bottom: 0; min-height: 150px; }
.adm-check { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; margin: 6px 0 12px; }
.adm-check input { width: auto !important; margin: 0 !important; }
.adm-form-actions { display: flex; gap: 10px; }

@media (max-width: 900px) {
  .adm { grid-template-columns: 1fr; }
  .adm-nav { position: static; flex-direction: row; flex-wrap: wrap; }
  .adm-navbtn { width: auto; }
  .adm-nav-title { width: 100%; }
  .adm-stats { grid-template-columns: 1fr 1fr; }
  .adm-form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .adm-stats { grid-template-columns: 1fr; }
}

/* ===================== LEGAL / DOC PAGES ===================== */
.legal-wrap { max-width: 860px; margin: 0 auto; padding: 120px 22px 80px; }
.legal-head { margin-bottom: 34px; }
.legal-tag {
  display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  color: var(--red-2); background: rgba(255,43,43,.1); border: 1px solid var(--line-red);
  padding: 5px 12px; border-radius: 99px; margin-bottom: 16px;
}
.legal-head h1 { font-size: 40px; font-weight: 900; line-height: 1.05; }
.legal-head h1 .grad { background: var(--grad-red); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.legal-updated { color: var(--muted-2); font-size: 13.5px; margin-top: 12px; }
.legal-body {
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--panel), var(--bg-2)); padding: 34px 38px;
}
.legal-body h2 { font-size: 20px; font-weight: 800; margin: 30px 0 12px; color: #fff; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body p, .legal-body li { color: var(--muted); font-size: 15px; line-height: 1.7; }
.legal-body p { margin-bottom: 14px; }
.legal-body ul { margin: 0 0 16px; padding-left: 22px; }
.legal-body li { margin-bottom: 8px; }
.legal-body a { color: var(--red-2); }
.legal-body strong { color: #fff; }
.legal-body .legal-note {
  border-left: 3px solid var(--red); background: rgba(255,43,43,.06);
  padding: 14px 18px; border-radius: 0 12px 12px 0; margin: 18px 0; color: var(--muted);
}
@media (max-width: 620px) {
  .legal-head h1 { font-size: 30px; }
  .legal-body { padding: 24px 20px; }
}

/* ===================== CUSTOM DROPDOWNS ===================== */
/* the real <select> stays in the DOM (for .value) but is visually hidden */
select.csel-native { display: none !important; }
.csel { position: relative; width: 100%; margin-bottom: 10px; }
.csel-trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 11px 14px; border-radius: 12px; border: 1px solid var(--line);
  background: rgba(0,0,0,.28); color: #fff; font-family: var(--font); font-size: 14px; font-weight: 600;
  cursor: pointer; transition: border-color .2s, box-shadow .2s;
}
.csel-trigger:hover { border-color: var(--line-red); }
.csel.open .csel-trigger { border-color: var(--red); box-shadow: 0 0 0 3px rgba(255,43,43,.15); }
.csel-trigger .csel-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.csel-trigger i, .csel-trigger .lucide { width: 16px; height: 16px; color: var(--muted); flex-shrink: 0; transition: transform .2s; }
.csel.open .csel-trigger i, .csel.open .csel-trigger .lucide { transform: rotate(180deg); color: var(--red-2); }

.csel-menu {
  position: absolute; z-index: 50; top: calc(100% + 6px); left: 0; right: 0;
  border: 1px solid var(--line-red); border-radius: 12px; overflow: hidden;
  background: linear-gradient(180deg, var(--panel), var(--bg-2));
  box-shadow: 0 16px 40px rgba(0,0,0,.5);
  opacity: 0; transform: translateY(-6px); pointer-events: none; transition: opacity .15s, transform .15s;
}
.csel.open .csel-menu { opacity: 1; transform: translateY(0); pointer-events: auto; }
.csel-opt {
  display: block; width: 100%; text-align: left; padding: 11px 14px; border: none; background: none;
  color: var(--muted); font-family: var(--font); font-size: 14px; cursor: pointer; transition: all .15s;
}
.csel-opt:hover { background: rgba(255,43,43,.1); color: #fff; }
.csel-opt.sel { color: #fff; background: rgba(255,43,43,.14); box-shadow: inset 3px 0 0 var(--red); }

/* inside compact status rows: keep the widget tidy */
.status-row .csel { margin-bottom: 0; }

/* store sort: keep the pill look + auto width in the toolbar */
.store-sort .csel { width: auto; min-width: 190px; margin-bottom: 0; }
.store-sort .csel-trigger { border-radius: 99px; padding: 11px 16px; font-size: 13px; font-weight: 600; }
@media (max-width: 620px) { .store-sort .csel { width: 100%; } }
