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

/* ============================================
   REVOLUTIONARY MODERN DESIGN SYSTEM
   ============================================ */
:root {
  /* Modern Color Palette - DARK MODE */
  --bg-dark: #0a0a0f;
  --bg-card: #12121a;
  --accent-primary: #00f5ff;
  --accent-secondary: #ff00ff;
  --accent-gold: #ffd700;
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.7);
  --text-muted: rgba(255, 255, 255, 0.5);
  --border-color: rgba(0, 245, 255, 0.2);
  --overlay-start: rgba(0, 0, 0, 0.9);
  
  /* Gradients */
  --gradient-cyan: linear-gradient(135deg, #00f5ff 0%, #00d4ff 100%);
  --gradient-pink: linear-gradient(135deg, #ff00ff 0%, #ff6ec7 100%);
  --gradient-gold: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
  --gradient-aurora: linear-gradient(135deg, #00f5ff 0%, #ff00ff 50%, #ffd700 100%);
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;
  --space-4xl: 8rem;
  
  /* Typography */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 2rem;
  --text-4xl: 2.5rem;
  --text-5xl: 3.5rem;
  --text-6xl: 4.5rem;
  --text-7xl: 6rem;
  
  /* Effects */
  --glow-cyan: 0 0 20px rgba(0, 245, 255, 0.5), 0 0 40px rgba(0, 245, 255, 0.3);
  --glow-pink: 0 0 20px rgba(255, 0, 255, 0.5), 0 0 40px rgba(255, 0, 255, 0.3);
  --glow-gold: 0 0 20px rgba(255, 215, 0, 0.5), 0 0 40px rgba(255, 215, 0, 0.3);
  --shadow-intense: 0 20px 60px rgba(0, 0, 0, 0.8);
  --shadow-glow: 0 10px 40px rgba(0, 245, 255, 0.3);
  
  /* Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;
}

/* LIGHT MODE */
html[data-theme="light"] {
  /* Light Mode Colors */
  --bg-dark: #e0d6d6;
  --bg-card: #f8f9fa;
  --accent-primary: #0066cc;
  --accent-secondary: #cc00cc;
  --accent-gold: #ff9500;
  --text-primary: #1a1a1f;
  --text-secondary: rgba(26, 26, 31, 0.7);
  --text-muted: rgba(26, 26, 31, 0.5);
  --border-color: rgba(0, 102, 204, 0.2);
  --overlay-start: rgba(255, 255, 255, 0.95);
  
  /* Light Mode Gradients */
  --gradient-cyan: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
  --gradient-pink: linear-gradient(135deg, #cc00cc 0%, #990099 100%);
  --gradient-gold: linear-gradient(135deg, #ff9500 0%, #ff6b00 100%);
  --gradient-aurora: linear-gradient(135deg, #0066cc 0%, #cc00cc 50%, #ff9500 100%);
  
  /* Light Mode Effects */
  --glow-cyan: 0 0 20px rgba(0, 102, 204, 0.3), 0 0 40px rgba(0, 102, 204, 0.2);
  --glow-pink: 0 0 20px rgba(204, 0, 204, 0.3), 0 0 40px rgba(204, 0, 204, 0.2);
  --glow-gold: 0 0 20px rgba(255, 149, 0, 0.3), 0 0 40px rgba(255, 149, 0, 0.2);
  --shadow-intense: 0 20px 60px rgba(0, 0, 0, 0.15);
  --shadow-glow: 0 10px 40px rgba(0, 102, 204, 0.2);
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Space Grotesk', sans-serif;
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

html[data-lang="ar"] body {
  font-family: 'Cairo', sans-serif;
}

html[data-lang="ar"] h1,
html[data-lang="ar"] h2,
html[data-lang="ar"] h3,
html[data-lang="ar"] h4 {
  line-height: 1.5 !important;
  padding-top: 0.2em;
  padding-bottom: 0.2em;
}

html[data-lang="ar"] .btn {
  line-height: 1.6;
  padding-top: 12px;
  padding-bottom: 12px;
}

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

* {
  overflow-wrap: break-word;
  word-wrap: break-word;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
}

.lang { display: inline; }
html[data-lang="en"] .lang-ar { display: none; }
html[data-lang="ar"] .lang-en { display: none; }

.container {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

/* ============================================
   ANIMATED BACKGROUND
   ============================================ */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 10% 20%, rgba(0, 245, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 90% 80%, rgba(255, 0, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(255, 215, 0, 0.05) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
  animation: bgFloat 20s ease-in-out infinite;
}

html[data-theme="light"] body::before {
  background: 
    radial-gradient(circle at 10% 20%, rgba(0, 102, 204, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 90% 80%, rgba(204, 0, 204, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(255, 149, 0, 0.03) 0%, transparent 50%);
}

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

/* Grid Pattern Overlay */
body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(0, 245, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 245, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
  z-index: 0;
}

html[data-theme="light"] body::after {
  background-image: 
    linear-gradient(rgba(0, 102, 204, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 102, 204, 0.06) 1px, transparent 1px);
}

/* ============================================
   HEADER - FUTURISTIC
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 10, 15, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 245, 255, 0.2);
  padding: 0 var(--space-lg);
}

html[data-theme="light"] .site-header {
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(0, 102, 204, 0.2);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) 0;
  gap: var(--space-xl);
}

.brand {
  font-size: var(--text-2xl);
  font-weight: 900;
  background: var(--gradient-aurora);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  transition: transform 0.3s ease;
  letter-spacing: -0.02em;
}

.brand:hover {
  transform: scale(1.05);
  filter: drop-shadow(var(--glow-cyan));
}

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  box-shadow: var(--glow-cyan);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.btn-icon-small {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 245, 255, 0.1);
  border: 1px solid var(--accent-primary);
  border-radius: var(--radius-full);
  color: var(--accent-primary);
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: var(--text-sm);
  font-weight: 600;
}

.btn-icon-small:hover {
  background: var(--accent-primary);
  color: var(--bg-dark);
  box-shadow: 0 0 20px rgba(0, 245, 255, 0.5);
  transform: scale(1.05);
}

.lang-label-short {
  font-size: var(--text-xs);
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-2xl);
}

.nav-link {
  color: var(--text-primary);
  font-weight: 600;
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  position: relative;
  transition: all 0.3s ease;
  opacity: 0.8;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-cyan);
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--accent-primary);
  opacity: 1;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.toggle {
  background: rgba(0, 245, 255, 0.1);
  border: 1px solid rgba(0, 245, 255, 0.3);
  color: var(--accent-primary);
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 700;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.toggle:hover {
  background: rgba(0, 245, 255, 0.2);
  box-shadow: var(--glow-cyan);
  transform: translateY(-2px);
}

.cart-count {
  background: var(--gradient-cyan);
  color: var(--bg-dark);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 900;
  margin-inline-start: 6px;
  box-shadow: var(--glow-cyan);
}

/* ============================================
   HERO - MIND-BLOWING
   ============================================ */
.hero-purple {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(60px + var(--space-xl)) 0 var(--space-4xl);
  overflow: hidden;
  z-index: 1;
}

.hero-purple::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(0, 245, 255, 0.2) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  animation: heroGlow 4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes heroGlow {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.5;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 1;
  }
}

.hero-purple .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

.hero-content h1 {
  font-size: clamp(var(--text-5xl), 8vw, 100px);
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: var(--space-lg);
  padding: var(--space-xs) 0;
  background: var(--gradient-aurora);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
  filter: drop-shadow(var(--glow-cyan));
}

.hero-content p {
  font-size: var(--text-xl);
  color: var(--text-secondary);
  margin-bottom: var(--space-2xl);
  line-height: 1.7;
  max-width: 600px;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 24px;
  background: rgba(0, 245, 255, 0.1);
  border: 1px solid rgba(0, 245, 255, 0.3);
  border-radius: var(--radius-full);
  color: var(--accent-primary);
  font-size: var(--text-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-md);
  backdrop-filter: blur(10px);
  box-shadow: var(--glow-cyan);
}

.hero-actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

/* Bento Grid Showcase */
.hero-showcase {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(8, 60px);
  gap: var(--space-md);
}

.hero-showcase-item {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-intense);
  transition: all 0.4s ease;
  position: relative;
}

.hero-showcase-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-aurora);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.hero-showcase-item:hover {
  transform: translateY(-8px);
  border-color: var(--accent-primary);
  box-shadow: var(--shadow-glow);
}

.hero-showcase-item:hover::before {
  opacity: 0.1;
}

.hero-showcase-item:nth-child(1) {
  grid-column: 1 / 8;
  grid-row: 1 / 5;
}

.hero-showcase-item:nth-child(2) {
  grid-column: 8 / 13;
  grid-row: 1 / 5;
}

.hero-showcase-item:nth-child(3) {
  grid-column: 1 / 13;
  grid-row: 5 / 9;
}

.hero-showcase-image {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.hero-showcase-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  filter: brightness(0.9) contrast(1.1);
}

.hero-showcase-item:hover .hero-showcase-image img {
  transform: scale(1.1);
  filter: brightness(1) contrast(1.2);
}

/* ============================================
   BUTTONS - NEON STYLE
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary {
  background: var(--gradient-cyan);
  color: var(--bg-dark);
  box-shadow: var(--glow-cyan);
  border: 2px solid var(--accent-primary);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 245, 255, 0.6);
}

.btn-secondary {
  background: transparent;
  color: var(--accent-primary);
  border: 2px solid var(--accent-primary);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(0, 245, 255, 0.1);
  box-shadow: var(--glow-cyan);
}

/* ============================================
   SECTIONS
   ============================================ */
.section-white {
  position: relative;
  background: var(--bg-dark);
  padding: var(--space-lg) 0;
  z-index: 1;
}

.section-purple-dark {
  position: relative;
  background: var(--bg-dark);
  padding: var(--space-lg) 0;
  z-index: 1;
}

.section-title {
  text-align: center;
  font-size: clamp(var(--text-4xl), 6vw, 72px);
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: var(--space-md);
  padding: var(--space-xs) 0;
  background: var(--gradient-aurora);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
}

.section-title-dark {
  text-align: center;
  font-size: clamp(var(--text-4xl), 6vw, 72px);
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: var(--space-md);
  padding: var(--space-xs) 0;
  background: var(--gradient-aurora);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
}

.section-subtitle {
  text-align: center;
  font-size: var(--text-xl);
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto var(--space-2xl);
  line-height: 1.7;
}

.section-subtitle-dark {
  text-align: center;
  font-size: var(--text-xl);
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto var(--space-2xl);
  line-height: 1.7;
}

.section-subtitle-small {
  text-align: center;
  color: var(--accent-primary);
  font-size: var(--text-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: var(--space-sm);
}

/* Animations */
.section-white[data-animate],
.section-purple-dark[data-animate] {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.section-white[data-animate].visible,
.section-purple-dark[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   CARDS - FUTURISTIC
   ============================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-cyan);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.feature-card:hover {
  transform: translateY(-12px);
  border-color: var(--accent-primary);
  box-shadow: var(--shadow-glow);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.icon-3d {
  width: 80px;
  height: 80px;
  background: var(--gradient-cyan);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
  box-shadow: var(--glow-cyan);
  transition: all 0.4s ease;
}

.feature-card:hover .icon-3d {
  transform: rotateY(180deg) scale(1.1);
  box-shadow: 0 0 40px rgba(0, 245, 255, 0.6);
}

.icon-3d svg {
  width: 40px;
  height: 40px;
  stroke: var(--bg-dark);
  fill: none;
  stroke-width: 3;
}

.feature-card h3 {
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.feature-card p {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================
   PRODUCT CARDS - ELEVATED
   ============================================ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: var(--space-xl);
  margin-top: var(--space-md);
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: var(--space-lg);
  transition: all 0.4s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.product-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-aurora);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.product-card:hover {
  transform: translateY(-16px) scale(1.02);
  border-color: var(--accent-primary);
  box-shadow: var(--shadow-glow);
}

.product-card:hover::after {
  opacity: 0.05;
}

.product-media {
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: var(--space-lg);
  position: relative;
  border: 1px solid var(--border-color);
  box-shadow: var(--glow-cyan);
}

.image-count-badge {
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-full);
  color: var(--white);
  font-size: var(--text-sm);
  font-weight: 600;
  border: 1px solid rgba(0, 245, 255, 0.3);
  z-index: 2;
}

.image-count-badge svg {
  width: 14px;
  height: 14px;
}

.product-media::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 245, 255, 0.2) 0%, transparent 100%);
  z-index: 1;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.product-card:hover .product-media::before {
  opacity: 1;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  filter: brightness(0.9) contrast(1.1);
}

.product-card:hover .product-media img {
  transform: scale(1.15);
  filter: brightness(1) contrast(1.2);
}

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

.product-info h3 {
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: var(--space-xs);
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.product-info p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
  line-height: 1.6;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-md);
  border-top: 1px solid var(--border-color);
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.product-meta .btn {
  padding: 10px 18px;
  font-size: var(--text-sm);
  white-space: nowrap;
  flex-shrink: 0;
}

.price {
  font-size: var(--text-lg);
  font-weight: 700;
  background: var(--gradient-cyan);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(var(--glow-cyan));
}

/* ============================================
   IMAGE SHOWCASES
   ============================================ */
.section-image-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: var(--space-xl);
  margin-bottom: var(--space-3xl);
}

.showcase-image-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all 0.4s ease;
}

.showcase-image-card:hover {
  transform: translateY(-12px);
  border-color: var(--accent-primary);
  box-shadow: var(--shadow-glow);
}

.showcase-image-wrapper {
  aspect-ratio: 4/3;
  overflow: hidden;
  position: relative;
}

.showcase-image-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-aurora);
  opacity: 0;
  z-index: 1;
  transition: opacity 0.4s ease;
}

.showcase-image-card:hover .showcase-image-wrapper::before {
  opacity: 0.2;
}

.showcase-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  filter: brightness(0.9);
}

.showcase-image-card:hover .showcase-image-wrapper img {
  transform: scale(1.15);
  filter: brightness(1);
}

.showcase-image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, var(--overlay-start), transparent);
  padding: var(--space-xl);
  color: var(--text-primary);
  transform: translateY(100%);
  transition: transform 0.4s ease;
  z-index: 2;
}

.showcase-image-card:hover .showcase-image-overlay {
  transform: translateY(0);
}

.showcase-image-overlay h4 {
  font-size: var(--text-xl);
  font-weight: 800;
  margin-bottom: var(--space-xs);
  text-transform: uppercase;
}

.showcase-image-overlay p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

/* ============================================
   ORDER STEPS
   ============================================ */
.order-steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}

.order-step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.order-step-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-pink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.order-step-card:hover {
  transform: translateY(-12px);
  border-color: var(--accent-secondary);
  box-shadow: var(--glow-pink);
}

.order-step-card:hover::before {
  transform: scaleX(1);
}

.order-step-image {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: var(--space-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--glow-pink);
}

.order-step-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.order-step-card:hover .order-step-image img {
  transform: scale(1.1);
}

.order-step-card h3 {
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--text-primary);
  margin: var(--space-md) 0 var(--space-xs);
  line-height: 1.4;
}

