/* ===========================================================
   GODSTATE — cyberpunk store theme
   acid yellow-green on carbon
   =========================================================== */

:root {
  --bg: #050705;
  --bg-2: #090d08;
  --panel: #0a0e09;
  --panel-2: #0e130c;
  --line: rgba(168, 255, 0, 0.10);
  --line-strong: rgba(168, 255, 0, 0.28);

  --neon: #a8ff00;
  --neon-soft: #c6ff5c;
  --neon-dim: #5c8a00;
  --neon-cyan: #3dff88;

  --ink: #d9ffb3;
  --ink-bright: #f0ffe0;
  --muted: #7f9366;
  --muted-2: #55664a;

  --danger: #ff3b5c;
  --ok: #a8ff00;

  --radius: 14px;
  --font-display: 'Orbitron', sans-serif;
  --font-body: 'Rajdhani', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --glow-a: rgba(168, 255, 0, 0.55);
  --glow-b: rgba(61, 255, 136, 0.30);

  --grid-shift: 0px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0.2px;
}

.mono { font-family: var(--font-mono); }
.muted { color: var(--muted); }
.neon { color: var(--neon); }
.outline { color: transparent; -webkit-text-stroke: 1px var(--neon); }

::selection { background: var(--neon); color: #041000; }

/* scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-2); }
::-webkit-scrollbar-thumb { background: #1c2616; border-radius: 8px; border: 2px solid var(--bg-2); }
::-webkit-scrollbar-thumb:hover { background: var(--neon-dim); }

/* ============ BACKGROUND ============ */
.bg-layer { position: fixed; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }

.bg-grid {
  position: absolute; inset: -120px 0;
  background-image:
    linear-gradient(rgba(168,255,0,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168,255,0,0.035) 1px, transparent 1px);
  background-size: 54px 54px;
  background-position: 0 var(--grid-shift);
  mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 78%);
  animation: grid-drift 24s linear infinite;
}
@keyframes grid-drift { to { background-position: 54px calc(var(--grid-shift) + 54px), 54px calc(var(--grid-shift) + 54px); } }

.bg-glow { position: absolute; border-radius: 50%; filter: blur(110px); opacity: 0.5; mix-blend-mode: screen; }
.bg-glow-a { width: 60vw; height: 60vw; top: -25vw; left: -15vw; background: radial-gradient(circle, var(--glow-a), transparent 65%); animation: breathe 8s ease-in-out infinite; }
.bg-glow-b { width: 50vw; height: 50vw; bottom: -20vw; right: -15vw; background: radial-gradient(circle, var(--glow-b), transparent 65%); animation: breathe 11s ease-in-out infinite reverse; }
@keyframes breathe { 0%,100% { opacity: 0.35; transform: scale(1); } 50% { opacity: 0.6; transform: scale(1.15); } }

.bg-scanlines {
  position: absolute; inset: 0; opacity: 0.12;
  background: repeating-linear-gradient(0deg, transparent 0 2px, rgba(0,0,0,0.55) 2px 4px);
  mix-blend-mode: multiply;
}

#particles { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ============ PRELOADER ============ */
#preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: #030503;
  display: flex; align-items: center; justify-content: center;
  transition: opacity .6s ease, visibility .6s ease;
  overflow: hidden;
}
#preloader.done { opacity: 0; visibility: hidden; pointer-events: none; }

