/* ====================================================================
   ASTA MART — NEXT LEVEL DESIGN SYSTEM
   Apple-inspired, Valorant-themed, Production-ready
   ==================================================================== */

/* ── IMPORTS & RESET ─────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Space+Grotesk:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap');

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

/* ── DESIGN TOKENS ─────────────────────────────────────────────── */
:root {
  /* Brand Colors — Beige Theme */
  --red:           #C8553D;
  --red-dark:      #A84430;
  --red-deep:      #7B3020;
  --red-glow:      rgba(200,85,61,0.18);
  --red-glow-lg:   rgba(200,85,61,0.35);

  --cyan:          #5B8A72;
  --cyan-dim:      #4A7560;
  --cyan-glow:     rgba(91,138,114,0.12);
  --cyan-border:   rgba(91,138,114,0.22);

  --violet:        #7B6B5D;
  --violet-soft:   #9B8B7D;
  --violet-glow:   rgba(123,107,93,0.12);

  --gold:          #C8873D;
  --gold-soft:     #D4A05A;
  --gold-glow:     rgba(200,135,61,0.12);

  --green:         #4CAF50;
  --green-glow:    rgba(76,175,80,0.12);

  /* Background Palette — Beige */
  --bg-0:    #F5F0EB;
  --bg-1:    #EDE6DF;
  --bg-2:    #E8DDD2;
  --bg-3:    #D4C4B0;
  --bg-card: rgba(250,247,244,0.8);
  --bg-glass: rgba(0,0,0,0.03);

  /* Surface & Glass — Light Mode */
  --glass-border:  rgba(0,0,0,0.06);
  --glass-border2: rgba(0,0,0,0.10);
  --glass-shine:   rgba(0,0,0,0.03);
  --glass-hover:   rgba(0,0,0,0.05);

  /* Text — Dark on Light */
  --text-1:   #2C2420;
  --text-2:   #4A3F38;
  --text-3:   #6B5344;
  --text-4:   #8B7B6B;

  /* Typography */
  --font-display: 'Inter', 'Space Grotesk', sans-serif;
  --font-body:    'Inter', sans-serif;
  --font-mono:    'JetBrains Mono', monospace;
  --font-ui:      'Space Grotesk', 'Inter', sans-serif;

  /* Radii */
  --r-xs:  4px;
  --r-sm:  8px;
  --r-md:  12px;
  --r-lg:  16px;
  --r-xl:  24px;
  --r-2xl: 32px;
  --r-full: 9999px;

  /* Shadows — Softer for light theme */
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.08);
  --shadow-md:  0 8px 32px rgba(0,0,0,0.1);
  --shadow-lg:  0 20px 60px rgba(0,0,0,0.12);
  --shadow-red: 0 4px 20px rgba(200,85,61,0.2), 0 2px 10px rgba(200,85,61,0.1);
  --glow-cyan:  0 0 20px rgba(91,138,114,0.25);
  --glow-red:   0 0 20px rgba(200,85,61,0.3);

  /* Transitions */
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-out:    cubic-bezier(0.0, 0.0, 0.2, 1);
  --ease-in-out: cubic-bezier(0.4, 0.0, 0.2, 1);

  /* Layout */
  --nav-h: 68px;
  --max-w: 1280px;

  /* Legacy aliases — for older pages still referencing old names.
     Every one resolves to the beige palette so no page falls back
     to an unstyled / dark default. */
  --bg-primary:    #F5F0EB;
  --bg-secondary:  #EDE6DF;
  --bg-tertiary:   #E8DDD2;
  --bg-card-legacy: rgba(250,247,244,0.9);
  --white-pure:    #2C2420;   /* was pure white on dark bg; now dark text on light */
  --white-dim:     #4A3F38;
  --white-muted:   rgba(44,36,32,0.55);
  --border-dim:    rgba(0,0,0,0.08);
  --border-mid:    rgba(0,0,0,0.12);
  --accent-cyan:   #B8653A;   /* replaced dark blue with warm terracotta for beige theme */
  --accent-red:    #C8553D;
  --accent-gold:   #C8873D;
  --accent-blue:   #B8653A;   /* replaced dark blue with warm terracotta */
  --accent-green:  #4CAF50;
  --bg-dark:       #1a1a2e;
  --font-display-alt: 'Bebas Neue', 'Impact', sans-serif;
}

/* ── BASE ─────────────────────────────────────────────────────────── */
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--bg-0);
  color: var(--text-1);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c8a882' fill-opacity='0.06'%3E%3Ccircle cx='30' cy='30' r='1'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* Subtle texture overlay removed for clean beige look */

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; }
input, textarea, select { font-family: inherit; }

.hidden { display: none !important; }
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* ── SCROLLBAR ────────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-1); }
::-webkit-scrollbar-thumb { background: var(--bg-3); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-3); }

/* ── SELECTION ────────────────────────────────────────────────────── */
::selection { background: rgba(200,85,61,0.25); color: #fff; }

/* ======================================================================
   NAVBAR — LIQUID GLASS APPLE STYLE
   ====================================================================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 0 28px;
  background: rgba(250,247,244,0.88);
  backdrop-filter: blur(40px) saturate(1.2);
  -webkit-backdrop-filter: blur(40px) saturate(1.2);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: all 0.4s var(--ease-out);
}

.navbar.scrolled {
  background: rgba(250,247,244,0.96);
  backdrop-filter: blur(60px) saturate(1.5);
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

/* Bottom gradient line */
.navbar::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(200,85,61,0.3) 30%,
    rgba(200,135,61,0.3) 70%,
    transparent 100%);
  opacity: 0.6;
}

/* Logo */
.brand-logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-brand-img {
  height: 44px;
  width: auto;
  filter: drop-shadow(0 0 8px rgba(200,85,61,0.15));
  transition: filter 0.3s ease, transform 0.3s var(--ease-spring);
}

.brand-logo-link:hover .nav-brand-img {
  filter: drop-shadow(0 0 14px rgba(200,85,61,0.25));
  transform: scale(1.04);
}

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
}

/* Premium nav button */
.nav-premium-btn {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  padding: 2px;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, rgba(0,0,0,0.06), rgba(255,255,255,0.02));
  border: 1px solid rgba(0,0,0,0.06);
  transition: all 0.25s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.nav-premium-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(91,138,114,0.06), rgba(200,85,61,0.06));
  opacity: 0;
  transition: opacity 0.25s;
}

.nav-premium-btn:hover {
  border-color: rgba(0,0,0,0.1);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}

.nav-premium-btn:hover::before { opacity: 1; }

.nav-premium-inner {
  padding: 7px 16px;
  border-radius: calc(var(--r-md) - 2px);
  color: var(--text-2);
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.3px;
  position: relative;
  z-index: 1;
  white-space: nowrap;
  transition: color 0.25s;
}

.nav-premium-btn:hover .nav-premium-inner { color: var(--text-1); }

/* Active/current page indicator */
.nav-premium-btn.active {
  border-color: rgba(200,85,61,0.4);
  background: rgba(200,85,61,0.08);
}
.nav-premium-btn.active .nav-premium-inner { color: var(--red); }

/* Nav Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
}

/* Cart/Wishlist Icon */
.nav-cart-icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--r-md);
  background: rgba(0,0,0,0.03);
  border: 1px solid rgba(0,0,0,0.05);
  color: var(--text-3);
  transition: all 0.25s var(--ease-out);
}

.nav-cart-icon:hover {
  background: rgba(200,85,61,0.08);
  border-color: rgba(200,85,61,0.3);
  color: var(--red);
  box-shadow: 0 0 15px rgba(200,85,61,0.1);
  transform: scale(1.05);
}

.cart-badge {
  position: absolute;
  top: -6px; right: -6px;
  background: var(--red);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  font-family: var(--font-mono);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bg-0);
  box-shadow: 0 0 10px rgba(200,85,61,0.4);
}

/* Auth Buttons */
.auth-btn-wrapper {
  height: 38px;
  border-radius: var(--r-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  padding: 2px;
  font-family: var(--font-ui);
  background: transparent;
  transition: all 0.25s;
}

.auth-btn-login {
  background: linear-gradient(135deg, rgba(200,85,61,0.2) 0%, rgba(200,85,61,0.05) 100%);
  border: 1px solid rgba(200,85,61,0.25);
}
.auth-btn-login:hover {
  background: rgba(200,85,61,0.15) !important;
  border-color: rgba(200,85,61,0.4) !important;
  box-shadow: 0 0 15px rgba(200,85,61,0.2) !important;
  transform: translateY(-1px);
}

.auth-btn-signup {
  background: linear-gradient(135deg, rgba(200,85,61,0.3) 0%, rgba(200,85,61,0.08) 100%);
  border: 1px solid rgba(200,85,61,0.3);
}
.auth-btn-signup:hover {
  background: rgba(200,85,61,0.25) !important;
  border-color: rgba(200,85,61,0.5) !important;
  box-shadow: 0 0 20px rgba(200,85,61,0.3) !important;
  transform: translateY(-1px);
}

.auth-btn-inner {
  width: 100%;
  height: 100%;
  border-radius: calc(var(--r-md) - 2px);
  background: rgba(250,247,244,0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--text-1);
  font-weight: 600;
  font-size: 13px;
  padding: 0 16px;
}

.auth-btn-inner svg {
  width: 17px;
  height: 17px;
  fill: var(--text-3);
}

/* User Avatar */
.avatar {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 14px;
  color: #FAF7F4;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(200,85,61,0.2);
  border: 2px solid rgba(200,85,61,0.3);
  transition: all 0.25s var(--ease-spring);
}

.avatar:hover {
  box-shadow: 0 4px 20px rgba(200,85,61,0.3);
  border-color: rgba(200,85,61,0.6);
  transform: scale(1.06);
}

/* User Dropdown Menu */
.user-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  background: rgba(250,247,244,0.98);
  backdrop-filter: blur(30px);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--r-lg);
  min-width: 200px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.12), 0 0 0 1px rgba(0,0,0,0.04);
  padding: 12px;
  animation: menuIn 0.2s var(--ease-spring);
}

