/* ==========================================================================
   GRAVITAS DESIGN SYSTEM — UNIFIED SHARED THEME STYLESHEET
   ========================================================================== */

:root {
  --ink: #000000;
  --ink-deep: #000000;
  --ink-card: #0D1118;
  --ink-surface: #141A24;
  
  --volt: #B0F30B;
  --volt-hover: #c5ff21;
  --volt-glow: rgba(176, 243, 11, 0.35);

  --bone: #F4F6F4;
  --dim: #8E99A8;
  --dimmer: #566170;
  
  --hair: rgba(255, 255, 255, 0.08);
  --hair-strong: rgba(255, 255, 255, 0.16);

  --font-display: 'Clash Display', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --font-body: 'General Sans', system-ui, -apple-system, sans-serif;

  --gutter: clamp(1rem, 4vw, 3rem);
  --chamfer: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
  --chamfer-inner: polygon(8.6px 0, 100% 0, 100% calc(100% - 8.6px), calc(100% - 8.6px) 100%, 0 100%, 0 8.6px);
  --chamfer-sm: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  --chamfer-sm-inner: polygon(4.6px 0, 100% 0, 100% calc(100% - 4.6px), calc(100% - 4.6px) 100%, 0 100%, 0 4.6px);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Canonical Strict 8px Spacing Scale */
  --space-4: 4px;     /* Micro half-step: tags, icon gap, badge padding */
  --space-8: 8px;     /* Tight: chip padding, small stack, button gap */
  --space-16: 16px;   /* Base: card internal gap, mobile padding, table cell */
  --space-24: 24px;   /* Medium: card internal padding, modal spacing, column gap */
  --space-32: 32px;   /* Large: section card padding, major separation */
  --space-40: 40px;   /* X-Large: filter deck gap, medium block separation */
  --space-48: 48px;   /* Button height standard, large stack gaps */
  --space-64: 64px;   /* Section padding mobile, large grid gaps */
  --space-80: 80px;   /* Section padding tablet */
  --space-96: 96px;   /* Section padding desktop */
  --space-128: 128px; /* Top hero clearance */

  /* Canonical Responsive Typography Scale (Fluid across Viewports) */
  --text-xs: 0.75rem;                               /* 12px: metadata, version tags, telemetry, badges */
  --text-sm: 0.875rem;                              /* 14px: UI buttons, nav links, table header/cells */
  --text-base: clamp(0.9375rem, 0.9rem + 0.2vw, 1rem); /* 15px - 16px: standard body copy, descriptions */
  --text-lg: clamp(1.125rem, 1rem + 0.5vw, 1.35rem);   /* 18px - 21.6px: card titles, step titles, modal subheads */
  --text-xl: clamp(1.25rem, 1.05rem + 0.8vw, 1.625rem); /* 20px - 26px: card prices, FAQ questions, feature titles */
  --text-2xl: clamp(1.6rem, 1.25rem + 1.5vw, 2.5rem);  /* 25.6px - 40px: section titles (H2), modal headers, buybox price */
  --text-3xl: clamp(2.2rem, 1.5rem + 2.5vw, 3.5rem);   /* 35.2px - 56px: major page titles (H1), banner titles */
  --text-hero: clamp(2.2rem, 5vw, 4rem);                /* Hero display title */
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
  background: #000000;
  color: var(--bone);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  background-color: #000000;
  color: var(--bone);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

::selection { background: var(--volt); color: #000; }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--ink-deep); }
::-webkit-scrollbar-thumb { background: #18202C; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--volt); }

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
img { display: block; max-width: 100%; }

/* ==========================================================================
   GLOBAL NAVBAR (CONSTANT ZERO-JUMP GEOMETRY)
   ========================================================================== */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 72px;
  padding: 16px 0;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--hair);
}
.site-nav.is-scrolled {
  height: 72px;
  padding: 16px 0;
  background: rgba(0, 0, 0, 0.94);
  border-bottom-color: var(--hair);
}
/* Seamless keyart blend on homepage hero before scroll */
body.is-home .site-nav {
  transition: background 0.25s var(--ease-out), border-color 0.25s var(--ease-out);
}
body.is-home .site-nav:not(.is-scrolled) {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.25) 60%, transparent 100%);
  border-bottom-color: rgba(255, 255, 255, 0.06);
}
body.is-home .site-nav.is-scrolled {
  background: rgba(0, 0, 0, 0.94);
  border-bottom-color: var(--hair);
}
.site-nav-inner {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: var(--space-16);
  text-decoration: none;
  z-index: 2;
}
.brand-logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.6));
  transition: transform 0.25s var(--ease-spring);
}
.nav-brand:hover .brand-logo-img {
  transform: scale(1.06);
}
.brand-name-text {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #ffffff;
  line-height: 1;
}

.nav-island {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: var(--space-32);
  z-index: 1;
}
.nav-island a {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--dim);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s ease, transform 0.2s ease;
  position: relative;
}
.nav-island a:hover,
.nav-island a.active {
  color: #fff;
}
.nav-island a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--volt);
  box-shadow: 0 0 8px var(--volt);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-16);
  z-index: 2;
}

.btn-nav-cart {
  position: relative;
  display: none;
  align-items: center;
  justify-content: center;
  width: var(--space-48);
  height: var(--space-48);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--hair);
  border-radius: 4px;
  color: #fff;
  font-size: 1.25rem;
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}
.btn-nav-cart.is-visible {
  display: inline-flex;
  opacity: 1;
  transform: scale(1);
}
.btn-nav-cart.pulse-pop {
  animation: cartPulse 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes cartPulse {
  0% { transform: scale(1); }
  40% { transform: scale(1.22); border-color: var(--volt); box-shadow: 0 0 25px rgba(176, 243, 11, 0.6); }
  100% { transform: scale(1); }
}
.btn-nav-cart:hover {
  background: rgba(176, 243, 11, 0.12);
  border-color: var(--volt);
  color: var(--volt);
  transform: translateY(-1px);
}
.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--volt);
  color: #000;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 800;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  box-shadow: 0 0 10px rgba(176, 243, 11, 0.5);
  z-index: 10;
}

/* Discord Navbar Icon Button */
.btn-nav-icon,
.btn-nav-discord {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--space-48);
  height: var(--space-48);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--hair);
  border-radius: 4px;
  color: var(--dim);
  font-size: 1.25rem;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  flex-shrink: 0;
}
.btn-nav-discord:hover {
  background: rgba(176, 243, 11, 0.12);
  border-color: var(--volt);
  color: var(--volt);
  box-shadow: 0 0 16px rgba(176, 243, 11, 0.25);
  transform: translateY(-1px);
}

/* Hairline Divider */
.nav-action-divider {
  width: 1px;
  height: var(--space-24);
  background: rgba(255, 255, 255, 0.14);
  margin: 0 var(--space-8);
  flex-shrink: 0;
}

/* Currency Selector Dropdown */
.nav-currency-wrap {
  position: relative;
  flex-shrink: 0;
}
.btn-nav-currency {
  display: inline-flex;
  align-items: center;
  gap: var(--space-8);
  height: var(--space-48);
  padding: 0 var(--space-16);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--hair);
  border-radius: 4px;
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-nav-currency:hover,
.btn-nav-currency.is-open {
  background: rgba(176, 243, 11, 0.08);
  border-color: var(--volt);
  color: var(--volt);
}
.btn-nav-currency .currency-caret {
  font-size: var(--text-xs);
  color: var(--dim);
  transition: transform 0.2s ease, color 0.2s ease;
}
.btn-nav-currency.is-open .currency-caret,
.btn-nav-currency:hover .currency-caret {
  color: var(--volt);
}
.btn-nav-currency.is-open .currency-caret {
  transform: rotate(180deg);
}

