/* ===================================================================
   FLOATING PARTICLES BACKGROUND - Data Analytics Theme
   Emerald green particles for analytics vibe
   =================================================================== */

.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.particle {
    position: absolute;
    background: rgba(16, 185, 129, 0.3);
    border-radius: 50%;
    animation: float-particle var(--duration) linear infinite;
    will-change: transform, opacity;
}

/* Different particle sizes */
.particle-sm {
    width: 4px;
    height: 4px;
    background: rgba(16, 185, 129, 0.2);
}

.particle-md {
    width: 6px;
    height: 6px;
    background: rgba(16, 185, 129, 0.25);
}

.particle-lg {
    width: 8px;
    height: 8px;
    background: rgba(16, 185, 129, 0.3);
}

/* Floating animation */
@keyframes float-particle {
    0% {
        transform: translateY(100vh) translateX(0) scale(0);
        opacity: 0;
    }

    10% {
        opacity: 0.6;
    }

    90% {
        opacity: 0.6;
    }

    100% {
        transform: translateY(-100px) translateX(calc(var(--drift) * 100px)) scale(1);
        opacity: 0;
    }
}

/* Pulse animation for accent particles */
@keyframes pulse-particle {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.3;
    }

    50% {
        transform: scale(1.5);
        opacity: 0.6;
    }
}

.particle-pulse {
    animation: pulse-particle 3s ease-in-out infinite;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .particle {
        animation: none;
        opacity: 0.2;
    }
}