/* ============================================================================
   ERFAN STORE — FULL CINEMATIC MOTION GRAPHICS & BLACK/WHITE ARCHITECTURE
   Floating Dock Nav, Custom Precision Cursor, 3D Floating Box Stage,
   Scroll-Velocity Kinetic Ribbon, 60fps Canvas Oscilloscope & 3D Wireframe
   ============================================================================ */

:root {
  --g-main: #050505;
  --g-alt: #09090a;
  --g-panel: #101012;
  --g-panel-hover: #161619;

  --ink: #ffffff;
  --ink-body: #d4d4d8;
  --muted: #8a8a93;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.24);

  --action: #ffffff;
  --action-ink: #050505;
  --action-hover: #e4e4e7;

  --ok: #22c55e;
  --warn: #eab308;
  --err: #ef4444;

  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --s-9: 96px;

  --wrap: 1280px;
  --gut: 64px;
  --nav: 84px;
  --padt: 112px;
  --padb: 96px;
  --bar: 0px;

  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;

  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-curtain: cubic-bezier(0.76, 0, 0.24, 1);
  --m-in: 160ms;
  --m-press: 90ms;
  --m-panel: 220ms;
}

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

html,
body {
  margin: 0;
  padding: 0;
  background: var(--g-main);
  color: var(--ink);
  color-scheme: dark;
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav);
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Subtle Monochrome Studio Film Grain */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 998;
  pointer-events: none;
  opacity: 0.03;
  background-image: radial-gradient(rgba(255, 255, 255, 0.85) 0.55px, transparent 0.55px);
  background-size: 3px 3px;
}

.display {
  font-family: "Space Grotesk", "Inter", sans-serif;
}

.mono {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-variant-numeric: tabular-nums;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

img,
svg {
  display: block;
  max-width: 100%;
}

:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 3px;
}

/* ---------- Custom Precision Cursor Ring (Desktop Only) ---------- */
.fx-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 24px;
  height: 24px;
  margin-left: -12px;
  margin-top: -12px;
  border-radius: 50%;
  border: 1.2px solid rgba(255, 255, 255, 0.6);
  pointer-events: none;
  z-index: 999;
  opacity: 0;
  mix-blend-mode: difference;
  transition: width 220ms var(--ease-expo), height 220ms var(--ease-expo), margin 220ms var(--ease-expo), opacity 220ms ease, background-color 220ms ease;
}

.fx-cursor.visible {
  opacity: 1;
}

.fx-cursor.active {
  width: 48px;
  height: 48px;
  margin-left: -24px;
  margin-top: -24px;
  background: rgba(255, 255, 255, 0.14);
  border-color: #ffffff;
}

/* ---------- Top Scroll Progress Hairline ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  z-index: 260;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.3), #ffffff);
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.75);
  pointer-events: none;
}

/* ---------- Cinematic Split-Curtain Intro Preloader ---------- */
.intro-loader {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: #050505;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  transition: transform 0.78s var(--ease-curtain), opacity 0.55s ease;
}

.intro-loader.done {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

.intro-emblem {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.34);
  box-shadow: 0 0 50px rgba(255, 255, 255, 0.18);
  animation: introPulse 0.85s var(--ease-expo) both;
}

.intro-emblem img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes introPulse {
  from {
    opacity: 0;
    transform: scale(0.82);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.intro-wordmark {
  font-family: "Space Grotesk", sans-serif;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 0.42em;
  padding-left: 0.42em;
  color: #ffffff;
}

.intro-bar-wrap {
  width: min(280px, 72vw);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.intro-bar-track {
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.14);
  overflow: hidden;
}

.intro-bar-fill {
  height: 100%;
  width: 0%;
  background: #ffffff;
  transition: width 70ms linear;
}

.intro-bar-meta {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--muted);
}

/* ---------- Equal-Edge Container ---------- */
.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gut) * 2);
  margin-inline: auto;
  padding-inline: var(--gut);
}

/* ---------- Skip Link ---------- */
.skip-link {
  position: fixed;
  top: 12px;
  left: 16px;
  z-index: 280;
  padding: 10px 16px;
  border-radius: var(--r-sm);
  background: #ffffff;
  color: #050505;
  font-size: 14px;
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform var(--m-in) var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

/* ---------- Floating Glass Pill Navigation Dock ---------- */
.site-header {
  position: fixed;
  top: 14px;
  left: 0;
  right: 0;
  z-index: 80;
  pointer-events: none;
  transition: top 260ms var(--ease-expo);
}

.site-header.scrolled {
  top: 10px;
}

.nav-bar {
  pointer-events: auto;
  height: 62px;
  padding: 0 18px 0 14px;
  border-radius: 14px;
  background: rgba(11, 11, 13, 0.78);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 20px 50px -18px rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-5);
  transition: background-color 240ms ease, border-color 240ms ease, height 240ms var(--ease-expo);
}

.site-header.scrolled .nav-bar {
  height: 56px;
  background: rgba(8, 8, 10, 0.92);
  border-color: rgba(255, 255, 255, 0.22);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.12em;
  flex-shrink: 0;
}

.brand-mark img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid var(--line-strong);
  transition: transform 220ms var(--ease-expo);
}

.brand-mark:hover img {
  transform: scale(1.07);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  position: relative;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--muted);
  padding: 8px 13px;
  border-radius: 8px;
  transition: color var(--m-in) var(--ease), background-color var(--m-in) var(--ease);
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-link.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ---------- Magnetic Monochrome Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 42px;
  padding: 0 18px;
  border-radius: var(--r-sm);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  transition:
    transform 190ms var(--ease-expo),
    background-color var(--m-in) var(--ease),
    border-color var(--m-in) var(--ease),
    color var(--m-in) var(--ease),
    box-shadow 220ms var(--ease);
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 22%, rgba(255, 255, 255, 0.4) 50%, transparent 78%);
  transform: translateX(-140%);
  transition: transform 560ms var(--ease-expo);
  pointer-events: none;
}

.btn:hover::before {
  transform: translateX(140%);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(1px) scale(0.985);
  transition-duration: var(--m-press);
}

.btn-primary {
  background: var(--action);
  color: var(--action-ink);
  border: 1px solid var(--action);
  box-shadow: 0 10px 28px -10px rgba(255, 255, 255, 0.42);
}

.btn-primary:hover {
  background: var(--action-hover);
  border-color: var(--action-hover);
  box-shadow: 0 16px 36px -10px rgba(255, 255, 255, 0.56);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.03);
  color: #ffffff;
  border: 1px solid var(--line-strong);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: #ffffff;
}

.btn-lg {
  min-height: 50px;
  padding: 0 26px;
  font-size: 15px;
}