@keyframes menuIn {
  from { opacity: 0; transform: scale(0.95) translateY(-8px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.menu-row {
  width: 100%;
  display: flex;
  justify-content: center;
}

/* Profile Hub Button */
.profile-hub-btn {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: var(--r-full);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s var(--ease-spring);
  background: linear-gradient(135deg, var(--cyan), var(--cyan-dim));
  box-shadow: 0 4px 12px rgba(91,138,114,0.2);
}

.profile-hub-btn:hover {
  width: 140px;
  border-radius: var(--r-full);
}

.profile-hub-btn:hover .sign { width: 30%; padding-left: 12px; }
.profile-hub-btn:hover .text { opacity: 1; width: 70%; padding-right: 12px; }

.profile-hub-btn .sign {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--ease-spring);
}

.profile-hub-btn .sign svg {
  width: 18px;
  fill: var(--bg-0);
}

.profile-hub-btn .text {
  position: absolute;
  right: 0;
  width: 0;
  opacity: 0;
  color: var(--bg-0);
  font-size: 13px;
  font-weight: 700;
  font-family: var(--font-ui);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s var(--ease-spring);
  white-space: nowrap;
}

/* Animated Logout Button */
.Btn {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: var(--r-full);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s var(--ease-spring);
  background-color: var(--red);
  box-shadow: 0 4px 15px rgba(200,85,61,0.25);
}

.Btn:hover { width: 120px; border-radius: var(--r-full); }
.Btn:hover .sign { width: 30%; padding-left: 12px; }
.Btn:hover .text { opacity: 1; width: 70%; padding-right: 10px; }
.Btn:active { transform: translate(1px, 1px); }

.Btn .sign {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--ease-spring);
}

.Btn .sign svg { width: 14px; }
.Btn .sign svg path { fill: white; }

.Btn .text {
  position: absolute;
  right: 0;
  width: 0;
  opacity: 0;
  color: white;
  font-size: 13px;
  font-family: var(--font-ui);
  font-weight: 600;
  transition: all 0.3s var(--ease-spring);
}

/* ======================================================================
   BUTTONS
   ====================================================================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  color: #fff;
  border: none;
  cursor: pointer;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.5px;
  padding: 11px 24px;
  border-radius: var(--r-md);
  transition: all 0.25s var(--ease-out);
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  white-space: nowrap;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.1), transparent);
  opacity: 0;
  transition: opacity 0.25s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-red);
}
.btn-primary:hover::before { opacity: 1; }
.btn-primary:active { transform: translateY(0); }

.btn-primary.sm { padding: 7px 16px; font-size: 12px; }
.btn-primary.lg { padding: 14px 36px; font-size: 16px; }
.btn-primary.full { width: 100%; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  color: var(--text-3);
  border: 1px solid rgba(0,0,0,0.08);
  cursor: pointer;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.3px;
  padding: 10px 22px;
  border-radius: var(--r-md);
  transition: all 0.25s var(--ease-out);
  white-space: nowrap;
  text-transform: uppercase;
}

.btn-ghost:hover {
  border-color: rgba(200,85,61,0.3);
  color: var(--red);
  background: rgba(200,85,61,0.06);
  box-shadow: 0 0 15px rgba(200,85,61,0.08);
  transform: translateY(-1px);
}

.btn-ghost.sm { padding: 6px 14px; font-size: 12px; }
.btn-ghost.full { width: 100%; }

.btn-cyan {
  background: linear-gradient(135deg, var(--cyan) 0%, var(--cyan-dim) 100%);
  color: var(--text-1);
  font-weight: 800;
}
.btn-cyan:hover { box-shadow: var(--glow-cyan); }

/* ======================================================================
   HERO — CINEMATIC CONTROLLER ANIMATION SECTION
   ====================================================================== */
.premium-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: var(--bg-0);
}

.pin-container {
  width: 100%;
  height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Controller animation image */
.video-container {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.hero-video {
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  position: absolute;
  top: 0; left: 0;
  filter: blur(0px) brightness(0.85) contrast(1.1) saturate(1.2);
  transition: filter 0.1s ease-out;
  will-change: filter;
}

/* Gradient overlays for depth */
.video-gradient-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 40%, transparent 0%, rgba(245,240,235,0.5) 100%),
    linear-gradient(to bottom, rgba(245,240,235,0.2) 0%, transparent 30%, transparent 60%, rgba(245,240,235,0.95) 100%);
  z-index: 1;
}

/* Hero content */
.hero-content {
  position: relative;
  z-index: 5;
  text-align: center;
  padding: 80px 24px 0 24px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(200,85,61,0.1);
  border: 1px solid rgba(200,85,61,0.2);
  color: var(--red);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: var(--r-full);
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
}

.hero-eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 8px var(--red);
  animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(72px, 12vw, 160px);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -4px;
  margin: 0 0 20px;
  background: linear-gradient(180deg, var(--text-1) 0%, var(--text-3) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
}

.hero-subheadline {
  font-family: var(--font-mono);
  font-size: clamp(12px, 1.8vw, 16px);
  color: var(--cyan);
  letter-spacing: 6px;
  text-transform: uppercase;
  margin-bottom: 40px;
  opacity: 0.9;
}

/* Hero CTA buttons */
.hero-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

/* Animated gradient border button */
.hero-cta-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 36px;
  border-radius: var(--r-xl);
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 700;
  color: #fff !important;
  background: linear-gradient(135deg, var(--red), #FF1F4A);
  border: none;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.3s var(--ease-spring);
  text-decoration: none;
  white-space: nowrap;
  pointer-events: auto;
  will-change: auto;
}

.hero-cta-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.1), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
}

.hero-cta-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 0 40px rgba(200,85,61,0.5), 0 8px 30px rgba(200,85,61,0.3);
}
.hero-cta-primary:hover::before { opacity: 1; }

.hero-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 30px;
  border-radius: var(--r-xl);
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 600;
  color: #fff !important;
  background: rgba(0,0,0,0.04);
  border: 1px solid rgba(0,0,0,0.08);
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  text-decoration: none;
  white-space: nowrap;
  backdrop-filter: blur(10px);
  pointer-events: auto;
  will-change: auto;
}

.hero-cta-secondary:hover {
  background: rgba(255,255,255,0.09);
  border-color: rgba(91,138,114,0.3);
  color: var(--cyan);
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(91,138,114,0.1);
}

/* Feature cards at bottom of hero */
.feature-cards-container {
  position: absolute;
  bottom: 8%;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1100px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  z-index: 5;
  pointer-events: none;
}

.glass-card {
  background: rgba(250,247,244,0.5);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  border: 1px solid rgba(0,0,0,0.06);
  border-top: 1px solid rgba(255,255,255,0.14);
  border-left: 1px solid rgba(0,0,0,0.08);
  padding: 24px;
  border-radius: var(--r-xl);
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.5s, transform 0.5s;
}

.glass-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.glass-card h3 {
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 6px;
  letter-spacing: 0.3px;
}

.glass-card p {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-3);
  line-height: 1.6;
}

.glass-card-icon {
  font-size: 28px;
  margin-bottom: 12px;
  filter: drop-shadow(0 0 10px rgba(91,138,114,0.4));
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.5;
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(0,0,0,0.35), transparent);
}

.scroll-text {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 2px;
  color: rgba(0,0,0,0.35);
  text-transform: uppercase;
}

/* ======================================================================
   NAVIGATION CARDS SECTION — Glass Cards with Icon
   ====================================================================== */
.glass-navigation-section {
  padding: 100px 0 120px;
  position: relative;
  overflow: hidden;
}

/* Ambient glow */
.glass-navigation-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(200,85,61,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.glass-cards-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  perspective: 1200px;
  margin-top: 60px;
}

/* The iconic glass card */
.glass {
  position: relative;
  width: 220px;
  height: 280px;
  background: linear-gradient(160deg, rgba(237,230,223,0.85) 0%, rgba(237,230,223,0.92) 100%);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--r-2xl);
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 16px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.45s var(--ease-spring);
  box-shadow: 0 8px 32px rgba(44,36,32,0.08);
  backdrop-filter: blur(20px);
}

.glass::before {
  content: attr(data-text);
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 56px;
  background: rgba(0,0,0,0.03);
  border-top: 1px solid rgba(0,0,0,0.06);
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-bottom-left-radius: var(--r-2xl);
  border-bottom-right-radius: var(--r-2xl);
}

.glass::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 50%;
  background: linear-gradient(180deg, rgba(0,0,0,0.04) 0%, transparent 100%);
  pointer-events: none;
}

.glass svg {
  width: 3.5em;
  height: 3.5em;
  fill: rgba(255,255,255,0.75);
  transition: all 0.35s var(--ease-spring);
  position: relative;
  z-index: 1;
}

.glass:hover {
  transform: translateY(-18px) rotateX(5deg);
  border-color: rgba(91,138,114,0.4);
  box-shadow: 0 30px 60px rgba(44,36,32,0.08), 0 0 40px rgba(91,138,114,0.15);
  background: linear-gradient(160deg, rgba(91,138,114,0.07) 0%, rgba(237,230,223,0.92) 100%);
}

.glass:hover svg {
  fill: var(--cyan);
  transform: scale(1.1) translateY(-4px);
  filter: drop-shadow(0 0 12px rgba(91,138,114,0.5));
}

/* ======================================================================
   SECTION TITLES
   ====================================================================== */
.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 12px;
  opacity: 0.8;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text-1);
  line-height: 1.15;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--red), var(--cyan), transparent);
  border-radius: 3px;
  box-shadow: 0 0 12px rgba(91,138,114,0.4);
}

.section-title.center::after {
  left: 50%;
  transform: translateX(-50%);
}

/* ======================================================================
   LISTING CARDS — PRODUCT CARDS WITH GRADIENT GLOW
   ====================================================================== */
.listings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

/* THE MAIN LISTING CARD */
.listing-card {
  position: relative;
  background: rgba(250,247,244,0.85);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--r-xl);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.35s var(--ease-spring);
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(20px);
}

/* Gradient spotlight behind the card */
.listing-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 120%, rgba(200,85,61,0.08) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s;
  z-index: 0;
  pointer-events: none;
}

/* Top shine line */
.listing-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(200,85,61,0.6) 50%, transparent 100%);
  transform: scaleX(0);
  transition: transform 0.4s var(--ease-out);
}

.listing-card:hover {
  transform: translateY(-8px) scale(1.01);
  border-color: rgba(200,85,61,0.3);
  box-shadow:
    0 20px 60px rgba(44,36,32,0.08),
    0 0 40px rgba(200,85,61,0.12),
    inset 0 0 40px rgba(200,85,61,0.04);
}

.listing-card:hover::before { opacity: 1; }
.listing-card:hover::after { transform: scaleX(1); }

/* Card Image */
.card-img-wrap {
  position: relative;
  height: 190px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(237,230,223,0.85), rgba(237,230,223,0.92));
  flex-shrink: 0;
}

.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out), filter 0.3s;
  filter: brightness(0.9) saturate(1.1);
}

.listing-card:hover .card-img-wrap img {
  transform: scale(1.07);
  filter: brightness(1.05) saturate(1.2);
}

.card-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 52px;
  background: linear-gradient(135deg, rgba(237,230,223,0.6), rgba(232,221,210,0.8));
  color: rgba(0,0,0,0.1);
}

/* Bottom gradient on image */
.card-img-wrap::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 60px;
  background: linear-gradient(to top, rgba(250,247,244,0.95), transparent);
}

/* Badges */
.card-badges {
  position: absolute;
  top: 12px; left: 12px;
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  z-index: 2;
}

.badge {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: var(--r-sm);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  backdrop-filter: blur(10px);
}