.order-step-card p {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================
   OTHER PAGES
   ============================================ */
.section {
  padding: calc(60px + var(--space-lg)) 0 var(--space-lg);
  position: relative;
  z-index: 1;
}

.product-detail {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-3xl);
  align-items: start;
}

.product-detail-media {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  box-shadow: var(--shadow-glow);
}

.product-detail-media > img {
  border-radius: var(--radius-lg);
  width: 100%;
  display: block;
}

.product-detail-media .product-gallery {
  margin: 0;
}

/* Product Image Gallery */
.product-gallery {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  min-height: 400px;
}

.gallery-main {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.gallery-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transform: translateX(100%);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.gallery-slide.active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  pointer-events: auto;
  z-index: 1;
}

.gallery-slide.prev {
  transform: translateX(-100%);
}

.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  display: block;
  background: var(--bg-card);
}

.gallery-slide img[src=""],
.gallery-slide img:not([src]) {
  opacity: 0;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  opacity: 0;
}

.product-gallery:hover .gallery-nav {
  opacity: 1;
}

.gallery-nav:hover {
  background: rgba(0, 245, 255, 0.8);
  border-color: var(--accent-primary);
  transform: translateY(-50%) scale(1.1);
}

.gallery-prev {
  left: var(--space-md);
}

.gallery-next {
  right: var(--space-md);
}