.nav-currency-dropdown {
  position: absolute;
  top: calc(100% + var(--space-8));
  right: 0;
  width: max-content;
  min-width: 240px;
  background: rgba(176, 243, 11, 0.35);
  clip-path: var(--chamfer-sm);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.85), 0 0 25px rgba(176, 243, 11, 0.1);
  display: none;
  flex-direction: column;
  padding: 1px;
  border: none;
  z-index: 150;
  animation: dropdownFadeIn 0.2s var(--ease-out);
  box-sizing: border-box;
}
.nav-currency-dropdown::before {
  content: '';
  position: absolute;
  inset: 1px;
  background: rgba(8, 12, 16, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  clip-path: var(--chamfer-sm-inner);
  z-index: 0;
  pointer-events: none;
}
.nav-currency-dropdown.is-open {
  display: flex;
}
.currency-option-btn {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  padding: var(--space-8) var(--space-16);
  background: transparent;
  border: none;
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  clip-path: var(--chamfer-sm);
  transition: all 0.15s ease;
  width: 100%;
  white-space: nowrap;
  position: relative;
  z-index: 1;
}
.currency-option-btn:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
}
.currency-option-btn.is-active {
  background: rgba(176, 243, 11, 0.12);
  color: var(--volt);
  font-weight: 800;
}
.currency-option-btn .curr-symbol {
  font-weight: 800;
  color: var(--volt);
  width: 16px;
  display: inline-block;
  font-size: var(--text-base);
}
.currency-option-btn .curr-name {
  flex-grow: 1;
}

/* Mobile Navigation Drawer Currency Bar */
.mobile-nav-currency-bar {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  clip-path: var(--chamfer-sm);
  margin-bottom: 1.25rem;
}
.mobile-curr-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--dim);
  letter-spacing: 0.06em;
}
.mobile-curr-pills {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.4rem;
}
.mobile-curr-pill {
  height: 36px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  clip-path: var(--chamfer-sm);
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}
.mobile-curr-pill:hover {
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}
.mobile-curr-pill.is-active {
  background: var(--volt);
  border-color: var(--volt);
  color: #000000;
  font-weight: 800;
}

.btn-nav-signin,
.btn-nav-catalog {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  padding: 0 var(--space-24);
  height: var(--space-48);
  background: rgba(255, 255, 255, 0.18);
  clip-path: var(--chamfer-sm);
  border: none !important;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-sm);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: all 0.2s var(--ease-spring);
  cursor: pointer;
  position: relative;
  box-sizing: border-box;
}
.btn-nav-signin::before,
.btn-nav-catalog::before {
  content: '';
  position: absolute;
  inset: 1.5px;
  background: rgba(14, 20, 30, 0.95);
  clip-path: var(--chamfer-sm-inner);
  z-index: 1;
  pointer-events: none;
  transition: background 0.2s ease;
}
.btn-nav-signin > *,
.btn-nav-catalog > * {
  position: relative;
  z-index: 2;
}
.btn-nav-signin:hover,
.btn-nav-catalog:hover {
  background: var(--volt);
  box-shadow: 0 0 20px rgba(176, 243, 11, 0.35);
  transform: translateY(-1px);
}
.btn-nav-signin:hover::before,
.btn-nav-catalog:hover::before {
  background: var(--volt);
}
.btn-nav-signin:hover > *,
.btn-nav-catalog:hover > * {
  color: #000000 !important;
}

/* ==========================================================================
   MOBILE NAVIGATION DRAWER & HAMBURGER
   ========================================================================== */
.btn-nav-hamburger {
  display: none;
  width: 42px;
  height: 42px;
  background: transparent !important;
  border: 1px solid var(--hair) !important;
  border-radius: 4px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
  pointer-events: auto;
  transition: all 0.25s ease;
}
.btn-nav-hamburger:hover {
  border-color: var(--volt) !important;
  background: rgba(176, 243, 11, 0.08) !important;
}
.hamburger-bar {
  width: 18px;
  height: 2px;
  background: #ffffff;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease, background 0.2s ease;
  transform-origin: center;
}
.btn-nav-hamburger.is-active .hamburger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  background: var(--volt);
}
.btn-nav-hamburger.is-active .hamburger-bar:nth-child(2) {
  opacity: 0;
}
.btn-nav-hamburger.is-active .hamburger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  background: var(--volt);
}

.mobile-nav-drawer {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: calc(100svh - 64px);
  background: rgba(0, 0, 0, 0.98);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  z-index: 999;
  padding: 1.25rem var(--gutter) 2.5rem var(--gutter);
  overflow-y: auto;
  flex-direction: column;
  justify-content: space-between;
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}
.mobile-nav-drawer.is-open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.site-nav.mobile-menu-open {
  background: #000000 !important;
  border-bottom: 1px solid rgba(176, 243, 11, 0.25) !important;
}
body.mobile-nav-lock {
  overflow: hidden !important;
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 1.25rem;
}
.mobile-nav-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--volt);
  letter-spacing: 0.12em;
}
.mobile-nav-status {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #00ff88;
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0;
  margin: 0;
}
.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  clip-path: var(--chamfer-sm);
  text-decoration: none;
  color: #ffffff;
  transition: all 0.2s ease;
}
.mobile-nav-link:hover,
.mobile-nav-link:active,
.mobile-nav-link.active {
  background: rgba(176, 243, 11, 0.08);
  border-color: var(--volt);
  color: var(--volt);
}
.mobile-nav-link-left {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.mobile-nav-link .nav-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
}
.mobile-nav-link.active .nav-num,
.mobile-nav-link:hover .nav-num {
  color: var(--volt);
}
.mobile-nav-link .nav-label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}
.mobile-nav-link i {
  color: rgba(255, 255, 255, 0.4);
  font-size: 1rem;
  transition: transform 0.2s, color 0.2s;
}
.mobile-nav-link:hover i,
.mobile-nav-link.active i {
  color: var(--volt);
  transform: translateX(4px);
}

.mobile-nav-footer {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 1.5rem;
}
.mobile-btn-signin {
  width: 100%;
  height: 48px;
  background: var(--volt);
  color: #000;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.84rem;
  letter-spacing: 0.06em;
  clip-path: var(--chamfer-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 0 20px rgba(176, 243, 11, 0.35);
  text-decoration: none;
}
.mobile-nav-user-slot {
  width: 100%;
  margin-bottom: 1.25rem;
}
.mobile-user-card {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(176, 243, 11, 0.35);
  clip-path: var(--chamfer-sm);
  overflow: hidden;
}
.mobile-btn-profile {
  width: 100%;
  background: rgba(176, 243, 11, 0.04);
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease;
}
.mobile-btn-profile:hover,
.mobile-btn-profile:active {
  background: rgba(176, 243, 11, 0.1);
}
.mobile-profile-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.mobile-profile-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}
.mobile-profile-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
  letter-spacing: 0.02em;
}
.mobile-profile-status {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--volt);
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: 2px;
}
.mobile-profile-caret {
  color: var(--volt);
  font-size: 1rem;
}
.mobile-user-quick-links {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  background: rgba(0, 0, 0, 0.4);
}
.mobile-quick-link,
.mobile-quick-signout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.65rem 0.25rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--dim);
  text-decoration: none;
  background: transparent;
  border: none;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  cursor: pointer;
  transition: all 0.2s ease;
}
.mobile-quick-link:last-child,
.mobile-quick-signout:last-child {
  border-right: none;
}
.mobile-quick-link:hover,
.mobile-quick-link:active {
  color: var(--volt);
  background: rgba(176, 243, 11, 0.06);
}
.mobile-quick-signout:hover,
.mobile-quick-signout:active {
  color: #ff5555;
  background: rgba(255, 85, 85, 0.08);
}
.mobile-quick-link i,
.mobile-quick-signout i {
  font-size: 0.85rem;
}
.mobile-social-link {
  width: 100%;
  height: 46px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.14);
  clip-path: var(--chamfer-sm);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  text-decoration: none;
}

