/* ═══════════════════════════════════════════════════════════════
   COLLECTR VAULT - Brand Style System
   Brand: RED #EF2022 + BLACK #000000 + WHITE #FFFFFF
   Logo: COLLECTR (red, condensed bold) / VAULT (red, U=white vault icon)
   ═══════════════════════════════════════════════════════════════ */

:root {
  /* Brand Palette - OFFICIAL */
  --brand-red: #EF2022;
  --brand-red-dark: #C91A1C;
  --brand-red-light: #FF4547;
  --brand-red-glow: rgba(239, 32, 34, 0.35);
  --brand-black: #000000;
  --brand-white: #FFFFFF;

  /* Surfaces */
  --bg-dark: #0A0A0A;
  --bg-card: #111111;
  --bg-card-hover: #1A1A1A;
  --bg-surface: #141414;
  --bg-surface-light: #1E1E1E;

  /* Text */
  --text-primary: #F5F5F5;
  --text-secondary: #999999;
  --text-muted: #666666;
  --text-accent: var(--brand-red);

  /* Effects */
  --glow-red: 0 0 20px rgba(239, 32, 34, 0.3);
  --glow-strong: 0 0 40px rgba(239, 32, 34, 0.4), 0 0 80px rgba(239, 32, 34, 0.15);
  --glow-gold: 0 0 20px rgba(255, 200, 50, 0.3);

  /* Spacing */
  --header-height: 70px;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
}

/* ═══════════════ RESET & BASE ═══════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-dark);
  color: var(--text-primary);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input { font-family: inherit; }

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: #333; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--brand-red-dark); }

/* ═══════════════════════════════════════════════════════════════
   VAULT INTRO ANIMATION
   ═══════════════════════════════════════════════════════════════ */
.vault-intro {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--brand-black);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

#particle-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.vault-container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.vault-door-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: min(600px, 90vw);
  height: min(400px, 60vw);
}

.vault-door {
  width: 50%;
  height: 100%;
  position: relative;
  transition: transform 1.8s cubic-bezier(0.22, 1, 0.36, 1);
  transform-origin: center;
  z-index: 2;
}

.vault-door-left { transform-origin: left center; }
.vault-door-right { transform-origin: right center; }

.vault-door.opening-left {
  transform: perspective(1200px) rotateY(-110deg);
  opacity: 0;
}

.vault-door.opening-right {
  transform: perspective(1200px) rotateY(110deg);
  opacity: 0;
}

.door-panel {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1A1A1A 0%, #111 40%, #0A0A0A 100%);
  border: 2px solid #2A2A2A;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  box-shadow:
    inset 0 0 60px rgba(0,0,0,0.8),
    0 0 30px rgba(0,0,0,0.9),
    0 0 60px rgba(239, 32, 34, 0.08);
}

.door-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, transparent, transparent 20px, rgba(255,255,255,0.015) 20px, rgba(255,255,255,0.015) 21px),
    repeating-linear-gradient(90deg, transparent, transparent 20px, rgba(255,255,255,0.015) 20px, rgba(255,255,255,0.015) 21px);
}

.door-panel::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to bottom, rgba(255,255,255,0.03), transparent);
  pointer-events: none;
}

.door-rivets {
  position: absolute;
  inset: 15px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 10px;
  pointer-events: none;
}