.cart-badge {
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 5px;
  background: #ffffff;
  color: #050505;
  font-size: 11.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-strong);
  align-items: center;
  justify-content: center;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 75;
  background: rgba(5, 5, 5, 0.98);
  backdrop-filter: blur(16px);
  padding: 96px var(--gut) var(--s-6);
  flex-direction: column;
  gap: var(--s-2);
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu .nav-link {
  font-size: 22px;
  padding: 14px 4px;
  border-radius: 0;
  border-bottom: 1px solid var(--line);
}

/* ---------- Cursor Specular Spotlight ---------- */
.spotlight-surface {
  position: relative;
  --mx: 50%;
  --my: 50%;
}

.spotlight-surface::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity 260ms ease;
  background: radial-gradient(
    440px circle at var(--mx) var(--my),
    rgba(255, 255, 255, 0.1),
    transparent 65%
  );
  z-index: 1;
}

.spotlight-surface:hover::after {
  opacity: 1;
}

.spotlight-surface > * {
  position: relative;
  z-index: 2;
}

/* ---------- Scroll Choreography Reveals ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.72s var(--ease-expo), transform 0.72s var(--ease-expo);
}

[data-reveal].in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Screen 1: Hero + 3D Constellation + Interactive 3D Box Stage ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  padding-top: calc(var(--nav) + var(--s-7));
  padding-bottom: var(--s-7);
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(ellipse 58% 52% at 74% 46%, rgba(255, 255, 255, 0.075), transparent 70%),
    radial-gradient(ellipse 40% 35% at 15% 20%, rgba(255, 255, 255, 0.04), transparent 65%),
    var(--g-main);
}

#hero-3d-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.8;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1.15fr);
  gap: var(--s-7);
  align-items: center;
}

.hero-meta-line {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-body);
  padding: 7px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(16, 16, 18, 0.86);
  backdrop-filter: blur(10px);
  margin-bottom: var(--s-5);
}

.hero-h1 {
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: clamp(2.85rem, 5.2vw, 4.65rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.02;
  margin: 0 0 var(--s-5);
  color: #ffffff;
}

.hero-h1 .muted {
  color: var(--muted);
}

.kinetic-line {
  display: block;
  overflow: hidden;
}

.kinetic-line > span {
  display: inline-block;
  transform: translateY(108%);
  animation: maskRise 0.85s var(--ease-expo) 0.52s forwards;
}

.kinetic-line:nth-child(2) > span {
  animation-delay: 0.65s;
}

@keyframes maskRise {
  to {
    transform: translateY(0);
  }
}

.hero-lead {
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-body);
  max-width: 50ch;
  margin: 0 0 var(--s-6);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  flex-wrap: wrap;
  margin-bottom: var(--s-7);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s-4);
  padding-top: var(--s-5);
  border-top: 1px solid var(--line);
}

.hero-fact-num {
  font-family: "Space Grotesk", sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
}

.hero-fact-lbl {
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
}

/* Hero Right: Interactive 3D Floating Box Stage */
.hero-stage {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hero-visual {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: #050505;
  aspect-ratio: 16 / 10;
  box-shadow: 0 42px 100px -28px rgba(0, 0, 0, 0.98), 0 0 90px -40px rgba(255, 255, 255, 0.22);
  transform-style: preserve-3d;
  transition: transform 240ms var(--ease-expo), border-color 240ms ease;
}

.hero-visual:hover {
  border-color: rgba(255, 255, 255, 0.45);
}

.hero-visual-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.14;
  filter: blur(2px) contrast(1.2);
  pointer-events: none;
}

.hero-box-img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: floatBox 5.2s ease-in-out infinite;
  transition: opacity 240ms ease, transform 420ms var(--ease-expo);
}

@keyframes floatBox {
  0%, 100% {
    transform: translateY(0px) scale(1.01);
  }
  50% {
    transform: translateY(-7px) scale(1.02);
  }
}

.hero-scanline {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.07) 50%, transparent 100%);
  height: 34%;
  animation: scanSweep 5.2s linear infinite;
}

@keyframes scanSweep {
  0% {
    transform: translateY(-100%);
  }
  100% {
    transform: translateY(380%);
  }
}

.hero-box-switcher {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.hero-box-pill {
  min-height: 40px;
  padding: 0 10px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: rgba(16, 16, 18, 0.8);
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  transition: all 180ms var(--ease);
}

.hero-box-pill:hover {
  border-color: var(--line-strong);
  color: #ffffff;
}

.hero-box-pill.active {
  background: #ffffff;
  color: #050505;
  border-color: #ffffff;
}

/* Hero Staggered Entrance */
[data-enter] .enter-item {
  opacity: 0;
  transform: translateY(16px);
  animation: heroEnter 0.72s var(--ease-expo) 0.5s forwards;
}

[data-enter] .enter-item:nth-child(2) {
  animation-delay: 0.58s;
}

[data-enter] .enter-item:nth-child(3) {
  animation-delay: 0.68s;
}

[data-enter] .enter-item:nth-child(4) {
  animation-delay: 0.78s;
}

[data-enter] .enter-visual {
  opacity: 0;
  transform: scale(0.97);
  animation: heroVisualEnter 0.9s var(--ease-expo) 0.6s forwards;
}

@keyframes heroEnter {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroVisualEnter {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ---------- Status Dots ---------- */
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.65);
  animation: livePulse 2.2s infinite;
  flex-shrink: 0;
}

.dot.warn {
  background: var(--warn);
  box-shadow: 0 0 0 0 rgba(234, 179, 8, 0.65);
}

.dot.err {
  background: var(--err);
  box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.65);
}

@keyframes livePulse {
  0% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6);
  }
  70% {
    box-shadow: 0 0 0 7px rgba(34, 197, 94, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

/* ---------- Giant Kinetic Outline Typography Ribbon ---------- */
.kinetic-ribbon {
  overflow: hidden;
  padding: 22px 0;
  background: var(--g-alt);
  border-bottom: 1px solid var(--line);
  user-select: none;
}

.ribbon-track {
  display: flex;
  align-items: center;
  gap: 36px;
  width: max-content;
  will-change: transform;
  animation: stripScroll 28s linear infinite;
}

.kinetic-ribbon.paused .ribbon-track {
  animation-play-state: paused;
}

@keyframes stripScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.ribbon-word {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.3rem, 2.3vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 36px;
}

.ribbon-word.outline {
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.42);
}

.ribbon-sep {
  width: 7px;
  height: 7px;
  background: rgba(255, 255, 255, 0.45);
  transform: rotate(45deg);
}

.ribbon-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-top: 8px;
}