/* ==========================================================================
   MONUMENTAL FOOTER (VELUNO ARCHITECTURE)
   ========================================================================== */
.site-footer-v2 {
  width: 100%;
  border-top: 1px solid var(--hair);
  background: #040507;
  position: relative;
  z-index: 30;
  overflow: hidden;
}
.footer-inner {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  padding: 6.5rem var(--gutter) 2.5rem var(--gutter);
  box-sizing: border-box;
}
.footer-top-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: clamp(2.5rem, 5vw, 6rem);
  width: 100%;
  margin-bottom: 0;
}

/* Left Brand Column */
.footer-brand-col {
  flex: 0 1 420px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
}
.footer-brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 1.1rem;
  text-decoration: none;
}
.footer-brand-logo-img {
  height: 74px;
  width: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.8));
  transition: transform 0.25s var(--ease-spring);
}
.footer-brand-lockup:hover .footer-brand-logo-img {
  transform: scale(1.05);
}
.footer-brand-name {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #ffffff;
  line-height: 1;
}
.footer-brand-tagline {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--dim);
}

.footer-social-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.4rem;
}
.footer-social-pill {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.1rem;
  text-decoration: none;
  transition: all 0.25s var(--ease-out);
}
.footer-social-pill:hover {
  background: #8EC808;
  border-color: #8EC808;
  color: #040608;
  transform: translateY(-2px);
  box-shadow: 0 4px 18px rgba(142, 200, 8, 0.35);
}

/* Right Navigation Columns Grid */
.footer-nav-grid {
  flex: 1 1 auto;
  display: flex;
  justify-content: space-between;
  max-width: 1000px;
  gap: 3.5rem;
}
.footer-nav-col {
  display: flex;
  flex-direction: column;
  min-width: 150px;
}
.footer-col-title {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ffffff;
  margin-bottom: 1.4rem;
}
.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.footer-links-list a {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--dim);
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
}
.footer-links-list a:hover {
  color: #ffffff;
  transform: translateX(3px);
}

/* Monumental Wordmark */
.footer-wordmark-wrap {
  width: 100%;
  margin-top: 5rem;
  margin-bottom: 3.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  user-select: none;
}
.footer-svg-wordmark {
  width: 100%;
  max-width: 1920px;
  height: auto;
  display: block;
}

/* Bottom Compliance Bar */
.footer-bottom-bar {
  padding-top: 2rem;
  border-top: 1px solid var(--hair);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.footer-bottom-bar p {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #5d6778;
  line-height: 1.6;
}

/* ==========================================================================
   SLIDE-OUT BASKET DRAWER
   ========================================================================== */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3, 4, 6, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease-out);
}
.drawer-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.drawer-shell {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 460px;
  background: #080B10;
  border-left: 1px solid var(--hair-strong);
  z-index: 10001;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -15px 0 50px rgba(0, 0, 0, 0.8);
}
.drawer-backdrop.is-open .drawer-shell {
  transform: translateX(0);
}

.drawer-header {
  padding: 1.6rem 2rem;
  border-bottom: 1px solid var(--hair);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #06080D;
}
.drawer-title-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.drawer-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: 0.025em;
  color: #fff;
}
.drawer-count-badge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--volt);
  background: rgba(176, 243, 11, 0.1);
  border: 1px solid rgba(176, 243, 11, 0.25);
  padding: 0.2rem 0.55rem;
  clip-path: var(--chamfer-sm);
}

.drawer-close {
  width: 36px;
  height: 36px;
  clip-path: var(--chamfer-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--dim);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all 0.2s ease;
  cursor: pointer;
}
.drawer-close:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.drawer-items {
  flex: 1;
  overflow-y: auto;
  padding: var(--space-24);
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
}
.drawer-item {
  background: #0D121A;
  border: 1px solid var(--hair);
  clip-path: var(--chamfer-sm);
  padding: var(--space-16);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-16);
  transition: border-color 0.2s;
}
.drawer-item:hover {
  border-color: rgba(255, 255, 255, 0.15);
}
.drawer-item-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.drawer-item-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-base);
  letter-spacing: 0.02em;
  color: #fff;
}
.drawer-item-fw {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--dim);
}
.drawer-item-right {
  display: flex;
  align-items: center;
  gap: var(--space-16);
}
.drawer-item-price {
  font-family: var(--font-mono);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--volt);
}
.drawer-item-remove {
  color: var(--dimmer);
  font-size: 1.1rem;
  transition: color 0.2s;
  cursor: pointer;
}
.drawer-item-remove:hover {
  color: #ff5252;
}

.drawer-empty {
  margin: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-16);
}
.drawer-empty i {
  font-size: 3rem;
  color: var(--dimmer);
}
.drawer-empty p {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--dim);
}

.drawer-footer {
  padding: var(--space-24);
  border-top: 1px solid var(--hair);
  background: #06080D;
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
}
.drawer-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.drawer-total-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--dim);
}
.drawer-total-val {
  font-family: var(--font-mono);
  font-size: var(--text-xl);
  font-weight: 800;
  color: #fff;
}

.btn-drawer-checkout {
  width: 100%;
  height: var(--space-48);
  padding: 0 var(--space-24);
  background: var(--volt);
  color: #000;
  clip-path: var(--chamfer-sm);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-sm);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  transition: all 0.2s var(--ease-spring);
  cursor: pointer;
}
.btn-drawer-checkout:hover {
  background: #fff;
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}
.btn-drawer-checkout:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* ==========================================================================
   CHECKOUT & AUTH MODALS
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3, 4, 6, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 10002;
  opacity: 0;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  transition: opacity 0.3s var(--ease-out);
}
.modal-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal-shell {
  width: 100%;
  max-width: 520px;
  background: #090C12;
  border: 1px solid var(--hair-strong);
  clip-path: var(--chamfer-sm);
  padding: 2.2rem 2.4rem;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.85);
  transform: scale(0.95) translateY(10px);
  transition: transform 0.3s var(--ease-spring);
  max-height: calc(100dvh - 2rem);
  overflow-y: auto;
}
.modal-backdrop.is-open .modal-shell {
  transform: scale(1) translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 1.4rem;
  right: 1.4rem;
  z-index: 20;
  width: 36px;
  height: 36px;
  clip-path: var(--chamfer-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--dim);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}
.modal-close-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  transform: rotate(90deg);
}

.modal-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.45rem;
  letter-spacing: 0.025em;
  color: #fff;
  margin-bottom: 1.4rem;
  padding-right: 2.5rem;
}

.modal-summary {
  background: rgba(5, 8, 12, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  clip-path: var(--chamfer-sm);
  padding: 1.15rem 1.3rem;
  margin-bottom: 1.15rem;
}
.modal-summary-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
}
.modal-summary-title {
  min-width: 0;
}
.modal-summary-title strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #fff;
  display: block;
  overflow-wrap: anywhere;
}
.modal-summary-title span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--dim);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.2rem;
}
.modal-summary-cost {
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 1.85rem;
  color: var(--volt);
  white-space: nowrap;
}