.badge-hot { background: rgba(200,85,61,0.85); color: #fff; box-shadow: 0 0 12px rgba(200,85,61,0.4); }
.badge-verified { background: rgba(34,197,94,0.85); color: #fff; }
.badge-gem { background: rgba(245,158,11,0.85); color: var(--text-1); }
.badge-sold { background: rgba(150,30,30,0.6); color: #ff8888; border: 1px solid rgba(200,0,0,0.3); }

/* Compare Checkbox */
.compare-check {
  position: absolute;
  top: 12px; right: 12px;
  width: 32px;
  height: 32px;
  background: rgba(245,240,235,0.85);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 14px;
  z-index: 2;
  backdrop-filter: blur(10px);
}

.compare-check:hover { background: var(--red); border-color: var(--red); }
.compare-check.selected { background: var(--red); border-color: var(--red); box-shadow: 0 0 12px rgba(200,85,61,0.4); }

/* Card Body */
.card-body {
  padding: 16px;
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Rank Badge */
.card-rank {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.rank-badge {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.rank-badge.radiant   { color: #FFD700; text-shadow: 0 0 12px rgba(255,215,0,0.5); }
.rank-badge.immortal  { color: var(--violet-soft); text-shadow: 0 0 12px rgba(168,85,247,0.4); }
.rank-badge.ascendant { color: var(--green); }
.rank-badge.diamond   { color: #22D3EE; }
.rank-badge.platinum  { color: #7ED4F0; }
.rank-badge.gold      { color: var(--gold); }
.rank-badge.silver    { color: #C8D0D8; }
.rank-badge.bronze    { color: #CD8050; }
.rank-badge.iron      { color: var(--text-3); }

.region-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 2px 8px;
  background: rgba(91,138,114,0.06);
  color: var(--cyan);
  border: 1px solid rgba(91,138,114,0.15);
  border-radius: var(--r-sm);
  letter-spacing: 1px;
}

.card-title {
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 8px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  letter-spacing: 0.1px;
}

.card-summary {
  font-size: 12px;
  color: var(--text-3);
  margin-bottom: 10px;
  line-height: 1.65;
  font-family: var(--font-mono);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-stats {
  display: flex;
  gap: 12px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.card-stat {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-3);
}

.card-stat span { color: var(--text-1); font-weight: 700; }

.card-tags {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  margin-bottom: 12px;
  flex: 1;
}

.pill {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  padding: 3px 9px;
  background: rgba(91,138,114,0.06);
  color: var(--cyan);
  border: 1px solid rgba(91,138,114,0.15);
  border-radius: var(--r-full);
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 0.3px;
}

.pill:hover {
  background: rgba(91,138,114,0.14);
  border-color: rgba(91,138,114,0.35);
  box-shadow: 0 0 10px rgba(91,138,114,0.15);
}

/* Card Footer */
.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid rgba(0,0,0,0.04);
  margin-top: auto;
}

.card-price {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 900;
  color: var(--red);
  text-shadow: 0 0 20px rgba(200,85,61,0.3);
  letter-spacing: -0.5px;
}

/* Bookmark Button */
.bookmarkBtn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: rgba(0,0,0,0.04);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--r-md);
  padding: 8px 12px;
  cursor: pointer;
  transition: all 0.3s var(--ease-spring);
  color: var(--text-3);
  outline: none;
}

.bookmarkBtn:hover {
  background: rgba(255,255,255,0.09);
  border-color: rgba(0,0,0,0.1);
  color: #fff;
  transform: translateY(-1px);
}

.bookmarkBtn.saved {
  border-color: var(--red);
  background: rgba(200,85,61,0.1);
  color: var(--red);
  box-shadow: 0 0 12px rgba(200,85,61,0.2);
}

.bookmarkBtn .icon {
  fill: currentColor;
  width: 14px;
  height: 14px;
  transition: all 0.3s var(--ease-spring);
}

.bookmarkBtn.saved .icon {
  transform: scale(1.15);
  filter: drop-shadow(0 0 4px rgba(200,85,61,0.6));
}

.bookmarkBtn .text {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0;
}

/* ======================================================================
   PREMIUM DROPS CAROUSEL
   ====================================================================== */
.premium-drops {
  padding: 40px 0 80px;
}

.carousel-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 8px 8px 24px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: rgba(200,85,61,0.4) rgba(0,0,0,0.03);
}

.carousel-track::-webkit-scrollbar { height: 4px; }
.carousel-track::-webkit-scrollbar-track { background: rgba(0,0,0,0.03); border-radius: 4px; }
.carousel-track::-webkit-scrollbar-thumb { background: rgba(200,85,61,0.4); border-radius: 4px; }

.carousel-track > * {
  min-width: 300px;
  max-width: 300px;
  scroll-snap-align: start;
}

/* ======================================================================
   BROWSE PAGE LAYOUT
   ====================================================================== */
.browse-layout {
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 28px;
  max-width: var(--max-w);
  margin: calc(var(--nav-h) + 28px) auto 60px;
  padding: 0 24px;
  align-items: start;
}

/* Sidebar */
.modern-sidebar {
  position: sticky;
  top: calc(var(--nav-h) + 20px);
  background: rgba(250,247,244,0.7);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--r-xl);
  padding: 22px;
  backdrop-filter: blur(30px);
  max-height: calc(100vh - var(--nav-h) - 40px);
  overflow-y: auto;
  scrollbar-width: none;
}

.modern-sidebar::-webkit-scrollbar { display: none; }

.sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.sidebar-title {
  font-family: var(--font-ui);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 1px;
  margin: 0;
  color: var(--text-1);
}

.clear-btn {
  background: none;
  border: none;
  color: var(--red);
  font-family: var(--font-mono);
  font-size: 11px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.2s;
  padding: 4px 8px;
  border-radius: var(--r-sm);
}
.clear-btn:hover {
  color: var(--red);
  background: rgba(200,85,61,0.1);
}

/* Filter Groups */
.filter-group {
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(0,0,0,0.03);
}

.filter-summary {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 700;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 13px 0;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  transition: color 0.2s;
}

.filter-summary::-webkit-details-marker { display: none; }
.filter-summary::after { content: '+'; font-size: 16px; color: var(--text-4); font-weight: 300; transition: transform 0.3s; }
details[open] .filter-summary::after { content: '−'; }
.filter-summary:hover { color: var(--text-1); }

.filter-content { padding-bottom: 14px; }

/* Inputs */
.minimal-input {
  width: 100%;
  background: rgba(0,0,0,0.03);
  border: 1px solid rgba(0,0,0,0.06);
  color: var(--text-1);
  padding: 9px 12px;
  border-radius: var(--r-md);
  font-family: var(--font-body);
  font-size: 13px;
  transition: all 0.2s;
  outline: none;
  margin-bottom: 8px;
}

.minimal-input:focus {
  border-color: rgba(91,138,114,0.35);
  background: rgba(91,138,114,0.04);
  box-shadow: 0 0 15px rgba(91,138,114,0.08);
}

.minimal-input::placeholder { color: var(--text-4); }

.input-row { display: flex; gap: 8px; align-items: center; }
.input-row span { color: var(--text-4); font-size: 12px; }

/* Chip Selectors */
.chip-grid { display: flex; flex-wrap: wrap; gap: 6px; }

.filter-chip {
  background: rgba(0,0,0,0.03);
  border: 1px solid rgba(0,0,0,0.06);
  padding: 5px 12px;
  border-radius: var(--r-full);
  font-size: 12px;
  color: var(--text-3);
  cursor: pointer;
  transition: all 0.2s;
  user-select: none;
  font-family: var(--font-body);
}

.filter-chip:hover {
  border-color: rgba(91,138,114,0.3);
  color: var(--text-1);
  background: rgba(91,138,114,0.05);
}

.filter-chip.active {
  background: rgba(91,138,114,0.1);
  border-color: rgba(91,138,114,0.4);
  color: var(--text-1);
  font-weight: 600;
  box-shadow: 0 0 10px rgba(91,138,114,0.1);
}

/* Browse Main Content */
.main-content { min-width: 0; }

.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding: 12px 16px;
  background: rgba(250,247,244,0.6);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--r-lg);
  backdrop-filter: blur(15px);
}

.result-count {
  color: var(--text-3);
  font-family: var(--font-mono);
  font-size: 13px;
}

.result-count strong { color: var(--text-1); }

.sort-select {
  background: rgba(0,0,0,0.04);
  border: 1px solid rgba(0,0,0,0.08);
  color: var(--text-1);
  padding: 7px 12px;
  border-radius: var(--r-md);
  font-family: var(--font-body);
  font-size: 13px;
  cursor: pointer;
  outline: none;
  transition: border-color 0.2s;
}

.sort-select:focus { border-color: rgba(91,138,114,0.3); }
.sort-select:focus-visible {
  border-color: #0066ff;
  outline: 3px solid #0066ff;
  outline-offset: 2px;
}
.sort-select option { background: #FAF7F4; }

/* Status message */
.status-message {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: var(--text-3);
  font-family: var(--font-mono);
  font-size: 14px;
  border: 1px dashed rgba(0,0,0,0.05);
  border-radius: var(--r-xl);
  background: rgba(255,255,255,0.02);
}

/* ======================================================================
   LISTING DETAIL PAGE
   ====================================================================== */
.listing-detail-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: calc(var(--nav-h) + 32px) 24px 80px;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 40px;
}

/* Image Carousel */
.detail-carousel {
  border-radius: var(--r-xl);
  overflow: hidden;
  margin-bottom: 28px;
  position: relative;
  border: 1px solid rgba(0,0,0,0.05);
  background: rgba(250,247,244,0.8);
}

.detail-carousel::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--red), var(--cyan), transparent);
  z-index: 2;
}

.detail-carousel img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}

.carousel-thumbs {
  display: flex;
  gap: 8px;
  padding: 10px;
  background: rgba(245,240,235,0.85);
  border-top: 1px solid rgba(0,0,0,0.04);
}

.carousel-thumb {
  width: 64px;
  height: 48px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  border-radius: var(--r-sm);
  transition: all 0.2s;
  opacity: 0.6;
}

.carousel-thumb:hover { opacity: 0.9; }
.carousel-thumb.active {
  border-color: var(--red);
  opacity: 1;
  box-shadow: 0 0 10px rgba(200,85,61,0.3);
}

.carousel-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* Detail Title */
.detail-title {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 900;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
  text-transform: uppercase;
  line-height: 1.1;
}

.detail-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

/* Stats Grid */
.detail-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 32px;
}

.detail-stat {
  background: rgba(250,247,244,0.8);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--r-lg);
  padding: 16px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s;
}

.detail-stat::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(91,138,114,0.3), transparent);
  opacity: 0.5;
}

.detail-stat:hover { border-color: rgba(0,0,0,0.08); }

.detail-stat-val {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 900;
  color: var(--red);
  display: block;
}

.detail-stat-label {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-top: 4px;
  display: block;
}

/* Detail Info Grid */
.detail-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.detail-info-item {
  background: rgba(250,247,244,0.8);
  border: 1px solid rgba(0,0,0,0.04);
  border-radius: var(--r-lg);
  padding: 12px 16px;
}

.detail-info-item .dii-label {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 2px;
  display: block;
  margin-bottom: 4px;
}

.detail-info-item .dii-val {
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-1);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Inventory Section */
.inventory-section { margin-top: 32px; }

.inventory-tabs {
  display: flex;
  gap: 4px;
  background: rgba(245,240,235,0.85);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--r-lg);
  padding: 4px;
  margin-bottom: 20px;
}

.inv-tab {
  flex: 1;
  padding: 10px 16px;
  background: transparent;
  border: none;
  color: var(--text-3);
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border-radius: calc(var(--r-lg) - 4px);
  transition: all 0.25s;
  white-space: nowrap;
  font-size: 12px;
}

.inv-tab:hover { color: var(--text-1); }
.inv-tab.active {
  background: rgba(200,85,61,0.12);
  color: var(--red);
  box-shadow: 0 0 20px rgba(200,85,61,0.1);
}