.gallery-dots {
  position: absolute;
  bottom: var(--space-lg);
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.gallery-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.gallery-dot:hover {
  background: rgba(255, 255, 255, 0.6);
  transform: scale(1.2);
}

.gallery-dot.active {
  background: var(--accent-primary);
  width: 24px;
  border-radius: var(--radius-full);
}

.product-detail-content h1 {
  font-size: clamp(var(--text-4xl), 5vw, var(--text-6xl));
  font-weight: 900;
  background: var(--gradient-aurora);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-md);
  text-transform: uppercase;
}

.product-description {
  color: var(--text-secondary);
  margin: var(--space-lg) 0;
  font-size: var(--text-lg);
  line-height: 1.6;
}

.product-detail-content .product-meta {
  border-top: 1px solid var(--border-color);
  padding-top: var(--space-lg);
  margin-top: var(--space-lg);
}

.product-detail-content .price {
  color: var(--text-primary);
  font-weight: 700;
}

.detail-notes {
  display: grid;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: all 0.3s ease;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.info-card:hover {
  border-color: var(--accent-primary);
  box-shadow: var(--glow-cyan);
  transform: translateY(-4px);
}

.info-card strong {
  display: block;
  font-size: var(--text-lg);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: var(--space-xs);
  text-transform: uppercase;
}

.info-card p {
  color: var(--text-secondary);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-xl);
  margin-bottom: var(--space-4xl);
}

