/* ===== PARTICLE SYSTEM ===== */

#particleCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    background: transparent;
}

/* Ensure particles are behind content but visible */
.hero {
    position: relative;
    z-index: 1;
}

.nav {
    position: relative;
    z-index: 1000;
}

/* Particle performance optimizations */
@media (max-width: 768px) {
    #particleCanvas {
        /* Reduce complexity on mobile devices */
        filter: blur(0.5px);
    }
}

@media (prefers-reduced-motion: reduce) {
    #particleCanvas {
        display: none;
    }
}

/* Lower opacity for particles to be subtle */
.particle {
    opacity: 0.7;
}

/* Ensure particles don't interfere with text selection */
::selection {
    background: rgba(0, 0, 0, 0.2);
}

::-moz-selection {
    background: rgba(0, 0, 0, 0.2);
}