.inv-content { display: none; }
.inv-content.active { display: block; }

/* Skin Grid */
.skin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 12px;
}

.skin-card {
  position: relative;
  background: rgba(250,247,244,0.85);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--r-lg);
  padding: 14px;
  text-align: center;
  transition: all 0.25s var(--ease-spring);
  overflow: hidden;
}

.skin-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  opacity: 0.6;
}

/* Tier colors */
.skin-card.tier-exclusive::before  { background: linear-gradient(90deg, #FFD700, #FFA500); }
.skin-card.tier-premium::before    { background: linear-gradient(90deg, #C8553D, #A84430); }
.skin-card.tier-battlepass::before { background: linear-gradient(90deg, #7C3AED, #A855F7); }
.skin-card.tier-semiprem::before   { background: linear-gradient(90deg, #C8873D, #A84430); }
.skin-card.tier-standard::before   { background: linear-gradient(90deg, #475569, #94A3B8); }

.skin-card.tier-exclusive { border-color: rgba(255,215,0,0.25); }
.skin-card.tier-premium   { border-color: rgba(200,85,61,0.25); }
.skin-card.tier-battlepass { border-color: rgba(124,58,237,0.25); }
.skin-card.tier-semiprem  { border-color: rgba(0,255,204,0.25); }

.skin-card:hover { transform: translateY(-4px) scale(1.02); border-color: rgba(255,255,255,0.14); }

.skin-card img {
  width: 100%;
  height: 60px;
  object-fit: contain;
  margin-bottom: 8px;
  filter: drop-shadow(0 2px 8px rgba(44,36,32,0.08));
}

.skin-icon-placeholder {
  font-size: 32px;
  margin-bottom: 8px;
  opacity: 0.5;
}

.skin-name {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-3);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Contact Card (Sticky) */
.contact-card {
  position: sticky;
  top: calc(var(--nav-h) + 20px);
  background: rgba(250,247,244,0.8);
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: var(--r-xl);
  padding: 24px;
  backdrop-filter: blur(30px);
  overflow: hidden;
}

.contact-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
}

/* Product Gradient Glow */
.contact-card::after {
  content: '';
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(200,85,61,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.detail-price {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 900;
  color: var(--red);
  line-height: 1;
  margin-bottom: 6px;
  text-shadow: 0 0 30px rgba(200,85,61,0.35);
  letter-spacing: -1px;
}

.detail-price-sub {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-3);
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}

.detail-ranks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 20px;
}

.detail-rank {
  text-align: center;
  background: rgba(245,240,235,0.85);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--r-lg);
  padding: 12px 8px;
}

.detail-rank-label {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  display: block;
  margin-bottom: 6px;
}

.detail-rank-val {
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

/* Seller Mini */
.seller-mini {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  background: rgba(245,240,235,0.85);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--r-lg);
  margin-bottom: 20px;
}

.seller-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 16px;
  color: #fff;
  box-shadow: 0 0 15px rgba(200,85,61,0.3);
  flex-shrink: 0;
}

.seller-name {
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 700;
}

.seller-rep {
  font-size: 11px;
  color: var(--gold);
  font-family: var(--font-mono);
  margin-top: 2px;
}

.detail-action-btns {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
}

.reveal-btn {
  width: 100%;
  padding: 15px;
  font-size: 14px;
  letter-spacing: 2px;
  border-radius: var(--r-lg);
}

/* Contact Revealed */
.contact-method {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: rgba(245,240,235,0.85);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--r-md);
  margin-bottom: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
}

/* ======================================================================
   AUTH MODAL
   ====================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(250,247,244,0.8);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-box {
  background: rgba(250,247,244,0.98);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--r-2xl);
  padding: 40px;
  width: 100%;
  max-width: 420px;
  position: relative;
  animation: modalIn 0.3s var(--ease-spring);
  box-shadow: 0 0 80px rgba(200,85,61,0.12), 0 40px 80px rgba(44,36,32,0.08);
  backdrop-filter: blur(30px);
  overflow: hidden;
}

.modal-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200,85,61,0.6), transparent);
}

/* Ambient glow in modal */
.modal-box::after {
  content: '';
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(200,85,61,0.07) 0%, transparent 70%);
  pointer-events: none;
}

@keyframes modalIn {
  from { opacity: 0; transform: scale(0.9) translateY(-20px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-box.wide { max-width: 560px; }

.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  background: rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.06);
  color: var(--text-3);
  font-size: 14px;
  cursor: pointer;
  width: 32px;
  height: 32px;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  z-index: 1;
}

.modal-close:hover {
  border-color: var(--red);
  color: var(--red);
  background: rgba(200,85,61,0.08);
}

.auth-tabs {
  display: flex;
  background: rgba(0,0,0,0.03);
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: var(--r-lg);
  padding: 4px;
  margin-bottom: 28px;
}

.auth-tab {
  flex: 1;
  background: none;
  border: none;
  color: var(--text-3);
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 700;
  padding: 10px;
  cursor: pointer;
  border-radius: calc(var(--r-lg) - 4px);
  transition: all 0.25s;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.auth-tab:hover { 
  color: var(--text-1); 
  background: rgba(0,0,0,0.04);
}
.auth-tab.active {
  background: rgba(91,138,114,0.15) !important;
  color: var(--cyan) !important;
  box-shadow: 0 0 30px rgba(91,138,114,0.4), 0 0 15px rgba(91,138,114,0.25) !important;
  border: 1px solid rgba(91,138,114,0.5) !important;
}

.auth-form h2 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 6px;
  letter-spacing: -0.5px;
}

.auth-sub {
  color: var(--text-3);
  font-size: 13px;
  margin-bottom: 22px;
  font-family: var(--font-mono);
}

.auth-input {
  width: 100%;
  background: rgba(0,0,0,0.03);
  border: 1px solid rgba(0,0,0,0.06);
  color: var(--text-1);
  font-family: var(--font-body);
  font-size: 14px;
  padding: 13px 16px;
  border-radius: var(--r-md);
  outline: none;
  margin-bottom: 12px;
  transition: all 0.2s;
}

.auth-input:focus-visible {
  border-color: #0066ff;
  outline: 3px solid #0066ff;
  outline-offset: 2px;
  background: rgba(0,102,255,0.04);
  box-shadow: 0 0 30px rgba(0,102,255,0.2);
}

.auth-input:focus {
  border-color: rgba(200,85,61,0.5);
  background: rgba(200,85,61,0.04);
  box-shadow: 0 0 20px rgba(200,85,61,0.08);
}

/* Validation states */
.auth-input[aria-invalid="true"] {
  border-color: #ff4444;
  background: rgba(255,68,68,0.04);
}

.auth-input[aria-invalid="true"]:focus-visible {
  outline-color: #ff4444;
  border-color: #ff4444;
  box-shadow: 0 0 30px rgba(255,68,68,0.2);
}

.auth-input::placeholder { color: #808080; }
textarea.auth-input { resize: vertical; }

.otp-section { margin-top: 8px; }

/* ======================================================================
   DASHBOARD / PROFILE PAGES
   ====================================================================== */
.dashboard-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: calc(var(--nav-h) + 40px) 24px 80px;
}

.dash-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 40px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

@media (max-width: 768px) {
  .dash-header {
    flex-direction: column;
    gap: 16px;
  }
  .dash-title {
    font-size: 32px;
  }
}

.dash-title {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 1.1;
}

.dash-sub {
  color: var(--text-3);
  font-size: 14px;
  margin-top: 8px;
  font-family: var(--font-mono);
}

/* Stats */
.dash-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}

.dash-stat {
  background: rgba(250,247,244,0.7);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--r-xl);
  padding: 22px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.25s var(--ease-spring);
  cursor: default;
}

.dash-stat::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: 0.4;
}

.dash-stat:hover {
  border-color: rgba(200,85,61,0.25);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

.ds-num {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 900;
  color: var(--red);
  text-shadow: 0 0 20px rgba(200,85,61,0.3);
  letter-spacing: -1px;
  display: block;
  line-height: 1;
  margin-bottom: 8px;
}

.ds-label {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

/* Tabs */
.dash-tabs {
  display: flex;
  background: rgba(245,240,235,0.85);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--r-lg);
  padding: 4px;
  margin-bottom: 32px;
  gap: 4px;
}

.dash-tab {
  background: none;
  border: none;
  color: var(--text-3);
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 700;
  padding: 10px 22px;
  cursor: pointer;
  border-radius: calc(var(--r-lg) - 4px);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.25s;
}

.dash-tab:hover { color: var(--text-1); }
.dash-tab.active {
  background: rgba(200,85,61,0.12);
  color: var(--red);
}

/* Listing cards in dashboard */
.dash-listing-card {
  display: flex;
  gap: 16px;
  background: rgba(250,247,244,0.7);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--r-lg);
  padding: 16px;
  align-items: center;
  margin-bottom: 10px;
  transition: all 0.25s;
}

.dash-listing-card:hover {
  border-color: rgba(0,0,0,0.08);
  background: rgba(250,247,244,0.85);
  transform: translateX(4px);
}

.dlc-img {
  width: 80px;
  height: 60px;
  overflow: hidden;
  background: rgba(245,240,235,0.85);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--r-md);
  flex-shrink: 0;
}

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

.dlc-info { flex: 1; }
.dlc-info h4 { font-family: var(--font-ui); font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.dlc-price { font-family: var(--font-display); font-size: 20px; font-weight: 900; color: var(--red); }
.dlc-stats { display: flex; gap: 12px; font-family: var(--font-mono); font-size: 11px; color: var(--text-3); margin-top: 4px; }
.dlc-actions { display: flex; gap: 6px; }

/* Hub Cards (Profile) */
.hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.hub-card {
  background: rgba(250,247,244,0.7);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--r-xl);
  padding: 28px;
  backdrop-filter: blur(20px);
  transition: all 0.3s var(--ease-spring);
  display: flex;
  flex-direction: column;
}

.hub-card:hover {
  border-color: rgba(91,138,114,0.2);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08), 0 0 20px rgba(91,138,114,0.06);
  transform: translateY(-4px);
}

.hub-card-title {
  font-family: var(--font-ui);
  font-size: 18px;
  font-weight: 800;
  color: var(--text-1);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hub-stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(0,0,0,0.03);
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-3);
}

.hub-stat-row:last-of-type { border-bottom: none; }
.hub-stat-row span:last-child { color: var(--text-1); font-weight: 700; font-size: 16px; }

/* Form group */
.form-group { margin-bottom: 14px; }

.form-group label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 6px;
}

/* ======================================================================
   VP STORE
   ====================================================================== */
.vp-store-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: calc(var(--nav-h) + 60px) 24px 80px;
}