.rivet {
  width: 12px;
  height: 12px;
  background: radial-gradient(circle at 35% 35%, #3A3A3A, #1A1A1A);
  border-radius: 50%;
  box-shadow: inset 0 1px 2px rgba(255,255,255,0.1), 0 2px 4px rgba(0,0,0,0.5);
  place-self: center;
}

.door-text-left, .door-text-right {
  position: absolute;
  bottom: 30px;
  font-family: 'Orbitron', monospace;
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 900;
  color: rgba(239, 32, 34, 0.2);
  letter-spacing: 0.2em;
}

.door-text-left { right: 10px; }
.door-text-right { left: 10px; }

/* Lock Mechanism */
.vault-lock {
  position: absolute;
  z-index: 5;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.lock-outer {
  width: clamp(100px, 20vw, 140px);
  height: clamp(100px, 20vw, 140px);
  border-radius: 50%;
  background: linear-gradient(135deg, #2A2A2A, #111);
  border: 3px solid #333;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 0 30px rgba(0,0,0,0.8),
    inset 0 0 20px rgba(0,0,0,0.5),
    0 0 40px rgba(239, 32, 34, 0.1);
  position: relative;
}

.lock-inner {
  width: 80%;
  height: 80%;
  border-radius: 50%;
  background: var(--brand-black);
  border: 2px solid var(--brand-red);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.lock-dial {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  transition: transform 0.1s linear;
}

.dial-marker {
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 12px;
  background: var(--brand-red);
  border-radius: 2px;
}

.dial-numbers span {
  position: absolute;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6rem;
  color: #555;
  --angle: calc(var(--i) * 36deg);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(var(--angle)) translateY(-32px) rotate(calc(-1 * var(--angle)));
}

.lock-logo {
  font-family: 'Orbitron', monospace;
  font-weight: 900;
  font-size: 1.2rem;
  color: var(--brand-red);
  text-shadow: 0 0 10px rgba(239, 32, 34, 0.5);
  z-index: 2;
}

/* Bolts */
.lock-bolts { position: absolute; inset: -20px; }
.bolt {
  position: absolute;
  background: linear-gradient(135deg, #3A3A3A, #1A1A1A);
  border-radius: 3px;
  transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.bolt-top, .bolt-bottom { width: 20px; height: 8px; left: 50%; transform: translateX(-50%); }
.bolt-left, .bolt-right { width: 8px; height: 20px; top: 50%; transform: translateY(-50%); }
.bolt-top { top: 0; }
.bolt-bottom { bottom: 0; }
.bolt-left { left: 0; }
.bolt-right { right: 0; }

.bolt.retracted-top { transform: translateX(-50%) translateY(-15px); opacity: 0; }
.bolt.retracted-bottom { transform: translateX(-50%) translateY(15px); opacity: 0; }
.bolt.retracted-left { transform: translateY(-50%) translateX(-15px); opacity: 0; }
.bolt.retracted-right { transform: translateY(-50%) translateX(15px); opacity: 0; }

/* Light rays — RED */
.vault-light {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.vault-light.visible { opacity: 1; }

.light-ray {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 4px;
  height: 300px;
  background: linear-gradient(to bottom, var(--brand-red), transparent);
  transform-origin: top center;
  transform: rotate(var(--angle));
  opacity: 0.6;
  animation: rayPulse 2s ease-in-out infinite;
  filter: blur(2px);
}

@keyframes rayPulse {
  0%, 100% { opacity: 0.3; height: 200px; }
  50% { opacity: 0.7; height: 350px; }
}

/* Enter button */
.vault-enter {
  margin-top: 40px;
  text-align: center;
  z-index: 10;
}

.enter-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 40px;
  background: linear-gradient(135deg, var(--brand-red), var(--brand-red-dark));
  color: white;
  font-family: 'Orbitron', monospace;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.15em;
  border-radius: 50px;
  box-shadow: var(--glow-strong);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.enter-btn::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50px;
  background: linear-gradient(45deg, var(--brand-red), transparent, var(--brand-red));
  z-index: -1;
  animation: borderRotate 3s linear infinite;
}

@keyframes borderRotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.enter-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 0 60px rgba(239, 32, 34, 0.5), 0 0 120px rgba(239, 32, 34, 0.2);
}

.enter-btn:active { transform: translateY(0) scale(0.98); }

.enter-icon { font-size: 1.2rem; }
.enter-hint {
  margin-top: 12px;
  color: #666;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  animation: hintPulse 2s ease-in-out infinite;
}

@keyframes hintPulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

/* Skip button */
.skip-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 10001;
  padding: 8px 20px;
  color: #666;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}
.skip-btn:hover { color: var(--text-primary); border-color: var(--brand-red); }

/* ═══════════════════════════════════════════════════════════════
   ANNOUNCEMENT BAR
   ═══════════════════════════════════════════════════════════════ */
.announcement-bar {
  background: var(--brand-red);
  color: white;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  overflow: hidden;
  height: 36px;
  display: flex;
  align-items: center;
}

.announcement-scroll {
  display: flex;
  align-items: center;
  gap: 30px;
  white-space: nowrap;
  animation: scrollAnnouncement 30s linear infinite;
  padding-left: 100%;
}

.announcement-divider { opacity: 0.5; }

@keyframes scrollAnnouncement {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ═══ CURRENCY SWITCHER (in header) ═══ */
.currency-switcher {
  position: relative;
  flex-shrink: 0;
  z-index: 1100;
}

.currency-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  padding: 6px 12px;
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  height: 36px;
}
.currency-btn:hover { background: rgba(239,32,34,0.08); border-color: rgba(239,32,34,0.3); color: #fff; }
.currency-btn i { font-size: 0.55rem; transition: transform 0.2s; margin-left: 2px; color: #666; }
.currency-btn.open i { transform: rotate(180deg); }
.currency-btn.open { border-color: var(--brand-red); background: rgba(239,32,34,0.08); }

.currency-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #141414;
  border: 1px solid #2a2a2a;
  border-radius: 12px;
  min-width: 220px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.7);
  overflow: hidden;
  animation: dropFade 0.2s ease;
  max-height: 380px;
  overflow-y: auto;
}
.currency-dropdown.open { display: block; }

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

.currency-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  font-size: 0.85rem;
  color: #ccc;
  cursor: pointer;
  transition: all 0.15s;
}
.currency-option:hover { background: #1a1a1a; color: #fff; }
.currency-option.active { background: rgba(239,32,34,0.1); color: var(--brand-red); font-weight: 600; }
.currency-option span { font-size: 1.15rem; }
.currency-option small { margin-left: auto; color: #555; font-size: 0.7rem; }

@media (max-width: 768px) {
  .currency-btn span#currency-flag { display: none; }
  .currency-btn { padding: 5px 8px; font-size: 0.75rem; height: 32px; }
}

/* ═══════════════════════════════════════════════════════════════
   HEADER / NAVIGATION
   ═══════════════════════════════════════════════════════════════ */
.main-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: all 0.3s ease;
}

.main-header.scrolled {
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.7);
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Logo - Using actual brand image */
.logo {
  display: flex;
  align-items: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.logo:hover { transform: scale(1.03); }

/* logo-image styles moved to LOGO UPGRADE section below */

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

.nav-link {
  padding: 8px 14px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: all 0.3s ease;
  position: relative;
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--brand-red);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-link:hover {
  color: var(--text-primary);
  background: rgba(239, 32, 34, 0.05);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 60%;
}

.nav-link.active {
  color: var(--brand-red);
}

.nav-icon {
  margin-right: 4px;
  font-size: 0.9rem;
}

/* Header actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.action-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--text-secondary);
  transition: all 0.3s ease;
  position: relative;
  font-size: 1rem;
}

.action-btn:hover {
  color: var(--brand-red);
  background: rgba(239, 32, 34, 0.08);
}

.cart-count {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 18px;
  height: 18px;
  background: var(--brand-red);
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cart-count.visible { transform: scale(1); }

/* Mobile menu button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 30px;
  padding: 5px 0;
}

.mobile-menu-btn span {
  display: block;
  height: 2px;
  background: var(--text-secondary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: calc(var(--header-height) + 36px);
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  background: rgba(10, 10, 10, 0.98);
  backdrop-filter: blur(20px);
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.mobile-menu-inner {
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-nav-link {
  padding: 16px 20px;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius);
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.mobile-nav-link:hover, .mobile-nav-link:active {
  color: var(--brand-red);
  background: rgba(239, 32, 34, 0.05);
  border-color: rgba(239, 32, 34, 0.15);
}

/* Search overlay */
.search-overlay {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--bg-card);
  border-bottom: 1px solid rgba(239, 32, 34, 0.1);
  padding: 20px 24px;
  transform: translateY(-20px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  box-shadow: 0 20px 40px rgba(0,0,0,0.6);
}

.search-overlay.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}

.search-inner {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-surface);
  border: 1px solid rgba(239, 32, 34, 0.15);
  border-radius: 50px;
  padding: 12px 20px;
}

.search-inner .search-icon { color: var(--brand-red); font-size: 1rem; }

.search-inner input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-size: 1rem;
}

.search-inner input::placeholder { color: var(--text-muted); }

.search-close {
  color: var(--text-muted);
  font-size: 1rem;
  transition: color 0.3s;
}
.search-close:hover { color: var(--text-primary); }

.search-results {
  max-width: 600px;
  margin: 15px auto 0;
  max-height: 300px;
  overflow-y: auto;
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.2s;
}
.search-result-item:hover { background: var(--bg-surface-light); }

.search-result-item .result-emoji { font-size: 1.5rem; }
.search-result-item .result-info { flex: 1; }
.search-result-item .result-name { font-weight: 600; font-size: 0.9rem; }
.search-result-item .result-cat { font-size: 0.75rem; color: var(--text-muted); }
.search-result-item .result-price { font-weight: 700; color: var(--brand-red); }

/* ═══════════════════════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════════════════════ */
.hero-section {
  position: relative;
  min-height: calc(100vh - var(--header-height) - 36px);
  display: flex;
  align-items: center;
  padding: 60px 24px;
  max-width: 1400px;
  margin: 0 auto;
  gap: 40px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-grid {
  position: absolute;
  inset: -50%;
  background:
    linear-gradient(rgba(239, 32, 34, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(239, 32, 34, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  transform: perspective(500px) rotateX(60deg);
  transform-origin: center top;
}

.hero-glow {
  position: absolute;
  top: 20%;
  left: 30%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(239, 32, 34, 0.06), transparent 70%);
  border-radius: 50%;
  filter: blur(80px);
}

.hero-content {
  flex: 1;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(239, 32, 34, 0.08);
  border: 1px solid rgba(239, 32, 34, 0.2);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--brand-red);
  margin-bottom: 24px;
}

.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--brand-red);
  border-radius: 50%;
  animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}

.hero-title {
  font-family: 'Orbitron', monospace;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 20px;
}

.title-line { display: block; }
.title-highlight {
  background: linear-gradient(135deg, var(--brand-red), var(--brand-red-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 500px;
  line-height: 1.7;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.stat-item { text-align: left; }
.stat-number {
  font-family: 'Orbitron', monospace;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--brand-red);
}
.stat-label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Floating cards */
.hero-visual {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 400px;
}

.floating-cards {
  position: relative;
  width: 300px;
  height: 400px;
}

.floating-card {
  position: absolute;
  width: 180px;
  height: 250px;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  cursor: pointer;
}

.floating-card:hover { z-index: 10 !important; }

.card-1 {
  top: 0;
  left: 50%;
  transform: translateX(-50%) rotate(-5deg);
  z-index: 3;
  animation: floatCard1 6s ease-in-out infinite;
}

.card-2 {
  top: 40px;
  left: 0;
  transform: rotate(-15deg);
  z-index: 2;
  animation: floatCard2 7s ease-in-out infinite;
}

.card-3 {
  top: 60px;
  right: 0;
  transform: rotate(10deg);
  z-index: 1;
  animation: floatCard3 8s ease-in-out infinite;
}

@keyframes floatCard1 {
  0%, 100% { transform: translateX(-50%) rotate(-5deg) translateY(0); }
  50% { transform: translateX(-50%) rotate(-3deg) translateY(-15px); }
}

@keyframes floatCard2 {
  0%, 100% { transform: rotate(-15deg) translateY(0); }
  50% { transform: rotate(-12deg) translateY(-20px); }
}

@keyframes floatCard3 {
  0%, 100% { transform: rotate(10deg) translateY(0); }
  50% { transform: rotate(13deg) translateY(-18px); }
}

.floating-card:hover {
  transform: rotate(0deg) scale(1.1) translateY(-10px) !important;
}

.card-holographic {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  background: linear-gradient(135deg, #1a1010, #0a0505 40%, #150a0a 60%, #1a1010);
  border: 2px solid rgba(239, 32, 34, 0.25);
  overflow: hidden;
  position: relative;
  box-shadow:
    0 10px 30px rgba(0,0,0,0.6),
    0 0 20px rgba(239, 32, 34, 0.08);
}

.card-holographic::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    125deg,
    transparent 0%,
    rgba(239, 32, 34, 0.08) 25%,
    rgba(255, 69, 71, 0.12) 50%,
    rgba(239, 32, 34, 0.08) 75%,
    transparent 100%
  );
  transform: translateX(-100%);
  animation: holoShine 4s ease-in-out infinite;
}

.holo-fire { border-color: rgba(255, 150, 50, 0.25); }
.holo-fire::before {
  background: linear-gradient(125deg, transparent, rgba(255, 150, 50, 0.12) 50%, transparent);
}

.holo-water { border-color: rgba(100, 100, 255, 0.25); }
.holo-water::before {
  background: linear-gradient(125deg, transparent, rgba(100, 100, 255, 0.12) 50%, transparent);
}

@keyframes holoShine {
  0% { transform: translateX(-100%) rotate(25deg); }
  50% { transform: translateX(100%) rotate(25deg); }
  100% { transform: translateX(100%) rotate(25deg); }
}

.holo-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 20px;
  text-align: center;
}

.card-emoji { font-size: 3rem; }
.card-name {
  font-family: 'Orbitron', monospace;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}
.card-set {
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* ═══════════════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
  letter-spacing: 0.03em;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand-red), var(--brand-red-dark));
  color: white;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow-red);
}

.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  background: rgba(239, 32, 34, 0.08);
  color: var(--brand-red);
  border: 1px solid rgba(239, 32, 34, 0.2);
}

.btn-secondary:hover {
  background: rgba(239, 32, 34, 0.12);
  border-color: rgba(239, 32, 34, 0.3);
  transform: translateY(-2px);
}

.btn-glow {
  box-shadow: var(--glow-red);
}

.btn-full { width: 100%; justify-content: center; }

.btn-sm {
  padding: 8px 18px;
  font-size: 0.8rem;
}

/* ═══════════════════════════════════════════════════════════════
   SECTION HEADERS
   ═══════════════════════════════════════════════════════════════ */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-title {
  font-family: 'Orbitron', monospace;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  margin-bottom: 8px;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1rem;
}

/* ═══════════════════════════════════════════════════════════════
   CATEGORIES GRID
   ═══════════════════════════════════════════════════════════════ */
.categories-section {
  padding: 80px 24px;
  max-width: 1400px;
  margin: 0 auto;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.category-card {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  overflow: hidden;
}

.category-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(239, 32, 34, 0.04), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.category-card:hover {
  transform: translateY(-8px);
  border-color: rgba(239, 32, 34, 0.2);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4), var(--glow-red);
}