.detail-notes {
  display: grid;
  gap: var(--space-md);
  margin-top: var(--space-2xl);
}

/* Checkout */
.checkout-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: var(--space-2xl);
}

.cart-item {
  display: flex;
  justify-content: space-between;
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--border-color);
}

.cart-controls {
  display: flex;
  gap: var(--space-sm);
  align-items: center;
}

.qty-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  color: var(--accent-primary);
  font-weight: 700;
  transition: all 0.3s ease;
}

.qty-btn:hover {
  background: var(--accent-primary);
  color: var(--bg-dark);
  box-shadow: var(--glow-cyan);
}

.cart-summary {
  font-size: var(--text-2xl);
  font-weight: 900;
  color: var(--text-primary);
  margin-top: var(--space-lg);
  margin-bottom: var(--space-xl);
}

/* Forms */
.form {
  display: grid;
  gap: var(--space-md);
}

.form label {
  display: block;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-xs);
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form input,
.form textarea {
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  color: var(--text-primary);
  font-family: inherit;
  transition: all 0.3s ease;
}

.form input:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--accent-primary);
  background: var(--bg-dark);
  box-shadow: var(--glow-cyan);
}

.form textarea {
  min-height: 120px;
  resize: vertical;
}

/* Alerts */
.alert {
  padding: var(--space-md);
  border-radius: var(--radius-lg);
  font-weight: 600;
  margin-top: var(--space-md);
  border: 2px solid;
}