.pause-btn {
  min-height: 32px;
  padding: 0 12px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  transition: color var(--m-in) var(--ease), border-color var(--m-in) var(--ease);
}

.pause-btn:hover {
  color: #ffffff;
  border-color: var(--line-strong);
}

/* ---------- Shared Section Architecture ---------- */
.section {
  padding-top: var(--padt);
  padding-bottom: calc(var(--padb) + var(--bar));
  border-bottom: 1px solid var(--line);
}

.section.alt {
  background: var(--g-alt);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--s-6);
  margin-bottom: var(--s-7);
  flex-wrap: wrap;
}

.section-h2 {
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: clamp(2rem, 3.2vw, 2.9rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0;
  max-width: 24ch;
}

.section-h2 .muted {
  color: var(--muted);
}

.section-note {
  font-size: 16px;
  color: var(--ink-body);
  max-width: 46ch;
  margin: 0;
}

/* ---------- Filter Controls ---------- */
.filter-bar {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  flex-wrap: wrap;
}

.filter-btn {
  min-height: 42px;
  padding: 0 16px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  color: var(--ink-body);
  font-size: 13.5px;
  font-weight: 500;
  transition: all var(--m-in) var(--ease);
}

.filter-btn:hover {
  border-color: var(--line-strong);
  color: #ffffff;
}

.filter-btn.active {
  background: #ffffff;
  color: #050505;
  border-color: #ffffff;
  font-weight: 700;
}

/* ---------- Catalog Grid (Symmetrical 2x2 Unified 3D Boxes) ---------- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s-5);
}

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--g-panel);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transform-style: preserve-3d;
  transition:
    transform 240ms var(--ease-expo),
    border-color 240ms var(--ease),
    background-color 240ms var(--ease),
    box-shadow 280ms var(--ease);
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.36);
  background: var(--g-panel-hover);
  box-shadow: 0 30px 70px -24px rgba(0, 0, 0, 0.96);
}

.poster-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #050505;
  border-bottom: 1px solid var(--line);
}

.poster-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(120deg, transparent 28%, rgba(255, 255, 255, 0.16) 50%, transparent 72%);
  transform: translateX(-140%);
  transition: transform 740ms var(--ease-expo);
}

.product-card:hover .poster-frame::before {
  transform: translateX(140%);
}

.poster-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 440ms var(--ease-expo);
}

.product-card:hover .poster-frame img {
  transform: scale(1.055) translateY(-3px);
}

.poster-status {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  background: rgba(5, 5, 5, 0.88);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line-strong);
  color: #ffffff;
}

.status-pill.updating {
  border-color: rgba(234, 179, 8, 0.45);
  color: #fde047;
}

.status-pill.maintenance {
  border-color: rgba(239, 68, 68, 0.45);
  color: #fca5a5;
}

.card-body {
  padding: var(--s-5);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--s-3);
  margin-bottom: var(--s-3);
}

.card-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
  color: #ffffff;
}

.card-price-col {
  text-align: right;
  flex-shrink: 0;
}

.card-price {
  font-family: "JetBrains Mono", monospace;
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  display: inline-block;
  animation: pricePop 240ms var(--ease-expo);
}

@keyframes pricePop {
  from {
    opacity: 0.35;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card-tier-lbl {
  display: block;
  font-size: 12.5px;
  color: var(--muted);
}

.card-desc {
  font-size: 15.5px;
  line-height: 1.58;
  color: var(--ink-body);
  margin: 0 0 var(--s-4);
}

.card-features {
  list-style: none;
  margin: 0 0 var(--s-5);
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.card-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--ink-body);
}

.card-features li svg {
  width: 16px;
  height: 16px;
  color: #ffffff;
  flex-shrink: 0;
  margin-top: 3px;
}

.tier-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: var(--s-4);
}

.tier-btn {
  flex: 1 1 auto;
  min-height: 36px;
  padding: 0 10px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  transition: all var(--m-in) var(--ease);
}

.tier-btn:hover {
  border-color: var(--line-strong);
  color: #ffffff;
}

.tier-btn.active {
  background: #ffffff;
  border-color: #ffffff;
  color: #050505;
}

.card-actions {
  margin-top: auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

/* ---------- Dynamic Bento Motion Graphics Grid (60fps Live Scenes) ---------- */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--s-5);
}

.bento-card {
  grid-column: span 6;
  background: var(--g-panel);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--s-5);
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  overflow: hidden;
  transition: transform 240ms var(--ease-expo), border-color 240ms ease;
}

.bento-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.34);
}

.bento-stage {
  height: 196px;
  border-radius: var(--r-md);
  background: #050505;
  border: 1px solid var(--line);
  padding: 16px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.bento-card h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 20px;
  margin: 0 0 6px;
}

.bento-card p {
  font-size: 15px;
  color: var(--ink-body);
  margin: 0;
}

/* Scene 1: Live Loader Terminal */
.mini-term-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 11px;
  color: var(--muted);
}

.mini-term-dots {
  display: flex;
  gap: 6px;
}

.mini-term-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
}

.mini-term-lines {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 12.5px;
  color: #e4e4e7;
}

.term-line {
  opacity: 0.32;
  transition: opacity 280ms ease, transform 280ms var(--ease-expo);
}

.term-line.active {
  opacity: 1;
  color: #ffffff;
  transform: translateX(5px);
}

.term-progress-bar {
  margin-top: 12px;
  height: 2px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.term-progress-fill {
  height: 100%;
  width: 25%;
  background: #ffffff;
  transition: width 400ms var(--ease-expo);
}

.term-cursor {
  display: inline-block;
  width: 7px;
  height: 13px;
  background: #ffffff;
  vertical-align: middle;
  margin-left: 4px;
  animation: blinkCursor 0.9s steps(2, start) infinite;
}

@keyframes blinkCursor {
  to {
    visibility: hidden;
  }
}

/* Scene 2: Real-Time 60fps Canvas Oscilloscope */
.fps-hud {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 10px;
}

.fps-big {
  font-family: "Space Grotesk", sans-serif;
  font-size: 30px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1;
}

#fps-canvas {
  width: 100%;
  height: 98px;
  display: block;
}

/* Scene 3: Discord Webhook Packet Stream */
.packet-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 10px;
}

.packet-node {
  padding: 14px 10px;
  border-radius: var(--r-sm);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: #101012;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
}

.packet-node small {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: var(--muted);
  margin-top: 3px;
}

.packet-wire {
  width: 44px;
  height: 2px;
  background: rgba(255, 255, 255, 0.16);
  position: relative;
  overflow: hidden;
}