.category-card:hover::before { opacity: 1; }

.category-card:active { transform: translateY(-4px) scale(0.98); }

.category-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
  display: block;
}

.category-name {
  font-family: 'Orbitron', monospace;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 6px;
  letter-spacing: 0.05em;
}

.category-count {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.category-arrow {
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--brand-red);
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.category-card:hover .category-arrow {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════════════════════════
   PRODUCTS GRID
   ═══════════════════════════════════════════════════════════════ */
.featured-section {
  padding: 80px 24px;
  max-width: 1400px;
  margin: 0 auto;
}

.filter-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.filter-tab {
  padding: 8px 20px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 50px;
  transition: all 0.3s ease;
}

.filter-tab:hover {
  color: var(--text-primary);
  border-color: rgba(239, 32, 34, 0.2);
}

.filter-tab.active {
  color: white;
  background: var(--brand-red);
  border-color: var(--brand-red);
}

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

.product-card {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(239, 32, 34, 0.12);
  box-shadow: 0 15px 35px rgba(0,0,0,0.4);
}

.product-card:active { transform: translateY(-2px) scale(0.99); }

.product-image {
  height: 220px;
  background: var(--bg-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  position: relative;
  overflow: hidden;
}

.product-image .product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  position: relative;
  transition: transform 0.4s ease;
}

.product-card:hover .product-img {
  transform: scale(1.08);
}

.product-image .product-emoji {
  z-index: 1;
  position: relative;
}

.product-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, var(--bg-card));
}

.product-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 12px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  border-radius: 50px;
  z-index: 2;
}

.product-tag.hot { background: var(--brand-red); color: white; }
.product-tag.new { background: white; color: var(--bg-dark); }
.product-tag.sale { background: #F59E0B; color: var(--bg-dark); }
.product-tag.pre-order { background: #8B5CF6; color: white; }
.product-tag.premium { background: linear-gradient(135deg, #F59E0B, #D97706); color: var(--bg-dark); }
.product-tag.rare { background: linear-gradient(135deg, #EC4899, #8B5CF6); color: white; }
.product-tag.limited { background: var(--brand-red); color: white; }
.product-tag.best-seller { background: linear-gradient(135deg, var(--brand-red), #F59E0B); color: white; }

.product-info {
  padding: 16px;
}

.product-name {
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 4px;
  line-height: 1.4;
}

.product-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-pkg {
  font-size: 0.7rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.product-pkg i {
  color: var(--brand-red);
  font-size: 0.65rem;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 10px;
}

.product-rating .stars {
  color: #F59E0B;
  font-size: 0.7rem;
  display: flex;
  gap: 1px;
}
.product-rating .stars i {
  font-size: 0.7rem;
}

.product-rating .rating-num {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.product-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product-price {
  font-family: 'Orbitron', monospace;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--brand-red);
}

.product-price .original-price {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-left: 6px;
  font-weight: 400;
}

.product-cart-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(239, 32, 34, 0.08);
  color: var(--brand-red);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.product-cart-btn:hover {
  background: var(--brand-red);
  color: white;
  transform: scale(1.1);
}

.product-cart-btn:active { transform: scale(0.95); }

/* ═══════════════════════════════════════════════════════════════
   MYSTERY BOX SECTION
   ═══════════════════════════════════════════════════════════════ */
.mystery-section {
  position: relative;
  padding: 100px 24px;
  overflow: hidden;
}

.mystery-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(239, 32, 34, 0.04), rgba(0,0,0,0.5), rgba(239, 32, 34, 0.03));
}

.mystery-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.mystery-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(239, 32, 34, 0.1);
  border: 1px solid rgba(239, 32, 34, 0.2);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--brand-red);
  margin-bottom: 20px;
}

.mystery-title {
  font-family: 'Orbitron', monospace;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  margin-bottom: 12px;
  background: linear-gradient(135deg, var(--brand-red), #FF6B6B, #F59E0B);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.mystery-subtitle {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 48px;
}

.mystery-boxes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.mystery-box-card {
  background: var(--bg-card);
  border: 2px solid rgba(239, 32, 34, 0.12);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  overflow: hidden;
}

.mystery-box-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent, rgba(239, 32, 34, 0.06), transparent, rgba(255, 100, 50, 0.06), transparent);
  animation: mysteryRotate 6s linear infinite;
  opacity: 0;
  transition: opacity 0.3s;
}

.mystery-box-card:hover::before { opacity: 1; }

@keyframes mysteryRotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.mystery-box-card:hover {
  transform: translateY(-8px);
  border-color: rgba(239, 32, 34, 0.35);
  box-shadow: 0 0 40px rgba(239, 32, 34, 0.1);
}

.mystery-box-emoji {
  font-size: 3.5rem;
  margin-bottom: 16px;
  display: block;
  position: relative;
  z-index: 1;
  animation: boxWiggle 3s ease-in-out infinite;
}

.mystery-box-img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 16px;
  display: block;
  position: relative;
  z-index: 1;
  border-radius: var(--radius-sm);
}

@keyframes boxWiggle {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-5deg); }
  75% { transform: rotate(5deg); }
}

.mystery-box-name {
  font-family: 'Orbitron', monospace;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}

.mystery-box-price {
  font-family: 'Orbitron', monospace;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--brand-red);
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.mystery-box-action {
  position: relative;
  z-index: 1;
}

/* ═══════════════════════════════════════════════════════════════
   FEATURES STRIP
   ═══════════════════════════════════════════════════════════════ */
.features-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px;
  background: rgba(255,255,255,0.02);
  border-top: 1px solid rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 28px 24px;
  background: var(--bg-dark);
}

.feature-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(239, 32, 34, 0.06);
  color: var(--brand-red);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.feature-text strong {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 2px;
}

.feature-text span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ═══════════════════════════════════════════════════════════════
   NEWSLETTER
   ═══════════════════════════════════════════════════════════════ */
.newsletter-section {
  padding: 80px 24px;
  max-width: 800px;
  margin: 0 auto;
}

.newsletter-vault {
  background: var(--bg-card);
  border: 1px solid rgba(239, 32, 34, 0.12);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.newsletter-vault::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(239, 32, 34, 0.06), transparent 70%);
  pointer-events: none;
}

.newsletter-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(239, 32, 34, 0.08);
  color: var(--brand-red);
  font-size: 1.5rem;
}

.newsletter-title {
  font-family: 'Orbitron', monospace;
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.newsletter-subtitle {
  color: var(--text-secondary);
  font-size: 0.95rem;
  max-width: 500px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

.newsletter-form .form-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 16px;
}

.input-group {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-surface);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 50px;
  padding: 10px 18px;
  flex: 1;
  min-width: 200px;
  transition: border-color 0.3s;
}

.input-group:focus-within {
  border-color: var(--brand-red);
}

.input-group i { color: var(--text-muted); font-size: 0.9rem; }

.input-group input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-size: 0.9rem;
}

.input-group input::placeholder { color: var(--text-muted); }

.form-extras {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  accent-color: var(--brand-red);
}

.newsletter-success .success-icon {
  font-size: 3rem;
  color: #22C55E;
  margin-bottom: 16px;
}

.newsletter-success h3 {
  font-family: 'Orbitron', monospace;
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.newsletter-success p {
  color: var(--text-secondary);
}

/* ═══════════════════════════════════════════════════════════════
   SOCIAL SECTION
   ═══════════════════════════════════════════════════════════════ */
.social-section {
  padding: 80px 24px;
  max-width: 800px;
  margin: 0 auto;
}

.social-grid {
  display: grid;
  gap: 16px;
}

.social-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.3s ease;
}

.social-card:hover {
  transform: translateX(4px);
  border-color: rgba(255,255,255,0.08);
}

.instagram-card:hover { border-color: rgba(225, 48, 108, 0.3); }
.whatsapp-card:hover { border-color: rgba(37, 211, 102, 0.3); }

.social-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 1.3rem;
}

.instagram-card .social-icon {
  background: linear-gradient(135deg, #833AB4, #E1306C, #F77737);
  color: white;
}

.whatsapp-card .social-icon {
  background: #25D366;
  color: white;
}

.social-info { flex: 1; }
.social-handle { display: block; font-weight: 600; font-size: 0.95rem; }
.social-action { display: block; font-size: 0.8rem; color: var(--text-muted); margin-top: 2px; }

.social-card > .fa-external-link-alt { color: var(--text-muted); font-size: 0.8rem; }

/* ═══════════════════════════════════════════════════════════════
   CART SIDEBAR
   ═══════════════════════════════════════════════════════════════ */
.cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(5px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.cart-overlay.open { opacity: 1; pointer-events: all; }

.cart-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(420px, 90vw);
  z-index: 2001;
  background: var(--bg-card);
  border-left: 1px solid rgba(239, 32, 34, 0.08);
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
}

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

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.cart-header h3 {
  font-family: 'Orbitron', monospace;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.cart-close {
  color: var(--text-muted);
  font-size: 1.2rem;
  transition: color 0.3s;
}
.cart-close:hover { color: var(--text-primary); }

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 16px 24px;
}

.cart-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}

.cart-empty i { font-size: 3rem; margin-bottom: 16px; opacity: 0.3; }
.cart-empty p { margin-bottom: 20px; }

.cart-item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.03);
}

.cart-item-image {
  width: 60px;
  height: 60px;
  background: var(--bg-surface);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  overflow: hidden;
}