.alert-success {
  background: rgba(0, 245, 0, 0.1);
  border-color: rgba(0, 245, 0, 0.3);
  color: #00f500;
}

.alert-error {
  background: rgba(255, 0, 0, 0.1);
  border-color: rgba(255, 0, 0, 0.3);
  color: #ff0000;
}

/* Footer */
.site-footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border-color);
  padding: var(--space-3xl) 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-xl);
}

.footer-note {
  color: var(--text-secondary);
}

/* Admin */
.admin-header {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  padding: var(--space-md) 0;
}

.admin-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.admin-links {
  display: flex;
  gap: var(--space-lg);
}

.admin-title {
  font-size: var(--text-2xl);
  font-weight: 900;
  background: var(--gradient-aurora);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.admin-card {
  background: transparent;
  padding: 0;
}

.admin-card .nav-actions {
  margin-top: var(--space-xl);
  gap: var(--space-md);
}

.admin-card .form {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
}

.admin-card .form label {
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-xs);
  display: block;
}

.admin-card .product-media {
  margin-top: var(--space-md);
  max-width: 400px;
}

/* Product Images Upload */
.product-images-preview {
  margin: var(--space-lg) 0;
}

.images-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-sm);
}

.image-preview-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid var(--border-color);
  background: var(--bg-card);
}

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