.pl-grid { position: absolute; inset: 0;
  background-image: linear-gradient(rgba(168,255,0,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(168,255,0,0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}
.pl-glow { position: absolute; width: 460px; height: 460px; border-radius: 50%;
  background: radial-gradient(circle, rgba(168,255,0,0.16), transparent 70%); filter: blur(60px);
  animation: breathe 3s ease-in-out infinite; }

.pl-scanline { position: absolute; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--glow-a), transparent);
  animation: pl-scan 2.8s ease-in-out infinite; }
@keyframes pl-scan { 0% { top: 0; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { top: 100%; opacity: 0; } }

.pl-corners i { position: absolute; width: 22px; height: 22px; border: 1px solid rgba(168,255,0,0.25); }
.pl-corners i:nth-child(1) { top: 22px; left: 22px; border-right: 0; border-bottom: 0; }
.pl-corners i:nth-child(2) { top: 22px; right: 22px; border-left: 0; border-bottom: 0; }
.pl-corners i:nth-child(3) { bottom: 22px; left: 22px; border-right: 0; border-top: 0; }
.pl-corners i:nth-child(4) { bottom: 22px; right: 22px; border-left: 0; border-top: 0; }

.pl-center { display: flex; flex-direction: column; align-items: center; gap: 18px; z-index: 2; }
.pl-ring { position: relative; width: 108px; height: 108px; display: grid; place-items: center; }
.pl-ring::before { content: ''; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid transparent; border-top-color: var(--neon); border-right-color: var(--neon);
  animation: spin 1.4s linear infinite; }
.pl-ring::after { content: ''; position: absolute; inset: -12px; border-radius: 50%;
  border: 1px solid transparent; border-bottom-color: rgba(168,255,0,0.3); border-left-color: rgba(168,255,0,0.3);
  animation: spin 2.4s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.pl-glyph { font-family: var(--font-display); font-weight: 900; font-size: 26px; color: var(--neon);
  text-shadow: 0 0 18px var(--glow-a); animation: pl-pop .6s ease; }
@keyframes pl-pop { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: scale(1); } }

.pl-name { font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: 6px; color: var(--ink-bright); animation: fade-up .6s ease .2s both; }
.pl-blip { color: var(--neon); animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.pl-status { font-family: var(--font-mono); font-size: 11px; letter-spacing: 2px; color: var(--muted); text-transform: uppercase; animation: fade-up .5s ease .4s both; }
.pl-bar { width: 220px; height: 2px; background: rgba(168,255,0,0.08); border-radius: 2px; overflow: hidden; animation: fade-up .5s ease .5s both; }
.pl-bar span { display: block; height: 100%; width: 0; background: var(--neon); box-shadow: 0 0 12px var(--glow-a); transition: width .3s ease; }
@keyframes fade-up { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* ============ HEADER ============ */
.site-header { position: sticky; top: 0; z-index: 40; backdrop-filter: blur(14px); background: rgba(5,7,5,0.72); border-bottom: 1px solid var(--line); }
.header-inner { max-width: 1240px; margin: 0 auto; padding: 0 28px; height: 68px; display: flex; align-items: center; gap: 28px; }

.logo { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink-bright); }
.logo-mark { width: 30px; height: 30px; color: var(--neon); filter: drop-shadow(0 0 8px var(--glow-a)); }
.logo-word { font-family: var(--font-display); font-weight: 900; font-size: 17px; letter-spacing: 3px; }
.logo-word span { color: var(--neon); }
.logo-tag { font-family: var(--font-mono); font-size: 9px; letter-spacing: 1px; color: var(--muted); border: 1px solid var(--line-strong); padding: 3px 6px; border-radius: 4px; }

.main-nav { display: flex; gap: 22px; margin-left: auto; }
.nav-link { font-family: var(--font-mono); font-size: 12px; letter-spacing: 1.5px; color: var(--muted); text-decoration: none; position: relative; padding: 6px 2px; transition: color .2s; }
.nav-link:hover, .nav-link[data-active] { color: var(--neon); }
.nav-link::after { content: ''; position: absolute; left: 0; bottom: 0; height: 1px; width: 0; background: var(--neon); box-shadow: 0 0 8px var(--glow-a); transition: width .25s; }
.nav-link:hover::after, .nav-link[data-active]::after { width: 100%; }

.header-right { display: flex; align-items: center; gap: 18px; margin-left: 8px; }
.net-status { display: flex; align-items: center; gap: 7px; font-size: 10px; letter-spacing: 1px; color: var(--muted); }
.net-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--neon); box-shadow: 0 0 8px var(--glow-a); animation: blink 1.6s ease infinite; }

.cart-btn { position: relative; display: grid; place-items: center; width: 44px; height: 44px; background: var(--panel); border: 1px solid var(--line-strong); border-radius: 10px; color: var(--neon); cursor: pointer; transition: transform .15s, box-shadow .2s; }
.cart-btn svg { width: 20px; height: 20px; }
.cart-btn:hover { transform: translateY(-2px); box-shadow: 0 0 20px rgba(168,255,0,0.25); }
.cart-count { position: absolute; top: -7px; right: -7px; min-width: 19px; height: 19px; padding: 0 5px; display: grid; place-items: center; font-family: var(--font-mono); font-size: 10px; font-weight: 600; color: #041000; background: var(--neon); border-radius: 10px; box-shadow: 0 0 10px var(--glow-a); }

.icon-btn { background: var(--panel-2); border: 1px solid var(--line); color: var(--ink); width: 34px; height: 34px; border-radius: 8px; cursor: pointer; font-size: 18px; line-height: 1; transition: .2s; }
.icon-btn:hover { color: var(--neon); border-color: var(--line-strong); }

/* ============ TICKER ============ */
.ticker { position: sticky; top: 68px; z-index: 30; background: rgba(6,9,5,0.9); border-bottom: 1px solid var(--line); overflow: hidden; }
.ticker::before, .ticker::after { content: ''; position: absolute; top: 0; bottom: 0; width: 60px; z-index: 2; }
.ticker::before { left: 0; background: linear-gradient(90deg, var(--bg-2), transparent); }
.ticker::after { right: 0; background: linear-gradient(-90deg, var(--bg-2), transparent); }
.ticker-track { display: flex; padding: 8px 20px; white-space: nowrap; width: max-content; will-change: transform; transform: translate3d(0,0,0); }
.ticker-group { display: inline-flex; gap: 34px; padding-right: 34px; }
.tick { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .5px; color: var(--muted); }
.tick b { color: var(--ink); font-weight: 600; }
.tick .up { color: var(--neon); }
.tick .down { color: var(--danger); }
.tick .coin-ico { width: 13px; height: 13px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 8px; font-weight: 700; color: #041000; object-fit: cover; flex: none; background: var(--panel); }

/* ============ HERO ============ */
.hero { position: relative; padding: 120px 24px 90px; text-align: center; overflow: hidden; }
.hero-backdrop { position: absolute; inset: 0; pointer-events: none; display: grid; place-items: center; }
.hb-ring { position: absolute; border: 1px solid var(--line); border-radius: 50%; animation: spin 60s linear infinite; }
.hb-r1 { width: 620px; height: 620px; }
.hb-r2 { width: 940px; height: 940px; border-style: dashed; opacity: .6; animation-duration: 90s; animation-direction: reverse; }
.hb-ring::after { content: ''; position: absolute; top: 50%; left: -3px; width: 6px; height: 6px; border-radius: 50%; background: var(--neon); box-shadow: 0 0 12px var(--glow-a); }

.hero-inner { position: relative; z-index: 2; max-width: 860px; margin: 0 auto; }
.hero-eyebrow { font-size: 11px; letter-spacing: 3px; color: var(--muted); margin-bottom: 26px; display: inline-flex; align-items: center; gap: 9px; }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--neon); box-shadow: 0 0 0 0 var(--glow-a); animation: ping 1.8s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 var(--glow-a); } 70% { box-shadow: 0 0 0 12px rgba(168,255,0,0); } 100% { box-shadow: 0 0 0 0 rgba(168,255,0,0); } }

