/* ============================================
   GSM STORE - OPTIMIZED BACKGROUND SYSTEM
   Lightweight static gradients, no animations
   ============================================ */

/* ============================================
   COLOR SYSTEM - LIGHT MODE
   ============================================ */
html.light-mode {
  /* Primary Colors */
  --primary: #6366f1;
  --primary-light: #818cf8;
  --primary-dark: #4f46e5;
  --secondary: #a855f7;
  --accent: #f43f5e;
  --accent-cyan: #06b6d4;
  --accent-emerald: #10b981;
  --accent-amber: #f59e0b;
  --accent-rose: #ec4899;

  /* Light Mode Gradients */
  --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
  --gradient-secondary: linear-gradient(135deg, #a855f7 0%, #ec4899 50%, #f43f5e 100%);
  --gradient-accent: linear-gradient(135deg, #06b6d4 0%, #3b82f6 50%, #8b5cf6 100%);

  /* Glassmorphism Light Mode - NO BLUR */
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-bg-heavy: rgba(255, 255, 255, 0.92);
  --glass-border: rgba(255, 255, 255, 0.5);
  --glass-shadow: 0 8px 32px rgba(99, 102, 241, 0.1);

  /* Light Mode Background */
  --bg-base: #fafbff;
}

/* ============================================
   COLOR SYSTEM - DARK MODE
   ============================================ */
html:not(.light-mode) {
  /* Dark Mode Colors */
  --primary: #818cf8;
  --primary-light: #a5b4fc;
  --primary-dark: #6366f1;
  --secondary: #c084fc;
  --accent: #fb7185;
  --accent-cyan: #22d3ee;
  --accent-emerald: #34d399;
  --accent-amber: #fbbf24;
  --accent-rose: #f472b6;

  /* Dark Mode Gradients */
  --gradient-primary: linear-gradient(135deg, #818cf8 0%, #c084fc 50%, #f472b6 100%);
  --gradient-secondary: linear-gradient(135deg, #c084fc 0%, #f472b6 50%, #fb7185 100%);
  --gradient-accent: linear-gradient(135deg, #22d3ee 0%, #60a5fa 50%, #a78bfa 100%);

  /* Glassmorphism Dark Mode - NO BLUR */
  --glass-bg: rgba(15, 23, 42, 0.85);
  --glass-bg-heavy: rgba(15, 23, 42, 0.92);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);

  /* Dark Mode Background */
  --bg-base: #0a0e1a;
}

/* ============================================
   STATIC BACKGROUND - NO ANIMATIONS
   ============================================ */
.dynamic-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
  background: var(--bg-base);
  pointer-events: none;
}

/* Static gradient mesh - no animation */
.dynamic-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 1;
}

/* Dark mode static gradient */
html:not(.light-mode) .dynamic-bg::before {
  background: 
    radial-gradient(ellipse at 20% 0%, rgba(129, 140, 248, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(192, 132, 252, 0.1) 0%, transparent 45%),
    radial-gradient(ellipse at 60% 80%, rgba(251, 113, 133, 0.08) 0%, transparent 40%);
}

/* Light mode static gradient */
html.light-mode .dynamic-bg::before {
  background: 
    radial-gradient(ellipse at 20% 0%, rgba(99, 102, 241, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(168, 85, 247, 0.08) 0%, transparent 45%),
    radial-gradient(ellipse at 60% 80%, rgba(244, 63, 94, 0.05) 0%, transparent 40%);
}

/* ============================================
   FLOATING ELEMENTS - DISABLED
   Keep selectors for compatibility but no render
   ============================================ */
.floating-elements {
  display: none !important;
}

.float-element,
.float-shape,
.float-triangle,
.float-square,
.float-ring {
  display: none !important;
}

/* ============================================
   GLASSMORPHIC CONTAINERS - NO BLUR
   ============================================ */
.glass-container {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--glass-shadow);
  position: relative;
  z-index: 1;
}

.glass-container-heavy {
  background: var(--glass-bg-heavy);
}

.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--glass-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
  transform: translateY(-4px);
  box-shadow: 
    var(--glass-shadow),
    0 12px 24px rgba(0, 0, 0, 0.1);
}

/* ============================================
   PRODUCT CARDS - SIMPLE EFFECTS
   ============================================ */
.product-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 
    0 16px 32px rgba(0, 0, 0, 0.15),
    0 0 0 1px var(--primary);
}

/* ============================================
   BUTTONS - SIMPLE GRADIENTS
   ============================================ */
.btn-primary {
  background: var(--gradient-primary);
  background-size: 100% 100%;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.35);
}

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

/* ============================================
   CATEGORY CARDS - SIMPLE HOVER
   ============================================ */
.category-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
  border-color: var(--primary);
}

/* ============================================
   SECTION TITLES - STATIC GRADIENT TEXT
   ============================================ */
.section-title {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================
   TRUST ITEMS - SIMPLE HOVER
   ============================================ */
.trust-item {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.trust-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

/* ============================================
   CTA SECTION - STATIC GRADIENT
   ============================================ */
.cta-container {
  background: var(--gradient-primary) !important;
  position: relative;
  overflow: hidden;
}

/* ============================================
   HEADER - NO BLUR
   ============================================ */
.store-header {
  background: var(--glass-bg-heavy);
  border-bottom: 1px solid var(--glass-border);
  transition: box-shadow 0.3s ease;
}

.store-header.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* ============================================
   FOOTER - STATIC
   ============================================ */
.store-footer {
  background: var(--glass-bg-heavy);
  position: relative;
}

.store-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-primary);
}

/* Nav link active/hover styles are in store.css (pill + centered accent, no underline) */

/* ============================================
   REDUCED MOTION - ACCESSIBILITY
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================
   MOBILE OPTIMIZATIONS
   ============================================ */
@media (max-width: 768px) {
  .product-card:hover {
    transform: translateY(-4px);
  }
  
  .glass-card:hover {
    transform: translateY(-2px);
  }
}