.modal-summary-pricing {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.2rem;
}
.modal-summary-orig {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--dim);
  text-decoration: line-through;
}
.modal-coupon-status {
  display: grid;
  grid-template-columns: 1rem minmax(0, 1fr);
  align-items: start;
  column-gap: 0.55rem;
  row-gap: 0.1rem;
  margin-top: 1rem;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: #cbd3d5;
}
.modal-coupon-status[hidden] { display: none; }
.modal-coupon-status > i { color: var(--volt); font-size: 1rem; }
.modal-coupon-status strong { color: #fff; overflow-wrap: anywhere; }
.modal-coupon-status small {
  grid-column: 2;
  font-family: var(--font-body);
  font-size: 0.7rem;
  color: var(--dim);
}
.modal-discord-row {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.9rem 0;
  margin: 0.15rem 0 1.05rem;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}
.modal-discord-row > i { color: #aab5fa; font-size: 1.4rem; flex: none; }
.modal-discord-copy { display: grid; gap: 0.12rem; min-width: 0; line-height: 1.35; }
.modal-discord-copy strong { color: #e8ebf3; font-size: 0.82rem; }
.modal-discord-copy small {
  margin-left: 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--dim);
}
.modal-discord-copy > span { color: var(--dim); font-size: 0.76rem; overflow-wrap: anywhere; }
.modal-discord-row > a {
  margin-left: auto;
  white-space: nowrap;
  color: var(--volt);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.72rem;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}
.modal-discord-row > a[hidden] { display: none; }
.modal-discord-row > a:focus-visible { outline: 2px solid var(--volt); outline-offset: 4px; }
.modal-discord-row > a:hover { color: #fff; }
.modal-discord-row > a i { margin-left: 0.15rem; }
@media (max-width: 430px) {
  .modal-summary-main { grid-template-columns: minmax(0, 1fr) auto; gap: 0.5rem; }
  .modal-summary-cost { font-size: 1.4rem; }
  .modal-summary-title strong { font-size: 0.93rem; }
  .modal-summary-title span { font-size: 0.65rem; }
}

.form-group {
  margin-bottom: 1.25rem;
}
.form-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.45rem;
}
.form-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: var(--dim);
}
.form-status-indicator {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--volt);
  display: none;
}
.form-status-indicator.is-valid {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.form-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.form-input-icon {
  position: absolute;
  left: 1.1rem;
  color: var(--dimmer);
  font-size: 1.1rem;
  pointer-events: none;
}
.form-input-icon.is-locked-icon {
  color: var(--volt);
}
.form-input {
  width: 100%;
  height: 50px;
  background: rgba(4, 6, 10, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
  clip-path: var(--chamfer-sm);
  padding: 0 1.2rem 0 2.8rem;
  font-family: var(--font-mono);
  font-size: 0.92rem;
  color: #fff;
  outline: none;
  transition: all 0.2s ease;
}
.form-input:focus {
  border-color: var(--volt);
  box-shadow: 0 0 16px rgba(176, 243, 11, 0.2);
}
.form-input.is-locked {
  background: rgba(14, 18, 26, 0.95);
  border-color: rgba(176, 243, 11, 0.3);
  color: #f1f5f9;
  cursor: not-allowed;
  user-select: none;
}
.form-input.is-locked:focus {
  box-shadow: none;
  border-color: rgba(176, 243, 11, 0.3);
}
.form-hint {
  font-family: var(--font-body);
  font-size: 0.76rem;
  color: var(--dimmer);
  margin-top: 0.4rem;
  line-height: 1.4;
}

.escrow-callout {
  background: rgba(176, 243, 11, 0.05);
  border: 1px solid rgba(176, 243, 11, 0.2);
  clip-path: var(--chamfer-sm);
  padding: 1rem 1.2rem;
  display: flex;
  gap: 0.8rem;
  margin-bottom: 1.6rem;
}
.escrow-callout i {
  color: var(--volt);
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.escrow-callout p {
  font-family: var(--font-body);
  font-size: 0.78rem;
  line-height: 1.5;
  color: #b0bac8;
}
.escrow-callout strong {
  color: #fff;
}

.btn-checkout-confirm {
  width: 100%;
  height: 52px;
  background: var(--volt);
  color: #000;
  clip-path: var(--chamfer-sm);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  transition: all 0.2s var(--ease-spring);
  cursor: pointer;
}
.btn-checkout-confirm:hover {
  background: #fff;
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.45);
  transform: translateY(-2px);
}

/* Nav User Profile Square (Authenticated CFX State) */
.btn-nav-profile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  background: rgba(14, 20, 30, 0.85);
  border: 1px solid rgba(176, 243, 11, 0.35);
  clip-path: var(--chamfer-sm);
  color: #fff;
  cursor: pointer;
  transition: all 0.2s var(--ease-spring);
  position: relative;
  box-sizing: border-box;
}
.btn-nav-profile:hover {
  background: rgba(176, 243, 11, 0.12);
  border-color: var(--volt);
  box-shadow: 0 0 16px rgba(176, 243, 11, 0.35);
  transform: translateY(-1px);
}
.nav-profile-avatar {
  width: 100%;
  height: 100%;
  background: rgba(176, 243, 11, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--volt);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  overflow: hidden;
}
.nav-profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.nav-profile-name {
  display: none;
}
  text-overflow: ellipsis;
  white-space: nowrap;
}
.nav-profile-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--volt);
  box-shadow: 0 0 8px var(--volt);
}

/* User Dropdown Flyout (E-Commerce Standard) */
.nav-user-dropdown-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-profile-caret {
  font-size: 0.8rem;
  color: var(--dim);
  transition: transform 0.2s ease;
  margin-left: 2px;
}

.btn-nav-profile[aria-expanded="true"] .nav-profile-caret {
  transform: rotate(180deg);
  color: var(--volt);
}

.nav-user-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 260px;
  background: rgba(12, 12, 12, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.85), 0 0 20px rgba(176, 243, 11, 0.05);
  backdrop-filter: blur(20px);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s ease;
  z-index: 1000;
}

.nav-user-dropdown.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.user-dropdown-header {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.user-dropdown-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.92rem;
  color: #ffffff;
  margin-bottom: 4px;
}

.user-dropdown-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--volt);
}

.user-dropdown-menu {
  padding: 6px 0;
}

.user-dropdown-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  color: #d1d5db;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.15s ease;
}

.user-dropdown-link i {
  font-size: 1rem;
  color: var(--dim);
  transition: color 0.15s ease;
}

.user-dropdown-link:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--volt);
}

.user-dropdown-link:hover i {
  color: var(--volt);
}

