/* =====================================================================
   Storefront styles — dark red theme, glass surfaces, glow animations.
   Accent colour comes from the admin setting (--primary / --primary-rgb).
   ===================================================================== */

:root {
  color-scheme: dark;
  --primary: #e50914;
  --primary-rgb: 229, 9, 20;
  --grad: linear-gradient(135deg, #ff1a24 0%, var(--primary) 50%, #b91c1c 100%);
  --grad-btn: linear-gradient(135deg, var(--primary) 0%, #b91c1c 100%);
  --bg: #070305;
  --bg0: #0e0709;
  --bg1: #160c0f;
  --bg2: #1c0f13;
  --card: rgba(16, 9, 12, 0.86);
  --card-strong: rgba(20, 11, 15, 0.94);
  --border: rgba(255, 255, 255, 0.07);
  --border-2: rgba(255, 255, 255, 0.12);
  --border-r: rgba(var(--primary-rgb), 0.28);
  --text: #fff;
  --muted: rgba(255, 255, 255, 0.58);
  --dim: rgba(255, 255, 255, 0.36);
  --green: #22c55e;
  --amber: #f59e0b;
  --red: #ef4444;
  --purple: #8b5cf6;
  --blue: #3b82f6;
  --gold: #fbbf24;
  --discord: #5865f2;
  --ease: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --r-xs: 8px;
  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 28px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --announce-h: 0px;
  --header-h: 66px;
  --container: 1200px;
}

body.has-announce { --announce-h: 36px; }
html.announce-closed body.has-announce { --announce-h: 0px; }
html.announce-closed .announce { display: none; }

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--announce-h) + var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  padding-top: calc(var(--announce-h) + var(--header-h) + 34px);
  font-family: var(--font);
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0; line-height: 1.18; letter-spacing: -0.02em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }
input[type="search"]::-webkit-search-cancel-button, input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; appearance: none; }