.packet-wire::after {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 18px;
  height: 4px;
  background: #ffffff;
  box-shadow: 0 0 12px #ffffff;
  animation: packetSlide 1.6s var(--ease-expo) infinite;
}

.packet-wire.delay::after {
  animation-delay: 0.5s;
}

@keyframes packetSlide {
  0% {
    transform: translateX(-20px);
  }
  100% {
    transform: translateX(52px);
  }
}

/* Scene 4: Rotating Hardware Radar */
.radar-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.radar-ring {
  width: 126px;
  height: 126px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.24);
  position: relative;
  flex-shrink: 0;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 65%);
}

.radar-ring::before {
  content: "";
  position: absolute;
  inset: 24px;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.24);
}

.radar-ring::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 6px;
  margin: -3px;
  border-radius: 50%;
  background: #ffffff;
}

.radar-sweep {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(255, 255, 255, 0.45) 0deg, transparent 68deg);
  animation: spinSweep 3.2s linear infinite;
}

@keyframes spinSweep {
  to {
    transform: rotate(360deg);
  }
}

.board-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.board-pill {
  padding: 6px 11px;
  border-radius: var(--r-sm);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #101012;
  font-size: 12px;
  color: #e4e4e7;
}

/* ---------- Featured Box Spotlight ---------- */
.spotlight-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.28fr);
  gap: var(--s-7);
  align-items: stretch;
}

.spotlight-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.spotlight-tab {
  text-align: left;
  padding: var(--s-5) var(--s-4);
  border-bottom: 1px solid var(--line);
  border-left: 2px solid transparent;
  transition: background-color var(--m-in) var(--ease), border-color var(--m-in) var(--ease), padding-left 220ms var(--ease-expo);
}

.spotlight-tab:hover {
  background: rgba(255, 255, 255, 0.03);
}

.spotlight-tab.active {
  background: var(--g-panel);
  border-left-color: #ffffff;
  padding-left: 22px;
}

.spotlight-tab-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  font-family: "Space Grotesk", sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.spotlight-tab-meta {
  font-size: 13px;
  color: var(--muted);
}

.spotlight-stage {
  display: flex;
  flex-direction: column;
  gap: var(--s-5);
}

.spotlight-frame {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  aspect-ratio: 16 / 9;
  background: #050505;
}

.spotlight-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms var(--ease-expo), opacity 220ms ease;
}

.spotlight-frame:hover img {
  transform: scale(1.04);
}

.spotlight-copy {
  background: var(--g-panel);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: var(--s-5);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--s-5);
  align-items: center;
}

.spotlight-copy h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 20px;
  margin: 0 0 8px;
}

.spotlight-copy p {
  font-size: 16px;
  color: var(--ink-body);
  margin: 0;
}

.steps-grid {
  margin-top: var(--s-6);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--s-4);
}

.step-box {
  background: var(--g-panel);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: var(--s-5);
  transition: transform 220ms var(--ease-expo), border-color 220ms ease;
}

.step-box:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
}

.step-num {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 8px;
}

.step-box h4 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 17px;
  margin: 0 0 6px;
  color: #ffffff;
}

.step-box p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}

/* ---------- Live Build Status Table ---------- */
.status-table {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--g-panel);
}

.status-row {
  display: grid;
  grid-template-columns: 2fr 1.2fr 0.8fr 1.6fr 1.1fr 1.1fr;
  align-items: center;
  gap: var(--s-4);
  padding: 18px var(--s-5);
  border-bottom: 1px solid var(--line);
  transition: background-color var(--m-in) var(--ease);
}

.status-row:last-child {
  border-bottom: none;
}

.status-row.head {
  background: rgba(255, 255, 255, 0.03);
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  padding: 14px var(--s-5);
}

.status-row:not(.head):hover {
  background: rgba(255, 255, 255, 0.04);
}

.status-name {
  font-weight: 600;
  font-size: 16px;
  color: #ffffff;
}

.status-cell {
  font-size: 14px;
  color: var(--ink-body);
}

/* ---------- Live Discord Invite Card (Real-Time Join/Leave Sync) ---------- */
.discord-split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: var(--s-7);
  align-items: center;
  background: var(--g-panel);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  padding: var(--s-7);
  margin-bottom: var(--s-8);
}

.discord-widget-box {
  background: #141517;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 28px 64px -20px rgba(0, 0, 0, 0.95);
  transition: transform 260ms var(--ease-expo), border-color 240ms ease;
}

.discord-widget-box:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.34);
}

.discord-invite-banner {
  position: relative;
  height: 142px;
  background: #050505;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.discord-invite-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.discord-invite-body {
  padding: 0 24px 24px;
  text-align: center;
  position: relative;
}

.discord-invite-icon-wrap {
  width: 72px;
  height: 72px;
  margin: -36px auto 14px;
  border-radius: 18px;
  overflow: hidden;
  border: 4px solid #141517;
  background: #050505;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.7);
}

.discord-invite-icon-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.discord-invite-kicker {
  font-size: 13px;
  color: #a1a1aa;
  margin-bottom: 4px;
}

.discord-invite-name {
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.04em;
  margin: 0 0 10px;
}

.discord-invite-stats {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 13.5px;
  color: #d4d4d8;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.discord-stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.dot-grey {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #71717a;
  flex-shrink: 0;
}

.discord-invite-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.discord-invite-meta {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 12.5px;
  color: #8a8a93;
}

.delta-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  margin-left: 4px;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 220ms ease, transform 220ms var(--ease-expo);
}

.delta-badge.show {
  opacity: 1;
  transform: translateY(0);
}

.delta-badge.up {
  background: rgba(34, 197, 94, 0.16);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.4);
}

.delta-badge.down {
  background: rgba(239, 68, 68, 0.16);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.4);
}

.num-bump {
  display: inline-block;
  animation: numBump 360ms var(--ease-expo);
}

@keyframes numBump {
  0% {
    transform: scale(1.18);
  }
  100% {
    transform: scale(1);
  }
}

.discord-live-log {
  margin-top: 12px;
  padding: 9px 12px;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12px;
  color: #d4d4d8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.discord-live-log.joined {
  border-color: rgba(34, 197, 94, 0.35);
}

.discord-live-log.left {
  border-color: rgba(239, 68, 68, 0.35);
}

.sync-refresh-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #d4d4d8;
  font-size: 11.5px;
  transition: border-color 150ms ease, color 150ms ease;
}

.sync-refresh-btn:hover {
  border-color: #ffffff;
  color: #ffffff;
}

.sync-refresh-btn.spinning svg {
  animation: spinSweep 0.65s linear infinite;
}