.user-dropdown-footer {
  padding: 6px 8px 2px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.btn-dropdown-signout {
  width: 100%;
  padding: 8px 12px;
  background: transparent;
  border: none;
  color: #ef4444;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  text-align: left;
  transition: background 0.15s ease;
}

.btn-dropdown-signout:hover {
  background: rgba(239, 68, 68, 0.1);
}

.auth-options-grid {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.4rem;
}
.auth-provider-btn {
  width: 100%;
  height: 54px;
  clip-path: var(--chamfer-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: all 0.2s var(--ease-spring);
  cursor: pointer;
  border: 1px solid transparent;
}
.auth-provider-btn--cfx {
  background: linear-gradient(135deg, #FF6B00 0%, #EA580C 100%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(234, 88, 12, 0.35);
}
.auth-provider-btn--cfx:hover {
  background: linear-gradient(135deg, #ff7e24 0%, #f97316 100%);
  box-shadow: 0 0 25px rgba(255, 107, 0, 0.55);
  transform: translateY(-2px);
}
.auth-provider-btn--discord {
  background: #5865F2;
  color: #fff;
}
.auth-provider-btn--discord:hover {
  background: #4752c4;
  box-shadow: 0 0 20px rgba(88, 101, 242, 0.4);
  transform: translateY(-2px);
}

/* ==========================================================================
   USER PROFILE & ACCOUNT MANAGEMENT MODAL
   ========================================================================== */
.modal-shell--profile {
  max-width: 680px;
  padding: 2.2rem;
}
.profile-header-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.4rem;
  background: rgba(14, 20, 30, 0.85);
  border: 1px solid var(--hair-strong);
  clip-path: var(--chamfer-sm);
  margin-bottom: 1.5rem;
}
.profile-header-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.profile-header-avatar {
  width: 52px;
  height: 52px;
  background: rgba(176, 243, 11, 0.08);
  border: 1px solid rgba(176, 243, 11, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--volt);
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  clip-path: var(--chamfer-sm);
  overflow: hidden;
}
.profile-header-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.profile-header-info h4 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}
.profile-header-info p {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--dim);
  margin-top: 0.2rem;
}
.profile-cfx-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  background: rgba(234, 88, 12, 0.12);
  border: 1px solid rgba(234, 88, 12, 0.35);
  clip-path: var(--chamfer-sm);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: #ff8533;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Linked Discord Status Card */
.profile-discord-card {
  padding: 1.2rem 1.4rem;
  border: 1px solid rgba(88, 101, 242, 0.25);
  background: rgba(88, 101, 242, 0.06);
  clip-path: var(--chamfer-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  margin-bottom: 1.8rem;
}
.profile-discord-left {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.profile-discord-icon {
  width: 40px;
  height: 40px;
  background: #5865F2;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  clip-path: var(--chamfer-sm);
  flex-shrink: 0;
}
.profile-discord-texts h5 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.15rem;
}
.profile-discord-texts p {
  font-size: 0.78rem;
  color: #9bb1db;
  line-height: 1.4;
}
.btn-discord-link {
  padding: 0.65rem 1.1rem;
  background: #5865F2;
  color: #fff;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  clip-path: var(--chamfer-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: all 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
}
.btn-discord-link:hover {
  background: #4752c4;
  box-shadow: 0 0 16px rgba(88, 101, 242, 0.4);
}
.btn-discord-unlink {
  padding: 0.5rem 0.85rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  clip-path: var(--chamfer-sm);
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-discord-unlink:hover {
  color: #ff5555;
  border-color: rgba(255, 85, 85, 0.4);
}

/* User Assets & History Tabs */
.profile-tabs-nav {
  display: flex;
  gap: 0.5rem;
  border-bottom: 1px solid var(--hair);
  margin-bottom: 1.2rem;
}
.profile-tab-btn {
  padding: 0.65rem 1.2rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--dim);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 0.2s ease;
}
.profile-tab-btn:hover {
  color: #fff;
}
.profile-tab-btn.active {
  color: var(--volt);
  border-bottom-color: var(--volt);
}

.profile-assets-list, .profile-history-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-height: 240px;
  overflow-y: auto;
  padding-right: 0.4rem;
  margin-bottom: 1.5rem;
}
.profile-asset-item, .profile-history-item {
  padding: 0.95rem 1.2rem;
  background: rgba(14, 18, 26, 0.7);
  border: 1px solid var(--hair);
  clip-path: var(--chamfer-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.profile-asset-left strong, .profile-history-left strong {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: #fff;
  display: block;
}
.profile-asset-left span, .profile-history-left span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--dim);
}
.btn-keymaster-dl {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.85rem;
  background: rgba(176, 243, 11, 0.1);
  border: 1px solid rgba(176, 243, 11, 0.3);
  clip-path: var(--chamfer-sm);
  color: var(--volt);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  transition: all 0.2s ease;
}
.btn-keymaster-dl:hover {
  background: var(--volt);
  color: #000;
}

.profile-footer-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.2rem;
  border-top: 1px solid var(--hair);
}
.btn-profile-signout {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: #ff6b6b;
  cursor: pointer;
  padding: 0.5rem 0.9rem;
  background: rgba(255, 107, 107, 0.08);
  border: 1px solid rgba(255, 107, 107, 0.2);
  clip-path: var(--chamfer-sm);
  transition: all 0.2s ease;
}
.btn-profile-signout:hover {
  background: rgba(255, 107, 107, 0.2);
  border-color: #ff6b6b;
}

/* ==========================================================================
   CART DRAWER GIFTING & PROMO CODES
   ========================================================================== */
.drawer-options-block {
  padding: 1rem 1.4rem;
  background: rgba(5, 8, 12, 0.6);
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.drawer-gift-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
}
.drawer-gift-label {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.drawer-gift-label i {
  color: var(--volt);
  font-size: 1rem;
}
.drawer-gift-input-wrap {
  display: none;
  margin-top: 0.4rem;
}
.drawer-gift-input-wrap.is-open {
  display: flex;
  gap: 0.5rem;
}
.drawer-promo-toggle {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--dim);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: color 0.2s ease;
}
.drawer-promo-toggle:hover {
  color: var(--volt);
}
.drawer-promo-body {
  display: none;
  gap: 0.5rem;
  margin-top: 0.4rem;
}
.drawer-promo-body.is-open {
  display: flex;
}
.drawer-mini-input {
  flex: 1;
  height: 38px;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid var(--hair-strong);
  clip-path: var(--chamfer-sm);
  padding: 0 0.8rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: #fff;
  outline: none;
}
.drawer-mini-input:focus {
  border-color: var(--volt);
}
.btn-drawer-apply {
  height: 38px;
  padding: 0 0.9rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--hair-strong);
  clip-path: var(--chamfer-sm);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-drawer-apply:hover {
  background: var(--volt);
  color: #000;
  border-color: var(--volt);
}

.drawer-promo-input-row {
  display: flex;
  gap: 0.5rem;
  width: 100%;
}
.drawer-promo-active-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background: rgba(176, 243, 11, 0.08);
  border: 1px solid rgba(176, 243, 11, 0.3);
  clip-path: var(--chamfer-sm);
  padding: 0.45rem 0.7rem;
}
.promo-active-badge {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--volt);
  font-weight: 700;
}
.promo-active-discount {
  color: #fff;
  font-size: 0.72rem;
}
.btn-drawer-remove-promo {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: all 0.2s ease;
  clip-path: var(--chamfer-sm);
}
.btn-drawer-remove-promo:hover {
  border-color: #ff4d4f;
  color: #ff4d4f;
}

.item-orig-strike {
  font-size: 0.75rem;
  color: var(--dimmer);
  text-decoration: line-through;
  margin-right: 0.35rem;
}

/* Catalog Card Sale Pricing Styles */
.card-price-group {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  flex-wrap: wrap;
}
.card-price-orig {
  font-family: var(--font-mono);
  font-size: 0.92rem;
  color: var(--dimmer);
  text-decoration: line-through;
}
.card-price.is-sale {
  color: var(--volt);
  text-shadow: 0 0 14px rgba(176, 243, 11, 0.3);
}
.badge-card-sale {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 800;
  color: #000;
  background: var(--volt);
  padding: 0.12rem 0.45rem;
  clip-path: var(--chamfer-sm);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.auth-provider-btn--tebex {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  color: #fff;
}
.auth-provider-btn--tebex:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}