.hero-title { font-family: var(--font-display); font-weight: 900; font-size: clamp(52px, 11vw, 128px); letter-spacing: 8px; line-height: 1; color: var(--ink-bright); text-shadow: 0 0 40px rgba(168,255,0,0.25); position: relative; }
.hero-title::before, .hero-title::after { content: attr(data-glitch); position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.hero-title:hover::before { opacity: .7; color: var(--neon-cyan); transform: translate(-3px, -2px); animation: glitch-a 1.2s steps(2) infinite; }
.hero-title:hover::after { opacity: .7; color: var(--neon); transform: translate(3px, 2px); animation: glitch-b .9s steps(2) infinite; }
@keyframes glitch-a { 0%,100% { clip-path: inset(0 0 60% 0); } 25% { clip-path: inset(30% 0 40% 0); } 50% { clip-path: inset(60% 0 10% 0); } 75% { clip-path: inset(10% 0 70% 0); } }
@keyframes glitch-b { 0%,100% { clip-path: inset(40% 0 30% 0); } 25% { clip-path: inset(10% 0 60% 0); } 50% { clip-path: inset(50% 0 20% 0); } 75% { clip-path: inset(20% 0 50% 0); } }

.hero-title .hero-underline { position: absolute; left: 6%; right: 6%; bottom: -14px; height: 2px; background: linear-gradient(90deg, transparent, var(--neon), transparent); opacity: .45; }

.hero-sub { max-width: 620px; margin: 28px auto 0; font-size: 19px; color: var(--muted); line-height: 1.6; }
.hero-sub .neon { font-weight: 600; }

.hero-actions { display: flex; gap: 16px; justify-content: center; margin-top: 40px; flex-wrap: wrap; }

.cta-primary { font-family: var(--font-display); font-weight: 700; letter-spacing: 2px; font-size: 13px; padding: 16px 32px; color: #041000; background: var(--neon); border: none; border-radius: 8px; cursor: pointer; position: relative; overflow: hidden; box-shadow: 0 0 28px rgba(168,255,0,0.35); transition: transform .15s, box-shadow .2s; clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px); }
.cta-primary:hover { transform: translateY(-3px); box-shadow: 0 0 44px rgba(168,255,0,0.6); }
.cta-primary::after { content: ''; position: absolute; top: 0; left: -80%; width: 50%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent); transform: skewX(-20deg); animation: sheen 3s infinite; }
@keyframes sheen { 0%, 60% { left: -80%; } 100% { left: 160%; } }

.cta-ghost { font-family: var(--font-mono); font-size: 12px; letter-spacing: 1.5px; padding: 15px 26px; color: var(--neon); background: transparent; border: 1px solid var(--line-strong); border-radius: 8px; cursor: pointer; transition: .2s; }
.cta-ghost:hover { background: rgba(168,255,0,0.07); box-shadow: inset 0 0 20px rgba(168,255,0,0.08); }

.hero-stats { display: flex; gap: 46px; justify-content: center; margin-top: 64px; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat b { font-size: 26px; font-weight: 600; color: var(--neon); text-shadow: 0 0 16px rgba(168,255,0,0.4); }
.stat span { font-size: 10px; letter-spacing: 2px; color: var(--muted); }

/* ============ SECTIONS ============ */
.section { max-width: 1240px; margin: 0 auto; padding: 70px 28px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 38px; flex-wrap: wrap; }
.eyebrow { font-size: 11px; letter-spacing: 3px; color: var(--neon-dim); margin-bottom: 10px; }
.section-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(26px, 4vw, 42px); letter-spacing: 2px; color: var(--ink-bright); }

/* filters + search */
.catalog-tools { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; flex: 1; min-width: 240px; }
.search-box { position: relative; width: 100%; max-width: 340px; display: flex; align-items: center; }
.search-box svg { position: absolute; left: 14px; width: 16px; height: 16px; color: var(--neon-dim); pointer-events: none; }
.search-box input {
  width: 100%; padding: 12px 42px 12px 42px;
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 10px; color: var(--ink);
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 1px;
  transition: border-color .2s, box-shadow .2s;
}
.search-box input::placeholder { color: var(--muted-2); }
.search-box input:focus { outline: none; border-color: var(--line-strong); box-shadow: 0 0 0 1px var(--line-strong), 0 0 24px rgba(168,255,0,0.12); }
.search-clear { position: absolute; right: 10px; width: 24px; height: 24px; border: none; background: none; color: var(--muted); cursor: pointer; font-size: 12px; border-radius: 6px; }
.search-clear:hover { color: var(--neon); background: rgba(168,255,0,0.08); }
.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.filter-btn { font-family: var(--font-mono); font-size: 11px; letter-spacing: 1px; padding: 9px 16px; color: var(--muted); background: var(--panel); border: 1px solid var(--line); border-radius: 20px; cursor: pointer; transition: .2s; }
.filter-btn:hover { color: var(--ink); border-color: var(--line-strong); }
.filter-btn.active { color: #041000; background: var(--neon); border-color: var(--neon); box-shadow: 0 0 16px rgba(168,255,0,0.35); }

/* ============ PRODUCTS ============ */
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(268px, 1fr)); gap: 22px; }