/* ---------- Customer Vouches ---------- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s-5);
}

.review-card {
  background: var(--g-panel);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: var(--s-5);
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  transition: transform 220ms var(--ease-expo), border-color 220ms ease;
}

.review-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.28);
}

.review-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
}

.review-user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  background: #27272a;
  border: 1px solid var(--line-strong);
  color: #ffffff;
  flex-shrink: 0;
}

.review-author {
  font-weight: 600;
  font-size: 15px;
  color: #ffffff;
}

.review-prod {
  font-size: 13px;
  color: var(--muted);
}

.review-stars {
  color: #ffffff;
  font-size: 14px;
  letter-spacing: 1px;
}

.review-quote {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-body);
  margin: 0;
}

.review-foot {
  margin-top: auto;
  padding-top: var(--s-3);
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--muted);
}

/* ---------- Interactive FAQ Accordion ---------- */
.faq-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-trigger {
  width: 100%;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  text-align: left;
  font-family: "Space Grotesk", sans-serif;
  font-size: 19px;
  font-weight: 600;
  color: #ffffff;
  transition: color 180ms ease;
}

.faq-trigger:hover {
  color: var(--ink-body);
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 18px;
  transition: transform 240ms var(--ease-expo), background-color 200ms ease, color 200ms ease;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: #ffffff;
  color: #050505;
  border-color: #ffffff;
}

.faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 280ms var(--ease-expo);
}

.faq-item.open .faq-panel {
  grid-template-rows: 1fr;
}

.faq-panel > div {
  overflow: hidden;
}

.faq-answer {
  padding-bottom: 22px;
  font-size: 16px;
  color: var(--ink-body);
  max-width: 72ch;
  margin: 0;
}

/* ---------- Closing Band & Footer ---------- */
.closing-band {
  padding: var(--s-9) 0;
  border-bottom: 1px solid var(--line);
  background: var(--g-alt);
}

.closing-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-6);
  flex-wrap: wrap;
}

.site-footer {
  padding: var(--s-8) 0 var(--s-6);
  background: var(--g-main);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: var(--s-6);
  padding-bottom: var(--s-7);
  border-bottom: 1px solid var(--line);
}

.footer-col h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 var(--s-4);
}

.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-list a,
.footer-list button {
  font-size: 14px;
  color: var(--muted);
  text-align: left;
  transition: color var(--m-in) var(--ease);
}

.footer-list a:hover,
.footer-list button:hover {
  color: #ffffff;
}

.footer-bottom {
  padding-top: var(--s-5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--s-3);
  font-size: 13px;
  color: var(--muted);
}

/* ---------- Real Live Discord Activity Pill ---------- */
.live-activity {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--r-sm);
  background: rgba(16, 16, 18, 0.94);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line-strong);
  font-size: 13px;
  color: var(--ink-body);
  box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.9);
  transform: translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition: transform 320ms var(--ease-expo), opacity 280ms ease;
}

.live-activity.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.live-activity strong {
  color: #ffffff;
}

.live-user-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.25);
  flex-shrink: 0;
}

.live-event-inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.live-activity-close {
  color: var(--muted);
  font-size: 16px;
  padding: 0 4px;
  line-height: 1;
}

.live-activity-close:hover {
  color: #ffffff;
}

/* ---------- Floating Discord Support Button ---------- */
.floating-discord {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 65;
  min-height: 46px;
  padding: 0 18px;
  border-radius: var(--r-sm);
  background: #ffffff;
  color: #050505;
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #ffffff;
  box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.9);
  transition: transform 200ms var(--ease-expo), background-color var(--m-in) var(--ease);
}

.floating-discord:hover {
  background: #e4e4e7;
  transform: translateY(-2px);
}

/* ---------- Cart Drawer & Modals ---------- */
.backdrop {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--m-panel) var(--ease);
}

.backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: min(440px, 100%);
  z-index: 100;
  background: var(--g-alt);
  border-left: 1px solid var(--line-strong);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 280ms var(--ease-expo);
}

.cart-drawer.open {
  transform: translateX(0);
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--s-5);
  border-bottom: 1px solid var(--line);
}

.panel-head h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 18px;
  margin: 0;
}

.close-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  color: var(--ink-body);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.close-btn:hover {
  border-color: #ffffff;
  color: #ffffff;
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: var(--s-5);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}

.cart-item {
  padding: var(--s-4);
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: var(--g-panel);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
}

.qty-group {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.qty-btn {
  width: 32px;
  height: 32px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.qty-btn:hover {
  border-color: #ffffff;
}

.drawer-foot {
  padding: var(--s-5);
  border-top: 1px solid var(--line);
  background: var(--g-main);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 105;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--s-4);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--m-panel) var(--ease);
}

.modal.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  width: min(560px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  border-radius: var(--r-md);
  background: var(--g-alt);
  border: 1px solid var(--line-strong);
  transform: translateY(12px) scale(0.985);
  transition: transform 240ms var(--ease-expo);
}

.modal.open .modal-card {
  transform: translateY(0) scale(1);
}

.modal-body {
  padding: var(--s-5);
}

.order-box {
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--g-main);
  padding: var(--s-4);
  margin-bottom: var(--s-5);
}

.order-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  padding: 6px 0;
  color: var(--ink-body);
}

.order-row.total {
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-weight: 700;
  font-size: 16px;
  color: #ffffff;
}

.field {
  margin-bottom: var(--s-4);
}

.field label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 6px;
}

.field input,
.field textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: var(--r-sm);
  background: var(--g-main);
  border: 1px solid var(--line-strong);
  color: #ffffff;
  font: inherit;
  font-size: 15px;
}

.field input:focus,
.field textarea:focus {
  border-color: #ffffff;
  outline: none;
}

.field-error {
  margin-top: 6px;
  font-size: 13px;
  color: #fca5a5;
  display: none;
}

.pay-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.pay-btn {
  min-height: 44px;
  padding: 0 12px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: var(--g-main);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-body);
  text-align: left;
  transition: all var(--m-in) var(--ease);
}