::selection { background: rgba(var(--primary-rgb), 0.55); color: #fff; }

:focus-visible {
  outline: 2px solid rgba(var(--primary-rgb), 0.9);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: fixed; left: 12px; top: -60px; z-index: 300;
  padding: 10px 16px; border-radius: 10px; background: var(--primary); color: #fff; font-weight: 700;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

.container { width: min(var(--container), 100% - 40px); margin-inline: auto; }
.container.narrow { width: min(880px, 100% - 40px); }
.muted { color: var(--muted); }
.accent { color: var(--primary); }
.text-green { color: #4ade80; font-weight: 600; }
.ic { flex-shrink: 0; }

/* ------------------------------------------------------------ background */
.bg-layers { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.bg-glow {
  position: absolute; inset: 0;
  background:
    radial-gradient(1100px 620px at 50% -8%, rgba(var(--primary-rgb), 0.42), transparent 62%),
    radial-gradient(900px 700px at 105% 45%, rgba(var(--primary-rgb), 0.12), transparent 60%),
    radial-gradient(900px 700px at -5% 85%, rgba(var(--primary-rgb), 0.12), transparent 60%),
    linear-gradient(180deg, #170609 0%, #0c0406 45%, #070305 100%);
}
.bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 10%, #000 20%, transparent 78%);
  mask-image: radial-gradient(ellipse 90% 70% at 50% 10%, #000 20%, transparent 78%);
}
.bg-particles { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ------------------------------------------------------------ animations */
@keyframes sa-gradient-shift { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@keyframes saGlowFlare {
  0%, 60%, 100% { box-shadow: 0 4px 20px rgba(var(--primary-rgb), 0.35); }
  15% { box-shadow: 0 4px 38px 6px rgba(var(--primary-rgb), 0.85); }
}
@keyframes saEyebrowFlare {
  0%, 65%, 100% { transform: scale(1); box-shadow: 0 0 6px 1.5px rgba(var(--primary-rgb), 0.9); }
  12% { transform: scale(1.7); box-shadow: 0 0 18px 6px rgba(var(--primary-rgb), 1); }
}
@keyframes saShineSweep { 0% { left: -60%; } 35%, 100% { left: 130%; } }
@keyframes sa-promo-jiggle {
  0%, 82%, 100% { transform: rotate(0); } 85% { transform: rotate(-12deg); }
  88% { transform: rotate(10deg); } 91% { transform: rotate(-6deg); } 94% { transform: rotate(0); }
}
@keyframes sa-nav-pulse-glow {
  0% { box-shadow: 0 14px 40px rgba(0, 0, 0, 0.68), 0 0 24px rgba(var(--primary-rgb), 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.18); }
  100% { box-shadow: 0 18px 48px rgba(0, 0, 0, 0.78), 0 0 36px rgba(var(--primary-rgb), 0.52), inset 0 1px 0 rgba(255, 255, 255, 0.28); }
}
@keyframes sa-orb-drift { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(25px, 20px) scale(1.06); } }
@keyframes sa-orb-drift-b { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-25px, -18px) scale(1.04); } }
@keyframes sa-dot-pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.35); opacity: 0.65; } }
@keyframes sa-drop-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }
@keyframes sa-marquee-scroll { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-100%, 0, 0); } }
@keyframes sa-cat-orb-drift { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(30px, 20px) scale(1.06); } }
@keyframes sa-bento-sheen { from { transform: translateX(-150%) skewX(-18deg); } to { transform: translateX(250%) skewX(-18deg); } }
@keyframes sa-price-shimmer { from { background-position: 100% 50%; } to { background-position: 0% 50%; } }
@keyframes sa-pulse-green { 0%, 100% { box-shadow: 0 0 4px rgba(34, 197, 94, 0.6); } 50% { box-shadow: 0 0 10px #22c55e; } }
@keyframes saCardRise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes sa-view-enter { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes sn-pulse { from { transform: scale(1); opacity: 0.6; } to { transform: scale(2.2); opacity: 0; } }
@keyframes sn-bar { from { transform: scaleX(1); } to { transform: scaleX(0); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes cart-bump { 0% { transform: scale(1); } 30% { transform: scale(1.35); } 60% { transform: scale(0.92); } 100% { transform: scale(1); } }
@keyframes skeleton { from { background-position: 200% 0; } to { background-position: -200% 0; } }
@keyframes toast-in { from { opacity: 0; transform: translateY(14px) scale(0.98); } to { opacity: 1; transform: none; } }

.page { animation: sa-view-enter 0.45s var(--ease) both; }
body.page-leave .page, body.page-leave .site-footer { opacity: 0; transform: translateY(6px); transition: opacity 0.2s ease, transform 0.2s ease; }

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.75s var(--ease) calc(var(--i, 0) * 70ms), transform 0.75s var(--ease) calc(var(--i, 0) * 70ms);
}
.reveal.in { opacity: 1; transform: none; }
html.no-js .reveal { opacity: 1; transform: none; }

.hero-in { animation: saCardRise 0.85s var(--ease) both; animation-delay: calc(var(--d, 0) * 90ms + 80ms); }

/* ------------------------------------------------------------ announcement */
.announce {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  height: 36px; display: flex; align-items: center; justify-content: center;
  padding: 0 48px;
  background: linear-gradient(90deg, #1a0508, #2a070b 50%, #1a0508);
  border-bottom: 1px solid rgba(var(--primary-rgb), 0.28);
  font-size: 0.78rem; font-weight: 600; color: #fff;
}
.announce-inner { display: flex; align-items: center; gap: 10px; min-width: 0; }
.announce-gift { color: #fff; animation: sa-promo-jiggle 3.2s ease-in-out infinite; transform-origin: 50% 70%; }
.announce-long, .announce-short { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.announce-short { display: none; }
.announce-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12.8px; border-radius: 999px; border: 0;
  background: #fff; color: #970000; font-weight: 800; font-size: 0.74rem;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.25), 0 4px 18px rgba(var(--primary-rgb), 0.45);
  transition: transform 0.15s, filter 0.15s;
}
.announce-btn:hover { transform: translateY(-1px) scale(1.03); filter: brightness(1.05); }
.announce-btn-dot { width: 7px; height: 7px; border-radius: 50%; border: 2px solid #c1121b; }
.announce-close {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  width: 24px; height: 24px; display: grid; place-items: center;
  border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.25); background: rgba(255, 255, 255, 0.08);
  transition: background 0.2s;
}
.announce-close:hover { background: rgba(255, 255, 255, 0.18); }

/* ------------------------------------------------------------ header */
.site-header {
  position: fixed; left: 0; right: 0; top: var(--announce-h); z-index: 50;
  padding: 0;
  transition: padding 0.4s var(--ease);
}
.nav-shell {
  width: 100%; margin-inline: auto;
  height: var(--header-h);
  display: flex; align-items: center; gap: 18px;
  padding: 0 max(20px, calc((100% - var(--container)) / 2));
  background: rgba(10, 4, 7, 0.55);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  transition: width 0.45s var(--ease), border-radius 0.45s var(--ease), background 0.35s, border-color 0.35s, padding 0.45s var(--ease), box-shadow 0.35s;
}
.site-header.scrolled { padding-top: 12px; }
.site-header.scrolled .nav-shell {
  width: min(var(--container), 100% - 28px);
  padding: 0 18px 0 20px;
  border-radius: 18px;
  background: rgba(16, 7, 10, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.09);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  animation: sa-nav-pulse-glow 3.2s ease-in-out infinite alternate;
}

.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 0.98rem; letter-spacing: -0.01em; flex-shrink: 0; }
.brand-mark {
  width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center;
  font-size: 0.72rem; font-weight: 900; letter-spacing: 0;
  background: var(--grad); box-shadow: 0 0 18px rgba(var(--primary-rgb), 0.55);
}
.brand-logo { width: 30px; height: 30px; object-fit: contain; filter: drop-shadow(0 0 10px rgba(var(--primary-rgb), 0.5)); }

.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 6px; }
.main-nav a {
  position: relative; display: block; padding: 8px 12px;
  font-size: 0.83rem; font-weight: 600; color: rgba(255, 255, 255, 0.74);
  border-radius: 10px; transition: color 0.2s, background 0.2s;
}
.main-nav a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 0; height: 2px; border-radius: 2px;
  background: var(--primary); box-shadow: 0 0 10px rgba(var(--primary-rgb), 0.8);
  transform: scaleX(0); transition: transform 0.3s var(--ease);
}
.main-nav a:hover { color: #fff; background: rgba(255, 255, 255, 0.04); }
.main-nav a.active { color: #fff; }
.main-nav a.active::after, .main-nav a:hover::after { transform: scaleX(1); }

.nav-actions { display: flex; align-items: center; gap: 8px; margin-left: 10px; }
.icon-btn, .pill-btn {
  position: relative; height: 38px; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.09); background: rgba(255, 255, 255, 0.04);
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.icon-btn { width: 38px; }
.pill-btn { padding: 0 11px; font-size: 0.74rem; font-weight: 700; }
.icon-btn:hover, .pill-btn:hover { background: rgba(255, 255, 255, 0.09); border-color: rgba(255, 255, 255, 0.18); }
.icon-btn:active { transform: scale(0.94); }
.cart-count {
  position: absolute; top: -6px; right: -6px; min-width: 18px; height: 18px; padding: 0 5px;
  display: grid; place-items: center; border-radius: 999px;
  background: var(--primary); color: #fff; font-size: 0.66rem; font-weight: 800;
  box-shadow: 0 0 0 2px var(--bg), 0 0 12px rgba(var(--primary-rgb), 0.8);
}
.cart-count.bump { animation: cart-bump 0.5s var(--ease-out); }
.burger { display: none; }

/* dropdown */
.dropdown { position: relative; }
.dropdown-menu {
  position: absolute; top: calc(100% + 8px); right: 0; z-index: 70; min-width: 160px;
  padding: 6px; border-radius: 12px; background: #140a0d; border: 1px solid var(--border-2);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
  visibility: hidden; opacity: 0; transform: translateY(-6px); pointer-events: none;
  transition: opacity 0.18s, transform 0.18s var(--ease), visibility 0.18s;
}
.dropdown.open .dropdown-menu { visibility: visible; opacity: 1; transform: none; pointer-events: auto; }
.dropdown-menu button {
  width: 100%; display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 0; border-radius: 8px;
  background: none; text-align: left; font-size: 0.82rem; font-weight: 600; color: rgba(255, 255, 255, 0.85);
}
.dropdown-menu button span { min-width: 22px; color: var(--muted); }
.dropdown-menu button:hover, .dropdown-menu button.active { background: rgba(var(--primary-rgb), 0.14); color: #fff; }
.toolbar .dropdown-menu { left: 0; right: auto; }

/* drawer */
.drawer-backdrop {
  position: fixed; inset: 0; z-index: 80; background: rgba(0, 0, 0, 0.6);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  opacity: 0; transition: opacity 0.3s;
}
.drawer-backdrop.show { opacity: 1; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 90; width: min(330px, 86vw);
  padding: 18px; background: #0f070a; border-left: 1px solid var(--border-2);
  transform: translateX(105%); transition: transform 0.4s var(--ease-out);
  display: flex; flex-direction: column; gap: 18px; overflow-y: auto;
}
.drawer.open { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; }
.drawer-links li { opacity: 0; transform: translateX(16px); transition: opacity 0.35s, transform 0.35s var(--ease-out); }
.drawer.open .drawer-links li { opacity: 1; transform: none; }
.drawer.open .drawer-links li:nth-child(2) { transition-delay: 0.04s; }
.drawer.open .drawer-links li:nth-child(3) { transition-delay: 0.08s; }
.drawer.open .drawer-links li:nth-child(4) { transition-delay: 0.12s; }
.drawer.open .drawer-links li:nth-child(5) { transition-delay: 0.16s; }
.drawer.open .drawer-links li:nth-child(n+6) { transition-delay: 0.2s; }
.drawer-links a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 6px; font-size: 1rem; font-weight: 700; border-bottom: 1px solid var(--border);
  transition: color 0.2s, padding 0.2s;
}
.drawer-links a:hover, .drawer-links a.active { color: var(--primary); padding-left: 10px; }

/* ------------------------------------------------------------ buttons */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: var(--r-sm); border: 1px solid transparent;
  font-size: 0.875rem; font-weight: 700; line-height: 1.2; white-space: nowrap;
  transition: transform 0.22s var(--ease), box-shadow 0.22s, background 0.22s, border-color 0.22s, filter 0.22s, opacity 0.2s;
}
.btn:active { transform: scale(0.97); }
.btn::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; z-index: -1;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transform: skewX(-18deg); pointer-events: none; opacity: 0;
}
.btn:hover::after { opacity: 1; animation: saShineSweep 1.1s ease forwards; }
.btn-primary {
  color: #fff; background: var(--grad-btn);
  box-shadow: 0 4px 20px rgba(var(--primary-rgb), 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(var(--primary-rgb), 0.55); filter: brightness(1.08); }
.btn-flare { animation: saGlowFlare 3.6s ease-in-out infinite; }
.btn-flare::after { opacity: 1; animation: saShineSweep 3.6s ease-in-out infinite; }
.btn-ghost {
  color: rgba(255, 255, 255, 0.88); background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.14); font-weight: 600;
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.24); transform: translateY(-2px); }
.btn-discord { color: #fff; background: linear-gradient(135deg, #6d78ff, var(--discord) 50%, #4752c4); box-shadow: 0 6px 24px rgba(88, 101, 242, 0.45); }
.btn-discord:hover { transform: translateY(-2px); box-shadow: 0 10px 32px rgba(88, 101, 242, 0.6); }
.btn-sm { padding: 8px 14px; font-size: 0.79rem; border-radius: 10px; }
.btn-lg { padding: 13px 28px; font-size: 0.92rem; }
.btn-pill { border-radius: 999px; }
.btn-block { width: 100%; }
.btn:disabled, .btn.is-disabled { opacity: 0.45; pointer-events: none; filter: grayscale(0.4); }
.btn.loading { pointer-events: none; color: transparent !important; }
.btn.loading > * { opacity: 0; }
.btn.loading::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px;
  border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.35); border-top-color: #fff; animation: spin 0.7s linear infinite;
}
.star-gold { color: var(--gold); }

/* ------------------------------------------------------------ eyebrows & sections */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 13px; border-radius: 999px;
  border: 1px solid rgba(var(--primary-rgb), 0.35); background: rgba(var(--primary-rgb), 0.08);
  color: #ff5a5f; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
}
.eyebrow-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 6px 1.5px rgba(var(--primary-rgb), 0.9); }
.eyebrow-flare { color: #fff; font-size: 0.78rem; letter-spacing: 0; text-transform: none; font-weight: 700; padding: 6px 15px; }
.eyebrow-flare .eyebrow-dot { animation: saEyebrowFlare 3.2s ease-in-out infinite; }
.eyebrow-purple { color: #a78bfa; border-color: rgba(139, 92, 246, 0.35); background: rgba(139, 92, 246, 0.1); }
.eyebrow-purple .eyebrow-dot { background: var(--purple); box-shadow: 0 0 6px 1.5px rgba(139, 92, 246, 0.9); }
.eyebrow .ic { color: var(--gold); }

.section { padding: 84px 0; position: relative; }
.section-tight { padding: 56px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 38px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.section-title { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 800; letter-spacing: -0.03em; }
.section-text { color: var(--muted); font-size: 0.95rem; max-width: 560px; }
.sub-title { font-size: 1.15rem; font-weight: 800; margin: 34px 0 14px; }

.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.dot-green { background: var(--green); box-shadow: 0 0 8px rgba(34, 197, 94, 0.8); }
.dot-amber { background: var(--amber); box-shadow: 0 0 8px rgba(245, 158, 11, 0.8); }
.dot-red { background: var(--red); box-shadow: 0 0 8px rgba(239, 68, 68, 0.8); }
.dot.pulse { animation: sa-pulse-green 2s ease-in-out infinite; }

/* ------------------------------------------------------------ hero */
.hero { position: relative; padding: 46px 0 0; text-align: center; }
.hero-inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.hero-orb { position: absolute; border-radius: 50%; filter: blur(70px); pointer-events: none; z-index: 0; }
.hero-orb-a { width: 420px; height: 420px; left: 6%; top: -40px; background: rgba(var(--primary-rgb), 0.22); animation: sa-orb-drift 14s ease-in-out infinite; }
.hero-orb-b { width: 360px; height: 360px; right: 4%; top: 120px; background: rgba(var(--primary-rgb), 0.16); animation: sa-orb-drift-b 16s ease-in-out infinite; }
.hero-title {
  margin-top: 26px; font-size: clamp(2.35rem, 5.6vw, 3.46rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1.12;
  text-shadow: 0 6px 40px rgba(0, 0, 0, 0.45);
}
.gradient-text {
  background: linear-gradient(135deg, #ff1a24 0%, var(--primary) 30%, #b91c1c 55%, #ff3b3b 80%, #ff1a24 100%);
  background-size: 220% 220%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: sa-gradient-shift 8s ease-in-out infinite;
  text-shadow: none;
  filter: drop-shadow(0 4px 24px rgba(var(--primary-rgb), 0.35));
}
.hero-text { max-width: 640px; margin-top: 18px; color: rgba(255, 255, 255, 0.6); font-size: 0.95rem; line-height: 1.75; }
.hero-search {
  width: min(600px, 100%); margin-top: 30px; height: 54px;
  display: flex; align-items: center; gap: 10px; padding: 6px 6px 6px 18px;
  border-radius: 999px; background: rgba(10, 4, 7, 0.72); border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: border-color 0.25s, box-shadow 0.25s;
}
.hero-search:focus-within { border-color: rgba(var(--primary-rgb), 0.55); box-shadow: 0 10px 40px rgba(0, 0, 0, 0.45), 0 0 0 4px rgba(var(--primary-rgb), 0.12); }
.hero-search > .ic { color: var(--muted); }
.hero-search input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; font-size: 0.92rem; }
.hero-search input::placeholder { color: rgba(255, 255, 255, 0.4); }
.hero-search .btn { height: 100%; padding: 0 18px; font-size: 0.82rem; box-shadow: 0 4px 16px rgba(220, 38, 38, 0.48); }
.hero-ctas { display: flex; gap: 14px; margin-top: 26px; flex-wrap: wrap; justify-content: center; }
.hero-ticks { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin-top: 22px; font-size: 0.79rem; color: rgba(255, 255, 255, 0.72); }
.hero-ticks li { display: inline-flex; align-items: center; gap: 6px; }
.hero-ticks li + li::before { content: "·"; color: var(--dim); margin-right: 12px; }
.hero-ticks .ic { color: var(--primary); }

.marquee {
  position: relative; display: flex; overflow: hidden; user-select: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track { display: flex; flex-shrink: 0; gap: 16px; padding-right: 16px; animation: sa-marquee-scroll var(--speed, 42s) linear infinite; }
.marquee.reverse .marquee-track { animation-direction: reverse; }
.marquee[data-pause-hover]:hover .marquee-track { animation-play-state: paused; }
.hero-marquee { margin-top: 54px; padding: 6px 0 4px; }
.brand-pill {
  display: inline-flex; align-items: center; gap: 12px; height: 54px; padding: 0 24px;
  border-radius: 999px; background: rgba(22, 10, 14, 0.82); border: 1px solid rgba(255, 255, 255, 0.09);
  font-size: 0.95rem; font-weight: 800; letter-spacing: 0.02em; white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.brand-pill .ic { color: #ff4d55; }
.brand-pill img { width: 22px; height: 22px; object-fit: contain; }

/* ------------------------------------------------------------ categories */
.cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.cat-card {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: 300px; padding: 26px 29px; border-radius: 20px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
  background: linear-gradient(155deg, rgba(var(--primary-rgb), 0.16) 0%, var(--bg1) 55%, var(--bg0) 100%);
  border: 1px solid var(--border);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6);
}
.cat-card.in { transition: transform 0.35s var(--ease-out), border-color 0.35s, box-shadow 0.35s; }
.cat-card::after {
  content: ""; position: absolute; top: -20%; bottom: -20%; left: 0; width: 35%; z-index: 0; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.06), transparent);
  transform: translateX(-150%) skewX(-18deg);
}
.cat-card:hover { transform: translateY(-6px); border-color: rgba(var(--primary-rgb), 0.45); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(var(--primary-rgb), 0.18); }
.cat-card:hover::after { animation: sa-bento-sheen 1.2s var(--ease) forwards; }
.cat-card > * { position: relative; z-index: 1; }
.cat-orb {
  position: absolute !important; z-index: 0 !important; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%;
  background: rgba(var(--primary-rgb), 0.22); filter: blur(60px); animation: sa-cat-orb-drift 12s ease-in-out infinite;
}
.cat-watermark {
  position: absolute !important; z-index: 0 !important; left: 22px; top: 74px; white-space: nowrap; pointer-events: none;
  font-size: 4.4rem; font-weight: 900; letter-spacing: -0.04em; text-transform: uppercase; color: rgba(255, 255, 255, 0.035);
}
.cat-art { position: absolute !important; z-index: 0 !important; right: 18px; top: 40px; width: 42%; max-height: 70%; object-fit: contain; opacity: 0.22; pointer-events: none; }
.cat-top { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 14px; }
.cat-eyebrow {
  display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px; border-radius: 999px;
  font-size: 0.72rem; font-weight: 700; border: 1px solid; white-space: nowrap;
}
.tone-green { color: #4ade80; background: rgba(34, 197, 94, 0.1); border-color: rgba(34, 197, 94, 0.32); }
.tone-green .dot { background: var(--green); box-shadow: 0 0 8px var(--green); }
.tone-amber { color: #fbbf24; background: rgba(245, 158, 11, 0.1); border-color: rgba(245, 158, 11, 0.32); }
.tone-amber .dot { background: var(--amber); box-shadow: 0 0 8px var(--amber); }
.tone-red { color: #ff6b6b; background: rgba(var(--primary-rgb), 0.12); border-color: rgba(var(--primary-rgb), 0.38); }
.tone-red .dot { background: var(--primary); box-shadow: 0 0 8px var(--primary); }
.tone-purple { color: #c4b5fd; background: rgba(139, 92, 246, 0.12); border-color: rgba(139, 92, 246, 0.35); }
.tone-purple .dot { background: var(--purple); box-shadow: 0 0 8px var(--purple); }
.tone-blue { color: #93c5fd; background: rgba(59, 130, 246, 0.12); border-color: rgba(59, 130, 246, 0.35); }
.tone-blue .dot { background: var(--blue); box-shadow: 0 0 8px var(--blue); }
.cat-tag {
  padding: 5px 11px; border-radius: 8px; font-family: var(--mono); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: rgba(255, 255, 255, 0.75); background: rgba(255, 255, 255, 0.06); border: 1px solid var(--border-2);
}
.cat-title { font-size: 1.55rem; font-weight: 800; letter-spacing: -0.03em; }
.cat-text { color: rgba(255, 255, 255, 0.66); max-width: 440px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 10px; }
.chips li {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 8px;
  font-size: 0.72rem; font-weight: 600; color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--border-2);
}
.chips .ic { color: var(--primary); }
.cat-card .btn { margin-top: auto; }

/* ------------------------------------------------------------ showcase */
.shot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.shot { margin: 0; border-radius: 14px; overflow: hidden; background: rgba(22, 11, 15, 0.9); border: 1px solid var(--border-2); box-shadow: 0 12px 34px rgba(0, 0, 0, 0.5); }
.shot.in { transition: transform 0.35s var(--ease-out), border-color 0.35s, box-shadow 0.35s; }
.shot:hover { transform: translateY(-4px); border-color: rgba(var(--primary-rgb), 0.4); box-shadow: 0 20px 44px rgba(0, 0, 0, 0.6), 0 0 30px rgba(var(--primary-rgb), 0.15); }
.shot-bar { display: flex; gap: 6px; padding: 8px 12px; border-bottom: 1px solid var(--border); background: rgba(255, 255, 255, 0.025); }
.shot-bar i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, 0.22); }
.shot-media { position: relative; display: block; width: 100%; padding: 0; border: 0; background: #000; aspect-ratio: 16 / 10; overflow: hidden; }
.shot-media img, .shot-media video { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.shot:hover .shot-media img, .shot:hover .shot-media video { transform: scale(1.05); }
.play-badge { position: absolute; inset: 0; margin: auto; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: rgba(var(--primary-rgb), 0.85); box-shadow: 0 0 30px rgba(var(--primary-rgb), 0.7); }
.shot figcaption { padding: 10px 14px; font-size: 0.8rem; color: var(--muted); }

/* ------------------------------------------------------------ reviews */
.reviews-marquee, .vouch-marquee { padding: 8px 0 14px; --speed: 70s; }
.review-card, .vouch-card {
  width: 300px; flex-shrink: 0; display: flex; flex-direction: column; gap: 12px;
  padding: 18px; border-radius: var(--r-md); background: rgba(16, 8, 11, 0.86); border: 1px solid var(--border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  transition: border-color 0.3s, transform 0.3s var(--ease);
}
.review-card:hover, .vouch-card:hover { border-color: rgba(var(--primary-rgb), 0.35); transform: translateY(-3px); }
.review-card { min-height: 158px; }
.review-head { display: flex; align-items: center; gap: 10px; }
.review-author { font-weight: 700; font-size: 0.88rem; }
.review-date { margin-left: auto; font-size: 0.72rem; color: var(--dim); white-space: nowrap; }
.review-text { color: rgba(255, 255, 255, 0.78); font-size: 0.86rem; overflow-wrap: anywhere; flex: 1; }
.review-foot { display: flex; align-items: center; justify-content: space-between; }
.avatar { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 1px solid var(--border-2); }
.avatar-letter { display: grid; place-items: center; font-size: 0.8rem; font-weight: 800; background: hsl(var(--h) 45% 30%); color: #fff; }
.stars { display: inline-flex; gap: 2px; color: var(--primary); }
.stars .star-off { color: rgba(255, 255, 255, 0.15); }
.vouch-card .stars { color: var(--gold); }
.verified-badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px;
  font-size: 0.7rem; font-weight: 700; color: #4ade80; background: rgba(34, 197, 94, 0.1); border: 1px solid rgba(34, 197, 94, 0.3);
}
.vouch-card { position: relative; min-height: 120px; }
.vouch-head { display: flex; align-items: center; gap: 10px; }
.vouch-head > div { display: flex; flex-direction: column; gap: 2px; }
.vouch-quote { position: absolute; top: 12px; right: 14px; color: rgba(var(--primary-rgb), 0.35); }
.review-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.review-grid .review-card { width: auto; }
.rating-summary { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px; margin: -16px 0 32px; }
.rating-summary strong { font-size: 1.6rem; }

/* ------------------------------------------------------------ catalog */
.live-note { display: flex; justify-content: center; align-items: center; gap: 8px; margin: -22px 0 26px; font-size: 0.78rem; color: var(--muted); }
.toolbar {
  display: flex; align-items: center; gap: 10px; padding: 6px; margin-bottom: 22px;
  border-radius: 16px; background: rgba(14, 7, 10, 0.86); border: 1px solid var(--border-2);
}
.toolbar-left { display: flex; gap: 6px; padding-right: 6px; border-right: 1px solid var(--border); }
.toolbar-btn {
  display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border-radius: 11px;
  border: 1px solid transparent; background: none; font-size: 0.82rem; font-weight: 700; color: rgba(255, 255, 255, 0.85);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.toolbar-btn:hover { background: rgba(255, 255, 255, 0.05); }
.toolbar-btn[aria-pressed="true"] { color: #4ade80; background: rgba(34, 197, 94, 0.1); border-color: rgba(34, 197, 94, 0.3); }
.toolbar-search { flex: 1; display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 4px 0 12px; color: var(--muted); }
.toolbar-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font-size: 0.88rem; color: #fff; }
.toolbar-go { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--grad-btn); color: #fff; box-shadow: 0 0 16px rgba(var(--primary-rgb), 0.5); }

.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 20px; }
.product-card {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  border-radius: var(--r-md); background: var(--card); border: 1px solid var(--border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}
.product-card.in { transition: transform 0.35s var(--ease-out), border-color 0.35s, box-shadow 0.35s, opacity 0.75s var(--ease); }
.product-card:hover { transform: translateY(-5px); border-color: rgba(var(--primary-rgb), 0.45); box-shadow: 0 22px 48px rgba(0, 0, 0, 0.55), 0 0 32px rgba(var(--primary-rgb), 0.18); }
.card-media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #0b0507; border-bottom: 1px solid var(--border); }
.card-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.product-card:hover .card-img { transform: scale(1.06); }
.img-fallback {
  display: grid; place-items: center; width: 100%; height: 100%;
  background: radial-gradient(circle at 30% 20%, rgba(var(--primary-rgb), 0.45), transparent 60%), linear-gradient(135deg, #2a0a10, #0d0507);
}
.img-fallback span { font-size: 2.4rem; font-weight: 900; letter-spacing: -0.04em; color: rgba(255, 255, 255, 0.9); text-shadow: 0 0 24px rgba(var(--primary-rgb), 0.8); }
.stock-badge {
  position: absolute; left: 10px; top: 10px; display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 999px; font-size: 0.7rem; font-weight: 700;
  background: rgba(0, 0, 0, 0.62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); border: 1px solid rgba(255, 255, 255, 0.1);
}
.stock-in { color: #4ade80; }
.stock-low { color: #fbbf24; }
.stock-out { color: #f87171; }
.card-badge { position: absolute; right: 10px; top: 10px; padding: 4px 10px; border-radius: 999px; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; background: var(--grad-btn); box-shadow: 0 0 14px rgba(var(--primary-rgb), 0.6); }
.card-body { display: flex; flex-direction: column; gap: 14px; flex: 1; padding: 16px; }
.card-title { font-size: 0.98rem; font-weight: 700; letter-spacing: -0.01em; }
.card-title a:hover { color: #ff6b6b; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; }
.card-price { font-size: 1rem; font-weight: 800; display: flex; flex-wrap: wrap; align-items: baseline; min-width: 0; }
.price-sep { color: var(--muted); font-weight: 600; margin: 0 5px; }
.shimmer {
  background: linear-gradient(90deg, #fff 0%, #fff 38%, #ff9a9e 50%, #fff 62%, #fff 100%);
  background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: sa-price-shimmer 4.5s linear infinite;
}
.price-old { color: var(--dim); text-decoration: line-through; font-weight: 600; font-size: 0.85em; margin-left: 8px; }
.filter-empty { text-align: center; color: var(--muted); padding: 30px 0; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.chip-row.center { margin-top: 26px; }
.chip-btn {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--border-2); background: rgba(255, 255, 255, 0.04); font-size: 0.8rem; font-weight: 600; color: rgba(255, 255, 255, 0.85);
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.chip-btn:hover { background: rgba(255, 255, 255, 0.08); transform: translateY(-1px); }
.chip-btn.active { color: #fff; border-color: transparent; background: var(--grad-btn); box-shadow: 0 4px 18px rgba(var(--primary-rgb), 0.45); }

/* ------------------------------------------------------------ deals */
.feature-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: -12px auto 24px; max-width: 760px; }
.feature-pills li {
  display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px; border-radius: 999px; font-size: 0.78rem; font-weight: 600;
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--border-2);
}
.feature-pills .ic { color: var(--primary); }
.deal-search {
  display: flex; align-items: center; gap: 10px; width: min(560px, 100%); height: 46px; margin: 0 auto 16px; padding: 0 18px;
  border-radius: 999px; background: rgba(12, 6, 9, 0.85); border: 1px solid var(--border-2); color: var(--muted);
}
.deal-search:focus-within { border-color: rgba(var(--primary-rgb), 0.5); }
.deal-search input { flex: 1; border: 0; outline: 0; background: none; color: #fff; }
.deal-count { text-align: center; margin: 18px 0 22px; font-size: 0.8rem; color: var(--muted); }
.deal-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.deal-card {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center;
  padding: 22px 18px 18px; border-radius: var(--r-md); background: var(--card); border: 1px solid var(--border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}
.deal-card.in { transition: transform 0.35s var(--ease-out), border-color 0.35s, box-shadow 0.35s, opacity 0.75s var(--ease); }
.deal-card:hover { transform: translateY(-5px); border-color: rgba(var(--primary-rgb), 0.45); box-shadow: 0 22px 48px rgba(0, 0, 0, 0.55), 0 0 32px rgba(var(--primary-rgb), 0.18); }
.deal-off {
  position: absolute; top: 12px; right: 12px; padding: 4px 10px; border-radius: 999px; font-size: 0.66rem; font-weight: 800;
  color: #ff6b6b; background: rgba(var(--primary-rgb), 0.16); border: 1px solid rgba(var(--primary-rgb), 0.45);
}
.deal-media { width: 112px; height: 112px; margin: 6px 0 4px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.06), 0 0 30px rgba(var(--primary-rgb), 0.25); }
.deal-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.deal-card:hover .deal-img { transform: scale(1.08) rotate(-2deg); }
.deal-media .img-fallback span { font-size: 1.6rem; }
.deal-type { font-size: 0.66rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: #ff5a5f; }
.deal-name { font-size: 1rem; font-weight: 700; }
.deal-prices { display: flex; align-items: baseline; gap: 4px; font-size: 1.25rem; font-weight: 800; margin-bottom: 6px; }
.deal-card .btn { margin-top: auto; }

/* ------------------------------------------------------------ socials + hub */
.social-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; max-width: 880px; margin: 0 auto; }
.social-card {
  display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: var(--r-md);
  background: var(--card); border: 1px solid var(--border);
}
.social-card.in { transition: transform 0.3s var(--ease-out), border-color 0.3s, box-shadow 0.3s, opacity 0.75s var(--ease); }
.social-card:hover { transform: translateY(-4px); border-color: rgba(var(--primary-rgb), 0.4); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5); }
.social-icon { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; flex-shrink: 0; overflow: hidden; }
.social-icon img { width: 100%; height: 100%; object-fit: cover; }
.discord .social-icon { background: rgba(88, 101, 242, 0.18); color: #8b95ff; border: 1px solid rgba(88, 101, 242, 0.4); }
.telegram .social-icon { background: rgba(34, 158, 217, 0.16); color: #4fc3f7; border: 1px solid rgba(34, 158, 217, 0.4); }
.social-meta { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.social-meta strong { font-size: 0.98rem; }
.social-meta .muted { display: inline-flex; align-items: center; gap: 6px; font-size: 0.8rem; }
.social-meta b { color: #fff; }
.join-btn { padding: 8px 16px; border-radius: 10px; font-size: 0.74rem; font-weight: 800; letter-spacing: 0.06em; background: rgba(255, 255, 255, 0.07); border: 1px solid var(--border-2); transition: background 0.2s; }
.social-card:hover .join-btn { background: var(--grad-btn); border-color: transparent; }

.hub {
  display: grid; grid-template-columns: 1.25fr 1fr; gap: 34px; align-items: center; padding: 40px; border-radius: 24px;
  background: radial-gradient(600px 300px at 0% 0%, rgba(88, 101, 242, 0.16), transparent 70%), linear-gradient(135deg, rgba(24, 12, 20, 0.95), rgba(12, 6, 9, 0.95));
  border: 1px solid var(--border-2); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}
.hub-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.hub-copy h2 { font-size: clamp(1.6rem, 3vw, 2rem); font-weight: 800; letter-spacing: -0.03em; }
.hub-copy p { color: var(--muted); max-width: 460px; }
.hub-chips li { background: rgba(var(--primary-rgb), 0.08); border-color: rgba(var(--primary-rgb), 0.25); }
.hub-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.hub-card { padding: 22px; border-radius: 18px; background: rgba(8, 4, 7, 0.88); border: 1px solid var(--border-2); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04); }
.hub-guild { display: flex; align-items: center; gap: 14px; }
.hub-guild strong { display: block; font-size: 1.02rem; }
.guild-icon { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; overflow: hidden; font-weight: 900; background: linear-gradient(135deg, #ec4899, #8b5cf6); box-shadow: 0 0 24px rgba(139, 92, 246, 0.45); }
.guild-icon img { width: 100%; height: 100%; object-fit: cover; }
.guild-tag { font-size: 0.66rem; font-weight: 800; letter-spacing: 0.12em; color: #a78bfa; }
.hub-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 18px 0 14px; padding: 14px; border-radius: 14px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--border); }
.hub-stats > div { display: flex; flex-direction: column; }
.hub-num { display: inline-flex; align-items: center; gap: 8px; font-size: 1.45rem; font-weight: 800; }
.hub-stats .muted { font-size: 0.74rem; }
.hub-verified { display: flex; align-items: center; gap: 7px; font-size: 0.76rem; color: #4ade80; }

/* ------------------------------------------------------------ faq */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { border-radius: 14px; background: var(--card); border: 1px solid var(--border); overflow: hidden; }
.faq-item.in { transition: border-color 0.3s, box-shadow 0.3s, opacity 0.75s var(--ease), transform 0.75s var(--ease); }
.faq-item:hover, .faq-item[open] { border-color: rgba(var(--primary-rgb), 0.35); }
.faq-item[open] { box-shadow: 0 0 30px rgba(var(--primary-rgb), 0.1); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 20px;
  font-size: 0.92rem; font-weight: 700; cursor: pointer; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .ic { color: var(--muted); transition: transform 0.3s var(--ease), color 0.3s; }
.faq-item[open] summary .ic { transform: rotate(180deg); color: var(--primary); }
.faq-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.35s var(--ease); }
.faq-item.expanded .faq-body { grid-template-rows: 1fr; }
html.no-js .faq-item[open] .faq-body { grid-template-rows: 1fr; }
.faq-inner { overflow: hidden; padding: 0 20px; color: rgba(255, 255, 255, 0.7); }
.faq-inner > :first-child { margin-top: 0; }
.faq-inner > :last-child { padding-bottom: 18px; margin-bottom: 0; }

/* ------------------------------------------------------------ footer */
.site-footer { position: relative; margin-top: 40px; padding: 56px 0 26px; border-top: 1px solid rgba(255, 255, 255, 0.06); background: linear-gradient(180deg, rgba(10, 4, 6, 0), rgba(10, 4, 6, 0.8)); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; }
.footer-brand p { max-width: 320px; margin: 14px 0 16px; color: var(--muted); }
.footer-socials { display: flex; gap: 10px; }
.social-btn { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--border-2); transition: background 0.2s, transform 0.2s; }
.social-btn:hover { background: var(--grad-btn); transform: translateY(-2px); }
.footer-col h3 { font-size: 0.7rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--dim); margin-bottom: 14px; }
.footer-col li + li { margin-top: 10px; }
.footer-col a { color: rgba(255, 255, 255, 0.78); transition: color 0.2s; }
.footer-col a:hover { color: #ff6b6b; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--border); font-size: 0.8rem; color: var(--muted); }
.back-top { display: inline-flex; align-items: center; gap: 6px; color: rgba(255, 255, 255, 0.8); transition: color 0.2s; }
.back-top:hover { color: var(--primary); }

/* ------------------------------------------------------------ toasts */
.sale-toast {
  position: fixed; left: 18px; bottom: 18px; z-index: 65; width: min(340px, calc(100vw - 36px));
  display: grid; grid-template-columns: 46px 1fr auto; align-items: center; gap: 12px; padding: 12px 14px 14px;
  border-radius: 14px; background: rgba(14, 7, 10, 0.96); border: 1px solid rgba(var(--primary-rgb), 0.35); border-top: 2px solid var(--primary);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.6), 0 0 26px rgba(var(--primary-rgb), 0.2); overflow: hidden;
  opacity: 0; transform: translateY(20px); transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}
.sale-toast.show { opacity: 1; transform: none; }
.sale-toast img, .sale-toast .toast-thumb { width: 46px; height: 46px; border-radius: 10px; object-fit: cover; background: #200a0f; display: grid; place-items: center; color: var(--primary); }
.toast-who { display: flex; align-items: center; gap: 6px; white-space: nowrap; overflow: hidden; font-size: 0.64rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: #ff5a5f; }
.toast-who .live { position: relative; width: 6px; height: 6px; border-radius: 50%; background: var(--primary); }
.toast-who .live::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--primary); animation: sn-pulse 1.6s ease-out infinite; }
.toast-product { font-weight: 700; font-size: 0.86rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.toast-time { font-size: 0.72rem; color: var(--muted); }
.toast-cta { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; color: var(--primary); border: 1px solid rgba(var(--primary-rgb), 0.45); background: rgba(var(--primary-rgb), 0.08); transition: background 0.2s, color 0.2s; }
.toast-cta:hover { background: var(--primary); color: #fff; }
.sale-toast .bar { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--primary); transform-origin: left; }
.sale-toast.show .bar { animation: sn-bar 6s linear forwards; }
.sale-toast > div { min-width: 0; }

.toast-stack { position: fixed; right: 18px; top: calc(var(--announce-h) + var(--header-h) + 18px); z-index: 120; display: flex; flex-direction: column; gap: 10px; pointer-events: none; }
.toast {
  pointer-events: auto; display: flex; align-items: center; gap: 10px; max-width: 360px; padding: 12px 16px; border-radius: 12px;
  background: rgba(18, 9, 12, 0.97); border: 1px solid var(--border-2); border-left: 3px solid var(--green);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.55); font-size: 0.85rem; font-weight: 600; animation: toast-in 0.35s var(--ease);
}
.toast.error { border-left-color: var(--red); }
.toast .ic { color: var(--green); }
.toast.error .ic { color: var(--red); }
.toast a { color: #ff6b6b; text-decoration: underline; }
.toast.hide { opacity: 0; transform: translateY(-6px); transition: opacity 0.25s, transform 0.25s; }

/* ------------------------------------------------------------ modals */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.68); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transition: opacity 0.25s; }
.modal-dialog {
  position: relative; width: min(460px, 100%); max-height: calc(100vh - 40px); overflow-y: auto; padding: 28px;
  border-radius: 20px; background: #120a0d; border: 1px solid var(--border-2); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7), 0 0 40px rgba(var(--primary-rgb), 0.12);
  opacity: 0; transform: translateY(14px) scale(0.96); transition: opacity 0.28s var(--ease-out), transform 0.28s var(--ease-out);
  overflow-x: hidden; scrollbar-width: thin; scrollbar-color: rgba(var(--primary-rgb), 0.55) transparent;
}
.modal.open .modal-backdrop { opacity: 1; }
.modal.open .modal-dialog { opacity: 1; transform: none; }
.modal-close { position: absolute; top: 14px; right: 14px; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--border-2); background: rgba(255, 255, 255, 0.05); z-index: 2; transition: background 0.2s, transform 0.2s; }
.modal-close:hover { background: rgba(255, 255, 255, 0.12); transform: rotate(90deg); }
.modal h2 { font-size: 1.4rem; margin: 12px 0 6px; }

.search-dialog { align-self: start; margin-top: 10vh; width: min(640px, 100%); padding: 10px; }
.search-field { display: flex; align-items: center; gap: 12px; height: 54px; padding: 0 14px; border-radius: 14px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--border-2); color: var(--muted); }
.search-field input { flex: 1; border: 0; outline: 0; background: none; font-size: 1rem; color: #fff; }
.search-field kbd { padding: 3px 7px; border-radius: 6px; border: 1px solid var(--border-2); font-family: var(--mono); font-size: 0.66rem; color: var(--dim); }
.search-results { display: flex; flex-direction: column; gap: 4px; padding: 6px 2px 2px; }
.search-results:empty { display: none; }
.search-hit { display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 12px; transition: background 0.15s; }
.search-hit:hover, .search-hit.active { background: rgba(var(--primary-rgb), 0.12); }
.search-hit img, .search-hit .thumb-fallback { width: 48px; height: 34px; border-radius: 8px; object-fit: cover; background: #200a0f; }
.search-hit small { display: block; color: var(--muted); font-size: 0.74rem; }
.search-hit strong { font-size: 0.88rem; }
.search-empty { padding: 18px; text-align: center; color: var(--muted); }

.wheel-dialog { text-align: center; }
/* Short screens: shrink the wheel popup so it fits without scrolling. */
@media (max-height: 860px) {
  .modal-dialog.wheel-dialog { padding: 18px 20px; }
  .wheel-dialog h2 { font-size: 1.2rem; margin: 8px 0 2px; }
  .wheel-dialog > p.muted { font-size: 0.82rem; }
  .wheel-dialog .wheel-wrap { width: min(280px, calc(100% - 16px), 34vh); margin: 20px auto 10px; }
  .wheel-dialog .wheel-result { margin-top: 8px; padding: 10px; }
  .wheel-dialog .wheel-result strong { font-size: 1.05rem; }
  .wheel-dialog .wheel-result p { font-size: 0.78rem; margin-bottom: 6px; }
  .wheel-dialog .code-box { margin: 6px 0 2px; }
  .wheel-dialog .wheel-hub { width: 27%; height: auto; aspect-ratio: 1; padding: 0; border-width: 3px; font-size: 0.74rem; letter-spacing: 0.04em; }
}
.wheel-wrap { position: relative; width: min(280px, calc(100% - 16px)); aspect-ratio: 1; margin: 20px auto 14px; }
.wheel { width: 100%; height: 100%; border-radius: 50%; box-shadow: 0 0 0 6px #1c0b10, 0 0 0 8px rgba(var(--primary-rgb), 0.6), 0 0 50px rgba(var(--primary-rgb), 0.45); transition: transform 5.2s cubic-bezier(0.12, 0.8, 0.12, 1); }
.wheel text { fill: #fff; font-family: var(--font); font-weight: 800; font-size: 13px; }
.wheel-pointer { position: absolute; top: -14px; left: 50%; z-index: 2; width: 0; height: 0; margin-left: -13px; border-left: 13px solid transparent; border-right: 13px solid transparent; border-top: 26px solid #fff; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.6)); }
.wheel-hub { position: absolute; inset: 0; margin: auto; width: 76px; height: 76px; border-radius: 50%; border: 4px solid #fff; background: var(--grad-btn); color: #fff; font-weight: 900; letter-spacing: 0.08em; box-shadow: 0 0 30px rgba(var(--primary-rgb), 0.8); transition: transform 0.2s; }
.wheel-hub:hover { transform: scale(1.06); }
.wheel-hub:disabled { cursor: default; transform: none; }
.wheel-result { margin-top: 14px; padding: 16px; border-radius: 14px; background: rgba(var(--primary-rgb), 0.08); border: 1px dashed rgba(var(--primary-rgb), 0.5); animation: toast-in 0.4s var(--ease); }
.wheel-result strong { display: block; font-size: 1.2rem; }
.code-box { display: inline-flex; align-items: center; gap: 10px; margin: 10px 0 4px; padding: 8px 8px 8px 14px; border-radius: 10px; background: #000; border: 1px solid var(--border-2); font-family: var(--mono); font-weight: 800; letter-spacing: 0.08em; }

.lightbox { position: fixed; inset: 0; z-index: 110; display: grid; place-items: center; padding: 40px; background: rgba(0, 0, 0, 0.9); animation: sa-view-enter 0.25s ease; }
.lightbox-body img, .lightbox-body video { max-width: min(1100px, 92vw); max-height: 84vh; border-radius: 14px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8); }

.checkout-overlay { position: fixed; inset: 0; z-index: 130; display: grid; place-items: center; background: rgba(5, 2, 3, 0.82); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); animation: sa-view-enter 0.25s ease; }
.checkout-overlay-card { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 30px 36px; border-radius: 20px; background: #120a0d; border: 1px solid var(--border-2); text-align: center; }
.checkout-overlay-card .muted { display: inline-flex; align-items: center; gap: 6px; font-size: 0.82rem; }
.spinner { width: 40px; height: 40px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, 0.15); border-top-color: var(--primary); animation: spin 0.8s linear infinite; }

/* ------------------------------------------------------------ forms */
.field { display: flex; flex-direction: column; gap: 6px; }
.field > span { font-size: 0.78rem; font-weight: 600; color: rgba(255, 255, 255, 0.72); }
.field input, .field textarea, .field select {
  width: 100%; min-height: 44px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--border-2);
  background: rgba(255, 255, 255, 0.04); color: #fff; outline: 0; transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus { border-color: rgba(var(--primary-rgb), 0.65); box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.12); background: rgba(255, 255, 255, 0.06); }
.field input::placeholder { color: rgba(255, 255, 255, 0.32); }
.form-error { padding: 10px 12px; border-radius: 10px; font-size: 0.82rem; color: #fca5a5; background: rgba(239, 68, 68, 0.1); border: 1px solid rgba(239, 68, 68, 0.3); }

/* ------------------------------------------------------------ product page */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 6px 0 24px; font-size: 0.78rem; color: var(--muted); }
.crumbs a:hover { color: #fff; }
.crumbs span { color: #fff; font-weight: 600; }
.page-hero { margin-bottom: -40px; }
.product-page { padding-bottom: 30px; }
.product-layout { display: grid; grid-template-columns: 1.05fr 1fr; gap: 42px; align-items: start; }
.product-visual { border-radius: 18px; overflow: hidden; border: 2px solid rgba(var(--primary-rgb), 0.75); box-shadow: 0 0 44px rgba(var(--primary-rgb), 0.35), 0 20px 50px rgba(0, 0, 0, 0.5); background: #0b0507; aspect-ratio: 16 / 10; }
.product-img { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.25s; }
.thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding-bottom: 4px; }
.thumb { width: 78px; height: 52px; flex-shrink: 0; padding: 0; border-radius: 10px; overflow: hidden; border: 2px solid var(--border-2); background: none; opacity: 0.65; transition: opacity 0.2s, border-color 0.2s; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb.active, .thumb:hover { opacity: 1; border-color: var(--primary); }
.product-desc { margin-top: 22px; padding: 24px; border-radius: 18px; background: var(--card); border: 1px solid var(--border); color: rgba(255, 255, 255, 0.82); }
.product-desc p + p, .product-desc ul, .product-desc ol, .product-desc h2, .product-desc h3 { margin-top: 12px; }
.product-desc ul { list-style: disc; padding-left: 20px; }
.product-desc ol { list-style: decimal; padding-left: 20px; }
.product-desc a { color: #ff6b6b; text-decoration: underline; }
.product-desc img { border-radius: 10px; margin: 10px 0; }
.product-right { position: sticky; top: calc(var(--announce-h) + var(--header-h) + 30px); }
.buy-box { display: flex; flex-direction: column; gap: 18px; }
.product-title { font-size: clamp(1.6rem, 3vw, 2.05rem); font-weight: 800; letter-spacing: -0.03em; }
.product-price-row { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.product-price { font-size: 1.85rem; font-weight: 800; letter-spacing: -0.02em; }
.product-price-row .price-old { font-size: 1.05rem; margin-left: 0; }
.stock-pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; font-size: 0.78rem; font-weight: 700; border: 1px solid; }
.stock-pill.stock-in { color: #4ade80; background: rgba(34, 197, 94, 0.1); border-color: rgba(34, 197, 94, 0.35); }
.stock-pill.stock-low { color: #fbbf24; background: rgba(245, 158, 11, 0.1); border-color: rgba(245, 158, 11, 0.35); }
.stock-pill.stock-out { color: #f87171; background: rgba(239, 68, 68, 0.1); border-color: rgba(239, 68, 68, 0.35); }
.product-short { color: var(--muted); }
.variant-picker { border: 0; margin: 0; padding: 0; }
.variant-picker legend, .qty-label { font-size: 0.8rem; color: var(--muted); margin-bottom: 8px; padding: 0; }
.variant-pills { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 8px; }
.variant-pill { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--border-2); background: rgba(255, 255, 255, 0.03); cursor: pointer; transition: border-color 0.2s, background 0.2s, box-shadow 0.2s, transform 0.2s; }
.variant-pill input { position: absolute; opacity: 0; pointer-events: none; }
.variant-pill span { font-weight: 700; font-size: 0.84rem; }
.variant-pill small { color: var(--muted); font-weight: 600; }
.variant-pill:hover { border-color: rgba(var(--primary-rgb), 0.45); transform: translateY(-1px); }
.variant-pill:has(input:checked) { border-color: var(--primary); background: rgba(var(--primary-rgb), 0.12); box-shadow: 0 0 22px rgba(var(--primary-rgb), 0.25); }
.variant-pill:has(input:focus-visible) { outline: 2px solid var(--primary); outline-offset: 2px; }
.variant-pill.is-out { opacity: 0.45; cursor: not-allowed; }
.qty-row { display: flex; flex-direction: column; }
.qty { display: inline-flex; align-items: center; width: fit-content; border-radius: 12px; border: 1px solid var(--border-2); background: rgba(255, 255, 255, 0.03); overflow: hidden; }
.qty button { width: 42px; height: 42px; display: grid; place-items: center; border: 0; background: none; color: rgba(255, 255, 255, 0.8); transition: background 0.2s, color 0.2s; }
.qty button:hover { background: rgba(var(--primary-rgb), 0.15); color: #fff; }
.qty input { width: 58px; height: 42px; border: 0; border-inline: 1px solid var(--border); background: none; text-align: center; font-weight: 700; outline: 0; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty.sm button { width: 32px; height: 32px; }
.qty.sm input { width: 44px; height: 32px; font-size: 0.85rem; }
.buy-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.buy-actions .btn-ghost { background: rgba(14, 7, 10, 0.9); }
.trust-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; }
.trust-row li { display: flex; align-items: center; justify-content: center; gap: 7px; padding: 10px; border-radius: 10px; font-size: 0.76rem; font-weight: 600; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--border); }
.trust-row .ic { color: var(--primary); }
.pay-row { display: flex; flex-wrap: wrap; gap: 8px; }
.pay-row.center { justify-content: center; margin-top: 14px; }
.pay-row li { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 8px; font-size: 0.72rem; font-weight: 600; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--border); color: rgba(255, 255, 255, 0.8); }
.pay-row .pay-secure { background: none; border: 0; color: var(--muted); padding-left: 0; }
.pay-row .pay-secure .ic { color: var(--primary); }

/* ------------------------------------------------------------ cart */
.cart-page { padding-bottom: 40px; }
.cart-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
.cart-head h1 { font-size: clamp(1.7rem, 3.4vw, 2.25rem); font-weight: 800; letter-spacing: -0.03em; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.count-pill { padding: 3px 10px; border-radius: 999px; font-size: 0.72rem; font-weight: 800; background: rgba(var(--primary-rgb), 0.15); border: 1px solid rgba(var(--primary-rgb), 0.4); color: #ff6b6b; letter-spacing: 0; }
.cart-layout { display: grid; grid-template-columns: 1fr 370px; gap: 26px; align-items: start; }
.cart-items { display: flex; flex-direction: column; gap: 14px; }
.cart-item {
  display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; padding: 16px; border-radius: var(--r-md);
  background: var(--card); border: 1px solid var(--border); animation: saCardRise 0.45s var(--ease) both;
  transition: opacity 0.3s, transform 0.3s, border-color 0.3s;
}
.cart-item:hover { border-color: rgba(var(--primary-rgb), 0.3); }
.cart-item.removing { opacity: 0; transform: translateX(20px); }
.cart-item.unavailable { opacity: 0.55; }
.cart-thumb { width: 76px; height: 76px; border-radius: 12px; overflow: hidden; background: #0b0507; border: 1px solid var(--border); }
.cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-thumb .img-fallback span { font-size: 1.2rem; }
.cart-info { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.cart-info a { font-weight: 700; }
.cart-info a:hover { color: #ff6b6b; }
.variant-chip { width: fit-content; padding: 2px 9px; border-radius: 7px; font-size: 0.72rem; font-weight: 600; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--border-2); }
.cart-side { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; gap: 10px; }
.cart-line { font-weight: 800; font-size: 1rem; }
.remove-btn { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 9px; border: 1px solid var(--border-2); background: rgba(255, 255, 255, 0.04); color: var(--muted); transition: color 0.2s, background 0.2s, border-color 0.2s; }
.remove-btn:hover { color: #f87171; border-color: rgba(239, 68, 68, 0.4); background: rgba(239, 68, 68, 0.08); }
.summary { position: sticky; top: calc(var(--announce-h) + var(--header-h) + 30px); padding: 22px; border-radius: 18px; background: var(--card-strong); border: 1px solid var(--border-2); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45); }
.summary-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.summary-head h2 { font-size: 1.05rem; font-weight: 800; }
.enc-pill { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 999px; font-size: 0.62rem; font-weight: 800; letter-spacing: 0.08em; color: #4ade80; background: rgba(34, 197, 94, 0.1); border: 1px solid rgba(34, 197, 94, 0.35); }
.summary-lines { margin: 0; display: flex; flex-direction: column; gap: 8px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.summary-lines div { display: flex; justify-content: space-between; font-size: 0.86rem; }
.summary-lines dt { color: var(--muted); }
.summary-lines dd { margin: 0; font-weight: 700; }
.summary-form { display: flex; flex-direction: column; gap: 14px; margin-top: 14px; }
.summary-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 4px; }
.summary-total span { font-weight: 700; }
.summary-total strong { font-size: 1.6rem; font-weight: 800; }
.summary-trust { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border); }
.summary-trust li { display: flex; align-items: center; gap: 7px; font-size: 0.74rem; color: var(--muted); }
.summary-trust .ic { color: var(--primary); }
.skeleton-row { height: 108px; border-radius: var(--r-md); background: linear-gradient(90deg, rgba(255, 255, 255, 0.03) 25%, rgba(255, 255, 255, 0.07) 50%, rgba(255, 255, 255, 0.03) 75%); background-size: 200% 100%; animation: skeleton 1.4s linear infinite; }

/* ------------------------------------------------------------ order / auth / account */
.order-page { padding: 20px 0 40px; }
.order-card, .auth-card { position: relative; padding: 36px; border-radius: 22px; background: var(--card-strong); border: 1px solid var(--border-2); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5); text-align: center; }
.order-card h1, .auth-card h1 { font-size: 1.7rem; font-weight: 800; margin: 14px 0 6px; }
.order-icon { width: 68px; height: 68px; margin: 0 auto; border-radius: 50%; display: grid; place-items: center; color: #fbbf24; background: rgba(245, 158, 11, 0.1); border: 1px solid rgba(245, 158, 11, 0.35); }
.order-icon.status-completed { color: #4ade80; background: rgba(34, 197, 94, 0.1); border-color: rgba(34, 197, 94, 0.35); box-shadow: 0 0 34px rgba(34, 197, 94, 0.25); }
.order-icon.status-cancelled, .order-icon.status-failed, .order-icon.status-expired { color: #f87171; background: rgba(239, 68, 68, 0.1); border-color: rgba(239, 68, 68, 0.35); }
.order-ref { margin: 14px 0; font-size: 0.86rem; color: var(--muted); }
.order-ref strong { color: #fff; }
.order-items { text-align: left; border-top: 1px solid var(--border); }
.order-items li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.order-total { display: flex; justify-content: space-between; margin-top: 14px; font-size: 1.05rem; }
.order-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 24px; }
.demo-flag { position: absolute; top: 16px; left: 16px; padding: 3px 9px; border-radius: 6px; font-size: 0.66rem; font-weight: 800; letter-spacing: 0.1em; background: rgba(245, 158, 11, 0.15); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.4); }
.auth-wrap { display: grid; place-items: center; min-height: 52vh; padding: 10px 0 40px; }
.auth-card { width: min(440px, 100%); text-align: left; }
.auth-form { display: flex; flex-direction: column; gap: 14px; margin-top: 22px; }
.auth-switch { margin-top: 18px; text-align: center; font-size: 0.86rem; color: var(--muted); }
.auth-switch a { color: #ff6b6b; font-weight: 700; }
.account-page { padding-bottom: 40px; }
.account-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.account-head h1 { font-size: 2rem; margin-top: 12px; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 26px; }
.stat { display: flex; flex-direction: column; gap: 4px; padding: 18px; border-radius: var(--r-md); background: var(--card); border: 1px solid var(--border); }
.stat strong { font-size: 1.5rem; }
.table-wrap { overflow-x: auto; border-radius: var(--r-md); border: 1px solid var(--border); background: var(--card); }
.orders-table { width: 100%; border-collapse: collapse; font-size: 0.86rem; }
.orders-table th, .orders-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--border); white-space: nowrap; }
.orders-table th { font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); }
.orders-table tr:last-child td { border-bottom: 0; }
.orders-table a { color: #ff6b6b; font-weight: 700; }
.status-pill { padding: 3px 9px; border-radius: 999px; font-size: 0.72rem; font-weight: 700; text-transform: capitalize; background: rgba(245, 158, 11, 0.1); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.3); }
.status-pill.status-completed { background: rgba(34, 197, 94, 0.1); color: #4ade80; border-color: rgba(34, 197, 94, 0.3); }
.status-pill.status-cancelled, .status-pill.status-failed, .status-pill.status-expired, .status-pill.status-refunded { background: rgba(239, 68, 68, 0.1); color: #f87171; border-color: rgba(239, 68, 68, 0.3); }
.review-form { display: flex; flex-direction: column; gap: 14px; max-width: 560px; padding: 22px; border-radius: var(--r-md); background: var(--card); border: 1px solid var(--border); }
.rating-input { display: flex; gap: 4px; flex-direction: row-reverse; justify-content: flex-end; }
.rating-input input { position: absolute; opacity: 0; }
.rating-input label { cursor: pointer; color: rgba(255, 255, 255, 0.18); transition: color 0.15s, transform 0.15s; }
.rating-input label:hover, .rating-input label:hover ~ label, .rating-input label:has(input:checked), .rating-input label:has(input:checked) ~ label { color: var(--gold); }
.rating-input label:hover { transform: scale(1.15); }
.empty-state { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 46px 20px; text-align: center; border-radius: var(--r-md); background: var(--card); border: 1px dashed var(--border-2); color: var(--muted); }
.empty-state .ic { color: var(--primary); }
.empty-state h3 { color: #fff; font-size: 1.1rem; }
.error-page { text-align: center; padding: 40px 0 60px; }
.error-code { display: block; font-size: clamp(5rem, 16vw, 9rem); font-weight: 900; letter-spacing: -0.06em; line-height: 1; }
.error-page h1 { margin: 10px 0 8px; font-size: 1.8rem; }
.legal { padding: 10px 0 50px; color: rgba(255, 255, 255, 0.8); }
.legal h2 { font-size: 1.9rem; margin-bottom: 16px; }
.legal h3 { margin: 26px 0 10px; }
.legal p, .legal ul { margin-top: 12px; }
.legal ul { list-style: disc; padding-left: 22px; }
.legal a { color: #ff6b6b; }

/* ------------------------------------------------------------ responsive */
@media (max-width: 1100px) {
  .main-nav a { padding: 8px 9px; }
}
@media (max-width: 960px) {
  :root { --header-h: 62px; }
  .main-nav { display: none; }
  .nav-actions { margin-left: auto; }
  .burger { display: inline-flex; }
  .cat-grid { grid-template-columns: 1fr; }
  .shot-grid { grid-template-columns: repeat(2, 1fr); }
  .product-layout, .cart-layout, .hub { grid-template-columns: 1fr; }
  .product-right, .summary { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .hub { padding: 28px; }
}
@media (max-width: 640px) {
  body { padding-top: calc(var(--announce-h) + var(--header-h) + 22px); }
  .container, .container.narrow { width: calc(100% - 28px); }
  .announce { padding: 0 40px 0 12px; justify-content: flex-start; }
  .announce-inner { width: 100%; justify-content: center; }
  .announce-long { display: none; }
  .announce-short { display: inline; }
  .nav-shell { gap: 10px; padding: 0 14px; }
  .site-header.scrolled .nav-shell { width: calc(100% - 16px); padding: 0 12px; }
  .nav-actions { gap: 6px; }
  .hide-sm { display: none; }
  .currency { display: none; }
  .section { padding: 60px 0; }
  .section-tight { padding: 40px 0; }
  .hero { padding-top: 26px; }
  .hero-title { font-size: clamp(2.1rem, 10.5vw, 2.7rem); }
  .hero-text { font-size: 0.92rem; }
  .hero-search { height: 52px; }
  .hero-search .btn { padding: 0 14px; }
  .hero-ctas { flex-direction: column; width: min(290px, 100%); }
  .hero-ctas .btn { width: 100%; }
  .hero-ticks { flex-direction: column; align-items: flex-start; gap: 6px; padding: 12px 22px; border-radius: 14px; background: rgba(14, 7, 10, 0.8); border: 1px solid var(--border-2); }
  .hero-ticks li + li::before { display: none; }
  .hero-orb-a, .hero-orb-b { width: 260px; height: 260px; }
  .brand-pill { height: 48px; padding: 0 18px; font-size: 0.86rem; }
  .cat-card { padding: 22px; min-height: 0; }
  .cat-watermark { font-size: 3rem; }
  .shot-grid { grid-template-columns: 1fr; }
  .toolbar { flex-wrap: wrap; }
  .toolbar-left { border-right: 0; padding-right: 0; width: 100%; justify-content: space-between; }
  .toolbar-search { width: 100%; border-top: 1px solid var(--border); padding-top: 6px; height: 46px; }
  .product-grid { grid-template-columns: 1fr; }
  .deal-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .deal-card { padding: 18px 12px 12px; }
  .deal-media { width: 84px; height: 84px; }
  .deal-off { top: 8px; right: 8px; }
  .review-card, .vouch-card { width: 270px; }
  .buy-actions { grid-template-columns: 1fr; }
  .cart-item { grid-template-columns: 60px 1fr; }
  .cart-thumb { width: 60px; height: 60px; }
  .cart-side { grid-column: 1 / -1; flex-direction: row; align-items: center; }
  .stat-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .order-card, .auth-card { padding: 26px 20px; }
  .sale-toast { left: 10px; right: 10px; bottom: 10px; width: auto; }
  .hub { padding: 22px; }
  .hub-ctas .btn { width: 100%; }
}
@media (max-width: 380px) {
  .deal-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .marquee-track { animation: none !important; }
  .marquee { overflow-x: auto; }
  .reveal { opacity: 1; transform: none; }
}