.product-header {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 48px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.product-icon {
  width: 80px;
  height: 80px;
  background: rgba(250,247,244,0.8);
  border: 2px solid rgba(200,85,61,0.4);
  border-radius: var(--r-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 30px rgba(200,85,61,0.2);
}

.product-icon svg { width: 45px; height: 45px; fill: var(--red); }
.product-title { font-family: var(--font-display); font-size: 36px; font-weight: 900; letter-spacing: -0.5px; text-transform: uppercase; margin-bottom: 6px; }
.product-subtitle { color: var(--text-3); font-family: var(--font-mono); font-size: 14px; }

.step-container {
  background: rgba(250,247,244,0.7);
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: var(--r-xl);
  padding: 28px;
  margin-bottom: 24px;
  backdrop-filter: blur(20px);
}

.step-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

.step-number {
  background: var(--red);
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: var(--r-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 900;
  box-shadow: 0 4px 15px rgba(200,85,61,0.3);
  flex-shrink: 0;
}

.step-title {
  font-family: var(--font-ui);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.3px;
}

.region-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}

/* Region Cards */
.region-card {
  display: block;
  text-decoration: none;
  color: inherit;
  position: relative;
}

.region-card .card {
  position: relative;
  width: 100%;
  height: 300px;
  background: linear-gradient(160deg, rgba(237,230,223,0.9) 0%, rgba(237,230,223,0.92) 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 14px;
  border-radius: var(--r-xl);
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 8px 32px rgba(44,36,32,0.08);
  backdrop-filter: blur(15px);
  transition: all 0.4s var(--ease-spring);
  overflow: hidden;
  cursor: pointer;
}

.region-card .card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,0,0,0.12), transparent);
}

.region-card .card:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: rgba(91,138,114,0.4);
  box-shadow: 0 30px 60px rgba(44,36,32,0.08), 0 0 40px rgba(91,138,114,0.15);
}

.region-checkmark {
  position: absolute;
  top: -10px; right: -10px;
  width: 28px;
  height: 28px;
  background: var(--red);
  color: white;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  border: 2px solid var(--bg-1);
  z-index: 10;
  box-shadow: 0 0 12px rgba(200,85,61,0.4);
}

.region-card.selected .region-checkmark { display: flex; }
.region-card.selected .card { border-color: rgba(200,85,61,0.5); box-shadow: 0 0 40px rgba(200,85,61,0.15); }

.region-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 900;
  color: #fff;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.region-provider {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  color: rgba(0,0,0,0.45);
}

/* VP Package Cards */
.vp-package {
  position: relative;
  background: rgba(250,247,244,0.9);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--r-xl);
  padding: 22px;
  cursor: pointer;
  transition: all 0.3s var(--ease-spring);
  overflow: hidden;
}

.vp-package::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.vp-package:hover {
  transform: translateY(-5px);
  border-color: rgba(200,85,61,0.3);
  box-shadow: 0 15px 40px rgba(44,36,32,0.08), 0 0 30px rgba(200,85,61,0.1);
}

.vp-package:hover::before { opacity: 1; }
.vp-package.selected {
  border-color: rgba(200,85,61,0.5);
  background: rgba(200,85,61,0.06);
  box-shadow: 0 0 30px rgba(200,85,61,0.15);
}

.vp-amount {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 900;
  color: var(--red);
  margin-bottom: 4px;
}

.vp-price {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--text-1);
  margin-bottom: 4px;
}

.vp-bonus {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--green);
  font-weight: 700;
}

/* ======================================================================
   HOW IT WORKS — STEPS
   ====================================================================== */
.how-section {
  padding: 100px 0;
  position: relative;
  background: rgba(245,240,235,0.5);
  border-top: 1px solid rgba(0,0,0,0.03);
  border-bottom: 1px solid rgba(0,0,0,0.03);
}

.how-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(200,85,61,0.03) 0%, transparent 70%);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.step {
  text-align: center;
  padding: 32px 22px;
  background: rgba(250,247,244,0.7);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--r-xl);
  transition: all 0.3s var(--ease-spring);
  position: relative;
  overflow: hidden;
}

.step::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.step:hover {
  border-color: rgba(200,85,61,0.2);
  transform: translateY(-6px);
  background: rgba(250,247,244,0.9);
  box-shadow: 0 20px 50px rgba(44,36,32,0.08);
}

.step:hover::before { opacity: 1; }

.step-num {
  font-family: var(--font-display);
  font-size: 80px;
  font-weight: 900;
  color: rgba(0,0,0,0.03);
  line-height: 1;
  margin-bottom: -12px;
  letter-spacing: -4px;
}

.step-icon {
  font-size: 36px;
  margin-bottom: 16px;
  display: block;
  filter: drop-shadow(0 0 10px rgba(91,138,114,0.3));
}

.step h3 {
  font-family: var(--font-ui);
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.step p {
  color: var(--text-3);
  font-size: 13px;
  line-height: 1.7;
  font-family: var(--font-mono);
}

/* ======================================================================
   COMPARE
   ====================================================================== */
.compare-tray {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 90;
  background: rgba(245,240,235,0.85);
  border-top: 1px solid var(--red);
  padding: 14px 24px;
  backdrop-filter: blur(20px);
  animation: slideUp 0.3s var(--ease-spring);
  box-shadow: 0 -8px 40px rgba(200,85,61,0.2);
}

@keyframes slideUp {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

.compare-tray::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--red), var(--cyan), transparent);
}

.tray-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: var(--max-w);
  margin: 0 auto;
}

.tray-label {
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--red);
  white-space: nowrap;
}

.compare-items { flex: 1; display: flex; gap: 8px; }

.compare-item-chip {
  background: rgba(0,0,0,0.04);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--r-md);
  padding: 6px 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-2);
}

.tray-clear {
  background: none;
  border: none;
  color: var(--text-3);
  cursor: pointer;
  font-size: 12px;
  font-family: var(--font-mono);
  padding: 6px 12px;
  border-radius: var(--r-sm);
  transition: color 0.2s;
}

.tray-clear:hover { color: var(--red); }

/* Compare Table */
.compare-table {
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: var(--r-xl);
  overflow: hidden;
}

.compare-header {
  display: flex;
  background: rgba(237,230,223,0.95);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.compare-label-col {
  width: 180px;
  min-width: 180px;
  padding: 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.compare-acc-col {
  flex: 1;
  padding: 18px;
  border-left: 1px solid rgba(0,0,0,0.04);
}

.compare-row {
  display: flex;
  border-bottom: 1px solid rgba(0,0,0,0.03);
  transition: background 0.15s;
}

.compare-row:hover { background: rgba(255,255,255,0.02); }
.compare-row:last-child { border-bottom: none; }
.compare-row:nth-child(even) { background: rgba(255,255,255,0.01); }

.compare-row .compare-label-col {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-3);
  display: flex;
  align-items: center;
}

.compare-row .compare-acc-col {
  display: flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 13px;
}

.compare-best { color: var(--green) !important; font-weight: 800 !important; }
.compare-acc-header { font-family: var(--font-ui); font-size: 16px; font-weight: 800; display: block; margin-bottom: 8px; }
.compare-price { font-family: var(--font-display); font-size: 28px; font-weight: 900; color: var(--red); }

/* ======================================================================
   CREATE LISTING
   ====================================================================== */
.create-listing-container {
  max-width: 820px;
  margin: 0 auto;
  padding: calc(var(--nav-h) + 40px) 24px 80px;
}

.form-progress {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.progress-step {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 6px 14px;
  border-radius: var(--r-full);
  border: 1px solid rgba(0,0,0,0.06);
  transition: all 0.25s;
}

.progress-step.active {
  background: rgba(200,85,61,0.1);
  color: var(--red);
  border-color: rgba(200,85,61,0.3);
}

.progress-sep { color: rgba(0,0,0,0.1); font-size: 10px; }

.step-title {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 900;
  margin-bottom: 32px;
  letter-spacing: -0.5px;
  text-transform: uppercase;
}

.step-title::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--red), var(--cyan), transparent);
  border-radius: 3px;
  margin-top: 10px;
}

.form-step { animation: fadeSlideIn 0.3s var(--ease-out); }

@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-note {
  background: rgba(91,138,114,0.04);
  border: 1px solid rgba(91,138,114,0.18);
  border-radius: var(--r-md);
  color: var(--cyan);
  font-size: 12px;
  padding: 10px 14px;
  margin-bottom: 20px;
  font-family: var(--font-mono);
  line-height: 1.5;
}

.collections-grid { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 6px; }

.coll-chip {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  padding: 5px 12px;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--r-full);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--text-3);
  transition: all 0.2s;
  background: transparent;
}

.coll-chip:has(input:checked),
.coll-chip.selected {
  border-color: var(--red);
  color: var(--red);
  background: rgba(200,85,61,0.08);
}

.coll-chip input { display: none; }

.image-upload-area {
  border: 2px dashed rgba(0,0,0,0.08);
  border-radius: var(--r-xl);
  padding: 48px;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s;
  background: rgba(255,255,255,0.02);
}

.image-upload-area:hover {
  border-color: rgba(91,138,114,0.3);
  background: rgba(91,138,114,0.03);
}

.image-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.img-preview-item {
  position: relative;
  aspect-ratio: 4/3;
  background: rgba(245,240,235,0.85);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--r-md);
  overflow: hidden;
}

.img-preview-item img { width: 100%; height: 100%; object-fit: cover; }

.img-remove {
  position: absolute;
  top: 4px; right: 4px;
  background: rgba(44,36,32,0.08);
  border: none;
  color: #fff;
  width: 22px; height: 22px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(5px);
  transition: background 0.2s;
}
.img-remove:hover { background: var(--red); }

.tag-input-container {
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--r-md);
  padding: 8px;
  background: rgba(0,0,0,0.03);
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  transition: border-color 0.2s;
}
.tag-input-container:focus-within { border-color: rgba(200,85,61,0.4); }
.tag-input { background: transparent; border: none; outline: none; color: var(--text-1); font-family: var(--font-mono); font-size: 13px; min-width: 150px; padding: 4px; }

/* Delete button */
.delete-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--r-full);
  background-color: rgba(255,0,0,0.08);
  border: 1px solid rgba(255,0,0,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s var(--ease-spring);
  overflow: hidden;
}

.delete-btn:hover { background-color: var(--red); border-color: var(--red); transform: scale(1.1); }
.delete-btn .svgIcon { width: 15px; fill: rgba(200,85,61,0.8); transition: all 0.25s; }
.delete-btn:hover .svgIcon { fill: white; transform: translateY(-1px); }

/* ======================================================================
   FOOTER
   ====================================================================== */
.site-footer {
  background: linear-gradient(180deg, var(--bg-1) 0%, var(--bg-2) 100%);
  border-top: 1px solid rgba(0,0,0,0.08);
  padding: 70px 0 28px;
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200,85,61,0.4), rgba(91,138,114,0.4), transparent);
  opacity: 0.5;
}

.footer-container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-logo {
  height: 44px;
  width: auto;
  margin-bottom: 16px;
  filter: drop-shadow(0 0 8px rgba(200,85,61,0.15));
  transition: all 0.3s;
}
.footer-logo:hover { filter: drop-shadow(0 0 16px rgba(91,138,114,0.2)); transform: scale(1.02); }

.brand-col p {
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-3);
  max-width: 300px;
  margin-bottom: 24px;
}

/* Social Icons */
.social-links { display: flex; gap: 12px; }

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--r-md);
  background: rgba(0,0,0,0.03);
  border: 1px solid rgba(0,0,0,0.06);
  transition: all 0.25s var(--ease-spring);
}

.social-icon svg { width: 17px; fill: var(--text-3); transition: fill 0.25s; }

.social-icon:hover {
  background: rgba(91,138,114,0.1);
  border-color: rgba(91,138,114,0.3);
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(91,138,114,0.15);
}