.pay-btn.active {
  border-color: #ffffff;
  background: #ffffff;
  color: #050505;
  font-weight: 700;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 16px);
  z-index: 120;
  padding: 12px 18px;
  border-radius: var(--r-sm);
  background: #ffffff;
  color: #050505;
  font-size: 14px;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms var(--ease), transform 200ms var(--ease);
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ---------- Reduced Motion Respect ---------- */
@media (prefers-reduced-motion: reduce) {
  .intro-loader,
  .fx-cursor {
    display: none !important;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  [data-enter] .enter-item,
  [data-enter] .enter-visual,
  [data-reveal],
  .kinetic-line > span {
    opacity: 1 !important;
    transform: none !important;
  }
  .ribbon-track {
    animation: none !important;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 1120px) {
  :root {
    --gut: 32px;
  }
  .hero-grid,
  .spotlight-grid,
  .discord-split {
    grid-template-columns: 1fr;
  }
  .bento-card {
    grid-column: span 12;
  }
  .reviews-grid,
  .steps-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .nav-links,
  .nav-discord-desktop,
  .live-activity,
  .fx-cursor {
    display: none !important;
  }
  .menu-toggle {
    display: inline-flex;
  }
  .status-row.head {
    display: none;
  }
  .status-row {
    grid-template-columns: 1fr auto;
    gap: 8px 12px;
  }
  .hide-sm {
    display: none;
  }
  .spotlight-copy {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  :root {
    --gut: 16px;
    --nav: 76px;
    --padt: 84px;
    --padb: 64px;
    --bar: 68px;
  }
  .products-grid,
  .reviews-grid,
  .steps-grid,
  .footer-grid,
  .pay-grid {
    grid-template-columns: 1fr;
  }
  .hero-box-switcher {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero-actions .btn {
    width: 100%;
  }
  .discord-split {
    padding: var(--s-5);
  }
  .packet-flow {
    grid-template-columns: 1fr;
  }
  .packet-wire {
    width: 2px;
    height: 18px;
    margin: 0 auto;
  }
  .floating-discord span {
    display: none;
  }
  .floating-discord {
    padding: 0 14px;
    right: 16px;
    bottom: 16px;
  }
}

/* ==========================================================================
   DISCORD OAUTH2 LOGIN PILL & LUXURY CHECKOUT MOTION (100% MONOCHROME)
   ========================================================================== */
@keyframes pillPopIn {
  0% { opacity: 0; transform: translateY(-4px) scale(0.96); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes shimmerSweep {
  0% { transform: translateX(-140%) skewX(-18deg); }
  100% { transform: translateX(260%) skewX(-18deg); }
}

@keyframes pulseLiveDot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55); }
  50% { box-shadow: 0 0 0 5px rgba(34, 197, 94, 0); }
}

@keyframes spinMicro {
  to { transform: rotate(360deg); }
}

@keyframes successRingPop {
  0% { opacity: 0; transform: scale(0.75); }
  65% { opacity: 1; transform: scale(1.06); }
  100% { opacity: 1; transform: scale(1); }
}

.auth-nav-slot {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.discord-login-btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 38px;
  padding: 0 15px 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.03) 100%);
  color: #ffffff;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 4px 16px rgba(0, 0, 0, 0.45);
  transition: transform 200ms cubic-bezier(0.22, 1, 0.36, 1), background 200ms ease, color 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
  animation: pillPopIn 320ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.discord-login-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 45%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transform: translateX(-140%) skewX(-18deg);
  pointer-events: none;
}

.discord-login-btn:hover {
  background: #ffffff;
  color: #050505;
  border-color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.18);
}

.discord-login-btn:hover::after {
  animation: shimmerSweep 680ms cubic-bezier(0.22, 1, 0.36, 1);
}

.discord-login-btn .discord-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  transition: background 180ms ease;
}

.discord-login-btn:hover .discord-icon-wrap {
  background: rgba(5, 5, 6, 0.12);
}

.discord-user-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 38px;
  padding: 4px 6px 4px 5px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: linear-gradient(180deg, rgba(24, 24, 27, 0.96) 0%, rgba(10, 10, 12, 0.96) 100%);
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  max-width: 220px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 6px 20px rgba(0, 0, 0, 0.5);
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
  animation: pillPopIn 320ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.discord-user-pill:hover {
  border-color: rgba(255, 255, 255, 0.52);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.65);
}

.discord-avatar-wrap {
  position: relative;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.discord-user-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  background: #0b0b0c;
}

.discord-avatar-dot {
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #22c55e;
  border: 2px solid #0e0e10;
  animation: pulseLiveDot 2.2s infinite;
}

.discord-user-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 112px;
  letter-spacing: 0.01em;
}

.discord-logout-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: #a1a1aa;
  cursor: pointer;
  padding: 0;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease, transform 160ms ease;
  flex-shrink: 0;
}

.discord-logout-btn:hover {
  color: #050505;
  background: #ffffff;
  border-color: #ffffff;
  transform: scale(1.06);
}

.mobile-auth-slot {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.mobile-auth-slot .discord-login-btn,
.mobile-auth-slot .discord-user-pill {
  width: 100%;
  max-width: none;
  justify-content: space-between;
  height: 46px;
  padding: 0 14px;
  border-radius: 8px;
}

/* Checkout Modal — Structured Studio Payment Interface */
#checkout-modal .modal-card {
  max-width: 560px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: linear-gradient(180deg, #0d0d0f 0%, #070708 100%);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.checkout-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.checkout-step {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.05em;
  color: #71717a;
  transition: color 200ms ease;
}

.checkout-step-num {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
}

.checkout-step.active {
  color: #ffffff;
}

.checkout-step.active .checkout-step-num {
  background: #ffffff;
  color: #050505;
  border-color: #ffffff;
}

.checkout-step.done {
  color: #a1a1aa;
}

.checkout-step.done .checkout-step-num {
  background: rgba(34, 197, 94, 0.16);
  color: #86efac;
  border-color: rgba(34, 197, 94, 0.45);
}

.checkout-login-gate {
  text-align: center;
  padding: 12px 6px 6px;
  animation: pillPopIn 280ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.checkout-gate-icon {
  width: 62px;
  height: 62px;
  margin: 0 auto 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.12), #09090b 75%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.55);
}

.checkout-user-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
  margin-bottom: 16px;
  animation: pillPopIn 260ms ease both;
}

.checkout-user-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.checkout-user-card .discord-avatar-wrap {
  width: 42px;
  height: 42px;
}

.checkout-user-card img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  flex-shrink: 0;
}

.checkout-user-meta {
  min-width: 0;
}

.checkout-user-display {
  font-weight: 700;
  font-size: 15px;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.checkout-user-handle {
  font-size: 12px;
  color: #a1a1aa;
  font-family: "JetBrains Mono", monospace;
}

.checkout-server-tag {
  font-size: 11px;
  font-family: "JetBrains Mono", monospace;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #e4e4e7;
  white-space: nowrap;
  text-decoration: none;
}

.checkout-server-tag.ok {
  border-color: rgba(34, 197, 94, 0.45);
  background: rgba(34, 197, 94, 0.08);
  color: #86efac;
}

.checkout-server-tag.warn {
  border-color: rgba(245, 158, 11, 0.55);
  background: rgba(245, 158, 11, 0.08);
  color: #fde68a;
}

.checkout-section-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #a1a1aa;
  margin-bottom: 8px;
  display: block;
}