.cart-item-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.result-img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: var(--radius-xs);
}

.cart-item-info { flex: 1; }
.cart-item-name { font-weight: 600; font-size: 0.85rem; margin-bottom: 4px; }
.cart-item-price { font-family: 'Orbitron', monospace; font-size: 0.85rem; color: var(--brand-red); }

.cart-item-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
}

.cart-item-remove {
  color: var(--text-muted);
  font-size: 0.75rem;
  transition: color 0.3s;
}
.cart-item-remove:hover { color: var(--brand-red); }

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-item-qty button {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg-surface);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  transition: all 0.2s;
}

.cart-item-qty button:hover { background: var(--brand-red); color: white; }

.cart-item-qty span { font-size: 0.85rem; font-weight: 600; }

.cart-footer {
  padding: 20px 24px;
  border-top: 1px solid rgba(255,255,255,0.04);
}

.cart-total {
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
  font-weight: 600;
}

.cart-total-amount {
  font-family: 'Orbitron', monospace;
  font-size: 1.2rem;
  color: var(--brand-red);
}

.cart-payment-note {
  text-align: center;
  margin-top: 12px;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */
.main-footer {
  background: var(--bg-card);
  border-top: 1px solid rgba(255,255,255,0.04);
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 60px 24px;
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 60px;
}

.footer-logo-img {
  height: 50px;
  width: auto;
  margin-bottom: 16px;
  display: block;
}

.footer-tagline {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-socials a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--bg-surface);
  color: var(--text-secondary);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.footer-socials a:hover {
  background: var(--brand-red);
  color: white;
  transform: translateY(-2px);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.footer-col h4 {
  font-family: 'Orbitron', monospace;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 4px 0;
  transition: color 0.3s;
}

.footer-col a:hover { color: var(--brand-red); }

.payment-methods {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.payment-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.03);
  padding: 20px 24px;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ═══════════════════════════════════════════════════════════════
   TOAST NOTIFICATIONS
   ═══════════════════════════════════════════════════════════════ */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: var(--bg-card);
  border: 1px solid rgba(239, 32, 34, 0.15);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  animation: toastIn 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  min-width: 280px;
}

.toast.leaving { animation: toastOut 0.3s ease forwards; }

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

@keyframes toastOut {
  to { transform: translateX(100px); opacity: 0; }
}

.toast-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.toast.success .toast-icon { background: rgba(34, 197, 94, 0.15); color: #22C55E; }
.toast.info .toast-icon { background: rgba(239, 32, 34, 0.12); color: var(--brand-red); }

.toast-message { font-size: 0.85rem; font-weight: 500; }

/* ═══════════════════════════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════════════════════════ */
.animate-in {
  opacity: 0;
  transform: translateY(30px);
  animation: slideUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }
.delay-4 { animation-delay: 0.6s; }

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

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .main-nav { display: none; }
  .mobile-menu-btn { display: flex; }
  .mobile-menu { display: block; }
  
  .hero-section { flex-direction: column; text-align: center; }
  .hero-subtitle { margin: 0 auto 32px; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { min-height: 300px; }
  
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .hero-stats { gap: 20px; }
  .stat-number { font-size: 1.4rem; }
  
  .floating-cards { transform: scale(0.75); }
  
  .newsletter-vault { padding: 32px 20px; }
  .newsletter-form .form-row { flex-direction: column; }
  .newsletter-form .form-row .btn { width: 100%; justify-content: center; }
  
  .footer-links { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 1.8rem; }
  .hero-stats { flex-direction: column; gap: 12px; align-items: center; }
  
  .categories-grid { grid-template-columns: 1fr 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  
  .floating-cards { transform: scale(0.6); }
  .footer-links { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════════
   MODAL SYSTEM (shared)
   ═══════════════════════════════════════════════════════════════ */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 4000;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

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

.modal {
  position: fixed;
  z-index: 4001;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7), 0 0 60px rgba(239, 32, 34, 0.06);
  overflow: hidden;
  transform: translateY(30px) scale(0.95);
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.modal.open {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: all;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.modal-close:hover {
  background: rgba(239, 32, 34, 0.15);
  color: var(--brand-red);
  transform: rotate(90deg);
}

/* ═══════════════════════════════════════════════════════════════
   AUTH MODAL
   ═══════════════════════════════════════════════════════════════ */
.auth-modal {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) translateY(30px) scale(0.95);
  width: min(600px, 92vw);
  max-height: 90vh;
  overflow-y: auto;
}

.auth-modal.open {
  transform: translate(-50%, -50%) translateY(0) scale(1);
}

.auth-modal-inner {
  padding: 44px 40px;
  text-align: center;
}

.auth-logo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin-bottom: 20px;
  border: 2px solid rgba(239, 32, 34, 0.2);
  box-shadow: 0 0 20px rgba(239, 32, 34, 0.1);
}

/* Auth view transition */
.auth-view-enter {
  animation: authViewFadeIn 0.4s ease;
}

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

.auth-title {
  font-family: 'Orbitron', monospace;
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.auth-subtitle {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 28px;
}

/* Account header row layout */
.account-header-row {
  display: flex;
  align-items: center;
  gap: 16px;
  text-align: left;
  margin-bottom: 8px;
}

.account-header-row .account-avatar {
  margin: 0;
  flex-shrink: 0;
}

.account-header-info {
  flex: 1;
  min-width: 0;
}

.account-header-info .auth-title {
  font-size: 1.2rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.account-header-info .auth-subtitle {
  margin-bottom: 0;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: left;
}

.auth-row {
  display: flex;
  gap: 12px;
}

.auth-row .auth-input-group {
  flex: 1;
}

.auth-input-group {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-surface);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  padding: 12px 16px;
  transition: all 0.3s ease;
  position: relative;
}

.auth-input-group:focus-within {
  border-color: var(--brand-red);
  box-shadow: 0 0 0 3px rgba(239, 32, 34, 0.08);
}

.auth-input-group > i {
  color: var(--text-muted);
  font-size: 0.85rem;
  flex-shrink: 0;
  width: 18px;
  text-align: center;
}

.auth-input-group:focus-within > i {
  color: var(--brand-red);
}

.auth-input-group input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-size: 0.9rem;
  min-width: 0;
}

.auth-input-group input::placeholder {
  color: var(--text-muted);
}

.password-toggle {
  color: var(--text-muted);
  font-size: 0.85rem;
  padding: 4px;
  transition: color 0.3s;
  flex-shrink: 0;
}

.password-toggle:hover {
  color: var(--text-primary);
}

.auth-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.auth-link {
  color: var(--brand-red);
  font-size: 0.8rem;
  font-weight: 500;
  transition: opacity 0.3s;
}

.auth-link:hover {
  opacity: 0.8;
}

.auth-submit {
  margin-top: 4px;
  padding: 14px 24px;
  font-size: 0.95rem;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 24px 0;
  color: var(--text-muted);
  font-size: 0.8rem;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
}

.btn-social {
  width: 100%;
  padding: 12px 20px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s ease;
}

.btn-google {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
}

.btn-google:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-1px);
}

.auth-switch {
  margin-top: 24px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.auth-switch a {
  color: var(--brand-red);
  font-weight: 600;
  transition: opacity 0.3s;
}

.auth-switch a:hover {
  opacity: 0.8;
}

/* Account view */
.account-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-red), var(--brand-red-dark));
  color: white;
  font-family: 'Orbitron', monospace;
  font-weight: 800;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 0 30px rgba(239, 32, 34, 0.25);
}

.account-stats {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin: 24px 0;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.account-stat {
  text-align: center;
}

.account-stat-num {
  display: block;
  font-family: 'Orbitron', monospace;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--brand-red);
}

.account-stat-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.account-menu {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
}

.account-menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: all 0.3s ease;
}

.account-menu-item:hover {
  background: rgba(239, 32, 34, 0.06);
  color: var(--text-primary);
}

.account-menu-item i {
  width: 20px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.account-menu-arrow {
  margin-left: auto;
  font-size: 0.7rem;
  color: var(--text-muted);
  opacity: 0.4;
  transition: all 0.3s ease;
}

.account-menu-item:hover .account-menu-arrow {
  opacity: 1;
  color: var(--brand-red);
  transform: translateX(3px);
}

.account-menu-item:hover i:first-child {
  color: var(--brand-red);
}

/* Account button logged-in state */
.account-btn.logged-in {
  background: rgba(239, 32, 34, 0.1);
}

.account-btn-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-red), var(--brand-red-dark));
  color: white;
  font-family: 'Orbitron', monospace;
  font-weight: 700;
  font-size: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ═══════════════════════════════════════════════════════════════
   PRODUCT DETAIL MODAL
   ═══════════════════════════════════════════════════════════════ */
.product-modal {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) translateY(30px) scale(0.95);
  width: min(900px, 94vw);
  max-height: 90vh;
  overflow-y: auto;
}

.product-modal.open {
  transform: translate(-50%, -50%) translateY(0) scale(1);
}

.product-detail {
  padding: 0;
}

.pd-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  min-height: 400px;
}

.pd-image-area {
  background: var(--bg-surface);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 32px;
  position: relative;
  border-right: 1px solid rgba(255, 255, 255, 0.04);
}

.pd-image-main {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  cursor: zoom-in;
  border-radius: var(--radius-md);
  overflow: hidden;
  background-repeat: no-repeat;
  transition: background-size 0.15s ease;
}