.btn-delete-image {
  position: absolute;
  top: var(--space-xs);
  right: var(--space-xs);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 0, 0, 0.8);
  border: none;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.btn-delete-image:hover {
  background: rgba(255, 0, 0, 1);
  transform: scale(1.1);
}

.form input[type="file"] {
  padding: var(--space-md);
  border: 2px dashed var(--border-color);
  border-radius: var(--radius-md);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.form input[type="file"]:hover {
  border-color: var(--accent-primary);
  background: rgba(0, 245, 255, 0.05);
}

.table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.table th,
.table td {
  text-align: start;
  padding: var(--space-lg);
  border-bottom: 1px solid var(--border-color);
  color: var(--text-primary);
}

.table td .muted {
  margin-top: var(--space-xs);
  font-size: var(--text-sm);
}

.table td strong {
  font-size: var(--text-base);
}

.table th {
  background: rgba(0, 245, 255, 0.1);
  font-weight: 700;
  text-transform: uppercase;
  font-size: var(--text-sm);
  letter-spacing: 0.05em;
}

.status-pill {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
}

.status-pill.new {
  background: rgba(0, 245, 255, 0.2);
  color: var(--accent-primary);
  border: 1px solid rgba(0, 245, 255, 0.4);
}

.status-pill.completed {
  background: rgba(0, 245, 0, 0.2);
  color: #00f500;
  border: 1px solid rgba(0, 245, 0, 0.4);
}

.order-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  display: grid;
  gap: var(--space-sm);
}

.order-card > div:first-child {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-xs);
}

.order-card strong {
  font-size: var(--text-lg);
}

.order-card .form {
  margin-top: 0;
}

.order-card .btn {
  width: 100%;
}

.order-items {
  display: grid;
  gap: var(--space-xs);
  margin-top: var(--space-md);
}

.orders-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: var(--space-lg);
}

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

.empty-state {
  padding: var(--space-3xl);
  text-align: center;
  border: 2px dashed var(--border-color);
  border-radius: var(--radius-lg);
  color: var(--text-secondary);
}

.toast {
  position: fixed;
  bottom: var(--space-xl);
  inset-inline-end: var(--space-xl);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-glow);
  font-weight: 700;
  color: var(--text-primary);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 9999;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* Wavy Dividers - Removed */
.wave-divider {
  display: none;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-purple .container,
  .product-detail {
    grid-template-columns: 1fr;
  }
  
  .hero-showcase {
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(6, 60px);
  }
  
  .hero-showcase-item:nth-child(1) {
    grid-column: 1 / 13;
    grid-row: 1 / 3;
  }
  
  .hero-showcase-item:nth-child(2) {
    grid-column: 1 / 13;
    grid-row: 3 / 5;
  }
  
  .hero-showcase-item:nth-child(3) {
    grid-column: 1 / 13;
    grid-row: 5 / 7;
  }
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
  z-index: 1001;
}