/* Toast (Top-Right under navbar, shifts left when cart drawer is open) */
.toast-container {
  position: fixed;
  top: 5.5rem;
  right: clamp(1.25rem, 3vw, 2.5rem);
  z-index: 10005;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  pointer-events: none;
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.drawer-backdrop.is-open ~ .toast-container,
body.cart-drawer-open .toast-container {
  right: calc(460px + clamp(1rem, 2vw, 2rem));
}

@media (max-width: 640px) {
  .drawer-backdrop.is-open ~ .toast-container,
  body.cart-drawer-open .toast-container {
    right: 1rem;
    left: 1rem;
    top: 1rem;
    z-index: 10006;
  }
}
.toast-item {
  background: var(--volt);
  color: #000000;
  border: 1px solid rgba(0, 0, 0, 0.2);
  clip-path: polygon(0 0, calc(100% - 14px) 0%, 100% 14px, 100% 100%, 0 100%);
  padding: 0.85rem 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-family: var(--font-mono);
  font-size: 0.84rem;
  font-weight: 700;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.75), 0 0 28px rgba(176, 243, 11, 0.35);
  pointer-events: auto;
  animation: toastSlideDown 0.3s var(--ease-spring);
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.25s ease, box-shadow 0.2s ease;
}
.toast-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.8), 0 0 36px rgba(176, 243, 11, 0.5);
}
.toast-item i {
  width: 26px;
  height: 26px;
  background: #000000;
  color: var(--volt);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  border-radius: 2px;
  flex-shrink: 0;
}
.toast-item span {
  color: #000000;
  font-weight: 700;
  letter-spacing: -0.01em;
}
@keyframes toastSlideDown {
  from { transform: translateY(-20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* ==========================================================================
   DESIGN SYSTEM UTILITIES (REUSABLE ACROSS ALL PAGES)
   ========================================================================== */
.g-btn-primary {
  background: var(--volt);
  color: #000;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.84rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  clip-path: var(--chamfer-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.6rem;
  cursor: pointer;
  transition: all 0.2s var(--ease-spring);
  border: none;
}
.g-btn-primary:hover {
  background: #fff;
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.45);
  transform: translateY(-2px);
}
.g-btn-outline {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--hair-strong);
  color: #fff;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  clip-path: var(--chamfer-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  cursor: pointer;
  transition: all 0.2s var(--ease-spring);
}
.g-btn-outline:hover {
  background: rgba(176, 243, 11, 0.1);
  border-color: var(--volt);
  color: var(--volt);
  transform: translateY(-2px);
}
.g-card-shell {
  background: rgba(13, 17, 24, 0.8);
  border: 1px solid var(--hair);
  clip-path: var(--chamfer-sm);
  padding: 1.5rem;
  position: relative;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.g-card-shell:hover {
  border-color: rgba(176, 243, 11, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

/* ==========================================================================
   RESPONSIVE OVERHAULS (HERO & FOOTER WORDMARK)
   ========================================================================== */
@media (max-width: 1024px) {
  .footer-top-grid {
    flex-direction: column;
    gap: 3.5rem;
  }
  .footer-brand-col {
    flex: 1 1 100%;
    max-width: 100%;
  }
  .footer-nav-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }
}
@media (max-width: 860px) {
  :root {
    --gutter: 16px;
  }
  .nav-island { display: none !important; }
  .site-nav {
    height: 60px;
    padding: 10px 0;
    box-sizing: border-box;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .site-nav.is-scrolled {
    height: 60px;
    padding: 10px 0;
    background: rgba(0, 0, 0, 0.96);
    border-bottom-color: rgba(255, 255, 255, 0.1);
  }
  body.is-home .site-nav:not(.is-scrolled) {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.3) 60%, transparent 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }
  /* Strict Mobile Header: Only Logo, Cart, and Hamburger. Hide all navbar user slots and profiles */
  #navUserSlot,
  .nav-user-slot,
  .nav-user-dropdown-wrap,
  .btn-nav-profile,
  .btn-nav-signin,
  .btn-nav-catalog,
  .btn-nav-discord,
  .nav-action-divider,
  .nav-currency-wrap,
  .site-nav #navUserSlot,
  .site-nav .nav-user-slot,
  .site-nav .nav-user-dropdown-wrap,
  .site-nav .btn-nav-profile,
  .site-nav .btn-nav-signin,
  .site-nav .btn-nav-catalog,
  .site-nav .btn-nav-discord,
  .site-nav .nav-action-divider,
  .site-nav .nav-currency-wrap {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }
  .brand-logo-img {
    height: 32px !important;
  }
  .brand-name-text {
    font-size: clamp(1.1rem, 4.2vw, 1.35rem) !important;
  }
  .nav-actions {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
  }
  .btn-nav-cart {
    display: inline-flex !important;
    opacity: 1 !important;
    transform: scale(1) !important;
    pointer-events: auto !important;
    flex-shrink: 0 !important;
  }
  .btn-nav-hamburger {
    display: flex !important;
    pointer-events: auto !important;
    flex-shrink: 0 !important;
  }
  .mobile-nav-drawer {
    display: flex;
  }
  .mobile-nav-drawer #mobileNavUserSlot,
  .mobile-nav-drawer .mobile-user-card {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100% !important;
    height: auto !important;
    pointer-events: auto !important;
  }
  .hero-stage {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    overflow: hidden;
    background: #000000;
    padding-top: 0;
    padding-bottom: 8px;
  }
  .section-store {
    padding: 20px var(--gutter) 60px var(--gutter) !important;
  }
  .hero-single-art {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    overflow: hidden;
    pointer-events: none;
    margin-top: 0;
    padding-top: 0;
  }
  .hero-single-art img {
    width: clamp(540px, 158vw, 760px);
    max-width: none;
    height: auto;
    display: block;
    object-fit: visible;
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 76%, rgba(0,0,0,0.3) 90%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 0%, #000 76%, rgba(0,0,0,0.3) 90%, transparent 100%);
  }
  .hero-bilateral-shell {
    position: relative;
    z-index: 20;
    width: 100%;
    padding: 0 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: -36px;
  }
  .hero-left-wing {
    max-width: 100%;
  }
  .hero-split-title {
    font-size: clamp(1.28rem, 5.5vw, 1.7rem);
    line-height: 1.1;
    white-space: normal;
    letter-spacing: -0.01em;
  }
  .hero-line-mask {
    padding: 1px 0;
    line-height: 1.1;
  }
  .hero-line-inner {
    white-space: normal;
  }
  .hero-right-wing {
    gap: 12px;
    max-width: 100%;
  }
  .hero-split-desc {
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.5;
    color: #d1d9e4;
    margin: 0;
  }
  .hero-split-actions {
    width: 100%;
    display: flex;
    gap: 8px;
  }
  .hero-split-actions .btn-lockup-primary,
  .hero-split-actions .btn-lockup-outline-wrap {
    flex: 1;
    min-width: 0;
    width: 100%;
    height: 48px;
    font-size: 0.8rem;
    letter-spacing: 0.04em;
    gap: 6px;
  }
}
@media (max-width: 640px) {
  .footer-nav-grid {
    grid-template-columns: 1fr;
    gap: 2.2rem;
  }
  .drawer-shell {
    max-width: 100%;
    width: 100%;
  }
  .modal-shell {
    padding: 1.8rem 1.4rem;
    max-width: 95vw;
  }
  .footer-wordmark-wrap {
    margin: 3.5rem 0 2rem 0;
    padding: 0 0.25rem;
  }
  .footer-svg-wordmark {
    width: 100%;
    max-width: 100%;
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.8));
  }
  .footer-svg-wordmark path {
    stroke-width: 1.5px !important;
  }
}

/* ==========================================================================
   FEATURED SCRIPTS CATALOG (SECTION & 3-COLUMN GRID ARCHITECTURE)
   ========================================================================== */
.section-store {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  padding: 6rem var(--gutter) 7rem var(--gutter);
  box-sizing: border-box;
  position: relative;
  z-index: 20;
}

.store-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 2.2rem;
}