.social-icon:hover svg { fill: var(--cyan); }

/* Footer Links Columns */
.footer-col h4 {
  color: var(--text-1);
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  color: var(--text-3);
  font-family: var(--font-mono);
  font-size: 13px;
  transition: all 0.2s;
  display: inline-block;
}
.footer-col ul li a:hover { color: var(--cyan); transform: translateX(4px); }

.footer-bottom {
  border-top: 1px solid rgba(0,0,0,0.03);
  padding-top: 24px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-bottom span {
  font-size: 11px;
  color: var(--text-4);
  font-family: var(--font-mono);
}

/* ======================================================================
   TOAST NOTIFICATIONS
   ====================================================================== */
.am-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  padding: 14px 22px;
  border-radius: var(--r-lg);
  font-family: var(--font-body);
  font-size: 14px;
  color: #fff;
  max-width: 360px;
  word-wrap: break-word;
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0,0,0,0.08);
  animation: toastIn 0.3s var(--ease-spring);
  line-height: 1.5;
}

.am-toast.success {
  background: rgba(22,60,22,0.95);
  border-color: rgba(34,197,94,0.3);
  box-shadow: 0 8px 30px rgba(44,36,32,0.08), 0 0 20px rgba(34,197,94,0.1);
}

.am-toast.error {
  background: rgba(60,10,15,0.95);
  border-color: rgba(200,85,61,0.3);
  box-shadow: 0 8px 30px rgba(44,36,32,0.08), 0 0 20px rgba(200,85,61,0.1);
}

.am-toast.info {
  background: rgba(10,30,60,0.95);
  border-color: rgba(91,138,114,0.2);
  box-shadow: 0 8px 30px rgba(44,36,32,0.08);
}

@keyframes toastIn {
  from { transform: translateX(30px); opacity: 0; }
  to   { transform: translateX(0); opacity: 1; }
}

/* ======================================================================
   LOADING STATES
   ====================================================================== */
.loading-state {
  text-align: center;
  padding: 80px;
  color: var(--text-3);
  font-family: var(--font-mono);
  font-size: 13px;
  grid-column: 1/-1;
  letter-spacing: 1px;
}

.loading-spinner {
  display: inline-block;
  width: 40px;
  height: 40px;
  border: 2px solid rgba(0,0,0,0.06);
  border-top-color: var(--red);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-bottom: 16px;
}

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

/* Pulse skeleton */
.skeleton {
  background: linear-gradient(90deg, rgba(0,0,0,0.03) 0%, rgba(0,0,0,0.06) 50%, rgba(0,0,0,0.03) 100%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--r-md);
}

@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* ======================================================================
   VAULT
   ====================================================================== */
.vault-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.vault-card {
  background: rgba(250,247,244,0.8);
  border: 1px solid rgba(124,58,237,0.2);
  border-radius: var(--r-xl);
  padding: 24px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s var(--ease-spring);
}

.vault-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--violet-soft), transparent);
}

.vault-card:hover {
  border-color: rgba(168,85,247,0.4);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(124,58,237,0.15);
}

/* ======================================================================
   QUICK FILTERS (Browse page quick filters)
   ====================================================================== */
.quick-filters {
  padding: 28px 0;
  background: transparent;
}

.filter-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.qf-btn {
  background: rgba(0,0,0,0.03);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--r-full);
  padding: 9px 20px;
  font-size: 12px;
  font-family: var(--font-body);
  color: var(--text-3);
  cursor: pointer;
  transition: all 0.25s var(--ease-out);
  display: flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.5px;
}

.qf-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.18);
  color: var(--text-1);
  background: rgba(0,0,0,0.05);
}

.qf-btn.active {
  background: rgba(200,85,61,0.12);
  border-color: rgba(200,85,61,0.4);
  color: var(--red);
  box-shadow: 0 0 20px rgba(200,85,61,0.15);
}

/* ======================================================================
   DOCUMENT PAGES — FAQ, TERMS, PRIVACY
   ====================================================================== */
.doc-page-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  padding: calc(var(--nav-h) + 40px) 32px 80px;
  position: relative;
}

/* Page Header */
.doc-page-header {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.doc-page-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--red), var(--cyan), transparent);
  border-radius: 1px;
}

.doc-page-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 8vw, 56px);
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 1.1;
  margin-bottom: 16px;
  color: var(--text-1);
  background: linear-gradient(180deg, var(--brown-dark, #3D2E24) 0%, var(--red, #C8553D) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.doc-page-subtitle {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--text-3);
  letter-spacing: 0.5px;
  max-width: 600px;
  margin: 0 auto;
}

/* Search/Filter for FAQ */
.doc-search-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 40px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.doc-search-input {
  flex: 1;
  background: rgba(0,0,0,0.04);
  border: 1px solid rgba(0,0,0,0.08);
  color: var(--text-1);
  padding: 12px 18px;
  border-radius: var(--r-lg);
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
  transition: all 0.25s;
}

.doc-search-input:focus {
  border-color: rgba(200,85,61,0.4);
  background: rgba(200,85,61,0.04);
  box-shadow: 0 0 20px rgba(200,85,61,0.1);
}

.doc-search-input::placeholder { color: var(--text-4); }

/* Content Card */
.doc-content-card {
  background: rgba(250,247,244,0.6);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--r-xl);
  padding: 28px;
  margin-bottom: 20px;
  backdrop-filter: blur(20px);
  transition: all 0.3s var(--ease-spring);
  position: relative;
  overflow: hidden;
}

.doc-content-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200,85,61,0.4), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.doc-content-card:hover {
  border-color: rgba(200,85,61,0.25);
  background: rgba(250,247,244,0.9);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08), 0 0 20px rgba(200,85,61,0.06);
  transform: translateY(-2px);
}

.doc-content-card:hover::before { opacity: 1; }

/* Accordion/Collapsible Section */
.doc-section {
  margin-bottom: 8px;
}

.doc-section-title {
  font-family: var(--font-ui);
  font-size: 16px;
  font-weight: 800;
  color: var(--text-1);
  cursor: pointer;
  padding: 6px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  transition: color 0.2s;
  letter-spacing: 0.2px;
}

.doc-section-title:hover {
  color: var(--red);
}

.doc-section-title::after {
  content: '+';
  font-size: 20px;
  font-weight: 300;
  color: var(--text-3);
  transition: transform 0.3s ease, color 0.2s;
}

.doc-section.open .doc-section-title::after {
  content: '−';
  transform: rotate(180deg);
  color: var(--red);
}

.doc-section-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s;
  padding: 0;
}

.doc-section.open .doc-section-content {
  max-height: 2000px;
  padding: 16px 0;
}

/* Content Text */
.doc-content-text {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-2);
  margin: 0;
}

.doc-content-text + .doc-content-text {
  margin-top: 12px;
}

/* Styled Headings within content */
.doc-content-card h2 {
  font-family: var(--font-ui);
  font-size: 22px;
  font-weight: 800;
  margin: 20px 0 16px;
  letter-spacing: 0.3px;
  color: var(--text-1);
}

.doc-content-card h2:first-child {
  margin-top: 0;
}

.doc-content-card h3 {
  font-family: var(--font-ui);
  font-size: 16px;
  font-weight: 700;
  margin: 16px 0 10px;
  letter-spacing: 0.2px;
  color: var(--text-1);
}

.doc-content-card h4 {
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-1);
  margin: 12px 0 8px;
}

/* Lists */
.doc-content-card ul,
.doc-content-card ol {
  margin: 12px 0;
  padding-left: 24px;
  color: var(--text-2);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.8;
}

.doc-content-card ul li,
.doc-content-card ol li {
  margin-bottom: 8px;
  transition: color 0.2s;
}

.doc-content-card li:hover {
  color: var(--text-1);
}

.doc-content-card ul ul,
.doc-content-card ul ol,
.doc-content-card ol ul,
.doc-content-card ol ol {
  margin: 8px 0;
  padding-left: 28px;
}

/* Links in content */
.doc-content-card a {
  color: var(--red);
  text-decoration: none;
  transition: all 0.2s;
  border-bottom: 1px solid rgba(200,85,61,0.2);
  padding-bottom: 1px;
}

.doc-content-card a:hover {
  color: var(--text-1);
  border-bottom-color: var(--red);
  text-shadow: 0 0 10px rgba(200,85,61,0.3);
}

/* Callout Boxes */
.doc-callout {
  background: rgba(91,138,114,0.04);
  border-left: 3px solid var(--cyan);
  border-radius: var(--r-lg);
  padding: 16px;
  margin: 20px 0;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.7;
}

.doc-callout.warning {
  background: rgba(255,158,11,0.04);
  border-left-color: var(--gold);
  color: rgba(255,158,11,0.9);
}

.doc-callout.danger {
  background: rgba(200,85,61,0.04);
  border-left-color: var(--red);
  color: rgba(200,85,61,0.9);
}

.doc-callout.success {
  background: rgba(34,197,94,0.04);
  border-left-color: var(--green);
  color: rgba(34,197,94,0.9);
}

/* Code/Pre blocks */
.doc-content-card pre {
  background: rgba(245,240,235,0.85);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--r-md);
  padding: 14px;
  overflow-x: auto;
  margin: 16px 0;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--cyan);
  line-height: 1.6;
}

.doc-content-card code {
  background: rgba(0,0,0,0.03);
  border-radius: var(--r-sm);
  padding: 2px 6px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--cyan);
}

.doc-content-card pre code {
  background: transparent;
  padding: 0;
  color: inherit;
}

/* Divider */
.doc-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,0,0,0.08), transparent);
  margin: 32px 0;
}

/* Table in docs */
.doc-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 13px;
  overflow-x: auto;
}

.doc-table th {
  background: rgba(200,85,61,0.06);
  padding: 12px;
  text-align: left;
  font-weight: 700;
  color: var(--red);
  border-bottom: 1px solid rgba(200,85,61,0.2);
  font-family: var(--font-mono);
  letter-spacing: 0.5px;
  font-size: 11px;
}

.doc-table td {
  padding: 12px;
  border-bottom: 1px solid rgba(0,0,0,0.03);
  color: var(--text-2);
}

.doc-table tr:hover td {
  background: rgba(255,255,255,0.02);
}

/* Breadcrumb */
.doc-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-3);
}

.doc-breadcrumb a {
  color: var(--red);
  text-decoration: none;
  transition: color 0.2s;
}

.doc-breadcrumb a:hover {
  color: var(--text-1);
}

.doc-breadcrumb span {
  color: var(--text-4);
}

/* TOC (Table of Contents) */
.doc-toc {
  background: rgba(250,247,244,0.5);
  border: 1px solid rgba(0,0,0,0.04);
  border-radius: var(--r-lg);
  padding: 20px;
  margin-bottom: 40px;
  position: sticky;
  top: calc(var(--nav-h) + 20px);
  z-index: 50;
}

