/* ============================================
   NEXUSHACK — MAIN CSS
   ============================================ */

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

:root,
[data-theme="dark"] {
  /* Colors - Cyberpunk Dark Theme Default */
  --bg-primary: #070913;
  --bg-secondary: #0d1224;
  --bg-card: rgba(13, 17, 34, 0.85);
  --bg-card-hover: rgba(255, 255, 255, 0.08);
  --border: rgba(139, 92, 246, 0.2);
  --border-hover: rgba(139, 92, 246, 0.6);

  --purple: #8b5cf6;
  --purple-light: #a78bfa;
  --purple-dark: #6d28d9;
  --cyan: #06b6d4;
  --cyan-light: #22d3ee;
  --pink: #ec4899;
  --green: #10b981;
  --yellow: #f59e0b;

  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;

  --grad-main: linear-gradient(135deg, #8b5cf6 0%, #ec4899 50%, #06b6d4 100%);
  --grad-hero: linear-gradient(135deg, #6d28d9 0%, #be185d 50%, #0891b2 100%);
  --grad-card: linear-gradient(135deg, rgba(139, 92, 246, 0.12) 0%, rgba(6, 182, 212, 0.12) 100%);
  --grad-text: linear-gradient(135deg, #a78bfa 0%, #f472b6 50%, #38bdf8 100%);

  --glow-purple: 0 0 35px rgba(139, 92, 246, 0.45);
  --glow-cyan: 0 0 35px rgba(6, 182, 212, 0.45);
  --glow-pink: 0 0 35px rgba(236, 72, 153, 0.45);
  --shadow-card: 0 30px 60px -12px rgba(0, 0, 0, 0.8), 0 0 35px rgba(139, 92, 246, 0.15);

  /* Button Custom Styling */
  --btn-bg: var(--grad-main);
  --btn-color: #ffffff;
  --btn-shadow: 0 10px 30px -5px rgba(139, 92, 246, 0.5);
  --btn-hover-shadow: 0 14px 40px rgba(139, 92, 246, 0.7);

  /* Semantic UI variables */
  --form-input-bg: rgba(15, 23, 42, 0.6);
  --qty-btn-bg: rgba(255, 255, 255, 0.08);
  --btn-wishlist-bg: rgba(255, 255, 255, 0.06);
  --payment-method-bg: rgba(255, 255, 255, 0.04);
  --sidebar-bg: rgba(13, 17, 34, 0.75);
  --sidebar-mobile-bg: rgba(13, 17, 34, 0.96);
  --btn-copy-mini-bg: rgba(139, 92, 246, 0.15);
  --btn-copy-mini-border: 1px solid rgba(139, 92, 246, 0.3);
  --btn-copy-mini-color: var(--purple-light);
  --btn-copy-icon-bg: rgba(255, 255, 255, 0.1);
  --btn-copy-icon-hover-bg: rgba(255, 255, 255, 0.2);
  --btn-copy-icon-color: var(--text-secondary);
  --btn-copy-icon-hover-color: #ffffff;

  /* Spacing */
  --radius: 14px;
  --radius-sm: 8px;
  --radius-lg: 24px;

  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="light"] {
  /* Colors - High-End Light Theme */
  --bg-primary: #f8fafc;
  --bg-secondary: #f1f5f9;
  --bg-card: rgba(255, 255, 255, 0.92);
  --bg-card-hover: #ffffff;
  --border: rgba(99, 102, 241, 0.18);
  --border-hover: rgba(99, 102, 241, 0.45);

  --purple: #6366f1;
  --purple-light: #4f46e5;
  --purple-dark: #4338ca;
  --cyan: #0284c7;
  --cyan-light: #0369a1;
  --pink: #db2777;
  --green: #10b981;
  --yellow: #f59e0b;

  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;

  --grad-main: linear-gradient(135deg, #6366f1 0%, #a855f7 50%, #0284c7 100%);
  --grad-hero: linear-gradient(135deg, #4f46e5 0%, #7e22ce 50%, #0369a1 100%);
  --grad-card: linear-gradient(135deg, rgba(99, 102, 241, 0.06) 0%, rgba(2, 132, 199, 0.06) 100%);
  --grad-text: linear-gradient(135deg, #4f46e5 0%, #9333ea 50%, #0284c7 100%);

  --glow-purple: 0 0 25px rgba(99, 102, 241, 0.25);
  --glow-cyan: 0 0 25px rgba(2, 132, 199, 0.25);
  --glow-pink: 0 0 25px rgba(219, 39, 119, 0.25);
  --shadow-card: 0 20px 45px -10px rgba(15, 23, 42, 0.1), 0 0 25px rgba(99, 102, 241, 0.08);

  --btn-bg: var(--grad-main);
  --btn-color: #ffffff;
  --btn-shadow: 0 8px 25px -5px rgba(99, 102, 241, 0.4);
  --btn-hover-shadow: 0 12px 35px -5px rgba(99, 102, 241, 0.6);

  --form-input-bg: rgba(248, 250, 252, 0.9);
  --qty-btn-bg: rgba(0, 0, 0, 0.04);
  --btn-wishlist-bg: rgba(0, 0, 0, 0.03);
  --payment-method-bg: rgba(0, 0, 0, 0.02);
  --sidebar-bg: rgba(255, 255, 255, 0.88);
  --sidebar-mobile-bg: rgba(255, 255, 255, 0.98);
  --btn-copy-mini-bg: rgba(99, 102, 241, 0.08);
  --btn-copy-mini-border: 1px solid rgba(99, 102, 241, 0.2);
  --btn-copy-mini-color: #4f46e5;
  --btn-copy-icon-bg: rgba(0, 0, 0, 0.05);
  --btn-copy-icon-hover-bg: rgba(0, 0, 0, 0.1);
  --btn-copy-icon-color: var(--text-secondary);
  --btn-copy-icon-hover-color: var(--text-primary);
}

[data-theme="dark"] .mobile-bottom-sheet {
  background: linear-gradient(180deg, rgba(20,20,35,0.98) 0%, rgba(10,10,15,1) 100%);
  border-top: 1px solid rgba(139,92,246,0.4);
  box-shadow: 0 -15px 50px rgba(0,0,0,0.8), inset 0 1px 0 rgba(255,255,255,0.1);
}
[data-theme="dark"] .sheet-item {
  background: linear-gradient(145deg, rgba(45, 27, 105, 0.5) 0%, rgba(17, 24, 39, 0.8) 100%);
  border: 1px solid rgba(139, 92, 246, 0.3);
  color: #b4bbed;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}
[data-theme="dark"] .sheet-item:hover:not(.active) {
  background: linear-gradient(145deg, rgba(65, 37, 135, 0.6) 0%, rgba(27, 34, 49, 0.9) 100%);
  border-color: rgba(139, 92, 246, 0.5);
  color: white;
}
[data-theme="dark"] .sheet-item:hover:not(.active) svg {
  color: white;
}
[data-theme="dark"] .sheet-item svg {
  color: #a78bfa;
}
[data-theme="dark"] .sheet-item.active {
  background: linear-gradient(135deg, rgba(139,92,246,0.3) 0%, rgba(0,242,254,0.15) 100%);
  border-color: rgba(0,242,254,0.5);
  color: white;
  box-shadow: 0 8px 25px rgba(0,242,254,0.2), inset 0 0 0 1px rgba(0,242,254,0.2);
}
[data-theme="dark"] .sheet-item.active svg {
  color: #00f2fe;
  filter: drop-shadow(0 0 8px rgba(0,242,254,0.6));
}
[data-theme="dark"] .sheet-list-item {
  background: linear-gradient(90deg, rgba(45, 27, 105, 0.3) 0%, transparent 100%);
  border: 1px solid rgba(139, 92, 246, 0.1);
  color: #b4bbed;
}
[data-theme="dark"] .sheet-list-item:hover {
  background: rgba(255,255,255,0.04);
  border-color: rgba(139, 92, 246, 0.3);
  color: white;
}
[data-theme="dark"] .sheet-list-item:hover svg {
  color: #a78bfa;
}
[data-theme="dark"] .sheet-list-item svg {
  color: #8b92b2;
}
[data-theme="dark"] .sheet-drag-handle span {
  background: rgba(255,255,255,0.15);
}
[data-theme="dark"] .mobile-bottom-sheet-overlay {
  background: rgba(0,0,0,0.7);
}

/* Reset & Typography */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { 
  scroll-behavior: smooth; 
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
body {
  font-family: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  background: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
}

[data-theme="dark"] body {
  background: 
    radial-gradient(circle at 12% 18%, rgba(139, 92, 246, 0.22) 0%, transparent 45%),
    radial-gradient(circle at 88% 82%, rgba(6, 182, 212, 0.18) 0%, transparent 45%),
    radial-gradient(circle at 50% 40%, rgba(236, 72, 153, 0.12) 0%, transparent 50%),
    #070913;
  background-attachment: fixed;
}

[data-theme="light"] body {
  background: 
    radial-gradient(circle at 15% 15%, rgba(224, 231, 255, 0.9) 0%, transparent 50%),
    radial-gradient(circle at 85% 85%, rgba(243, 232, 255, 0.9) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(224, 242, 254, 0.8) 0%, transparent 60%),
    #f8fafc;
  background-attachment: fixed;
}

/* Keyframe Animations for Cyberpunk Aesthetics */
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes pulseGlow {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

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

@keyframes borderGlowPulse {
  0%, 100% { border-color: rgba(139, 92, 246, 0.35); box-shadow: 0 0 20px rgba(139, 92, 246, 0.2); }
  50% { border-color: rgba(6, 182, 212, 0.6); box-shadow: 0 0 30px rgba(6, 182, 212, 0.4); }
}

/* Standardized Bold Text Styling */
b, strong, .font-bold, .font-extrabold {
  font-weight: 700;
  color: var(--text-primary);
}

.font-extrabold {
  font-weight: 800;
}

.font-semibold {
  font-weight: 600;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* Crisp High Contrast Bold in Dark Mode */
[data-theme="dark"] b, 
[data-theme="dark"] strong,
[data-theme="dark"] .font-bold,
[data-theme="dark"] .font-extrabold {
  color: #ffffff;
}

/* Crisp High Contrast Bold in Light Mode */
[data-theme="light"] b, 
[data-theme="light"] strong,
[data-theme="light"] .font-bold,
[data-theme="light"] .font-extrabold {
  color: #0f172a;
}

/* Strong elements inside secondary or muted containers must pop out sharply */
.text-muted strong,
.text-muted b,
.text-secondary strong,
.text-secondary b,
p strong,
p b,
li strong,
li b,
span strong,
span b,
div strong,
div b {
  font-weight: 700;
}

[data-theme="dark"] .text-muted strong,
[data-theme="dark"] .text-muted b,
[data-theme="dark"] .text-secondary strong,
[data-theme="dark"] .text-secondary b {
  color: #ffffff;
}

[data-theme="light"] .text-muted strong,
[data-theme="light"] .text-muted b,
[data-theme="light"] .text-secondary strong,
[data-theme="light"] .text-secondary b {
  color: #0f172a;
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-secondary); }
::-webkit-scrollbar-thumb { background: var(--purple); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--purple-light); }

/* Selection */
::selection { background: rgba(139,92,246,0.3); color: var(--text-primary); }

/* Particles Canvas */
#particles-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}

/* Container */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
  background: transparent;
}
.navbar.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}
[data-theme="dark"] .navbar.scrolled {
  background: rgba(5,5,9,0.95);
}
.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-icon {
  width: 32px;
  height: 32px;
  filter: drop-shadow(0 0 8px rgba(139, 92, 246, 0.55));
  transition: var(--transition);
  flex-shrink: 0;
}
.nav-logo:hover .logo-icon,
.footer-logo:hover .logo-icon {
  transform: rotate(15deg) scale(1.08);
}

.logo-text {
  font-family: 'Orbitron', 'Inter', sans-serif;
  font-weight: 900;
  font-size: 21px;
  color: var(--text-primary);
  letter-spacing: 1px;
  display: inline-block;
  vertical-align: middle;
}
.logo-accent {
  background: linear-gradient(135deg, #8b5cf6 0%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-left: 1px;
}

.nav-links {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  position: relative;
  white-space: nowrap;
}
.nav-link:hover {
  color: var(--text-primary);
}
.nav-link.active {
  color: #ec4899 !important;
  font-weight: 800;
  background: transparent !important;
}
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0px;
  left: 12px;
  right: 12px;
  height: 3px;
  background: linear-gradient(90deg, #ec4899 0%, #ef4444 100%);
  border-radius: 4px;
  box-shadow: 0 0 12px rgba(236, 72, 153, 0.65);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  margin-left: auto;
}
.theme-toggle-btn {
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  font-size: 18px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.theme-toggle-btn:hover {
  background: rgba(139,92,246,0.1);
}
.theme-toggle-btn .theme-icon-light { display: inline-block; }
.theme-toggle-btn .theme-icon-dark { display: none; }
[data-theme="dark"] .theme-toggle-btn .theme-icon-light { display: none; }
[data-theme="dark"] .theme-toggle-btn .theme-icon-dark { display: inline-block; }

.nav-lang-container {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-right: 8px;
}
.lang-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  border: 1px solid rgba(255,255,255,0.05);
  background: rgba(255,255,255,0.02);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}
.lang-code { font-weight: 700; color: var(--text-muted); font-size: 11px; }
.lang-text { font-weight: 500; color: var(--text-muted); font-size: 11px; }

.lang-btn:hover { background: rgba(255,255,255,0.05); }
.lang-btn:hover .lang-code, .lang-btn:hover .lang-text { color: var(--text-primary); }

.lang-btn.active {
  border-color: var(--purple);
  background: rgba(139,92,246,0.1);
}
.lang-btn.active .lang-code { color: var(--text-primary); }
.lang-btn.active .lang-text { color: var(--text-primary); }

/* Hide Google Translate UI */
body { top: 0 !important; }
.skiptranslate, 
#goog-gt-tt, 
.goog-te-banner-frame, 
[class^="VIpgJd-ZVi9od-"] { display: none !important; }
.goog-te-menu-value:hover { text-decoration: none !important; }
.goog-text-highlight { background-color: transparent !important; box-shadow: none !important; }
iframe.goog-te-banner-frame { display: none !important; }
body { position: relative; min-height: 100vh; }

.nav-search-form {
  position: relative;
  display: flex;
  align-items: center;
  margin-right: 12px;
}
.nav-search-input {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid var(--border) !important;
  border-radius: 100px !important;
  padding: 8px 16px 8px 36px !important;
  color: var(--text-primary) !important;
  font-size: 13.5px !important;
  outline: none !important;
  width: 190px !important;
  transition: all 0.25s ease !important;
  font-family: inherit !important;
}
.nav-search-input::placeholder {
  color: #64748b !important;
  font-size: 13px !important;
}
.nav-search-input:focus {
  border-color: #3b82f6 !important;
  background: rgba(255, 255, 255, 0.07) !important;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2) !important;
  width: 220px !important;
}
.nav-search-svg {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
  pointer-events: none;
  transition: color 0.2s ease;
}
.nav-search-form:focus-within .nav-search-svg {
  color: #3b82f6;
}
.nav-cart-btn {
  position: relative;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  font-size: 20px;
}
.nav-cart-btn:hover { background: rgba(139,92,246,0.1); }
.cart-badge {
  position: absolute;
  top: 0; right: 0;
  background: var(--purple);
  color: white;
  font-size: 10px;
  font-weight: 700;
  width: 18px; height: 18px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transform: translate(4px, -4px);
}

.btn-nav-login {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.btn-nav-login:hover { color: var(--text-primary); border-color: var(--border-hover); }

.btn-nav-register {
  background: var(--grad-main);
  color: white;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(139,92,246,0.3);
}
.btn-nav-register:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(139,92,246,0.5);
}

.nav-user {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  position: relative;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.nav-user:hover { border-color: var(--border-hover); }
.nav-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--purple);
}
.nav-username { font-size: 14px; font-weight: 500; }
/* ShopHack User Dropdown Menu */
.nav-user-dropdown-wrap {
  position: relative;
}
.nav-user-dropdown-wrap:hover .nav-dropdown,
.nav-user-dropdown-wrap:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 250px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1000;
}
.nav-dropdown-inner {
  background: rgba(11, 15, 34, 0.96);
  backdrop-filter: blur(24px) saturate(190%);
  -webkit-backdrop-filter: blur(24px) saturate(190%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.65), 0 0 35px rgba(236, 72, 153, 0.18);
}
[data-theme="light"] .nav-dropdown-inner {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}
.nav-dropdown-header {
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-dropdown-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 6px 8px;
}
[data-theme="light"] .nav-dropdown-divider {
  background: rgba(0, 0, 0, 0.06);
}
.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 12px;
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 13.5px;
  font-weight: 600;
  transition: all 0.2s ease;
}
.nav-dropdown-item .dd-icon {
  font-size: 15px;
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}
.nav-dropdown-item .dd-text {
  flex: 1;
  white-space: nowrap;
}
.nav-dropdown-item:hover {
  background: rgba(236, 72, 153, 0.12);
  color: #ffffff;
  transform: translateX(3px);
}
[data-theme="light"] .nav-dropdown-item:hover {
  background: rgba(124, 58, 237, 0.08);
  color: var(--text-primary);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 24px;
  cursor: pointer;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #a855f7 0%, #6366f1 50%, #3b82f6 100%);
  background-size: 200% auto;
  color: white;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 30px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all 0.4s ease;
  box-shadow: 0 4px 20px rgba(168, 85, 247, 0.4);
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 100%);
  opacity: 0;
  transition: all 0.3s ease;
}
.btn-primary:hover {
  background-position: right center;
  transform: translateY(-3.5px);
  box-shadow: 0 8px 35px rgba(168, 85, 247, 0.6);
}
.btn-primary:hover::before { opacity: 1; }
.btn-primary:hover svg { transform: scale(1.1) rotate(6deg); }
.btn-primary:active { transform: translateY(-1.5px); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  padding: 14px 30px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn-ghost:hover {
  background: rgba(168, 85, 247, 0.1);
  border-color: rgba(168, 85, 247, 0.5);
  color: var(--purple-light);
  transform: translateY(-3.5px);
  box-shadow: 0 8px 30px rgba(168, 85, 247, 0.2);
}
.btn-ghost:hover svg { transform: scale(1.1) rotate(-6deg); }

.btn-large { padding: 18px 40px; font-size: 17px; }
.btn-arrow { transition: all 0.3s ease; }
.btn-primary:hover .btn-arrow { transform: translateX(5px); }

/* ============================================
   GRADIENT TEXT
   ============================================ */
.gradient-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================
   SECTION HEADER
   ============================================ */
.section-header { text-align: center; margin-bottom: 64px; }
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(139,92,246,0.1);
  border: 1px solid rgba(139,92,246,0.3);
  color: var(--purple-light);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 20px;
}
.section-title {
  font-family: inherit;
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.2;
}
.section-desc { color: var(--text-secondary); font-size: 16px; max-width: 600px; margin: 0 auto; }

/* ============================================
   PRODUCT CARD
   ============================================ */
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
}
.product-card:hover {
  transform: translateY(-8px);
  border-color: rgba(139,92,246,0.4);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08), 0 0 0 1px rgba(139,92,246,0.1), var(--glow-purple);
}
[data-theme="dark"] .product-card:hover {
  box-shadow: 0 25px 50px rgba(0,0,0,0.4), 0 0 0 1px rgba(139,92,246,0.1), var(--glow-purple);
}
.product-card-badge {
  position: absolute;
  top: 16px; right: 16px;
  background: var(--purple);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 100px;
  z-index: 1;
}
.product-card-badge.badge-hot { background: linear-gradient(135deg,#ef4444,#f97316); }
.product-card-badge.badge-new { background: linear-gradient(135deg,#10b981,#06b6d4); }
.product-card-badge.badge-sale { background: linear-gradient(135deg,#f59e0b,#ef4444); }
.product-card-badge.badge-undetected { background: linear-gradient(135deg,#10b981,#059669); }

.product-img-wrap {
  height: 180px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(139,92,246,0.2) 0%, rgba(6,182,212,0.2) 100%);
}
.product-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}
.product-card:hover .product-img-wrap img { transform: scale(1.1); }
.product-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5,5,9,0.8) 0%, transparent 60%);
}
.product-game-tag {
  position: absolute;
  bottom: 12px; left: 12px;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 100px;
  text-transform: uppercase;
}

.product-body {
  padding: 20px;
  flex: 1;
  min-width: 0;
}
.product-title {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-desc {
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}
.product-tag {
  background: rgba(139,92,246,0.1);
  border: 1px solid rgba(139,92,246,0.2);
  color: var(--purple-light);
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 100px;
}
.product-tag.tag-cyan { background: rgba(6,182,212,0.1); border-color: rgba(6,182,212,0.2); color: var(--cyan-light); }
.product-tag.tag-green { background: rgba(16,185,129,0.1); border-color: rgba(16,185,129,0.2); color: #34d399; }

.product-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 16px;
}
.status-dot { width: 8px; height: 8px; border-radius: 50%; animation: pulse 2s infinite; }
.status-dot.undetected { background: var(--green); box-shadow: 0 0 8px var(--green); }
.status-dot.updating { background: var(--yellow); box-shadow: 0 0 8px var(--yellow); }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px;
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,0.025), rgba(0,0,0,0.025));
  gap: 12px;
  margin-top: auto;
}
[data-theme="dark"] .product-footer {
  background: rgba(0,0,0,0.2);
}
.product-price {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.price-from { font-size: 11px; color: var(--text-muted); }
.price-value {
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--purple-light);
}
.price-old {
  font-size: 12px;
  color: var(--text-muted);
  text-decoration: line-through;
}
.btn-add-cart {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
  flex-shrink: 0;
  background: var(--grad-main);
  color: white;
  border: none;
  font-size: 12px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}
.btn-add-cart:hover { transform: scale(1.05); box-shadow: 0 4px 20px rgba(139,92,246,0.4); }

.btn-card-buy {
  position: relative;
  isolation: isolate;
  min-width: 118px;
  min-height: 40px;
  padding: 10px 14px;
  border-radius: 14px;
  overflow: hidden;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  background: linear-gradient(135deg, #7c3aed 0%, #2563eb 58%, #0891b2 100%);
  background-size: 180% auto;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.24), inset 0 1px 0 rgba(255,255,255,0.22);
}
.btn-card-buy::before {
  content: '';
  position: absolute;
  inset: 1px;
  border-radius: 13px;
  background: linear-gradient(180deg, rgba(255,255,255,0.18), transparent 55%);
  z-index: -1;
  pointer-events: none;
}
.btn-card-buy::after {
  content: '';
  position: absolute;
  top: -40%;
  bottom: -40%;
  left: -70%;
  width: 48%;
  transform: rotate(18deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.38), transparent);
  transition: left 0.42s ease;
  pointer-events: none;
}
.btn-card-buy:hover {
  transform: translateY(-2px);
  background-position: right center;
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.34), inset 0 1px 0 rgba(255,255,255,0.26);
}
.btn-card-buy:hover::after {
  left: 125%;
}
.btn-card-buy:active {
  transform: translateY(0) scale(0.98);
}
.btn-card-buy-icon {
  width: 22px;
  height: 22px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.18);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.16);
  flex-shrink: 0;
}
.btn-card-buy.is-sale {
  background: linear-gradient(135deg, #ef4444 0%, #f97316 55%, #f59e0b 100%);
  box-shadow: 0 10px 24px rgba(239, 68, 68, 0.28), inset 0 1px 0 rgba(255,255,255,0.22);
}
.btn-card-buy.is-sale:hover {
  box-shadow: 0 14px 30px rgba(239, 68, 68, 0.38), inset 0 1px 0 rgba(255,255,255,0.26);
}
.btn-card-buy.is-disabled,
.btn-card-buy:disabled {
  background: linear-gradient(135deg, #475569, #334155) !important;
  border-color: transparent !important;
  color: #cbd5e1 !important;
  cursor: not-allowed !important;
  opacity: 0.78 !important;
  box-shadow: none !important;
}
.btn-card-buy.is-disabled::after,
.btn-card-buy:disabled::after {
  display: none;
}
.btn-card-buy.is-added {
  background: linear-gradient(135deg, #059669 0%, #0d9488 100%) !important;
  box-shadow: 0 10px 24px rgba(5, 150, 105, 0.28), inset 0 1px 0 rgba(255,255,255,0.22) !important;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  align-items: stretch;
  gap: 24px;
}

/* ============================================
   TICKER
   ============================================ */
.ticker-wrap {
  background: rgba(139,92,246,0.1);
  border-top: 1px solid rgba(139,92,246,0.2);
  border-bottom: 1px solid rgba(139,92,246,0.2);
  padding: 12px 0;
  overflow: hidden;
  position: relative;
  z-index: 10;
}
.ticker-track {
  display: flex;
  gap: 64px;
  animation: ticker 30s linear infinite;
  white-space: nowrap;
}
.ticker-track span {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  flex-shrink: 0;
}
.ticker-track span:hover { color: var(--text-primary); }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============================================
   TOAST
   ============================================ */
.toast-container {
  position: fixed;
  bottom: 90px; right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  min-width: 300px;
  max-width: 400px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
  animation: toastIn 0.3s cubic-bezier(0.4,0,0.2,1);
}
[data-theme="dark"] .toast {
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}
.toast.toast-success { border-color: rgba(16,185,129,0.4); }
.toast.toast-error { border-color: rgba(239,68,68,0.4); }
.toast.toast-info { border-color: rgba(139,92,246,0.4); }
.toast.leaving { animation: toastOut 0.3s cubic-bezier(0.4,0,0.2,1) forwards; }
@keyframes toastIn { from { opacity:0; transform:translateX(100px); } to { opacity:1; transform:translateX(0); } }
@keyframes toastOut { from { opacity:1; transform:translateX(0); } to { opacity:0; transform:translateX(100px); } }
.toast-icon { font-size: 20px; }
.toast-body { flex: 1; }
.toast-title { font-weight: 600; font-size: 14px; margin-bottom: 2px; }
.toast-msg { color: var(--text-secondary); font-size: 13px; }

/* ============================================
   FLOAT SUPPORT
   ============================================ */
.float-support {
  position: fixed;
  bottom: 32px; right: 24px;
  background: var(--grad-main);
  color: white;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 8px 30px rgba(139,92,246,0.4);
  z-index: 999;
  transition: var(--transition);
  animation: floatBounce 3s ease-in-out infinite;
}
.float-support:hover { transform: translateY(-4px) scale(1.05); box-shadow: 0 16px 40px rgba(139,92,246,0.6); }
@keyframes floatBounce { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-6px)} }

/* ============================================
   HIDDEN / UTILITY
   ============================================ */
.hidden { display: none !important; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  .nav-links,
  .nav-search-form,
  .nav-lang-container,
  .btn-nav-login,
  .btn-nav-register,
  .nav-user,
  .theme-toggle-btn {
    display: none !important;
  }
  
  /* Keep cart next to hamburger toggle on mobile */
  .nav-cart-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: transparent !important;
    border: none !important;
    color: var(--text-primary) !important;
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
    padding: 0 !important;
    margin: 0 !important;
    margin-right: 8px !important;
    font-size: 18px !important;
    transition: var(--transition);
    position: relative !important;
  }
  .nav-cart-btn:hover, .nav-cart-btn:active {
    background: rgba(139, 92, 246, 0.12) !important;
  }
  .nav-cart-btn .cart-badge {
    position: absolute !important;
    top: 2px !important;
    right: 2px !important;
    background: var(--purple) !important;
    color: white !important;
    font-size: 9px !important;
    font-weight: 700 !important;
    width: 15px !important;
    height: 15px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transform: none !important;
  }

  .nav-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: transparent !important;
    border: none !important;
    color: var(--text-primary) !important;
    cursor: pointer;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    padding: 0 !important;
    margin: 0 !important;
    transition: var(--transition);
  }
  .nav-toggle:hover, .nav-toggle:active {
    background: rgba(139, 92, 246, 0.12) !important;
  }
  .nav-toggle svg {
    width: 20px !important;
    height: 20px !important;
    transition: transform 0.15s ease;
  }
  .nav-toggle:active svg {
    transform: scale(0.9);
  }
  
  /* Mobile User Dropdown (Matching Image 2 with 100% precision) */
  .nav-user-dropdown-wrap {
    position: static !important;
  }
  .nav-dropdown {
    position: fixed !important;
    top: 58px !important;
    right: 12px !important;
    left: auto !important;
    width: 245px !important;
    max-width: calc(100vw - 24px) !important;
    z-index: 100005 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(-8px) scale(0.97) !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    pointer-events: none !important;
  }
  .nav-dropdown.active {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) scale(1) !important;
    pointer-events: auto !important;
  }
  .nav-dropdown-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    z-index: 100004;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease;
  }
  .nav-dropdown-overlay.active {
    opacity: 1;
    visibility: visible;
  }
  
  .mobile-top-icons {
    display: none !important;
  }
  .mobile-top-icon {
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
  }
  .mobile-top-icon:hover {
    color: var(--cyan);
  }
  
  .hero h1 { font-size: 36px; }
  .features-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }

  /* Mobile Bottom Navigation (Cyberpunk Pro) */
  body { padding-bottom: 75px; }
  .mobile-bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: rgba(8, 11, 20, 0.96);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 1000;
    padding: 8px 12px 10px;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.6);
  }
  .mobile-bottom-nav .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #64748b;
    text-decoration: none;
    font-size: 10px;
    font-weight: 600;
    gap: 4px;
    flex: 1 1 0;
    width: 20%;
    min-width: 0;
    transition: var(--transition);
    position: relative;
  }
  .mobile-bottom-nav .nav-item .nav-label {
    letter-spacing: 0.2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 54px;
  }
  .mobile-bottom-nav .nav-item:hover {
    color: #cbd5e1;
  }
  .mobile-bottom-nav .nav-item.active {
    color: #ff007f !important;
    text-shadow: 0 0 10px rgba(255, 0, 127, 0.5);
  }
  .mobile-bottom-nav .nav-item.active svg {
    color: #ff007f;
    filter: drop-shadow(0 0 6px rgba(255, 0, 127, 0.6));
  }
  .mobile-bottom-nav .nav-item.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    width: 16px;
    height: 2.5px;
    border-radius: 4px;
    background: #ff007f;
    box-shadow: 0 0 8px #ff007f;
  }
  .mobile-bottom-nav .nav-icon {
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .mobile-bottom-nav .nav-item-center {
    position: relative;
    top: -18px;
  }
  .mobile-bottom-nav .center-btn {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #ff0055 0%, #ec4899 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(255, 0, 85, 0.55);
    border: 2px solid rgba(255, 255, 255, 0.25);
    color: white;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .mobile-bottom-nav .center-btn:hover {
    box-shadow: 0 12px 30px rgba(255, 0, 85, 0.8);
    transform: translateY(-3px) scale(1.06);
  }
  .mobile-bottom-nav .center-btn .nav-icon {
    font-size: 22px;
  }
  
  /* Mobile Bottom Sheet Overlay */
  .mobile-bottom-sheet-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .mobile-bottom-sheet-overlay.open {
    opacity: 1;
    visibility: visible;
  }
  
  /* Mobile Bottom Sheet (Image 3 Style) */
  .mobile-bottom-sheet {
    position: fixed;
    bottom: -100%; left: 0; right: 0;
    background: #0d1222;
    backdrop-filter: blur(25px);
    border-top: 1px solid rgba(30, 41, 59, 0.9);
    border-radius: 28px 28px 0 0;
    z-index: 1002;
    padding: 16px 16px 28px;
    padding-bottom: env(safe-area-inset-bottom, 28px);
    transition: bottom 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.85);
  }
  .mobile-bottom-sheet.open {
    bottom: 0;
  }
  .sheet-drag-handle {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 18px;
  }
  .sheet-drag-handle span {
    width: 44px; height: 4.5px;
    background: rgba(255, 255, 255, 0.18);
    border-radius: 4px;
  }
  
  /* Grid 2 Top Cards (Trang chủ & Danh mục) */
  .sheet-grid-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 12px;
  }
  /* Grid 3 Bottom Cards (Thẻ cào, Ngân hàng, Hỗ trợ) */
  .sheet-grid-sub {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
    margin-bottom: 18px;
  }
  .sheet-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #111827;
    border: 1px solid rgba(30, 41, 59, 0.8);
    border-radius: 16px;
    padding: 16px 8px;
    gap: 8px;
    color: #94a3b8;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
    user-select: none;
  }
  .sheet-card-icon-wrap {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: transform 0.25s;
  }
  .sheet-card:hover {
    background: #151f33;
    border-color: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    transform: translateY(-2px);
  }
  .sheet-card:hover .sheet-card-icon-wrap {
    transform: scale(1.08);
  }
  /* Active Card (e.g. Danh mục with Cyan Glow Border) */
  .sheet-card.active {
    border: 1.5px solid #00f0ff !important;
    background: rgba(0, 240, 255, 0.06) !important;
    box-shadow: 0 0 16px rgba(0, 240, 255, 0.22), inset 0 0 10px rgba(0, 240, 255, 0.05) !important;
    color: #ff007f !important;
    font-weight: 700;
  }
  .sheet-card.active .sheet-card-label {
    color: #ff007f !important;
    text-shadow: 0 0 8px rgba(255, 0, 127, 0.4);
  }
  
  .sheet-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 16px;
  }
  .sheet-list-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    color: #94a3b8;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-radius: 12px;
    transition: all 0.2s ease;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
  }
  .sheet-list-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.08);
    color: #ffffff;
  }
  .sheet-list-item svg {
    color: #64748b;
    transition: all 0.2s ease;
  }
  .sheet-list-item:hover svg {
    color: #00f0ff;
  }
  
  /* Floating Support Action Button (FAB 🎧) - Disabled */
  .floating-support-btn {
    display: none !important;
    position: fixed;
    bottom: 84px;
    right: 18px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff0055 0%, #ec4899 100%);
    box-shadow: 0 0 20px rgba(255, 0, 85, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    z-index: 999;
    cursor: pointer;
    border: 2px solid rgba(255, 255, 255, 0.25);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
  }
  .floating-support-btn::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid rgba(255, 0, 85, 0.4);
    animation: fabRipple 2s cubic-bezier(0.16, 1, 0.3, 1) infinite;
  }
  @keyframes fabRipple {
    0% { transform: scale(0.95); opacity: 1; }
    100% { transform: scale(1.35); opacity: 0; }
  }
  .floating-support-btn:hover {
    transform: scale(1.08) translateY(-2px);
    box-shadow: 0 0 28px rgba(255, 0, 85, 0.8);
  }
  .floating-support-btn svg {
    width: 24px;
    height: 24px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
  }
}