.store-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.65rem, 2.4vw, 2.2rem);
  letter-spacing: 0.025em;
  color: var(--bone);
}

.store-view-all {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--volt);
  display: flex;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
  transition: gap 0.2s var(--ease-out);
}
.store-view-all:hover { gap: 0.75rem; }

.filter-tabs-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  overflow-x: auto;
  padding-bottom: 0.4rem;
}

.filter-tab-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: var(--space-8) var(--space-16);
  background: rgba(255, 255, 255, 0.16);
  clip-path: var(--chamfer-sm);
  border: none !important;
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  box-sizing: border-box;
  transition: all 0.2s ease;
}
.filter-tab-btn::before {
  content: '';
  position: absolute;
  inset: 1.5px;
  background: #080C10;
  clip-path: var(--chamfer-sm-inner);
  z-index: 1;
  pointer-events: none;
  transition: background 0.2s ease;
}
.filter-tab-btn > span {
  position: relative;
  z-index: 2;
  color: var(--dim);
  transition: color 0.2s ease;
}
.filter-tab-btn:hover {
  background: rgba(255, 255, 255, 0.35);
}
.filter-tab-btn:hover > span {
  color: var(--bone);
}
.filter-tab-btn.active {
  background: var(--volt);
  box-shadow: 0 0 14px rgba(176, 243, 11, 0.35);
}
.filter-tab-btn.active::before {
  background: var(--volt);
}
.filter-tab-btn.active > span {
  color: #000000 !important;
  font-weight: 800;
}

.scripts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-32);
  perspective: 1200px;
}

@media (max-width: 1440px) {
  .scripts-grid {
    gap: var(--space-24);
  }
}

@media (max-width: 1024px) {
  .scripts-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-24);
  }
}

@media (max-width: 640px) {
  .scripts-grid {
    grid-template-columns: 1fr;
    gap: var(--space-16);
  }
  .section-store {
    padding: var(--space-24) var(--gutter) var(--space-64) var(--gutter) !important;
  }
  .store-header {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-16);
    margin-bottom: var(--space-24);
  }
  .filter-tabs-row {
    gap: var(--space-8);
    margin-bottom: var(--space-24);
  }
  .filter-tab-btn {
    padding: var(--space-8) var(--space-16);
    font-size: var(--text-xs);
  }
}

/* ==========================================================================
   UNIFIED PRODUCT CARD COMPONENT (STUDIO MATTE OBSIDIAN + VOLT)
   ========================================================================== */
.card-item {
  background: rgba(255, 255, 255, 0.14);
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
  padding: 1.5px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-sizing: border-box;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45);
  transform: translateY(0);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease, box-shadow 0.3s ease;
  will-change: transform;
}

/* Dynamic Specular Glass Glare tracking cursor (--mx, --my) */
.card-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(480px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.08), transparent 60%);
  opacity: 0;
  pointer-events: none;
  z-index: 15;
  transition: opacity 0.3s ease;
}

/* Dynamic Volt Radial Glow tracking cursor (--mx, --my) */
.card-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(350px circle at var(--mx, 50%) var(--my, 50%), rgba(176, 243, 11, 0.25), transparent 70%);
  opacity: 0;
  pointer-events: none;
  z-index: 2;
  transition: opacity 0.3s ease;
}

.card-item:hover::before,
.card-item:hover::after {
  opacity: 1;
}