/* Zooming state — show background image, hide the <img> */
.pd-image-main.pd-zooming {
  cursor: crosshair;
}

.pd-image-main.pd-zooming .pd-img {
  opacity: 0;
  transition: opacity 0.15s ease;
}

.pd-image-main.pd-zooming .product-tag {
  opacity: 0;
  transition: opacity 0.15s ease;
}

.pd-image-main.pd-zooming .pd-zoom-hint {
  opacity: 0;
}

/* Stop float animation on hover so zoom is stable */
.pd-image-main:hover .pd-img {
  animation: none;
  transform: translateY(0);
}

.pd-image-main .product-tag {
  top: 0;
  left: 0;
  transition: opacity 0.15s ease;
}

/* Zoom hint */
.pd-zoom-hint {
  position: absolute;
  bottom: 8px;
  right: 8px;
  padding: 4px 10px;
  background: rgba(0, 0, 0, 0.6);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.65rem;
  border-radius: 4px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 3;
  letter-spacing: 0.03em;
}

.pd-image-main:hover .pd-zoom-hint {
  opacity: 1;
}

.pd-image-main.pd-zooming .pd-zoom-hint {
  opacity: 0 !important;
}

.pd-emoji {
  font-size: 6rem;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
  animation: pdFloat 4s ease-in-out infinite;
}

.pd-img {
  max-width: 100%;
  max-height: 350px;
  object-fit: contain;
  border-radius: var(--radius-md);
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
  animation: pdFloat 4s ease-in-out infinite;
  transition: opacity 0.15s ease;
}

@keyframes pdFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.pd-image-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 24px;
}

.pd-set-badge,
.pd-lang-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 50px;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.pd-set-badge i,
.pd-lang-badge i {
  color: var(--brand-red);
  font-size: 0.7rem;
}

.pd-info-area {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.pd-header {
  margin-bottom: 12px;
}

.pd-name {
  font-family: 'Orbitron', monospace;
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 8px;
}

.pd-rating {
  display: flex;
  align-items: center;
  gap: 6px;
}

.pd-rating .stars {
  color: #F59E0B;
  font-size: 0.85rem;
  display: flex;
  gap: 2px;
}
.pd-rating .stars i {
  font-size: 0.85rem;
}

.pd-rating .rating-num {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Interactive user rating */
.pd-user-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.pd-user-rating .rate-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  white-space: nowrap;
}
.pd-user-rating .rate-stars {
  display: flex;
  gap: 4px;
}
.pd-user-rating .rate-star {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: color 0.15s, transform 0.15s;
}
.pd-user-rating .rate-star:hover {
  transform: scale(1.2);
}
.pd-user-rating .rate-status {
  font-size: 0.7rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.pd-price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 12px;
}

.pd-price {
  font-family: 'Orbitron', monospace;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--brand-red);
}

.pd-original {
  font-size: 1rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.pd-discount {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  background: rgba(34, 197, 94, 0.12);
  color: #22C55E;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
}

.pd-stock {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  width: fit-content;
  margin-bottom: 20px;
}

.pd-stock.in-stock {
  background: rgba(34, 197, 94, 0.08);
  color: #22C55E;
  border: 1px solid rgba(34, 197, 94, 0.15);
}

.pd-stock.out-of-stock {
  background: rgba(239, 68, 68, 0.08);
  color: #EF4444;
  border: 1px solid rgba(239, 68, 68, 0.15);
}

.pd-description {
  margin-bottom: 20px;
}

.pd-description h3,
.pd-specs h3 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pd-description h3 i,
.pd-specs h3 i {
  color: var(--brand-red);
  font-size: 0.85rem;
}

.pd-description p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.pd-specs {
  margin-bottom: 20px;
}

.pd-specs-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pd-specs-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.03);
}

.pd-specs-list li i {
  color: var(--brand-red);
  font-size: 0.7rem;
  flex-shrink: 0;
}

.pd-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 24px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.03);
}

.pd-detail-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pd-detail-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.pd-detail-value {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
}

.pd-actions {
  display: flex;
  gap: 12px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.pd-add-btn {
  flex: 1;
  padding: 14px 24px;
  font-size: 0.95rem;
}

.pd-notify-btn {
  flex: 1;
  padding: 14px 24px;
}

.pd-wishlist-btn {
  width: 48px;
  height: 48px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
  font-size: 1rem;
}

.pd-wishlist-btn:hover {
  color: #EF4444;
  border-color: rgba(239, 68, 68, 0.3);
  background: rgba(239, 68, 68, 0.08);
}

/* New badge on product card */
.product-new-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--brand-red);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  z-index: 2;
  animation: newPulse 2s ease-in-out infinite;
}

@keyframes newPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(239, 32, 34, 0.4); }
  50% { box-shadow: 0 0 0 8px rgba(239, 32, 34, 0); }
}

/* Mobile menu divider */
.mobile-menu-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
  margin: 8px 0;
}

/* ═══════════════════════════════════════════════════════════════
   MODAL RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .auth-modal {
    width: 94vw;
    max-height: 92vh;
  }

  .auth-modal-inner {
    padding: 32px 20px;
  }

  .auth-row {
    flex-direction: column;
    gap: 10px;
  }

  .account-header-row {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .account-header-info {
    text-align: center;
  }

  .product-modal {
    width: 96vw;
    max-height: 94vh;
  }

  .pd-layout {
    grid-template-columns: 1fr;
  }

  .pd-image-area {
    padding: 30px 20px;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  }

  .pd-emoji {
    font-size: 4.5rem;
  }

  .pd-img {
    max-height: 250px;
  }

  /* Disable zoom on mobile/touch devices */
  .pd-image-main {
    cursor: default;
  }

  .pd-zoom-hint {
    display: none;
  }

  .pd-info-area {
    padding: 24px 20px;
  }

  .pd-name {
    font-size: 1.1rem;
  }

  .pd-price {
    font-size: 1.3rem;
  }

  .pd-details-grid {
    grid-template-columns: 1fr 1fr;
  }

  .pd-actions {
    flex-wrap: wrap;
  }

  .pd-add-btn,
  .pd-notify-btn {
    flex: 1 1 100%;
  }
}

@media (max-width: 480px) {
  .account-stats {
    gap: 16px;
  }

  .account-stat-num {
    font-size: 1.1rem;
  }

  .pd-details-grid {
    grid-template-columns: 1fr;
  }
}

/* ═══════════════════════════════════════════════════════════════
   GOOGLE SIGN-IN BUTTON WRAPPER
   ═══════════════════════════════════════════════════════════════ */
.google-btn-wrapper {
  display: flex;
  justify-content: center;
  margin: 0 auto;
  min-height: 44px;
}

.google-btn-wrapper .btn-social {
  width: 100%;
}

/* ═══════════════════════════════════════════════════════════════
   VAULT TIER SYSTEM
   ═══════════════════════════════════════════════════════════════ */
.tier-card {
  background: var(--bg-surface);
  border: 1px solid rgba(205, 127, 50, 0.2);
  border-radius: var(--radius);
  padding: 20px;
  margin: 20px 0 0;
  text-align: left;
  position: relative;
  overflow: hidden;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.tier-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #CD7F32, #CD7F32);
  transition: background 0.4s ease;
}

