/* Particle System Styles */
#particles-container {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
    pointer-events: none;
}

.particle-1 {
    background: linear-gradient(45deg, #8b5cf6, #3b82f6);
    width: 4px;
    height: 4px;
    animation-duration: 8s;
    opacity: 0.15;
}

.particle-2 {
    background: linear-gradient(45deg, #ec4899, #8b5cf6);
    width: 6px;
    height: 6px;
    animation-duration: 10s;
    opacity: 0.12;
}

.particle-3 {
    background: linear-gradient(45deg, #06b6d4, #0ea5e9);
    width: 3px;
    height: 3px;
    animation-duration: 7s;
    opacity: 0.18;
}

.particle-4 {
    background: linear-gradient(45deg, #f59e0b, #ec4899);
    width: 5px;
    height: 5px;
    animation-duration: 9s;
    opacity: 0.1;
}

.particle-5 {
    background: linear-gradient(45deg, #10b981, #06b6d4);
    width: 2px;
    height: 2px;
    animation-duration: 12s;
    opacity: 0.2;
}

.particle-glow {
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.4);
    background: radial-gradient(circle, #8b5cf6, #3b82f6);
    width: 8px;
    height: 8px;
    animation: float 6s ease-in-out infinite, pulse 4s ease-in-out infinite;
    opacity: 0.08;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-15px) rotate(90deg);
    }
    50% {
        transform: translateY(-30px) rotate(180deg);
    }
    75% {
        transform: translateY(-15px) rotate(270deg);
    }
}

@keyframes drift {
    0% {
        transform: translateX(0px);
    }
    25% {
        transform: translateX(10px);
    }
    50% {
        transform: translateX(-5px);
    }
    75% {
        transform: translateX(15px);
    }
    100% {
        transform: translateX(0px);
    }
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 15px rgba(139, 92, 246, 0.4);
        opacity: 0.08;
    }
    50% {
        box-shadow: 0 0 25px rgba(139, 92, 246, 0.8);
        opacity: 0.15;
    }
}

.particle-drift {
    animation: float 8s ease-in-out infinite, drift 15s ease-in-out infinite;
}

.particle-slow {
    animation-duration: 14s;
    opacity: 0.06;
}

.particle-fast {
    animation-duration: 4s;
    opacity: 0.25;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .particle {
        animation-duration: 6s;
    }

    .particle-1, .particle-2, .particle-3, .particle-4, .particle-5 {
        width: 3px;
        height: 3px;
    }

    .particle-glow {
        width: 5px;
        height: 5px;
    }
}