.card-inner-shell {
  width: 100%;
  height: 100%;
  background: var(--ink-card);
  clip-path: polygon(10.5px 0, 100% 0, 100% calc(100% - 10.5px), calc(100% - 10.5px) 100%, 0 100%, 0 10.5px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  flex-grow: 1;
  box-sizing: border-box;
}

.card-item:hover {
  transform: translateY(-8px);
  background: var(--volt);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 30px rgba(176, 243, 11, 0.35);
}

.card-media-box {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #000;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.card-item { cursor: pointer; }
.card-item .btn-card-add-basket { cursor: pointer; }

.card-media-box a {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

.product-card-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.card-item:hover .product-card-image { transform: scale(1.04); }
.art-package {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-24);
  box-sizing: border-box;
  text-align: center;
  background: radial-gradient(circle at 50% 120%, rgba(176, 243, 11, 0.35), transparent 70%), linear-gradient(180deg, #0A1410 0%, #05080A 100%);
}

.art-dealership,
.art-inventory,
.art-farming,
.art-housing,
.art-heists,
.art-bundle {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform 0.6s var(--ease-out);
}

.card-item:hover .art-dealership,
.card-item:hover .art-inventory,
.card-item:hover .art-farming,
.card-item:hover .art-housing,
.card-item:hover .art-heists,
.card-item:hover .art-bundle {
  transform: scale(1.05);
}

.art-dealership { 
  background: radial-gradient(circle at 50% 120%, rgba(176, 243, 11, 0.45), transparent 70%), linear-gradient(180deg, #0A1410 0%, #05080A 100%); 
}
.art-dealership::before,
.art-inventory::before,
.art-farming::before,
.art-housing::before,
.art-heists::before,
.art-bundle::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(45deg, rgba(255,255,255,0.015) 0, rgba(255,255,255,0.015) 1px, transparent 0, transparent 8px);
  pointer-events: none;
}
.art-inventory { background: radial-gradient(circle at 50% 120%, rgba(176, 243, 11, 0.35), transparent 70%), linear-gradient(180deg, #0C1218 0%, #05080A 100%); }
.art-farming { background: radial-gradient(circle at 50% 120%, rgba(176, 243, 11, 0.4), transparent 70%), linear-gradient(180deg, #0D1612 0%, #05080A 100%); }
.art-housing { background: radial-gradient(circle at 50% 120%, rgba(0, 240, 255, 0.35), transparent 70%), linear-gradient(180deg, #0A141A 0%, #05080A 100%); }
.art-heists { background: radial-gradient(circle at 50% 120%, rgba(225, 29, 72, 0.35), transparent 70%), linear-gradient(180deg, #180D12 0%, #05080A 100%); }
.art-bundle { background: radial-gradient(circle at 50% 120%, rgba(176, 243, 11, 0.6), transparent 70%), linear-gradient(180deg, #142010 0%, #05080A 100%); }

.poster-title {
  font-family: var(--font-display); font-weight: 700; font-size: var(--text-xl); text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--volt); text-shadow: 0 0 24px rgba(176, 243, 11, 0.5); text-align: center;
}
.poster-subtitle {
  font-family: var(--font-mono); font-size: var(--text-xs); letter-spacing: 0.16em; color: rgba(255, 255, 255, 0.7); margin-top: var(--space-8);
}

.card-body-box {
  padding: var(--space-24);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
  position: relative;
  z-index: 5;
  background: var(--ink-card);
}
.card-meta-pills-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-8);
}
.card-category-tag {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--volt);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.card-version-tag {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--dimmer);
  background: rgba(255, 255, 255, 0.05);
  padding: var(--space-4) var(--space-8);
  border-radius: 2px;
}

.card-title-price-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: var(--space-8);
  gap: var(--space-16);
}
.card-name-link {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.2s ease;
}
.card-name-link:hover {
  color: var(--volt);
}
.card-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-lg);
  letter-spacing: 0.03em;
  color: var(--bone);
  transition: color 0.2s;
  margin: 0;
}
.card-item:hover .card-name { color: var(--volt); }

.card-price-group {
  display: flex;
  align-items: baseline;
  gap: var(--space-8);
}
.card-price {
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: var(--text-xl);
  color: var(--volt);
  letter-spacing: -0.02em;
}
.card-price-original,
.card-price-orig {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--dimmer);
  text-decoration: line-through;
}
.card-sale-badge,
.badge-card-sale {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 800;
  background: #ff3366;
  color: #fff;
  padding: var(--space-4) var(--space-8);
  border-radius: 2px;
}

.card-desc {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  line-height: 24px;
  color: var(--dim);
  margin-bottom: var(--space-16);
  min-height: 48px;
}

.card-telemetry-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-8) var(--space-16);
  background: rgba(255, 255, 255, 0.08);
  clip-path: var(--chamfer-sm);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--dim);
  margin-bottom: var(--space-16);
  gap: var(--space-16);
  position: relative;
  border: none;
  box-sizing: border-box;
}
.card-telemetry-strip::before {
  content: '';
  position: absolute;
  inset: 1px;
  background: #080C10;
  clip-path: var(--chamfer-sm-inner);
  z-index: 0;
  pointer-events: none;
}
.card-telemetry-strip > * {
  position: relative;
  z-index: 1;
}
.card-telemetry-strip span {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}
.card-telemetry-strip i {
  color: var(--volt);
}

.btn-card-add-basket,
.btn-add-basket {
  width: 100%;
  height: var(--space-48);
  background: var(--volt);
  clip-path: var(--chamfer-sm);
  border: none !important;
  color: var(--volt);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: var(--text-sm);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  cursor: pointer;
  position: relative;
  box-sizing: border-box;
  text-decoration: none;
  transition: all 0.25s var(--ease-out);
}
.btn-card-add-basket::before,
.btn-add-basket::before {
  content: '';
  position: absolute;
  inset: 1.5px;
  background: #080C10;
  clip-path: var(--chamfer-sm-inner);
  z-index: 1;
  pointer-events: none;
  transition: background 0.2s ease;
}
.btn-card-add-basket > *,
.btn-add-basket > * {
  position: relative;
  z-index: 2;
  color: var(--volt);
  transition: color 0.2s ease;
}
.btn-card-add-basket:hover,
.btn-add-basket:hover {
  background: var(--volt-hover) !important;
  box-shadow: 0 0 20px rgba(176, 243, 11, 0.45);
  transform: translateY(-2px);
}
.btn-card-add-basket:hover::before,
.btn-add-basket:hover::before {
  background: var(--volt);
}
.btn-card-add-basket:hover > *,
.btn-add-basket:hover > * {
  color: #000000 !important;
}
.btn-card-add-basket:active,
.btn-add-basket:active {
  transform: translateY(0) scale(0.98);
}
.btn-card-add-basket.is-added,
.btn-add-basket.is-added {
  background: var(--volt) !important;
  color: #000000 !important;
  box-shadow: 0 0 25px rgba(176, 243, 11, 0.6) !important;
}
.btn-card-add-basket.is-added::before,
.btn-add-basket.is-added::before {
  background: var(--volt);
}

/* ==========================================================================
   GRAVITAS SIGNATURE FAQ COMPONENT (SHARED ACCORDION)
   ========================================================================== */
.faq-row-item {
  background: rgba(176, 243, 11, 0.16);
  clip-path: var(--chamfer-sm);
  padding: 1px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  transition: background 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
  margin-bottom: var(--space-16);
}
.faq-row-item:hover {
  background: rgba(176, 243, 11, 0.42);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
  transition: transform 0.25s ease, background 0.3s ease, box-shadow 0.3s ease;
}
.faq-row-item.is-open {
  background: rgba(176, 243, 11, 0.75);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7), 0 0 20px rgba(176, 243, 11, 0.2);
  transform: translateY(0);
}
.faq-row-shell {
  background: rgba(8, 14, 6, 0.96);
  clip-path: var(--chamfer-sm-inner);
  width: 100%;
  height: 100%;
  overflow: hidden;
  transition: background 0.3s ease;
}
.faq-row-item:hover .faq-row-shell {
  background: rgba(10, 18, 7, 0.98);
}
.faq-row-item.is-open .faq-row-shell {
  background: rgba(11, 20, 7, 0.98);
}
.faq-row-trigger {
  width: 100%;
  padding: var(--space-16) var(--space-24);
  display: grid;
  grid-template-columns: 40px 1fr 32px;
  align-items: center;
  text-align: left;
  gap: var(--space-16);
  background: transparent;
  cursor: pointer;
  border: none;
  box-sizing: border-box;
}
.faq-num-prefix {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  font-weight: 800;
  color: var(--volt);
  background: rgba(176, 243, 11, 0.08);
  border: 1px solid rgba(176, 243, 11, 0.25);
  border-radius: 0 !important;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.05em;
  transition: all 0.25s ease;
  flex-shrink: 0;
}
.faq-row-item.is-open .faq-num-prefix {
  background: var(--volt);
  color: #05070a;
  border-color: var(--volt);
  box-shadow: 0 0 12px rgba(176, 243, 11, 0.35);
}
.faq-q-text {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-lg);
  letter-spacing: 0.025em;
  color: var(--bone);
  transition: color 0.25s ease;
  line-height: 26px;
}
.faq-row-item.is-open .faq-q-text,
.faq-row-trigger:hover .faq-q-text {
  color: #fff;
}
.faq-icon-indicator {
  width: 32px;
  height: 32px;
  border-radius: 0 !important;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--dim);
  transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1), background 0.25s ease, border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
  justify-self: end;
  flex-shrink: 0;
}
.faq-row-item.is-open .faq-icon-indicator {
  transform: rotate(45deg);
  background: rgba(176, 243, 11, 0.12);
  border-color: var(--volt);
  color: var(--volt);
  box-shadow: 0 0 14px rgba(176, 243, 11, 0.25);
}
.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  overflow: hidden;
  transition: grid-template-rows 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.faq-row-item.is-open .faq-answer {
  grid-template-rows: 1fr;
}
.faq-answer-inner {
  min-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-8px);
  padding: 0 var(--space-24) 0 calc(var(--space-24) + 40px + var(--space-16));
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 26px;
  color: #c0cad6;
  border-top: none;
  transition: opacity 0.25s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), padding 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease;
}
.faq-row-item.is-open .faq-answer-inner {
  opacity: 1;
  transform: translateY(0);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: var(--space-16);
  padding-bottom: var(--space-24);
}
.faq-answer-inner a {
  color: var(--volt);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 640px) {
  .faq-row-trigger {
    grid-template-columns: 32px 1fr 24px;
    padding: var(--space-16);
    gap: var(--space-8);
  }
  .faq-q-text {
    font-size: var(--text-base);
    line-height: 24px;
  }
  .faq-answer-inner {
    padding: 0 var(--space-16) 0 var(--space-16);
    font-size: var(--text-sm);
    line-height: 24px;
  }
  .faq-row-item.is-open .faq-answer-inner {
    padding-top: var(--space-8);
    padding-bottom: var(--space-16);
  }
}