.mobile-menu-toggle span {
  width: 28px;
  height: 3px;
  background: var(--accent-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

@media (max-width: 768px) {
  /* Header Mobile */
  .site-header {
    padding: 0 var(--space-md);
  }
  
  .nav {
    flex-wrap: nowrap;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--bg-dark);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: var(--space-lg);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    max-height: calc(100vh - 60px);
    overflow-y: auto;
  }
  
  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .nav-links {
    flex-direction: column;
    gap: var(--space-md);
    width: 100%;
    margin-bottom: var(--space-lg);
  }
  
  .nav-link {
    font-size: var(--text-lg);
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--border-color);
  }
  
  .nav-actions {
    flex-direction: column;
    gap: var(--space-md);
    width: 100%;
  }
  
  .toggle {
    width: 100%;
    justify-content: center;
  }
  
  /* Typography Mobile */
  .hero-content h1 {
    font-size: clamp(var(--text-4xl), 10vw, var(--text-6xl));
    line-height: 1.2;
  }
  
  .section-title,
  .section-title-dark {
    font-size: clamp(var(--text-3xl), 8vw, var(--text-5xl));
    line-height: 1.3;
  }
  
  .section-subtitle,
  .section-subtitle-dark {
    font-size: var(--text-base);
  }
  
  /* Layout Mobile */
  .container {
    padding: 0 var(--space-md);
  }
  
  .section {
    padding: calc(60px + var(--space-md)) 0 var(--space-md);
  }
  
  .header-actions {
    gap: var(--space-xs);
  }
  
  .btn-icon-small {
    width: 36px;
    height: 36px;
  }
  
  /* Grids Mobile */
  .features-grid,
  .order-steps-grid,
  .product-grid,
  .section-image-showcase {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  
  .hero-showcase {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: var(--space-md);
  }
  
  .hero-showcase-item {
    min-height: 200px;
  }
  
  /* Product Detail Mobile */
  .product-detail {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
  
  .product-detail-media {
    padding: var(--space-md);
  }
  
  .product-gallery {
    min-height: 280px;
    aspect-ratio: 1;
  }
  
  .gallery-nav {
    width: 40px;
    height: 40px;
  }
  
  .gallery-prev {
    left: var(--space-sm);
  }
  
  .gallery-next {
    right: var(--space-sm);
  }
  
  .gallery-dots {
    bottom: var(--space-md);
    padding: var(--space-xs) var(--space-sm);
  }
  
  /* Floating Elements Mobile */
  .floating-scene {
    height: 300px;
  }
  
  .floating-element {
    width: 60px;
    height: 60px;
  }
  
  .floating-element-5 {
    width: 80px;
    height: 80px;
  }
  
  /* Cards Mobile */
  .featured-section-card {
    padding: var(--space-md);
    margin-bottom: var(--space-xs);
  }
  
  .feature-card,
  .order-step-card,
  .info-card {
    padding: var(--space-lg);
  }
  
  .product-card {
    padding: var(--space-md);
  }
  
  /* Checkout Mobile */
  .checkout-grid {
    grid-template-columns: 1fr;
  }
  
  .cart-item {
    padding: var(--space-md);
    gap: var(--space-md);
  }
  
  .cart-item-image {
    width: 80px;
    height: 80px;
  }
  
  /* Buttons Mobile */
  .btn {
    padding: 12px 28px;
    font-size: var(--text-base);
  }
  
  /* Footer Mobile */
  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: var(--space-md);
  }
  
  .footer-links {
    justify-content: center;
  }
}

/* ============================================
   FEATURED SECTION CARDS - GLOWING CONTAINERS
   ============================================ */
.featured-section-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: var(--space-lg);
  overflow: hidden;
  box-shadow: var(--shadow-intense);
  transition: all 0.4s ease;
  margin-bottom: var(--space-sm);
}

.featured-section-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-cyan);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.featured-section-card:hover::before {
  opacity: 1;
}