.doc-toc-title {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 800;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.doc-toc ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.doc-toc li {
  margin: 6px 0;
}

.doc-toc a {
  color: var(--text-3);
  font-family: var(--font-mono);
  font-size: 12px;
  text-decoration: none;
  transition: all 0.2s;
  padding: 4px 0;
  display: block;
}

.doc-toc a:hover {
  color: var(--red);
  padding-left: 4px;
}

.doc-toc li.active a {
  color: var(--red);
  font-weight: 700;
  padding-left: 4px;
}

/* Tags/Categories */
.doc-tag {
  display: inline-block;
  background: rgba(200,85,61,0.08);
  border: 1px solid rgba(200,85,61,0.18);
  color: var(--red);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--r-full);
  margin-right: 6px;
  margin-bottom: 6px;
}

.doc-tag.blue {
  background: rgba(91,138,114,0.08);
  border-color: rgba(91,138,114,0.18);
  color: var(--cyan);
}

.doc-tag.green {
  background: rgba(34,197,94,0.08);
  border-color: rgba(34,197,94,0.18);
  color: var(--green);
}

/* FAQ Category Sections */
.faq-category {
  margin-bottom: 32px;
}

.faq-category-title {
  font-family: var(--font-ui);
  font-size: 20px;
  font-weight: 800;
  color: var(--text-1);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  letter-spacing: 0.3px;
}

.faq-category-desc {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-3);
  margin-bottom: 16px;
}

/* Footer Links */
.doc-footer-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(0,0,0,0.06);
}

.doc-footer-link-group h3 {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 800;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.doc-footer-link-group ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.doc-footer-link-group li {
  margin-bottom: 8px;
}

.doc-footer-link-group a {
  color: var(--text-3);
  font-family: var(--font-mono);
  font-size: 12px;
  text-decoration: none;
  transition: all 0.2s;
}

.doc-footer-link-group a:hover {
  color: var(--red);
  transform: translateX(3px);
}

/* Last Updated */
.doc-updated-info {
  text-align: center;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(0,0,0,0.04);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-4);
  letter-spacing: 0.5px;
}

/* Responsive doc pages */
@media (max-width: 768px) {
  .doc-page-wrapper {
    padding: calc(var(--nav-h) + 40px) 16px 60px;
  }

  .doc-page-title {
    font-size: clamp(28px, 6vw, 36px);
  }

  .doc-content-card {
    padding: 20px;
    margin-bottom: 16px;
  }

  .doc-toc {
    position: static;
    margin-bottom: 28px;
  }

  .doc-search-bar {
    margin-bottom: 28px;
  }

  .doc-footer-links {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 480px) {
  .doc-page-wrapper {
    padding: calc(var(--nav-h) + 24px) 12px 40px;
  }

  .doc-page-title {
    font-size: 24px;
    margin-bottom: 12px;
  }

  .doc-content-card {
    padding: 16px;
    border-radius: var(--r-lg);
  }

  .doc-section-title {
    font-size: 14px;
  }

  .doc-content-text {
    font-size: 13px;
  }

  .doc-table {
    font-size: 12px;
  }

  .doc-table th,
  .doc-table td {
    padding: 8px;
  }
}

/* ======================================================================
   MISC UTILITY STYLES
   ====================================================================== */
.success-box {
  text-align: center;
  padding: 60px;
  background: rgba(250,247,244,0.8);
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: var(--r-2xl);
  position: relative;
  overflow: hidden;
}

.success-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--green), transparent);
}

.success-icon { font-size: 64px; margin-bottom: 20px; display: block; }

.tag-input-inline {
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-1);
  font-family: var(--font-mono);
  font-size: 12px;
  min-width: 140px;
}

.skin-tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(200,85,61,0.08);
  border: 1px solid rgba(200,85,61,0.22);
  color: var(--red);
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 3px 8px;
  border-radius: var(--r-full);
}

.sold-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: var(--green);
  border: 1px solid rgba(34,197,94,0.3);
  padding: 3px 10px;
  border-radius: var(--r-full);
  letter-spacing: 0.5px;
}

/* Saved page empty state */
.no-results {
  text-align: center;
  padding: 80px 20px;
}

.no-results-icon { font-size: 64px; margin-bottom: 20px; display: block; }

.no-results h3 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.no-results p {
  color: var(--text-3);
  margin-bottom: 28px;
  font-family: var(--font-mono);
}

/* Collection tags */
.coll-tag {
  background: rgba(91,138,114,0.06);
  border: 1px solid rgba(91,138,114,0.18);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 3px 10px;
  border-radius: var(--r-sm);
  letter-spacing: 0.3px;
}

/* ======================================================================
   RESPONSIVE
   ====================================================================== */
@media (max-width: 1024px) {
  .browse-layout { grid-template-columns: 240px 1fr; gap: 20px; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-container { grid-template-columns: 1fr 1fr; }
  .feature-cards-container { grid-template-columns: repeat(3, 1fr); bottom: 5%; }
}

@media (max-width: 768px) {
  :root { --nav-h: 60px; }
  
  .navbar { padding: 0 16px; gap: 16px; }
  .nav-links { display: none; }
  .brand-logo-link .nav-brand-img { height: 36px; }

  .browse-layout { grid-template-columns: 1fr; }
  .modern-sidebar { position: static; max-height: none; }

  .listing-detail-layout { grid-template-columns: 1fr; }
  .contact-card { position: static; }

  .feature-cards-container { grid-template-columns: 1fr; gap: 12px; width: 92%; bottom: 3%; }
  .hero-headline { letter-spacing: -2px; }

  .detail-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-info-grid { grid-template-columns: 1fr; }

  .dash-stats { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-container { grid-template-columns: 1fr; gap: 32px; }

  .auth-btn-wrapper { width: 80px; height: 36px; }
  .auth-btn-inner { font-size: 12px; gap: 6px; padding: 0 10px; }
  .auth-btn-inner svg { width: 14px; height: 14px; }

  .modal-box { border-radius: var(--r-xl); padding: 28px 20px; }
}

@media (max-width: 480px) {
  .glass-cards-container { flex-direction: column; align-items: center; gap: 16px; }
  .glass { width: 90%; max-width: 260px; height: 220px; }
  .hero-cta { flex-direction: column; align-items: center; }
  .listings-grid { grid-template-columns: 1fr; }
}

/* ======================================================================
   ANIMATIONS
   ====================================================================== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 20px rgba(200,85,61,0.15); }
  50%       { box-shadow: 0 0 40px rgba(200,85,61,0.3); }
}

.reveal-animate { animation: fadeInUp 0.5s var(--ease-out) both; }

/* Stagger utility */
.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }

/* ── GSAP scroll animation classes ───────────────────────────────── */
.gs-reveal-text { /* will-change removed for clickability */ }

/* ── Riot Sync Loader ───────────────────────────────────────────── */
.sync-loader-card {
  min-width: 320px;
  padding: 36px 48px;
  border-radius: var(--r-xl);
  background: rgba(250,247,244,0.8);
  border: 1px solid rgba(91,138,114,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  backdrop-filter: blur(20px);
}

.loader {
  color: #fff;
  font-family: var(--font-ui);
  font-weight: 800;
  font-size: 22px;
  height: 40px;
  overflow: hidden;
  display: flex;
  align-items: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.loader p { margin: 0; padding: 0; line-height: 40px; }

.words {
  display: flex;
  flex-direction: column;
  padding-left: 10px;
  animation: spin_4991 6s infinite;
}

.word {
  height: 40px;
  line-height: 40px;
  display: block;
  color: var(--cyan);
  white-space: nowrap;
}

@keyframes spin_4991 {
  0%,  15% { transform: translateY(0); }
  25%, 40% { transform: translateY(-40px); }
  50%, 65% { transform: translateY(-80px); }
  75%, 90% { transform: translateY(-120px); }
  100%      { transform: translateY(-160px); }
}

/* ── Section spacing ─────────────────────────────────────────────── */
.section-spacing { padding: 80px 0; }
.section-spacing-sm { padding: 48px 0; }

/* Section header layout */
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 36px;
  flex-wrap: wrap;
  gap: 12px;
}

.see-all {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--red);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: opacity 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}
.see-all:hover { opacity: 0.7; }

/* ── Input/Select fix ─────────────────────────────────────────────── */
select option { background: #FAF7F4; color: #2C2420; }

/* ── Mobile menu ─────────────────────────────────────────────────── */
.mobile-menu-btn {
  display: none;
  background: rgba(0,0,0,0.04);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--r-sm);
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-2);
  transition: all 0.2s;
}

@media (max-width: 768px) {
  .mobile-menu-btn { display: flex; }
}

/* Mobile Nav Overlay */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(250,247,244,0.97);
  backdrop-filter: blur(30px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  transform: translateX(100%);
  transition: transform 0.35s var(--ease-spring);
}

.mobile-nav.open { transform: translateX(0); }

.mobile-nav a {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-2);
  transition: color 0.2s;
}

.mobile-nav a:hover { color: var(--red); }

.mobile-nav-close {
  position: absolute;
  top: 20px; right: 20px;
  background: rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.06);
  color: var(--text-2);
  width: 42px; height: 42px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  transition: all 0.2s;
}

.mobile-nav-close:hover { border-color: var(--red); color: var(--red); }

/* ── Badge Styling ─────────────────────────────────────────────────── */
.fe-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--r-sm);
  letter-spacing: 0.5px;
}

.fe-badge.fe-yes { background: rgba(34,197,94,0.1); color: var(--green); border: 1px solid rgba(34,197,94,0.2); }
.fe-badge.fe-no  { background: rgba(0,0,0,0.03); color: var(--text-3); border: 1px solid rgba(0,0,0,0.05); }

/* ── AI Summary Block ─────────────────────────────────────────────── */
.ai-summary-box {
  background: rgba(200,85,61,0.03);
  border: 1px solid rgba(200,85,61,0.15);
  border-radius: var(--r-lg);
  padding: 20px;
  margin-bottom: 24px;
}

.ai-summary-box h4 {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--red);
  margin-bottom: 8px;
}

.ai-summary-box p {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.75;
  font-family: var(--font-mono);
}

/* ── Premium stat ticker ─────────────────────────────────────────── */
.stats-ticker {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
  padding: 30px 0;
}

.ticker-item {
  text-align: center;
}

.ticker-num {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 900;
  letter-spacing: -1px;
  color: var(--red);
  display: block;
}

.ticker-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-3);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 4px;
}

/* ── Admin Panel ─────────────────────────────────────────────────── */
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--cyan);
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.admin-table td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(0,0,0,0.03);
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-2);
}
.admin-table tr:hover td { background: rgba(255,255,255,0.02); }

/* Status indicator */
.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 6px;
}

.status-dot.active   { background: var(--green); box-shadow: 0 0 6px rgba(34,197,94,0.5); }
.status-dot.pending  { background: var(--gold); box-shadow: 0 0 6px rgba(245,158,11,0.5); }
.status-dot.sold     { background: var(--cyan); }
.status-dot.deleted  { background: var(--text-4); }

/* =====================================================================
   GLOBAL COLOR OVERRIDES — FORCE BEIGE/WARM THEME EVERYWHERE
   Eliminates all legacy dark-blue / navy / cyan-neon styling left over
   from the previous dark theme. Loaded AFTER every per-page inline style
   so it always wins the specificity battle.
   ===================================================================== */
:root {
  --blue: #B8653A !important;   /* warm terracotta replaces navy */
  --cyan: #5B8A72 !important;   /* sage green replaces neon cyan */
}