/* Tier color variants */
.tier-card[data-tier="vaultian"] { border-color: rgba(255, 255, 255, 0.1); }
.tier-card[data-tier="vaultian"]::before { background: linear-gradient(90deg, #888, #555, #888); }

.tier-card[data-tier="bronze"] { border-color: rgba(205, 127, 50, 0.2); }
.tier-card[data-tier="bronze"]::before { background: linear-gradient(90deg, #CD7F32, #A0522D); }

.tier-card[data-tier="silver"] { border-color: rgba(192, 192, 192, 0.25); }
.tier-card[data-tier="silver"]::before { background: linear-gradient(90deg, #C0C0C0, #A8A8A8); }

.tier-card[data-tier="gold"] { border-color: rgba(255, 215, 0, 0.25); box-shadow: 0 0 20px rgba(255, 215, 0, 0.05); }
.tier-card[data-tier="gold"]::before { background: linear-gradient(90deg, #FFD700, #FFA500); }

.tier-card[data-tier="diamond"] { border-color: rgba(185, 242, 255, 0.3); box-shadow: 0 0 25px rgba(185, 242, 255, 0.08); }
.tier-card[data-tier="diamond"]::before { background: linear-gradient(90deg, #B9F2FF, #7DF9FF, #B9F2FF); }

.tier-badge-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.tier-icon {
  font-size: 2rem;
  line-height: 1;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tier-icon svg {
  width: 48px;
  height: 48px;
  transition: filter 0.4s ease;
}

.tier-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.tier-name {
  font-family: 'Orbitron', monospace;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.05em;
  color: var(--text-primary);
}

.tier-discount {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--brand-red);
}

/* Progress bar */
.tier-progress-wrap {
  margin-bottom: 16px;
}

.tier-progress-bar {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 6px;
}

.tier-progress-fill {
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--brand-red), var(--brand-red-light));
  transition: width 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
}

.tier-progress-fill::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 20px;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3));
  border-radius: 4px;
}

/* Tier-specific progress bar colors */
.tier-card[data-tier="bronze"] .tier-progress-fill { background: linear-gradient(90deg, #CD7F32, #D4944A); }
.tier-card[data-tier="silver"] .tier-progress-fill { background: linear-gradient(90deg, #C0C0C0, #D4D4D4); }
.tier-card[data-tier="gold"] .tier-progress-fill { background: linear-gradient(90deg, #FFD700, #FFC125); }
.tier-card[data-tier="diamond"] .tier-progress-fill { background: linear-gradient(90deg, #B9F2FF, #7DF9FF); }

.tier-progress-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-align: center;
}

/* Perks list */
.tier-perks {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 14px;
}

.tier-perks-title {
  font-family: 'Orbitron', monospace;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.tier-perks-title i {
  color: #F59E0B;
  font-size: 0.75rem;
}

.tier-perks ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.tier-perks ul li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.tier-perks ul li i {
  color: #22C55E;
  font-size: 0.65rem;
  flex-shrink: 0;
}

/* Tier-specific perks icon colors */
.tier-card[data-tier="diamond"] .tier-perks ul li i { color: #7DF9FF; }
.tier-card[data-tier="gold"] .tier-perks ul li i { color: #FFD700; }
.tier-card[data-tier="silver"] .tier-perks ul li i { color: #C0C0C0; }

/* Responsive tier card */
@media (max-width: 480px) {
  .tier-card {
    padding: 16px;
  }
  
  .tier-icon {
    font-size: 1.6rem;
  }
  
  .tier-name {
    font-size: 0.9rem;
  }
}

/* ═══════════════════════════════════════════════════════════════
   ACCOUNT SUB-PANELS
   ═══════════════════════════════════════════════════════════════ */
.account-panel {
  animation: authViewFadeIn 0.3s ease;
}

.subpanel-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.subpanel-back {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.subpanel-back:hover {
  background: rgba(239, 32, 34, 0.1);
  color: var(--brand-red);
  border-color: rgba(239, 32, 34, 0.2);
}

.subpanel-title {
  font-family: 'Orbitron', monospace;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.subpanel-body {
  text-align: left;
}

/* Empty state */
.empty-state {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-muted);
}

.empty-state i {
  font-size: 2.5rem;
  margin-bottom: 16px;
  display: block;
  opacity: 0.3;
}

.empty-state h4 {
  font-family: 'Orbitron', monospace;
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.empty-state p {
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Address cards */
.address-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 10px;
  transition: all 0.3s ease;
  position: relative;
}

.address-card:hover {
  border-color: rgba(239, 32, 34, 0.15);
  background: rgba(255, 255, 255, 0.04);
}

.address-card-label {
  font-family: 'Orbitron', monospace;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--brand-red);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.address-card-text {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.address-card-actions {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.address-card-actions button {
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 4px;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.3s ease;
}

.address-card-actions button:hover {
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.12);
}

.address-card-actions .addr-delete:hover {
  color: #EF4444;
  border-color: rgba(239, 68, 68, 0.3);
}

.address-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* Select dropdown styling for dark theme */
.auth-select-group select {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-size: 0.9rem;
  font-family: inherit;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  min-width: 0;
  padding-right: 8px;
}

.auth-select-group select option {
  background: var(--bg-surface);
  color: var(--text-primary);
  padding: 8px;
}

.auth-select-group::after {
  content: '\\f107';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  font-size: 0.7rem;
  color: var(--text-muted);
  pointer-events: none;
  flex-shrink: 0;
}

.settings-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  text-align: left;
  margin-top: 8px;
  margin-bottom: -4px;
}

/* Vault tiers roadmap in sub-panel */
.tier-roadmap-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: var(--radius);
  margin-bottom: 8px;
  transition: all 0.3s ease;
}

.tier-roadmap-item.active {
  border-color: rgba(239, 32, 34, 0.2);
  background: rgba(239, 32, 34, 0.03);
}

.tier-roadmap-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.tier-roadmap-icon svg {
  width: 40px;
  height: 40px;
}

.tier-roadmap-info {
  flex: 1;
}

.tier-roadmap-name {
  font-family: 'Orbitron', monospace;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.tier-roadmap-spend {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.tier-roadmap-perks {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.tier-roadmap-perk {
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
}

.tier-roadmap-item.active .tier-roadmap-perk {
  background: rgba(239, 32, 34, 0.08);
  color: var(--text-secondary);
}

/* ═══ STOCK LEVEL INDICATOR ═══ */
.product-stock-low {
  display: block;
  font-size: 0.65rem;
  color: #EF2022;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-top: 2px;
  animation: stockPulse 2s ease-in-out infinite;
}

@keyframes stockPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.product-out-of-stock {
  font-size: 0.65rem;
  color: #EF2022;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  background: rgba(239, 32, 34, 0.1);
  border-radius: 4px;
  border: 1px solid rgba(239, 32, 34, 0.25);
}

/* ═══ OUT OF STOCK CARD ═══ */
.product-card-oos {
  position: relative;
  opacity: 0.75;
  filter: saturate(0.35);
  transition: opacity 0.3s, filter 0.3s;
}
.product-card-oos:hover {
  opacity: 0.9;
  filter: saturate(0.55);
}
.product-card-oos .product-image {
  position: relative;
}
.product-card-oos .product-cart-btn {
  display: none;
}
.product-card-oos .product-name {
  opacity: 0.7;
}

/* ═══ TIER DECAY WARNINGS ═══ */
.tier-decay-warning {
  margin-top: 10px;
}
.decay-alert {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 10px;
  font-size: 0.82rem;
  line-height: 1.5;
}
.decay-alert > i {
  font-size: 1.1rem;
  margin-top: 2px;
  flex-shrink: 0;
}
.decay-alert strong {
  font-weight: 700;
}
.decay-hint {
  font-size: 0.72rem;
  opacity: 0.65;
  margin-top: 4px;
}

/* Dropped tier */
.decay-dropped {
  background: rgba(239, 32, 34, 0.1);
  border: 1px solid rgba(239, 32, 34, 0.25);
  color: #ff6b6b;
}
.decay-dropped > i {
  color: #EF2022;
}

/* At risk */
.decay-warning {
  background: rgba(255, 193, 7, 0.1);
  border: 1px solid rgba(255, 193, 7, 0.25);
  color: #ffc107;
}
.decay-warning > i {
  color: #ffc107;
}

/* Bronze locked */
.decay-locked {
  background: rgba(205, 127, 50, 0.1);
  border: 1px solid rgba(205, 127, 50, 0.25);
  color: #CD7F32;
}
.decay-locked > i {
  color: #CD7F32;
}

/* Vaultian funny message */
.decay-vaultian {
  background: rgba(255, 255, 255, 0.05);
  border: 1px dashed rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.75);
}
.decay-vaultian > i {
  color: #888;
}
.decay-vaultian strong {
  color: #fff;
}
.decay-vaultian .decay-hint {
  opacity: 0.8;
  color: rgba(255, 255, 255, 0.5);
}

/* Maintenance label in tier roadmap */
.tier-roadmap-maintenance {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.45);
  margin-top: 2px;
}
.tier-roadmap-maintenance i {
  margin-right: 4px;
  font-size: 0.6rem;
}

/* ═══════════════════════════════════════════════════════════════
   LED GRID BACKGROUND
   ═══════════════════════════════════════════════════════════════ */
.led-grid-canvas {
  position: fixed;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* ═══════════════════════════════════════════════════════════════
   LOGO UPGRADE
   ═══════════════════════════════════════════════════════════════ */
.logo-image {
  height: 64px;
  min-width: 160px;
  width: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(239, 32, 34, 0.35));
  transition: filter 0.3s ease, transform 0.3s ease;
}

.logo:hover .logo-image {
  filter: drop-shadow(0 0 20px rgba(239, 32, 34, 0.6)) drop-shadow(0 0 40px rgba(239, 32, 34, 0.2));
  transform: scale(1.06);
}

.logo-glow {
  position: absolute;
  inset: -10px;
  background: radial-gradient(circle, rgba(239, 32, 34, 0.15), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.logo:hover .logo-glow {
  opacity: 1;
}

/* Marketplace nav link special styling */
.nav-link-marketplace {
  background: rgba(239, 32, 34, 0.08);
  border: 1px solid rgba(239, 32, 34, 0.15);
  border-radius: 6px;
  color: var(--brand-red) !important;
  font-weight: 600;
}

.nav-link-marketplace:hover {
  background: rgba(239, 32, 34, 0.15);
  border-color: rgba(239, 32, 34, 0.3);
}

.nav-link-marketplace i {
  margin-right: 4px;
}

/* ═══════════════════════════════════════════════════════════════
   MARKETPLACE SECTION STYLES
   ═══════════════════════════════════════════════════════════════ */
.marketplace-section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

.marketplace-header {
  margin-bottom: 32px;
}

.mp-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.mp-title-row .section-title i {
  color: var(--brand-red);
  margin-right: 8px;
}

.mp-header-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

/* Tabs */
.mp-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.mp-tab {
  padding: 8px 20px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.2s ease;
  white-space: nowrap;
  cursor: pointer;
}

.mp-tab:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
}

.mp-tab.active {
  background: rgba(239, 32, 34, 0.1);
  border-color: rgba(239, 32, 34, 0.3);
  color: var(--brand-red);
  font-weight: 600;
}

/* Filter Panel */
.mp-filter-panel {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
}

.mp-filter-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

.mp-filter-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.mp-filter-group select,
.mp-filter-group input {
  width: 100%;
  padding: 8px 12px;
  background: var(--bg-surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 0.85rem;
  font-family: inherit;
}

.mp-filter-group select option {
  background: var(--bg-card);
}

.mp-price-range {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mp-price-range input {
  width: 50%;
}

.mp-price-range span {
  color: var(--text-muted);
}

/* Stats Bar */
.mp-stats-bar {
  display: flex;
  gap: 24px;
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  flex-wrap: wrap;
}

.mp-stat {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.mp-stat i {
  color: var(--brand-red);
  font-size: 0.75rem;
}

/* Listings Grid */
.mp-listings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

/* Marketplace Card */
.mp-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.04);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
}

.mp-card:hover {
  transform: translateY(-4px);
  border-color: rgba(239, 32, 34, 0.2);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(239, 32, 34, 0.08);
}

.mp-card-image {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--bg-surface);
}

.mp-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.mp-card:hover .mp-card-image img {
  transform: scale(1.05);
}

.mp-card-badges {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  gap: 6px;
  z-index: 2;
}

.mp-badge {
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.mp-badge-new {
  background: rgba(239, 32, 34, 0.9);
  color: #fff;
}

.mp-badge-vault {
  background: rgba(34, 197, 94, 0.9);
  color: #fff;
}

.mp-badge-verified {
  background: rgba(59, 130, 246, 0.9);
  color: #fff;
  padding: 4px 6px;
}

.mp-card-type {
  position: absolute;
  bottom: 10px;
  right: 10px;
  padding: 4px 10px;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  border-radius: 6px;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.8);
}

.mp-card-type i {
  margin-right: 4px;
  color: var(--brand-red);
}

.mp-card-info {
  padding: 16px;
}

.mp-card-game {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--brand-red);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.mp-card-title {
  font-family: 'Orbitron', monospace;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mp-card-condition {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.mp-condition-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Seller info in card */
.mp-card-seller {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  margin-bottom: 12px;
}

.mp-seller-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.06);
}

.mp-seller-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mp-seller-avatar span {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.mp-vault-avatar {
  border-color: rgba(34, 197, 94, 0.4);
  background: rgba(34, 197, 94, 0.1);
}

.mp-seller-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.mp-seller-name {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mp-seller-meta {
  font-size: 0.68rem;
  color: var(--text-muted);
}

/* Card footer — price + stats */
.mp-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mp-card-price {
  font-family: 'Orbitron', monospace;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--brand-red);
}

.mp-card-stats {
  display: flex;
  gap: 10px;
  font-size: 0.72rem;
  color: var(--text-muted);
}

.mp-card-stats i {
  margin-right: 3px;
}

/* Empty state */
.mp-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 20px;
  color: var(--text-muted);
}

.mp-empty i {
  font-size: 3rem;
  color: var(--brand-red);
  opacity: 0.3;
  margin-bottom: 16px;
}

.mp-empty h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: var(--text-secondary);
}

.mp-empty .btn {
  margin-top: 20px;
}

.mp-load-more {
  text-align: center;
  padding: 40px 0;
}

/* ═══ LISTING FORM MODAL ═══ */
.listing-modal {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) translateY(30px) scale(0.95);
  width: min(520px, 92vw);
  max-height: 90vh;
  overflow-y: auto;
}

.listing-modal.open {
  transform: translate(-50%, -50%) translateY(0) scale(1);
}

.listing-form-inner {
  padding: 32px;
}

.listing-form-inner .auth-title {
  margin-bottom: 4px;
}

.listing-form-inner .auth-title i {
  color: var(--brand-red);
}

.mp-commission-info {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 16px;
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.15);
  border-radius: 10px;
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin: 16px 0;
}

.mp-commission-info i {
  color: #3b82f6;
  margin-top: 2px;
}

.listing-image-upload {
  border: 2px dashed rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  margin: 12px 0;
}

.listing-image-upload:hover {
  border-color: rgba(239, 32, 34, 0.3);
  background: rgba(239, 32, 34, 0.03);
}

.listing-image-upload i {
  font-size: 2rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.listing-image-upload p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.listing-image-upload small {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* Price breakdown */
.listing-price-breakdown {
  background: var(--bg-surface);
  border-radius: 10px;
  padding: 14px 16px;
  margin: 12px 0;
}

.breakdown-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.breakdown-row:not(:last-child) {
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.breakdown-total {
  font-weight: 700;
  color: #22c55e;
  font-size: 0.9rem;
}

.buyer-total {
  font-weight: 700;
  color: var(--brand-red);
  font-size: 0.9rem;
}

/* ═══ LISTING DETAIL EXTRA STYLES ═══ */
.mp-seller-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--bg-surface);
  border-radius: 10px;
  margin: 12px 0;
}

.mp-seller-avatar-lg {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.08);
}

.mp-seller-avatar-lg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mp-seller-avatar-lg span {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-muted);
}

.mp-seller-details {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  flex: 1;
}

.mp-seller-name-lg {
  font-size: 0.9rem;
  font-weight: 700;
}

.mp-seller-stats {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.mp-vault-badge {
  padding: 4px 12px;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.25);
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #22c55e;
  white-space: nowrap;
}

.mp-protection-banner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background: rgba(34, 197, 94, 0.06);
  border: 1px solid rgba(34, 197, 94, 0.15);
  border-radius: 10px;
  margin: 12px 0;
}

.mp-protection-banner i {
  color: #22c55e;
  font-size: 1.1rem;
  margin-top: 2px;
}

.mp-protection-banner strong {
  display: block;
  font-size: 0.85rem;
  color: #22c55e;
  margin-bottom: 4px;
}

.mp-protection-banner p {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ═══ MARKETPLACE RESPONSIVE ═══ */
@media (max-width: 768px) {
  .mp-title-row {
    flex-direction: column;
    gap: 16px;
  }
  
  .mp-header-actions {
    width: 100%;
  }
  
  .mp-header-actions .btn {
    flex: 1;
    justify-content: center;
  }
  
  .mp-tabs {
    gap: 6px;
  }
  
  .mp-filter-row {
    grid-template-columns: 1fr;
  }
  
  .mp-stats-bar {
    gap: 12px;
  }
  
  .mp-listings-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 14px;
  }
  
  .listing-form-inner {
    padding: 24px 20px;
  }
}

/* ═══ SUB-CATEGORY BAR ═══ */
.sub-category-bar {
  display: flex;
  justify-content: center;
  margin-top: 16px;
  padding: 0 16px;
}

.sub-cat-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.sub-cat-pill {
  padding: 8px 18px;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
  color: var(--text-secondary, #aaa);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  font-family: 'Inter', sans-serif;
}

.sub-cat-pill:hover {
  background: rgba(239, 32, 34, 0.1);
  border-color: rgba(239, 32, 34, 0.3);
  color: #fff;
}

.sub-cat-pill.active {
  background: rgba(239, 32, 34, 0.15);
  border-color: #EF2022;
  color: #EF2022;
  box-shadow: 0 0 12px rgba(239, 32, 34, 0.2);
}

.sub-cat-pill i {
  font-size: 0.75rem;
  opacity: 0.7;
}

.sub-cat-pill.active i {
  opacity: 1;
}

/* ═══ SORT BAR ═══ */
.sort-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px;
  margin-top: 12px;
  background: rgba(255,255,255,0.02);
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.05);
}

.sort-results {
  font-size: 0.82rem;
  color: var(--text-muted, #888);
  font-weight: 500;
}

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

.sort-select {
  padding: 7px 14px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
  color: #fff;
  font-size: 0.82rem;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  outline: none;
  transition: border-color 0.2s;
  appearance: auto;
}

.sort-select:hover,
.sort-select:focus {
  border-color: rgba(239, 32, 34, 0.5);
}

.sort-select option {
  background: #1a1a1a;
  color: #fff;
}

/* ═══ IN STOCK / STOCK BADGES (product cards) ═══ */
.product-stock-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.product-stock-row {
  margin: 6px 0 4px;
}

.product-stock-badge.in-stock {
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.25);
}

.product-stock-badge.out-of-stock {
  background: rgba(239, 32, 34, 0.15);
  color: #ef4444;
  border: 1px solid rgba(239, 32, 34, 0.25);
}

.product-stock-badge.last-few {
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.25);
  animation: pulse-badge 2s ease-in-out infinite;
}

.product-stock-badge.last-piece {
  background: rgba(239, 32, 34, 0.18);
  color: #ff4757;
  border: 1px solid rgba(239, 32, 34, 0.3);
  animation: pulse-badge 1.5s ease-in-out infinite;
}

.product-stock-badge.low-stock {
  background: rgba(251, 146, 60, 0.12);
  color: #fb923c;
  border: 1px solid rgba(251, 146, 60, 0.2);
}

/* Stock image overlay badge (shown on product image) */
.stock-img-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.stock-img-badge.last-piece {
  background: rgba(239, 32, 34, 0.85);
  color: #fff;
  box-shadow: 0 2px 12px rgba(239, 32, 34, 0.4);
  animation: pulse-badge 1.5s ease-in-out infinite;
}

.stock-img-badge.last-few {
  background: rgba(245, 158, 11, 0.88);
  color: #fff;
  box-shadow: 0 2px 10px rgba(245, 158, 11, 0.35);
  animation: pulse-badge 2s ease-in-out infinite;
}

.stock-img-badge.low-stock {
  background: rgba(251, 146, 60, 0.75);
  color: #fff;
  box-shadow: 0 2px 8px rgba(251, 146, 60, 0.3);
}

.stock-img-badge.in-stock {
  background: rgba(34, 197, 94, 0.8);
  color: #fff;
  box-shadow: 0 2px 8px rgba(34, 197, 94, 0.3);
}

.stock-img-badge.out-of-stock {
  background: rgba(239, 32, 34, 0.85);
  color: #fff;
  box-shadow: 0 2px 10px rgba(239, 32, 34, 0.4);
}

@keyframes pulse-badge {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

/* Mobile responsive */
@media (max-width: 640px) {
  .sub-cat-pills {
    gap: 6px;
  }
  .sub-cat-pill {
    padding: 6px 12px;
    font-size: 0.75rem;
  }
  .sort-bar {
    justify-content: center;
  }
}


/* ═══════════════════════════════════════════════════════════════
   CHECKOUT — CLEAN MOBILE-FIRST PAYMENT GATEWAY
   ═══════════════════════════════════════════════════════════════ */

.checkout-overlay {
  position: fixed; inset: 0; z-index: 9998;
  background: rgba(0,0,0,0.75); backdrop-filter: blur(6px);
  opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.checkout-overlay.open { opacity: 1; pointer-events: auto; }

.checkout-modal {
  position: fixed; inset: 0; z-index: 9999;
  background: #0d0d14;
  display: flex; flex-direction: column;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1);
}
.checkout-modal.open { transform: translateY(0); }

/* ── Header ── */
.chk-header {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 20px; border-bottom: 1px solid rgba(255,255,255,0.06);
  flex-shrink: 0;
}
.chk-back {
  background: rgba(255,255,255,0.06); border: none; color: #fff;
  width: 36px; height: 36px; border-radius: 10px; cursor: pointer;
  font-size: 0.95rem; transition: background 0.2s;
}
.chk-back:hover { background: rgba(255,255,255,0.12); }
.chk-header h2 { flex: 1; font-size: 1.15rem; font-weight: 700; color: #fff; margin: 0; }
.chk-header h2 i { color: #22c55e; margin-right: 6px; }
.chk-ssl {
  font-size: 0.65rem; color: #22c55e; background: rgba(34,197,94,0.1);
  padding: 4px 8px; border-radius: 6px; font-weight: 600; white-space: nowrap;
}

/* ── Scrollable body ── */
.chk-scroll {
  flex: 1; overflow-y: auto; padding: 20px 20px 40px;
  max-width: 560px; margin: 0 auto; width: 100%;
}

/* ── Sections ── */
.chk-section { margin-bottom: 24px; }
.chk-label {
  font-size: 0.72rem; color: #888; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em; margin: 0 0 10px;
}
.chk-label i { color: #EF2022; margin-right: 5px; }

/* ── Order items ── */
.chk-items { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
.chk-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; background: rgba(255,255,255,0.03);
  border-radius: 10px; border: 1px solid rgba(255,255,255,0.05);
}
.chk-item-img { width: 44px; height: 44px; flex-shrink: 0; border-radius: 8px; overflow: hidden;
  display: flex; align-items: center; justify-content: center; background: #1a1a2e; font-size: 1.2rem; }
.chk-item-info { flex: 1; min-width: 0; }
.chk-item-name { font-size: 0.8rem; font-weight: 600; color: #eee; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chk-item-qty { font-size: 0.68rem; color: #888; }
.chk-item-price { font-size: 0.85rem; font-weight: 700; color: #EF2022; white-space: nowrap; }

/* ── Totals ── */
.chk-totals { display: flex; flex-direction: column; gap: 6px; }
.chk-row { display: flex; justify-content: space-between; font-size: 0.82rem; color: #aaa; }
.chk-row-total { font-size: 1.05rem; font-weight: 800; color: #fff; padding-top: 10px; margin-top: 6px; border-top: 1px solid rgba(255,255,255,0.08); }
.chk-row-total span:last-child { color: #EF2022; }
.chk-free { color: #22c55e; font-weight: 600; }

/* ── Express Pay ── */
.chk-express { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.chk-express-btn {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 14px 10px; border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.1);
  font-size: 0.9rem; font-weight: 700; cursor: pointer;
  transition: all 0.25s;
}
.chk-express-btn.chk-apple { background: #fff; color: #000; }
.chk-express-btn.chk-apple i { font-size: 1.3rem; }
.chk-express-btn.chk-apple:hover { background: #f0f0f0; transform: translateY(-2px); box-shadow: 0 4px 14px rgba(255,255,255,0.15); }

.chk-express-btn.chk-google { background: #fff; color: #3c4043; }
.chk-express-btn.chk-google i { font-size: 1.1rem; color: #4285F4; }
.chk-express-btn.chk-google:hover { background: #f0f0f0; transform: translateY(-2px); box-shadow: 0 4px 14px rgba(255,255,255,0.15); }

.chk-express-btn.chk-benefit { background: linear-gradient(135deg,#e31837,#b51430); color: #fff; border-color: transparent; }
.chk-express-btn.chk-benefit:hover { background: linear-gradient(135deg,#ff1f41,#cc1835); transform: translateY(-2px); box-shadow: 0 4px 14px rgba(227,24,55,0.35); }

/* ── Divider ── */
.chk-divider {
  display: flex; align-items: center; gap: 14px;
  margin: 20px 0; color: #555; font-size: 0.75rem;
  text-transform: uppercase; letter-spacing: 0.05em;
}
.chk-divider::before, .chk-divider::after { content: ''; flex: 1; height: 1px; background: rgba(255,255,255,0.08); }

/* ── Form fields ── */
.chk-form { display: flex; flex-direction: column; gap: 12px; }
.chk-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.chk-field { display: flex; flex-direction: column; gap: 4px; }
.chk-field label { font-size: 0.68rem; color: #777; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
.chk-field input, .chk-field select {
  padding: 12px 14px; border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04); color: #fff;
  font-size: 0.88rem; font-family: inherit; outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.chk-field input:focus, .chk-field select:focus {
  border-color: #EF2022; box-shadow: 0 0 0 3px rgba(239,32,34,0.15);
}
.chk-field input::placeholder { color: #555; }
.chk-field select option { background: #1a1a2e; color: #fff; }

/* ── Card wrap with icons ── */
.chk-card-wrap { position: relative; }
.chk-card-wrap input { width: 100%; padding-right: 95px; box-sizing: border-box; }
.chk-card-icons { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); display: flex; gap: 5px; font-size: 1.25rem; opacity: 0.35; }

/* ── Pay button ── */
.chk-pay-btn {
  width: 100%; padding: 16px; border: none; border-radius: 12px;
  background: linear-gradient(135deg,#EF2022,#cc1018);
  color: #fff; font-size: 1.05rem; font-weight: 700; cursor: pointer;
  transition: all 0.25s; display: flex; align-items: center;
  justify-content: center; gap: 8px; margin-top: 8px;
}
.chk-pay-btn:hover { background: linear-gradient(135deg,#ff2528,#EF2022); transform: translateY(-2px); box-shadow: 0 6px 24px rgba(239,32,34,0.4); }
.chk-pay-btn i { font-size: 0.9rem; }

/* ── Trust badges ── */
.chk-trust {
  display: flex; justify-content: center; gap: 18px; margin-top: 18px;
  padding-top: 14px; border-top: 1px solid rgba(255,255,255,0.05);
}
.chk-trust span { font-size: 0.68rem; color: #555; display: flex; align-items: center; gap: 4px; }
.chk-trust span i { color: #22c55e; }
.chk-demo-note { text-align: center; font-size: 0.7rem; color: #555; margin-top: 10px; }
.chk-demo-note i { margin-right: 4px; }

/* ── Payment processing overlay ── */
.payment-processing-overlay {
  position: fixed; inset: 0; z-index: 10000;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.85); backdrop-filter: blur(10px);
  opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.payment-processing-overlay.open { opacity: 1; pointer-events: auto; }
.payment-processing-card {
  text-align: center; padding: 48px 40px;
  background: rgba(255,255,255,0.04); border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.06);
  max-width: 360px; width: 90%;
}
.payment-spinner {
  width: 56px; height: 56px; margin: 0 auto 24px;
  border: 4px solid rgba(239,32,34,0.15); border-top: 4px solid #EF2022;
  border-radius: 50%; animation: chk-spin 1s linear infinite;
}
.payment-spinner.success {
  border: 4px solid #22c55e; border-top: 4px solid #22c55e;
  animation: none;
}
@keyframes chk-spin { 100% { transform: rotate(360deg); } }
.payment-processing-card h3 { font-size: 1.15rem; font-weight: 700; color: #fff; margin: 0 0 8px; }
.payment-processing-card p { font-size: 0.85rem; color: #888; margin: 0; line-height: 1.5; }

/* ── Cart footer payment icons ── */
.cart-payment-methods {
  display: flex; align-items: center; justify-content: center;
  gap: 10px; margin-top: 10px; font-size: 1.4rem; color: #666;
}
.cart-benefit-badge {
  font-size: 0.65rem; font-weight: 800;
  background: linear-gradient(135deg,#e31837,#b51430);
  color: #fff; padding: 3px 8px; border-radius: 4px;
}

/* ── Mobile responsive ── */
@media (max-width: 640px) {
  .chk-scroll { padding: 16px 16px 32px; }
  .chk-express { grid-template-columns: 1fr; gap: 8px; }
  .chk-grid-2 { grid-template-columns: 1fr; }
  .chk-trust { flex-wrap: wrap; gap: 10px; justify-content: center; }
  .chk-header h2 { font-size: 1rem; }
}
