/* Enhanced particles.js styling - More Dynamic & Eye-catching! */
#particles-js {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
  pointer-events: auto;
  filter: drop-shadow(0 0 15px rgba(59, 130, 246, 0.4));
}

/* Ensure content stays above particles */
.hero .container {
  position: relative;
  z-index: 10;
}

/* Ensure all hero content is above particles */
.hero h1,
.hero p,
.hero .btn,
.hero .btn-outline {
  position: relative;
  z-index: 20;
  text-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

/* Enhanced responsive particles visibility */
@media (max-width: 768px) {
  #particles-js {
    opacity: 0.8;
    filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.3));
  }
  
  #particles-js canvas {
    transform: scale(0.9);
    transform-origin: center;
  }
}

/* Enhanced dark mode particles adjustments */
.dark #particles-js {
  filter: drop-shadow(0 0 20px rgba(96, 165, 250, 0.6));
}

.dark #particles-js canvas {
  filter: brightness(1.4) contrast(1.3) saturate(1.2);
}

/* Dynamic fade-in animation for particles */
#particles-js canvas {
  opacity: 0;
  animation: fadeInParticles 3s ease-in-out 0.3s forwards;
}

@keyframes fadeInParticles {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.05);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* Enhanced hover effects */
.hero:hover #particles-js {
  filter: drop-shadow(0 0 25px rgba(59, 130, 246, 0.6));
  transition: filter 0.5s ease;
}

.dark .hero:hover #particles-js {
  filter: drop-shadow(0 0 30px rgba(96, 165, 250, 0.8));
}

/* Performance optimizations with enhanced effects */
#particles-js canvas {
  will-change: transform, filter;
  backface-visibility: hidden;
  perspective: 1000px;
}

/* Ensure particles don't interfere with buttons */
.hero .btn,
.hero .btn-outline {
  position: relative;
  z-index: 30;
  pointer-events: auto;
}

/* Enhanced gradient overlay with more vibrant colors */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgba(59, 130, 246, 0.08) 0%, 
    rgba(99, 102, 241, 0.06) 25%,
    rgba(139, 92, 246, 0.05) 50%,
    rgba(6, 182, 212, 0.04) 75%,
    rgba(14, 165, 233, 0.03) 100%);
  z-index: 2;
  pointer-events: none;
}

/* Enhanced dark mode gradient */
.dark .hero::before {
  background: linear-gradient(135deg, 
    rgba(96, 165, 250, 0.12) 0%, 
    rgba(167, 139, 250, 0.10) 25%,
    rgba(52, 211, 153, 0.08) 50%,
    rgba(251, 191, 36, 0.06) 75%,
    rgba(244, 114, 182, 0.04) 100%);
}

/* Pulsing animation for extra flair */
@keyframes particlesPulse {
  0%, 100% {
    filter: drop-shadow(0 0 15px rgba(59, 130, 246, 0.4));
  }
  50% {
    filter: drop-shadow(0 0 25px rgba(59, 130, 246, 0.6));
  }
}

#particles-js {
  animation: particlesPulse 4s ease-in-out infinite;
}

.dark #particles-js {
  animation: particlesPulseDark 4s ease-in-out infinite;
}

@keyframes particlesPulseDark {
  0%, 100% {
    filter: drop-shadow(0 0 20px rgba(96, 165, 250, 0.6));
  }
  50% {
    filter: drop-shadow(0 0 30px rgba(96, 165, 250, 0.8));
  }
} 