/* custom requests */
.custom-cta {
  margin-top: 26px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  background: linear-gradient(120deg, rgba(168,255,0,0.07), var(--panel));
  border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 26px 28px;
}
.custom-cta-copy h3 { font-family: var(--font-display); font-weight: 700; font-size: 16px; letter-spacing: 2px; color: var(--ink-bright); margin: 8px 0 8px; }
.custom-cta-copy p { font-size: 14px; color: var(--muted); max-width: 62ch; }
.custom-cta .eyebrow { margin-bottom: 0; }
.custom-cta-btn {
  display: inline-block; padding: 13px 20px; font-size: 11px; letter-spacing: 1.5px;
  color: #041000; background: var(--neon); border-radius: 8px; text-decoration: none;
  box-shadow: 0 0 18px rgba(168,255,0,0.3); transition: .2s; white-space: nowrap;
}
.custom-cta-btn:hover { background: var(--neon-soft); transform: translateY(-2px); }
.footer-mail { color: var(--neon); text-decoration: none; }
.footer-mail:hover { text-decoration: underline; }

.product {
  position: relative;
  background: linear-gradient(160deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
  isolation: isolate;
}
.product:hover { transform: translateY(-6px); border-color: var(--line-strong); box-shadow: 0 18px 50px rgba(0,0,0,0.55), 0 0 0 1px var(--line-strong), 0 0 34px rgba(168,255,0,0.14); }

.product-glow { position: absolute; inset: -40% -20%; z-index: -1; background: radial-gradient(circle at 50% 0%, var(--glow-a), transparent 60%); opacity: 0; transition: opacity .4s; pointer-events: none; }
.product:hover .product-glow { opacity: .35; }

.product-media { position: relative; height: 168px; display: grid; place-items: center; overflow: hidden; border-bottom: 1px solid var(--line); }
.product-media .grid-bg { position: absolute; inset: 0; background-image: linear-gradient(rgba(168,255,0,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(168,255,0,0.06) 1px, transparent 1px); background-size: 20px 20px; }
.product-icon { font-size: 58px; filter: drop-shadow(0 0 18px var(--glow-a)); transition: transform .3s; position: relative; z-index: 1; }
img.product-icon { width: 96px; height: 96px; object-fit: contain; margin: auto; transition: transform .3s, filter .3s; }
.product:hover img.product-icon { transform: scale(1.04); filter: brightness(1.1) drop-shadow(0 0 20px var(--glow-a)); }
.product:hover .product-icon:not(img) { transform: scale(1.12) rotate(-4deg); }
.product-tier { position: absolute; top: 10px; left: 10px; z-index: 2; font-family: var(--font-mono); font-size: 9px; letter-spacing: 1px; padding: 3px 8px; border-radius: 4px; text-transform: uppercase; }
.tier-cur { background: rgba(168,255,0,0.15); color: var(--neon); border: 1px solid rgba(168,255,0,0.3); }
.tier-skin { background: rgba(61,255,136,0.12); color: var(--neon-cyan); border: 1px solid rgba(61,255,136,0.3); }
.tier-gear { background: rgba(255,59,92,0.12); color: var(--danger); border: 1px solid rgba(255,59,92,0.3); }
.tier-boost { background: rgba(255,170,0,0.12); color: #ffc93d; border: 1px solid rgba(255,190,0,0.3); }
.tier-bundle { background: rgba(150,90,255,0.12); color: #b08cff; border: 1px solid rgba(160,110,255,0.3); }

.product-body { padding: 18px 18px 20px; }
.product-name { font-family: var(--font-display); font-weight: 700; font-size: 14px; letter-spacing: 1px; color: var(--ink-bright); }
.product-desc { font-size: 13.5px; color: var(--muted); margin-top: 6px; min-height: 40px; }
.product-meta { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; font-family: var(--font-mono); font-size: 11px; color: var(--muted); }
.product-price { font-size: 21px; font-weight: 700; color: var(--neon); text-shadow: 0 0 14px rgba(168,255,0,0.35); text-align: right; }
.product-price small { font-size: 11px; color: var(--muted); font-weight: 400; }

.product-buy { margin-top: 16px; width: 100%; padding: 12px; font-family: var(--font-display); font-weight: 700; letter-spacing: 2px; font-size: 11px; color: var(--neon); background: rgba(168,255,0,0.06); border: 1px solid var(--line-strong); border-radius: 8px; cursor: pointer; transition: .2s; }
.product-buy:hover { color: #041000; background: var(--neon); box-shadow: 0 0 22px rgba(168,255,0,0.4); }

.product { cursor: pointer; }
.products-empty { grid-column: 1 / -1; text-align: center; padding: 70px 20px; color: var(--neon-dim); font-size: 14px; letter-spacing: 1.5px; border: 1px dashed var(--line-strong); border-radius: var(--radius); }
.products-empty span { display: block; margin-top: 8px; color: var(--muted); font-size: 12px; letter-spacing: 0.5px; }

/* ============ DETAIL MODAL ============ */
.detail-card { padding: 0; overflow: hidden; }
.detail-media { position: relative; height: 220px; display: grid; place-items: center; border-bottom: 1px solid var(--line); background: radial-gradient(circle at 50% 40%, rgba(168,255,0,0.12), transparent 60%); }
.detail-media .grid-bg { position: absolute; inset: 0; background-image: linear-gradient(rgba(168,255,0,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(168,255,0,0.06) 1px, transparent 1px); background-size: 22px 22px; }
.detail-icon { font-size: 96px; filter: drop-shadow(0 0 26px var(--glow-a)); position: relative; z-index: 1; animation: detail-float 3.5s ease-in-out infinite; }
.detail-icon-img { width: 150px; height: 150px; object-fit: contain; filter: drop-shadow(0 0 26px var(--glow-a)); animation: detail-float 3.5s ease-in-out infinite; }
@keyframes detail-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.detail-media .product-tier { top: 14px; left: 14px; }

.detail-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 24px 0; }
.detail-labels { display: flex; gap: 14px; flex-wrap: wrap; }
.detail-labels .mono { font-size: 10px; letter-spacing: 1.5px; color: var(--neon-dim); }

.detail-name { font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: 1.5px; color: var(--ink-bright); padding: 10px 24px 0; }
.detail-desc { padding: 8px 24px 0; color: var(--muted); font-size: 15px; }

.detail-perks { list-style: none; margin: 16px 24px 0; padding: 16px 18px; background: rgba(168,255,0,0.04); border: 1px solid var(--line); border-radius: 12px; display: flex; flex-direction: column; gap: 9px; }
.detail-perks li { position: relative; padding-left: 22px; color: var(--ink); font-size: 13.5px; }
.detail-perks li::before { content: '◈'; position: absolute; left: 0; color: var(--neon); font-size: 12px; }

.detail-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 24px; }
.detail-price { font-family: var(--font-display); font-size: 26px; font-weight: 700; color: var(--neon); text-shadow: 0 0 16px rgba(168,255,0,0.35); }
.detail-price small { font-size: 11px; color: var(--muted); font-weight: 400; font-family: var(--font-mono); }
.detail-foot .cta-primary { font-size: 12px; padding: 14px 26px; }

.detail-tag { padding: 0 24px 22px; font-size: 10px; letter-spacing: 2px; color: var(--muted-2); }

/* ============ HOW ============ */
.how-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.how-card { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; overflow: hidden; transition: .25s; }
.how-card:hover { border-color: var(--line-strong); transform: translateY(-4px); }
.how-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--neon), transparent); opacity: 0; transition: opacity .3s; }
.how-card:hover::before { opacity: 1; }
.how-num { font-size: 30px; font-weight: 600; color: var(--neon); text-shadow: 0 0 14px rgba(168,255,0,0.4); opacity: .9; }
.how-card h3 { font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: 2px; color: var(--ink-bright); margin: 14px 0 10px; }
.how-card p { font-size: 14px; color: var(--muted); }

/* ============ FAQ ============ */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; transition: border-color .2s; }
.faq-item[open] { border-color: var(--line-strong); }
.faq-item summary { list-style: none; cursor: pointer; padding: 18px 20px; font-family: var(--font-display); font-weight: 600; font-size: 14px; letter-spacing: 1px; color: var(--ink); display: flex; align-items: center; gap: 12px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .mono { color: var(--neon); width: 24px; }
.faq-item summary::after { content: '+'; margin-left: auto; font-family: var(--font-mono); color: var(--neon); font-size: 20px; transition: transform .25s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 20px 20px 56px; color: var(--muted); font-size: 14.5px; }

/* ============ FOOTER ============ */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-2); padding: 40px 28px; }
.footer-inner { max-width: 1240px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer-brand .logo-word { font-size: 15px; }
.footer-brand p { font-size: 10px; letter-spacing: 1px; margin-top: 6px; }
.footer-meta { display: flex; gap: 24px; font-size: 10.5px; letter-spacing: 1px; flex-wrap: wrap; }
.footer-meta .ok { color: var(--ok); }
.footer-meta b { font-weight: 600; }

/* ============ CART DRAWER ============ */
.overlay { position: fixed; inset: 0; z-index: 60; background: rgba(0,0,0,0.6); backdrop-filter: blur(3px); opacity: 0; visibility: hidden; transition: .3s; }
.overlay.show { opacity: 1; visibility: visible; }

.cart { position: fixed; top: 0; right: 0; bottom: 0; z-index: 70; width: min(420px, 92vw); background: var(--bg-2); border-left: 1px solid var(--line-strong); transform: translateX(100%); transition: transform .35s cubic-bezier(.4,0,.2,1); display: flex; flex-direction: column; }
.cart.open { transform: translateX(0); }
.cart-head { padding: 20px 22px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; }
.cart-head h3 { font-size: 13px; letter-spacing: 1px; color: var(--ink-bright); }
.cart-head h3 span { color: var(--neon); }
.cart-body { flex: 1; overflow-y: auto; padding: 16px 22px; display: flex; flex-direction: column; gap: 12px; }
.cart-empty { text-align: center; color: var(--muted); padding: 60px 0; }
.cart-empty .big { font-size: 40px; opacity: .5; margin-bottom: 10px; }

.cart-item { display: flex; gap: 14px; padding: 12px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; }
.cart-item-ico { width: 46px; height: 46px; flex: none; display: grid; place-items: center; font-size: 24px; background: rgba(168,255,0,0.06); border: 1px solid var(--line); border-radius: 9px; overflow: hidden; }
.cart-item-img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { font-family: var(--font-display); font-size: 12.5px; letter-spacing: 1px; color: var(--ink-bright); }
.cart-item-p { font-family: var(--font-mono); font-size: 11px; color: var(--muted); margin-top: 3px; }
.cart-item-right { text-align: right; display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; }
.cart-item-price { font-family: var(--font-mono); color: var(--neon); font-size: 13px; }
.cart-qty { display: flex; align-items: center; gap: 8px; }
.cart-qty button { width: 22px; height: 22px; border-radius: 5px; border: 1px solid var(--line-strong); background: var(--panel-2); color: var(--neon); cursor: pointer; font-size: 13px; line-height: 1; }
.cart-qty span { font-family: var(--font-mono); font-size: 12px; min-width: 14px; text-align: center; }
.cart-remove { border: none; background: none; color: var(--muted-2); cursor: pointer; font-size: 11px; font-family: var(--font-mono); }
.cart-remove:hover { color: var(--danger); }

.cart-foot { border-top: 1px solid var(--line); padding: 18px 22px; }
.cart-total { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; font-size: 13px; color: var(--muted); }
.cart-total b { font-size: 22px; color: var(--neon); text-shadow: 0 0 16px rgba(168,255,0,0.35); }
.checkout-btn { width: 100%; padding: 15px; font-family: var(--font-display); font-weight: 700; letter-spacing: 2px; font-size: 12px; color: #041000; background: var(--neon); border: none; border-radius: 8px; cursor: pointer; box-shadow: 0 0 24px rgba(168,255,0,0.3); transition: .2s; }
.checkout-btn:hover { box-shadow: 0 0 40px rgba(168,255,0,0.6); }

/* ============ MODAL ============ */
.modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 20px; opacity: 0; visibility: hidden; transition: .3s; }
.modal.show { opacity: 1; visibility: visible; }
.modal::before { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,0.7); backdrop-filter: blur(5px); }
.modal-card { position: relative; width: min(560px, 100%); max-height: 92vh; overflow-y: auto; background: linear-gradient(170deg, var(--panel-2), var(--bg-2)); border: 1px solid var(--line-strong); border-radius: 16px; padding: 24px; box-shadow: 0 30px 80px rgba(0,0,0,0.7), 0 0 60px rgba(168,255,0,0.08); }
.modal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.modal-head h3 { font-size: 13px; letter-spacing: 2px; color: var(--ink-bright); }