.checkout-add-bar {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 8px;
  margin-bottom: 16px;
}

.checkout-add-bar select {
  width: 100%;
  height: 38px;
  padding: 0 10px;
  background: #0a0a0c;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  font-size: 13px;
  transition: border-color 160ms ease;
}

.checkout-add-bar select:focus {
  outline: none;
  border-color: #ffffff;
}

.pay-grid-pro {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.pay-card-btn {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 10px 12px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.02);
  color: #e4e4e7;
  text-align: left;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.pay-card-btn:hover {
  border-color: rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-1px);
}

.pay-card-btn.active {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}

.pay-card-title {
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
}

.pay-card-sub {
  font-size: 11px;
  color: #a1a1aa;
}

.pay-card-btn.active .pay-card-sub {
  color: #d4d4d8;
}

.order-row-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.order-rm-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #a1a1aa;
  width: 22px;
  height: 22px;
  border-radius: 4px;
  cursor: pointer;
  line-height: 1;
  font-size: 14px;
  transition: background 150ms ease, color 150ms ease;
}

.order-rm-btn:hover {
  color: #050505;
  background: #ffffff;
  border-color: #ffffff;
}

.btn-shimmer {
  position: relative;
  overflow: hidden;
}

.btn-shimmer::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 40%;
  background: linear-gradient(90deg, transparent, rgba(5, 5, 6, 0.18), transparent);
  transform: translateX(-140%) skewX(-18deg);
  pointer-events: none;
}

.btn-shimmer:hover::after {
  animation: shimmerSweep 720ms cubic-bezier(0.22, 1, 0.36, 1);
}

.btn-spinner {
  width: 15px;
  height: 15px;
  border: 2px solid rgba(5, 5, 6, 0.25);
  border-top-color: #050505;
  border-radius: 50%;
  display: inline-block;
  animation: spinMicro 650ms linear infinite;
  vertical-align: middle;
  margin-right: 8px;
}

.ticket-success-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 14px;
  border-radius: 50%;
  border: 1.5px solid rgba(34, 197, 94, 0.6);
  background: rgba(34, 197, 94, 0.1);
  color: #86efac;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: successRingPop 380ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.ticket-room-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  font-family: "JetBrains Mono", monospace;
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
}

.checkout-inline-alert {
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.04);
  margin-bottom: 14px;
  font-size: 13.5px;
  color: #e4e4e7;
}

@media (max-width: 760px) {
  .auth-nav-slot {
    display: none;
  }
  .checkout-add-bar,
  .pay-grid-pro {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   SOLD OUT STATE (MONOCHROME STUDIO STAMP & DISABLED CTA)
   ========================================================================== */
.product-card.is-sold-out .poster-frame img {
  opacity: 0.45;
  filter: grayscale(0.75) contrast(1.05);
}

.sold-out-stamp {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-6deg);
  padding: 9px 22px;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  border-radius: 4px;
  background: rgba(5, 5, 6, 0.86);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  font-family: "JetBrains Mono", monospace;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.75);
  pointer-events: none;
  z-index: 3;
}

.status-pill.soldout {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(12, 12, 14, 0.92);
  color: #e4e4e7;
}

.btn-sold-out {
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  background: rgba(255, 255, 255, 0.05) !important;
  color: #a1a1aa !important;
  cursor: not-allowed !important;
  opacity: 0.85;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-family: "JetBrains Mono", monospace;
  font-size: 12.5px;
}

.btn-sold-out:hover {
  transform: none !important;
  background: rgba(255, 255, 255, 0.05) !important;
  color: #a1a1aa !important;
}

/* ==========================================================================
   VERIFIED BUYER REVIEWS — EMPTY STATE & INLINE COMPOSER (MONOCHROME)
   ========================================================================== */
.reviews-head-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.verified-only-pill {
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding: 0 14px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.03);
  color: #a1a1aa;
  font-size: 11.5px;
  letter-spacing: 0.06em;
}

.reviews-empty-card {
  grid-column: 1 / -1;
  text-align: center;
  padding: 46px 24px;
  border-radius: 10px;
  border: 1px dashed rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.02);
}

.reviews-empty-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: #0a0a0c;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.review-composer {
  padding: 22px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: linear-gradient(180deg, #101012 0%, #09090b 100%);
  margin-bottom: 24px;
  animation: pillPopIn 240ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.review-composer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
}

.review-composer-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  margin-bottom: 16px;
  align-items: end;
}

.review-composer select {
  width: 100%;
  height: 40px;
  padding: 0 12px;
  background: #070708;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  font-size: 13.5px;
}

.star-picker {
  display: inline-flex;
  gap: 6px;
  height: 40px;
  align-items: center;
  padding: 0 10px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #070708;
}

.star-pick-btn {
  background: transparent;
  border: none;
  color: #3f3f46;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  padding: 2px;
  transition: color 140ms ease, transform 140ms ease;
}

.star-pick-btn.active,
.star-pick-btn:hover {
  color: #ffffff;
  transform: scale(1.12);
}

.review-avatar-img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  background: #0b0b0c;
  flex-shrink: 0;
}

@media (max-width: 700px) {
  .review-composer-row {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   OWNER-ONLY FULL-ACCESS ADMIN DASHBOARD (MONOCHROME)
   ========================================================================== */
.admin-nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 38px;
  padding: 0 14px;
  margin-right: 8px;
  border-radius: 999px;
  border: 1px solid #ffffff;
  background: #ffffff;
  color: #050505;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  animation: pillPopIn 280ms cubic-bezier(0.22, 1, 0.36, 1) both;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.admin-nav-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.25);
}

.admin-modal-card {
  max-width: 720px !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  background: linear-gradient(180deg, #0e0e10 0%, #070708 100%) !important;
}

.admin-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

.admin-kpi {
  padding: 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.admin-kpi span {
  font-size: 10.5px;
  color: #a1a1aa;
  letter-spacing: 0.08em;
}

.admin-kpi strong {
  font-size: 18px;
  color: #ffffff;
  font-family: "Space Grotesk", sans-serif;
}

.admin-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-tab-btn {
  height: 34px;
  padding: 0 13px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: transparent;
  color: #a1a1aa;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 160ms ease;
}

.admin-tab-btn:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.35);
}

.admin-tab-btn.active {
  background: #ffffff;
  color: #050505;
  border-color: #ffffff;
}

.admin-bulk-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.admin-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.admin-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.02);
  flex-wrap: wrap;
}

.admin-item-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.admin-select {
  height: 34px;
  padding: 0 10px;
  background: #09090b;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  font-size: 12.5px;
}