/* Kill the dark-gradient Google Sign-In buttons (they appeared on many
   pages with hard-coded inline styles using #EDE6DF / #D4C4B0 / #C8873D).
   Re-style them to fit the beige theme. */
button[id="googleLoginButton"],
button[id="googleSignupButton"] {
  background: #FAF7F4 !important;
  border: 1.5px solid rgba(0,0,0,0.12) !important;
  color: var(--text-1) !important;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05) !important;
}
button[id="googleLoginButton"]:hover,
button[id="googleSignupButton"]:hover {
  border-color: var(--red) !important;
  box-shadow: 0 6px 20px rgba(200,85,61,0.18) !important;
}
button[id="googleLoginButton"] span,
button[id="googleSignupButton"] span { color: var(--text-1) !important; }
button[id="googleLoginButton"] svg path,
button[id="googleSignupButton"] svg path { fill: var(--red) !important; }

/* Listing status (sold) — previously used dark blue */
.status-sold { background: rgba(184,101,58,0.14) !important; color: #B8653A !important; }

/* ===== NAVBAR — centered links across every page ===== */
.navbar {
  justify-content: space-between !important;
  padding: 0 40px !important;
}
.navbar .nav-links,
nav .nav-links {
  position: absolute !important;
  left: 50% !important;
  top: 50% !important;
  transform: translate(-50%, -50%) !important;
  flex: 0 0 auto !important;
  gap: 6px !important;
  z-index: 1 !important;
}
.nav-actions {
  margin-left: auto !important;
  position: relative; z-index: 2;
}
.brand-logo-link,
.nav-brand { position: relative; z-index: 2; }

/* On mobile — hide desktop nav links and keep brand/actions layout */
@media (max-width: 900px) {
  .navbar .nav-links,
  nav .nav-links { display: none !important; }
}

/* ===== LATEST LISTINGS / STOREFRONT — 3 products per row on desktop ===== */
.storefront-grid,
.listings-grid,
#latestListings,
#listingsGrid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 24px !important;
}
@media (max-width: 1024px) {
  .storefront-grid,
  .listings-grid,
  #latestListings,
  #listingsGrid { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 640px) {
  .storefront-grid,
  .listings-grid,
  #latestListings,
  #listingsGrid { grid-template-columns: 1fr !important; }
}

/* ===== REDUCE EMPTY SPACE — tighter vertical rhythm ===== */
.features-section,
.process-section,
.discover-section,
.testimonials-section,
.storefront-section {
  padding-top: 60px !important;
  padding-bottom: 60px !important;
}
.section-title { margin-bottom: 32px !important; }
.stats-strip { padding-top: 20px !important; padding-bottom: 12px !important; margin-top: 20px !important; }
.cta-banner { margin-top: 20px !important; margin-bottom: 56px !important; padding: 48px 40px !important; }
.footer { padding-top: 48px !important; padding-bottom: 24px !important; }

/* Reduce hero section padding on desktop */
.hero { padding-top: 88px !important; padding-bottom: 32px !important; }

@media (max-width: 1024px) {
  .features-section,
  .process-section,
  .discover-section,
  .testimonials-section,
  .storefront-section {
    padding-top: 48px !important;
    padding-bottom: 48px !important;
  }
}

@media (max-width: 768px) {
  .features-section,
  .process-section,
  .discover-section,
  .testimonials-section,
  .storefront-section {
    padding-top: 36px !important;
    padding-bottom: 36px !important;
  }
  .section-title { margin-bottom: 20px !important; font-size: 28px !important; }
  .section-label { margin-bottom: 6px !important; }
  .cta-banner { margin-bottom: 36px !important; padding: 36px 20px !important; }
  .stats-strip { padding: 16px 12px !important; gap: 10px !important; margin-top: 12px !important; }
  .stat-item { padding: 18px 10px !important; }
  .stat-num { font-size: 32px !important; }
  .stat-label { font-size: 10px !important; letter-spacing: 1px !important; }
  .footer { padding-top: 32px !important; padding-bottom: 20px !important; }
}

/* ===== FAQ ACCORDION — force closed/open visual states ===== */
.doc-section .doc-section-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.25s ease, opacity 0.25s ease;
  opacity: 0;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
.doc-section.open .doc-section-content {
  max-height: 2400px;
  opacity: 1;
  padding-top: 16px !important;
  padding-bottom: 4px !important;
}
.doc-section .doc-section-title {
  cursor: pointer;
  position: relative;
  padding-right: 44px;
  user-select: none;
}
.doc-section .doc-section-title::after {
  content: '+';
  position: absolute;
  right: 12px; top: 50%;
  transform: translateY(-50%);
  font-size: 22px; font-weight: 300;
  color: var(--red);
  transition: transform 0.3s ease;
  line-height: 1;
}
.doc-section.open .doc-section-title::after {
  content: '−';
  transform: translateY(-50%) rotate(180deg);
}

/* ===========================================================
   FINAL FIXES — remove remaining dark tones & ensure visibility
   =========================================================== */

/* Ensure feature cards on index.html are ALWAYS visible even if
   GSAP/ScrollTrigger fail to fire (mobile browsers, slow networks).
   The GSAP animation adds its own `fromTo` so the cards animate in
   normally; this CSS safety net just ensures they end up visible. */
.feature-card { opacity: 1; }
@media (max-width: 1024px) {
  /* On tablet/mobile, skip the scroll-triggered fade: just show them. */
  .feature-card { opacity: 1 !important; transform: none !important; }
}

/* Make sure nothing leaves feature-card permanently invisible */
.feature-card[style*="opacity: 0"],
.feature-card[style*="opacity:0"] {
  opacity: 1 !important;
}

/* FAQ: dark hover removed; also tighten spacing so page isn't sparse */
.doc-content-card {
  margin-bottom: 14px !important;
  padding: 22px 26px !important;
}
.doc-content-card + .doc-content-card { margin-top: 0; }

/* FAQ Page Header: reduce bottom margin & padding so content sits closer */
.doc-page-header {
  margin-bottom: 32px !important;
  padding-bottom: 24px !important;
}

/* FAQ category: subtle separator instead of empty bands */
.faq-category { margin-bottom: 28px !important; }
.faq-category-title {
  font-size: 22px !important;
  margin-bottom: 14px !important;
}

/* Contact page — constrain main card so it doesn't float in empty space */
.doc-page-wrapper > .doc-content-card:only-child {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

/* Ensure footer bg + text are light/readable everywhere */
.site-footer {
  background: linear-gradient(180deg, var(--bg-1, #EDE6DF) 0%, var(--bg-2, #E8DDD2) 100%) !important;
  color: var(--text-2) !important;
}
.site-footer h4 { color: var(--text-1) !important; }
.site-footer p, .site-footer a, .site-footer li a { color: var(--text-2) !important; }
.site-footer a:hover, .site-footer li a:hover { color: var(--red) !important; }
.site-footer .footer-bottom span,
.site-footer .riot-disclaimer { color: var(--text-3) !important; }
.site-footer .social-icon { background: rgba(0,0,0,0.04) !important; border-color: rgba(0,0,0,0.08) !important; }
.site-footer .social-icon svg { fill: var(--text-2) !important; }
.site-footer .social-icon:hover { background: rgba(200,85,61,0.1) !important; border-color: rgba(200,85,61,0.3) !important; }
.site-footer .social-icon:hover svg { fill: var(--red) !important; }
.site-footer .footer-bottom { border-top-color: rgba(0,0,0,0.08) !important; }

/* Remove any stray dark card hover states across the site */
[class*="card"]:hover,
[class*="tile"]:hover {
  /* guard: nothing should switch to near-black on hover */
}

/* Contact page buttons — make Discord use our accent so it matches the theme */
.btn-primary[href*="discord.gg"] {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%) !important;
  color: #fff !important;
}
.btn-primary[href*="whatsapp"] {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%) !important;
  color: #fff !important;
}

/* Mobile: ensure navbar is compact and nav-links hide, actions show */
@media (max-width: 900px) {
  .navbar { padding: 0 16px !important; }
  .nav-actions { gap: 8px !important; }
  .auth-btn-inner { padding: 0 12px !important; font-size: 12px !important; }
}
@media (max-width: 480px) {
  .auth-btn-wrapper { height: 34px !important; }
  .auth-btn-inner { font-size: 11px !important; padding: 0 10px !important; }
  .auth-btn-inner svg { display: none !important; }
  .nav-brand-img { height: 32px !important; }
}

/* Storefront / listings: tighten card text on mobile to avoid oversized cards */
@media (max-width: 640px) {
  .listing-card .listing-body { padding: 16px !important; }
  .listing-title { font-size: 15px !important; }
  .listing-price { font-size: 20px !important; }
  .listing-img { height: 180px !important; }
}

/* Discover tiles: reduce the massive empty area on desktop caused by 2-row tile */
@media (min-width: 1025px) {
  .discover-tile { min-height: 220px !important; }
  .tile-lg { min-height: 460px !important; }
}
@media (max-width: 1024px) {
  .discover-tile { min-height: 180px !important; }
  .tile-lg { min-height: 220px !important; }
}

/* Global: ensure no element uses pure-black or near-black backgrounds */
[style*="background: #000"],
[style*="background:#000"],
[style*="background-color: #000"],
[style*="background-color:#000"] {
  background: var(--bg-1, #EDE6DF) !important;
}

/* --- Dynamic Animations & Micro-interactions --- */

/* Scroll Reveal */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Page Load Transition */
.page-enter {
  animation: pageFadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes pageFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Enhanced Hover States overrides */
.btn-primary {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease !important;
}

.btn-primary:hover {
  transform: scale(1.02) translateY(-2px);
  box-shadow: 0 8px 24px rgba(200, 85, 61, 0.4);
}

.btn-primary:active {
  transform: scale(0.98);
}

/* Enhanced Product Card Hovers */
.step-container, .region-card, .vp-package, .order-summary, .vault-item, .product-card {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.region-card:hover, .vp-package:hover, .vault-item:hover, .product-card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}


/* Live marketplace pulse */
.market-pulse { max-width: 1400px; margin: 10px auto 0; padding: 0 48px; overflow: hidden; }
.pulse-headline { display: flex; align-items: center; gap: 10px; min-height: 42px; color: var(--brown-medium); font-size: 12px; letter-spacing: 0.4px; }
.pulse-headline strong { color: var(--brown-dark); text-transform: uppercase; letter-spacing: 1.4px; font-size: 11px; }
.pulse-dot { width: 8px; height: 8px; flex: 0 0 auto; border-radius: 50%; background: #4CAF50; box-shadow: 0 0 0 5px rgba(76,175,80,0.12), 0 0 14px rgba(76,175,80,0.55); animation: pulseLiveDot 1.8s ease-in-out infinite; }
.pulse-track { display: flex; align-items: center; gap: 20px; width: max-content; padding: 12px 0 18px; color: var(--text-secondary); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.4px; animation: marketMarquee 30s linear infinite; }
.pulse-track i { display: block; width: 4px; height: 4px; border-radius: 50%; background: var(--accent); opacity: 0.7; }
@keyframes pulseLiveDot { 0%, 100% { transform: scale(0.85); opacity: 0.65; } 50% { transform: scale(1.1); opacity: 1; } }
@keyframes marketMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 768px) { .market-pulse { padding: 0 20px; } .pulse-headline span:last-child { display: none; } }