/* Base style for desktop: hide bottom nav and sheet */
@media (min-width: 769px) {
  .mobile-bottom-nav,
  .mobile-bottom-sheet,
  .mobile-bottom-sheet-overlay { display: none !important; }
}

/* ============================================
   VIP EFFECTS (GLOBAL)
   ============================================ */
.vip-text { font-family: 'Inter', sans-serif; font-weight: 800; display: inline-block; }
.vip-text-1 { color: #94a3b8; }
.vip-text-2 { color: #34d399; text-shadow: 0 0 10px rgba(52,211,153,0.5); }
.vip-text-3 { color: #38bdf8; text-shadow: 0 0 10px rgba(56,189,248,0.5); }
.vip-text-4 { color: #a78bfa; text-shadow: 0 0 15px rgba(167,139,250,0.8); animation: pulseVip 2s infinite; }
.vip-text-5 { background: linear-gradient(135deg, #fbbf24, #f59e0b, #fbbf24); -webkit-background-clip: text; -webkit-text-fill-color: transparent; text-shadow: 0 0 20px rgba(245,158,11,0.6); animation: shine 3s linear infinite; background-size: 200% auto; }
.vip-text-6 { background: linear-gradient(90deg, #ff0000, #ff8c00, #ff0000, #ff8c00, #ff0000); -webkit-background-clip: text; -webkit-text-fill-color: transparent; text-shadow: 0 0 15px rgba(255,0,0,0.6), 0 0 30px rgba(255,140,0,0.4); animation: fireShine 2s linear infinite; background-size: 200% auto; font-weight: 900; letter-spacing: 1px; }

@keyframes pulseVip { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.8; transform: scale(1.05); } }
@keyframes shine { to { background-position: 200% center; } }
@keyframes fireShine { to { background-position: -200% center; } }

/* ============================================
   VIP BADGE EFFECTS (PREMIUM & EXCLUSIVE)
   ============================================ */
.vip-badge {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 800;
  border-radius: 6px;
  padding: 3px 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  backdrop-filter: blur(8px);
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.15);
  line-height: 1;
}

.vip-badge::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  animation: badgeSweep 4s infinite;
  z-index: 1;
}

@keyframes badgeSweep {
  0% { left: -100%; }
  15% { left: 200%; }
  100% { left: 200%; }
}

/* VIP 1: Bronze */
.vip-badge-1 { background: linear-gradient(135deg, rgba(100,116,139,0.15), rgba(148,163,184,0.25)); border: 1px solid rgba(148,163,184,0.3); color: #cbd5e1; }
/* VIP 2: Silver */
.vip-badge-2 { background: linear-gradient(135deg, rgba(16,185,129,0.15), rgba(52,211,153,0.25)); border: 1px solid rgba(52,211,153,0.4); color: #a7f3d0; box-shadow: 0 0 10px rgba(16,185,129,0.15), inset 0 1px 0 rgba(255,255,255,0.2); }
/* VIP 3: Gold */
.vip-badge-3 { background: linear-gradient(135deg, rgba(2,132,199,0.2), rgba(56,189,248,0.3)); border: 1px solid rgba(56,189,248,0.5); color: #bae6fd; box-shadow: 0 0 12px rgba(2,132,199,0.2), inset 0 1px 0 rgba(255,255,255,0.2); }
/* VIP 4: Diamond */
.vip-badge-4 { background: linear-gradient(135deg, rgba(124,58,237,0.25), rgba(167,139,250,0.35)); border: 1px solid rgba(167,139,250,0.6); color: #ddd6fe; box-shadow: 0 0 15px rgba(124,58,237,0.3), inset 0 1px 0 rgba(255,255,255,0.3); }
/* VIP 5: Crown */
.vip-badge-5 { background: linear-gradient(135deg, rgba(217,119,6,0.3), rgba(245,158,11,0.4)); border: 1px solid rgba(251,191,36,0.7); color: #fef08a; box-shadow: 0 0 20px rgba(217,119,6,0.4), inset 0 1px 0 rgba(255,255,255,0.4); text-shadow: 0 1px 2px rgba(0,0,0,0.5); }
/* VIP 6: Supreme */
.vip-badge-6 { background: linear-gradient(135deg, rgba(220,38,38,0.4), rgba(244,63,94,0.5)); border: 1px solid rgba(251,113,133,0.8); color: #ffe4e6; box-shadow: 0 0 25px rgba(220,38,38,0.5), inset 0 1px 0 rgba(255,255,255,0.5); text-shadow: 0 1px 2px rgba(0,0,0,0.5); }

/* ---- GLOBAL FOOTER STYLE (CLEAN & MODERN WHITE / STANDARD THEME) ---- */
.footer {
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  box-shadow: 0 -4px 25px rgba(0, 0, 0, 0.02);
  padding: 56px 0 28px;
  position: relative;
  z-index: 10;
  color: #1e293b;
}

[data-theme="dark"] .footer {
  background: linear-gradient(180deg, #0d0d1a 0%, #050509 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.5);
  color: #f8fafc;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 40px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  text-decoration: none;
}

.footer-brand p {
  color: #64748b;
  font-size: 13.5px;
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 340px;
}

[data-theme="dark"] .footer-brand p {
  color: #94a3b8;
}

.footer-socials {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.social-btn-lg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #64748b;
  text-decoration: none;
  transition: all 0.25s ease;
}

[data-theme="dark"] .social-btn-lg {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
}

.social-btn-lg.fb:hover {
  background: #1877f2;
  border-color: #1877f2;
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(24, 119, 242, 0.3);
}

.social-btn-lg.yt:hover {
  background: #ef4444;
  border-color: #ef4444;
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(239, 68, 68, 0.3);
}

.social-btn-lg.dc:hover {
  background: #5865f2;
  border-color: #5865f2;
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(88, 101, 242, 0.3);
}

.social-btn-lg.tg:hover {
  background: #06b6d4;
  border-color: #06b6d4;
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(6, 182, 212, 0.3);
}

.social-btn-lg.zl:hover {
  background: #0068ff;
  border-color: #0068ff;
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 104, 255, 0.3);
}

.footer-links h4 {
  font-weight: 800;
  font-size: 13.5px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 18px;
  color: #0f172a;
}

[data-theme="dark"] .footer-links h4 {
  color: #f8fafc;
}

.footer-sub-grid {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-link {
  color: #475569;
  text-decoration: none;
  font-size: 13.5px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  font-weight: 500;
}

[data-theme="dark"] .footer-link {
  color: #94a3b8;
}

.footer-link .chevron {
  color: #94a3b8;
  font-size: 14px;
  transition: transform 0.2s ease, color 0.2s ease;
}

.footer-link:hover {
  color: #2563eb;
  transform: translateX(3px);
}

[data-theme="dark"] .footer-link:hover {
  color: #38bdf8;
}

.footer-link:hover .chevron {
  color: #2563eb;
}

.footer-link.hot-deal {
  color: #e11d48;
  font-weight: 600;
}

.footer-link.hot-deal:hover {
  color: #be123c;
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #475569;
  text-decoration: none;
  transition: color 0.2s ease;
}

[data-theme="dark"] .footer-contact-item {
  color: #94a3b8;
}

.footer-contact-item:hover {
  color: #0f172a;
}

[data-theme="dark"] .footer-contact-item:hover {
  color: #ffffff;
}

.footer-contact-icon-wrap {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: #eff6ff;
  border: 1px solid #dbeafe;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2563eb;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

[data-theme="dark"] .footer-contact-icon-wrap {
  background: rgba(236, 72, 153, 0.1);
  border: 1px solid rgba(236, 72, 153, 0.25);
  color: #ec4899;
}

.footer-pay-title {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 800;
  color: #64748b;
  margin-bottom: 10px;
}

.footer-pay-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.pay-chip {
  padding: 8px 16px;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  font-size: 12.5px;
  font-weight: 700;
  color: #1e293b;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.pay-chip:hover {
  background: linear-gradient(135deg, #8b5cf6, #06b6d4);
  color: #ffffff;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(139, 92, 246, 0.35);
}

[data-theme="dark"] .pay-chip {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #f1f5f9;
}

[data-theme="dark"] .pay-chip:hover {
  background: linear-gradient(135deg, #8b5cf6, #ec4899);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 6px 20px rgba(236, 72, 153, 0.4);
}

.footer-bottom {
  border-top: 1px solid #f1f5f9;
  padding: 22px 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

[data-theme="dark"] .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom-left {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #64748b;
  font-size: 13px;
  flex-wrap: wrap;
}

.footer-bottom-left .brand-accent {
  color: #0f172a;
  font-weight: 800;
}

[data-theme="dark"] .footer-bottom-left .brand-accent {
  background: linear-gradient(135deg, #a78bfa, #ec4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.badge-version {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #475569;
  padding: 2px 8px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
}

[data-theme="dark"] .badge-version {
  background: rgba(236, 72, 153, 0.15);
  border: 1px solid rgba(236, 72, 153, 0.35);
  color: #f472b6;
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-bottom-links a {
  color: #64748b;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.footer-bottom-links a:hover {
  color: #2563eb;
}

[data-theme="dark"] .footer-bottom-links a:hover {
  color: #38bdf8;
}

.btn-back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #475569;
  padding: 5px 12px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

[data-theme="dark"] .btn-back-to-top {
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.3);
  color: #c084fc;
}

.btn-back-to-top:hover {
  background: #2563eb;
  border-color: #2563eb;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 12px; }
  .footer-bottom-left { justify-content: center; }
  .footer-bottom-links { justify-content: center; }
}

/* ============================================
   PREMIUM LIGHT METADATA & MICRO-INTERACTIONS
   ============================================ */
.product-card, .stat-card, .checkout-section, .auth-card, .news-card, .faq-item, .hero-monitor, .dashboard-sidebar, .sidebar-menu-item, .admin-sidebar, .sidebar-link, .data-card, .notif-item {
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* Card Hover Scale and Lift */
.product-card:hover, .stat-card:hover, .auth-card:hover, .news-card:hover, .data-card:hover {
  transform: translateY(-6px) scale(1.01) !important;
  box-shadow: 0 20px 40px rgba(0,0,0,0.04) !important;
  border-color: rgba(0,0,0,0.12) !important;
}

[data-theme="dark"] .product-card:hover, 
[data-theme="dark"] .stat-card:hover, 
[data-theme="dark"] .auth-card:hover, 
[data-theme="dark"] .news-card:hover,
[data-theme="dark"] .data-card:hover {
  border-color: rgba(139,92,246,0.3) !important;
  box-shadow: 0 20px 40px rgba(139,92,246,0.1) !important;
}

/* Button Pulse & Shine Effect */
.btn-primary, .btn-submit, .btn-add-cart {
  position: relative;
  overflow: hidden;
}
.btn-primary::after, .btn-submit::after, .btn-add-cart::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transform: skewX(-25deg);
  transition: 0.75s;
}
.btn-primary:hover::after, .btn-submit:hover::after, .btn-add-cart:hover::after {
  left: 150%;
  transition: 0.75s;
}

/* Active Status Pill Micro-animation */
.status-pill.status-active::before {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--green);
  border-radius: 50%;
  margin-right: 6px;
  box-shadow: 0 0 8px var(--green);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16,185,129,0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16,185,129,0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16,185,129,0); }
}

/* Sidebar Hover Slide */
.sidebar-menu-item:hover, .sidebar-link:hover {
  padding-left: 12px !important;
  background: rgba(0,0,0,0.02) !important;
}
[data-theme="dark"] .sidebar-menu-item:hover, [data-theme="dark"] .sidebar-link:hover {
  background: rgba(255,255,255,0.04) !important;
}

/* VIP Avatar Frames */
.vip-frame-1 { border: 2px solid #8b5cf6 !important; box-shadow: 0 0 10px rgba(139, 92, 246, 0.5) !important; }
.vip-frame-2 { border: 2px solid #3b82f6 !important; box-shadow: 0 0 10px rgba(59, 130, 246, 0.5) !important; }
.vip-frame-3 { border: 2px solid #10b981 !important; box-shadow: 0 0 10px rgba(16, 185, 129, 0.5) !important; }
.vip-frame-4 { border: 2px solid #f59e0b !important; box-shadow: 0 0 10px rgba(245, 158, 11, 0.5) !important; }
.vip-frame-5 { border: 2px solid #ef4444 !important; box-shadow: 0 0 10px rgba(239, 68, 68, 0.5) !important; }
.vip-frame-6 { border: 2px solid #ec4899 !important; box-shadow: 0 0 10px rgba(236, 72, 153, 0.5) !important; }

/* ══════════════════════════════════════════════════════════════════
   LIGHT THEME OVERRIDES FOR MOBILE NAVIGATION & BOTTOM SHEET
   ══════════════════════════════════════════════════════════════════ */
[data-theme="light"] .hero-desc {
  color: #334155 !important;
  -webkit-text-fill-color: #334155 !important;
  background: none !important;
  text-shadow: none !important;
}

[data-theme="light"] .mobile-bottom-nav {
  background: rgba(255, 255, 255, 0.96) !important;
  border-top: 1px solid #e2e8f0 !important;
  box-shadow: 0 -4px 25px rgba(0, 0, 0, 0.08) !important;
}

[data-theme="light"] .mobile-bottom-nav .nav-item {
  color: #64748b !important;
}

[data-theme="light"] .mobile-bottom-nav .nav-item:hover {
  color: #0f172a !important;
}

[data-theme="light"] .mobile-bottom-nav .nav-item.active {
  color: #db2777 !important;
  text-shadow: none !important;
}

[data-theme="light"] .mobile-bottom-nav .nav-item.active svg {
  color: #db2777 !important;
  filter: none !important;
}

[data-theme="light"] .mobile-bottom-nav .nav-item.active::after {
  background: #db2777 !important;
  box-shadow: 0 0 6px rgba(219, 39, 119, 0.4) !important;
}

[data-theme="light"] .mobile-bottom-sheet {
  background: #ffffff !important;
  border-top: 1px solid #e2e8f0 !important;
  box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.15) !important;
}

[data-theme="light"] .sheet-drag-handle span {
  background: #cbd5e1 !important;
}

[data-theme="light"] .sheet-card {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  color: #334155 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03) !important;
}

[data-theme="light"] .sheet-card:hover {
  background: #f1f5f9 !important;
  color: #0f172a !important;
  border-color: #cbd5e1 !important;
}

[data-theme="light"] .sheet-card.active {
  border: 1.5px solid #0284c7 !important;
  background: rgba(2, 132, 199, 0.08) !important;
  box-shadow: 0 0 12px rgba(2, 132, 199, 0.15) !important;
  color: #0284c7 !important;
}

[data-theme="light"] .sheet-card.active .sheet-card-label {
  color: #0284c7 !important;
  text-shadow: none !important;
}

[data-theme="light"] .sheet-list {
  border-top: 1px solid #e2e8f0 !important;
}

[data-theme="light"] .sheet-list-item {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  color: #334155 !important;
}

[data-theme="light"] .sheet-list-item:hover {
  background: #f1f5f9 !important;
  color: #0f172a !important;
  border-color: #cbd5e1 !important;
}

[data-theme="light"] .sheet-list-item svg {
  color: #64748b !important;
}

[data-theme="light"] .sheet-list-item:hover svg {
  color: #0284c7 !important;
}

[data-theme="light"] .sheet-list-item.text-red-400 {
  color: #dc2626 !important;
}