.admin-inline-form {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}

.admin-inline-form input {
  flex: 1;
  height: 38px;
  padding: 0 12px;
  background: #08080a;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  font-size: 13.5px;
}

.admin-sec-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.admin-sec-card {
  padding: 14px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
}

@media (max-width: 640px) {
  .admin-kpi-grid,
  .admin-sec-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .admin-inline-form {
    flex-direction: column;
  }
}

/* Discord Trust Vouches Filter & Badges */
.reviews-filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.review-badge-buyer {
  color: #ffffff;
  font-weight: 700;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.03em;
}

.review-badge-vouch {
  color: #d4d4d8;
  font-weight: 600;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
}

.mobile-auth-slot .admin-nav-btn {
  width: 100%;
  margin-right: 0;
  margin-bottom: 10px;
  height: 44px;
  border-radius: 8px;
}

/* ==========================================================================
   FULL-ACCESS DASHBOARD — LIVE ORDER TICKET CHAT, VISITORS IP LOG & PRICING
   ========================================================================== */
.site-announcement {
  position: relative;
  z-index: 95;
  width: 100%;
  padding: 9px 18px;
  text-align: center;
  background: #ffffff;
  color: #050505;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.admin-modal-card {
  max-width: 980px !important;
  width: 95vw !important;
}

.admin-role-pill {
  display: inline-block;
  margin-left: 8px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 10px;
  letter-spacing: 0.08em;
  vertical-align: middle;
}

.admin-role-pill.owner {
  background: #ffffff;
  color: #050505;
}

.admin-role-pill.vendor {
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #e4e4e7;
}

.admin-item-card {
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.02);
}

.admin-prod-editor {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-tiers-edit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.admin-tier-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.admin-tier-field span {
  font-size: 10.5px;
  color: #a1a1aa;
}

.admin-tier-field input {
  width: 100%;
  height: 34px;
  padding: 0 10px;
  background: #070708;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  font-size: 13px;
}

/* Split-Pane Live Order Tickets Desk */
.admin-tickets-layout {
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 14px;
  min-height: 430px;
}

.admin-tickets-sidebar {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.02);
  display: flex;
  flex-direction: column;
}

.admin-tickets-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 380px;
  overflow-y: auto;
}

.admin-ticket-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
  transition: border-color 150ms ease, background 150ms ease;
}

.admin-ticket-item:hover,
.admin-ticket-item.active {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.admin-ticket-chat-pane {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: #070709;
  display: flex;
  flex-direction: column;
  min-height: 430px;
  max-height: 460px;
  overflow: hidden;
}

.admin-chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  flex-wrap: wrap;
}

.admin-chat-feed {
  flex: 1;
  overflow-y: auto;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.admin-chat-empty {
  margin: auto;
  padding: 36px 20px;
  text-align: center;
  font-size: 12px;
  color: #a1a1aa;
}

.admin-chat-msg {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.admin-chat-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.25);
  flex-shrink: 0;
}

.admin-chat-msg-body {
  min-width: 0;
  flex: 1;
}

.admin-chat-msg-head {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: #ffffff;
  margin-bottom: 3px;
}

.admin-bot-tag {
  font-size: 9.5px;
  padding: 1px 5px;
  border-radius: 4px;
  background: #ffffff;
  color: #050505;
  font-weight: 700;
}

.admin-chat-text {
  font-size: 13.5px;
  color: #e4e4e7;
  line-height: 1.5;
  word-break: break-word;
}

.admin-msg-embed {
  margin-top: 6px;
  padding: 10px 12px;
  border-left: 3px solid #ffffff;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.04);
  font-size: 12.5px;
  color: #d4d4d8;
}

.admin-msg-embed-title {
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.admin-msg-embed-fields {
  margin-top: 6px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.admin-chat-compose {
  padding: 10px 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.admin-chat-compose input[type="text"] {
  flex: 1;
  height: 38px;
  padding: 0 12px;
  background: #0a0a0c;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  font-size: 13px;
}

.admin-embed-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  color: #a1a1aa;
  cursor: pointer;
}

/* Visitor IP Table */
.admin-table-wrap {
  max-height: 340px;
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
}

.admin-table th {
  position: sticky;
  top: 0;
  background: #101012;
  color: #a1a1aa;
  text-align: left;
  padding: 10px 12px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.05em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.admin-table td {
  padding: 9px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: #e4e4e7;
}

@media (max-width: 820px) {
  .admin-tickets-layout {
    grid-template-columns: 1fr;
  }
  .admin-tiers-edit-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==========================================================================
   ERFAN SERVER RULES SECTION (ENGLISH TEXT-ONLY MONOCHROME CARDS)
   ========================================================================== */
.rules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.rule-card {
  position: relative;
  padding: 22px 20px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035) 0%, rgba(255, 255, 255, 0.01) 100%);
  transition: border-color 200ms ease, transform 200ms ease;
}

.rule-card:hover {
  border-color: rgba(255, 255, 255, 0.45);
  transform: translateY(-2px);
}

.rule-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.rule-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: #ffffff;
  color: #050505;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}

.rule-title {
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

.rule-body {
  font-size: 14.5px;
  color: #d4d4d8;
  line-height: 1.65;
  margin: 0;
}

.rules-footer-note {
  margin-top: 20px;
  padding: 14px 18px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.02);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: #a1a1aa;
}

.rules-footer-note span:last-child {
  color: #ffffff;
  font-weight: 700;
}

@media (max-width: 960px) {
  .rules-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* ---------- Payment Hub Checkout Cards & Action Box ---------- */
.pay-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
}

.pay-auto-pill {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  flex-shrink: 0;
}

.pay-card-btn.active .pay-auto-pill {
  background: #050505;
  color: #ffffff;
  border-color: #050505;
}

.pay-action-box {
  text-align: left;
  margin-top: 14px;
  padding: 16px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.035);
}

.pay-action-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 10px;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pay-wallet-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 10px;
}

.pay-wallet-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 11px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(5, 5, 5, 0.72);
}

.pay-wallet-meta {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pay-wallet-lbl {
  font-size: 10px;
  letter-spacing: 0.07em;
  color: #a1a1aa;
  text-transform: uppercase;
}

.pay-wallet-val {
  font-size: 12px;
  color: #ffffff;
  word-break: break-all;
}

.pay-copy-btn {
  padding: 5px 10px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.07);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 140ms ease, color 140ms ease;
}

.pay-copy-btn:hover {
  background: #ffffff;
  color: #050505;
}

.pay-action-note {
  margin: 4px 0 0;
  font-size: 12.5px;
  color: #a1a1aa;
  line-height: 1.5;
}