.featured-section-card:hover {
  border-color: var(--accent-primary);
  box-shadow: var(--shadow-glow), 0 0 60px rgba(0, 245, 255, 0.15);
  transform: translateY(-4px);
}

/* Corner Glow Effect */
.featured-section-card::after {
  content: '';
  position: absolute;
  top: -2px;
  right: -2px;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle at top right, rgba(0, 245, 255, 0.3), transparent 70%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.featured-section-card:hover::after {
  opacity: 1;
}

/* ============================================
   3D FLOATING ELEMENTS SECTION
   ============================================ */
.section-3d-floating {
  position: relative;
  background: var(--bg-dark);
  padding: var(--space-lg) 0;
  overflow: hidden;
}

.floating-scene {
  position: relative;
  width: 100%;
  height: 500px;
  perspective: 1000px;
  margin-top: 0;
}

.floating-element {
  position: absolute;
  width: 120px;
  height: 120px;
  filter: blur(1px) drop-shadow(0 0 30px rgba(0, 245, 255, 0.5));
  will-change: transform;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-fill-mode: both;
}

.floating-element svg {
  width: 100%;
  height: 100%;
  display: block;
}

.floating-element-1 {
  top: 10%;
  left: 10%;
  animation: float1 15s infinite;
}

.floating-element-2 {
  top: 60%;
  right: 15%;
  animation: float2 18s infinite;
  animation-delay: -2s;
}

.floating-element-3 {
  top: 30%;
  right: 25%;
  animation: float3 20s infinite;
  animation-delay: -5s;
}

.floating-element-4 {
  bottom: 15%;
  left: 20%;
  animation: float4 16s infinite;
  animation-delay: -8s;
}

.floating-element-5 {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: float5 22s infinite;
  animation-delay: -3s;
  width: 150px;
  height: 150px;
}

@keyframes float1 {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg) scale(1);
  }
  25% {
    transform: translate(50px, -30px) rotate(90deg) scale(1.1);
  }
  50% {
    transform: translate(100px, 20px) rotate(180deg) scale(0.9);
  }
  75% {
    transform: translate(50px, 50px) rotate(270deg) scale(1.05);
  }
}

@keyframes float2 {
  0%, 100% {
    transform: translate(0, 0) rotateY(0deg) scale(1);
  }
  33% {
    transform: translate(-60px, 40px) rotateY(120deg) scale(1.15);
  }
  66% {
    transform: translate(-30px, -40px) rotateY(240deg) scale(0.95);
  }
}

@keyframes float3 {
  0%, 100% {
    transform: translate(0, 0) rotateX(0deg) rotateZ(0deg) scale(1);
  }
  25% {
    transform: translate(-40px, -40px) rotateX(90deg) rotateZ(45deg) scale(1.2);
  }
  50% {
    transform: translate(-80px, 0px) rotateX(180deg) rotateZ(90deg) scale(0.85);
  }
  75% {
    transform: translate(-40px, 40px) rotateX(270deg) rotateZ(135deg) scale(1.1);
  }
}

@keyframes float4 {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg) scale(1);
  }
  20% {
    transform: translate(40px, -50px) rotate(72deg) scale(1.1);
  }
  40% {
    transform: translate(80px, -20px) rotate(144deg) scale(0.9);
  }
  60% {
    transform: translate(60px, 30px) rotate(216deg) scale(1.15);
  }
  80% {
    transform: translate(20px, 50px) rotate(288deg) scale(0.95);
  }
}

@keyframes float5 {
  0%, 100% {
    transform: translate(-50%, -50%) rotateX(0deg) rotateY(0deg) scale(1);
  }
  25% {
    transform: translate(-50%, -50%) rotateX(180deg) rotateY(90deg) scale(1.3);
  }
  50% {
    transform: translate(-50%, -50%) rotateX(360deg) rotateY(180deg) scale(0.8);
  }
  75% {
    transform: translate(-50%, -50%) rotateX(540deg) rotateY(270deg) scale(1.2);
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  
  .floating-element {
    animation: none !important;
  }
}