.coin-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px; }
.coin { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 16px 8px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; cursor: pointer; transition: .2s; }
.coin:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.coin.active { border-color: var(--neon); box-shadow: 0 0 0 1px var(--neon), 0 0 22px rgba(168,255,0,0.25); }
.coin .coin-ico { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 14px; object-fit: cover; background: #0a0f06; }
.coin .coin-name { font-family: var(--font-mono); font-size: 12px; color: var(--ink); }
.coin .coin-net { font-size: 9.5px; letter-spacing: 1px; color: var(--muted); text-transform: uppercase; }

.invoice { background: rgba(168,255,0,0.03); border: 1px solid var(--line); border-radius: 12px; padding: 16px; display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.invoice-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 12px; }
.invoice-row span { color: var(--muted); letter-spacing: 1px; }
.invoice-row b { font-size: 12.5px; color: var(--ink-bright); text-align: right; word-break: break-all; }
.invoice-row .addr { font-size: 11px; color: var(--muted); }

.qr-wrap { position: relative; width: 180px; height: 180px; margin: 0 auto 20px; background: #fff; border-radius: 10px; padding: 10px; }
#qr { width: 160px; height: 160px; border-radius: 4px; }
.qr-scan { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--neon-cyan); box-shadow: 0 0 10px var(--neon-cyan); animation: qrscan 2.4s ease-in-out infinite; }
@keyframes qrscan { 0%,100% { top: 10px; } 50% { top: 168px; } }

.invoice-actions { display: flex; gap: 10px; justify-content: center; margin-bottom: 22px; flex-wrap: wrap; }
.btn-ghost { padding: 10px 16px; font-size: 10.5px; letter-spacing: 1px; color: var(--neon); background: var(--panel); border: 1px solid var(--line-strong); border-radius: 8px; cursor: pointer; transition: .2s; }
.btn-ghost:hover { background: rgba(168,255,0,0.08); }

.pay-status { display: flex; gap: 16px; align-items: center; background: var(--panel); border: 1px solid var(--line-strong); border-radius: 12px; padding: 16px; }
.pay-ring { position: relative; width: 52px; height: 52px; flex: none; }
.pay-ring .ring-sweep { position: absolute; inset: 0; border-radius: 50%; border: 2px solid transparent; border-top-color: var(--neon); border-right-color: var(--neon); animation: spin 1.2s linear infinite; }
.pay-ring .ring-core { position: absolute; inset: 10px; border-radius: 50%; display: grid; place-items: center; color: var(--neon); font-size: 18px; }
.pay-state { font-size: 12px; letter-spacing: 1.5px; color: var(--ink-bright); }
.pay-sub { font-size: 10.5px; color: var(--muted); margin-top: 4px; line-height: 1.5; }
.pay-status[data-state="paid"] .pay-ring .ring-sweep { animation-duration: .6s; }
.pay-status[data-state="paid"] .pay-state { color: var(--neon); }
.pay-status[data-state="done"] .pay-ring .ring-sweep { border-color: var(--neon); animation: none; }
.pay-status[data-state="done"] .pay-state { color: var(--ok); }

.timer { text-align: center; margin-top: 16px; font-size: 12px; letter-spacing: 2px; color: var(--muted); }
.timer.warn { color: var(--danger); }

.invoice-foot { display: flex; gap: 12px; margin-top: 22px; justify-content: space-between; }
.btn-danger { padding: 11px 16px; font-size: 10.5px; letter-spacing: 1px; color: var(--danger); background: transparent; border: 1px solid rgba(255,59,92,0.35); border-radius: 8px; cursor: pointer; transition: .2s; }
.btn-danger:hover { background: rgba(255,59,92,0.08); }
.btn-confirm { padding: 11px 18px; font-size: 10.5px; letter-spacing: 1px; color: #041000; background: var(--neon); border: none; border-radius: 8px; cursor: pointer; box-shadow: 0 0 18px rgba(168,255,0,0.3); }

/* done */
.done-wrap { text-align: center; padding: 14px 0 6px; }
.done-check { width: 92px; height: 92px; margin: 0 auto 22px; }
.done-check svg { width: 100%; height: 100%; }
.done-check .dc { stroke: var(--neon); stroke-width: 2; stroke-dasharray: 151; stroke-dashoffset: 151; animation: draw 0.9s ease forwards; }
.done-check .dt { stroke: var(--neon); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 50; stroke-dashoffset: 50; animation: draw 0.5s ease .7s forwards; stroke-fill: none; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.done-title { font-family: var(--font-display); font-size: 20px; letter-spacing: 3px; color: var(--neon); text-shadow: 0 0 22px rgba(168,255,0,0.45); margin-bottom: 10px; }
.done-wrap .muted { margin-bottom: 18px; }
.done-wrap .neon { font-size: 14px; letter-spacing: 1px; margin-bottom: 24px; }
.done-wrap .cta-primary { font-size: 12px; padding: 14px 30px; }
.done-code-block, .done-email-block { display: flex; flex-direction: column; gap: 8px; align-items: center; padding: 16px; margin-bottom: 16px; background: rgba(168,255,0,0.03); border: 1px solid var(--line); border-radius: 12px; }
.done-label { font-size: 10px; letter-spacing: 2px; color: var(--muted); }
.done-wrap .done-code-block .neon { font-size: 20px; letter-spacing: 2px; margin-bottom: 0; }
.done-email { font-size: 15px; letter-spacing: .5px; color: var(--neon-cyan); text-decoration: none; word-break: break-all; }
.done-email:hover { text-decoration: underline; }
#qr { object-fit: contain; background: #fff; }

/* ============ TOASTS ============ */
.toasts { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 100; display: flex; flex-direction: column; gap: 10px; width: min(420px, 92vw); }
.toast { display: flex; align-items: center; gap: 12px; background: var(--panel-2); border: 1px solid var(--line-strong); border-left: 3px solid var(--neon); border-radius: 10px; padding: 13px 16px; box-shadow: 0 12px 34px rgba(0,0,0,0.5); animation: toast-in .35s cubic-bezier(.4,0,.2,1); }
.toast.err { border-left-color: var(--danger); }
.toast .t-ico { font-size: 16px; }
.toast .t-msg { font-size: 13px; color: var(--ink); flex: 1; }
.toast.out { animation: toast-out .3s forwards; }
@keyframes toast-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes toast-out { to { opacity: 0; transform: translateY(16px); } }

/* ============ RESPONSIVE ============ */
@media (max-width: 720px) {
  .main-nav { display: none; }
  .logo-tag { display: none; }
  .net-status { display: none; }
  .hero { padding: 80px 18px 60px; }
  .hero-stats { gap: 26px; margin-top: 46px; }
  .coin-grid { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 54px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
}