/* SISTEMA DE PARTÍCULAS FLOTANTES DORADAS */

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

.particle {
    position: absolute;
    background: radial-gradient(circle, #ffd700 0%, #ffb347 50%, transparent 100%);
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat linear infinite;
}

/* Diferentes tamaños de partículas */
.particle.small {
    width: 3px;
    height: 3px;
}

.particle.medium {
    width: 5px;
    height: 5px;
}

.particle.large {
    width: 7px;
    height: 7px;
}

/* Animación principal de las partículas */
@keyframes particleFloat {
    0% {
        transform: translateY(100vh) translateX(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) translateX(var(--drift)) rotate(360deg);
        opacity: 0;
    }
}

/* Efecto de pulso para algunas partículas */
@keyframes particlePulse {
    0%, 100% {
        filter: brightness(1) blur(0px);
    }
    50% {
        filter: brightness(1.5) blur(1px);
    }
}

.particle.pulse {
    animation: particleFloat linear infinite, particlePulse 2s ease-in-out infinite;
}

/* Variaciones de velocidad */
.particle.slow {
    animation-duration: 15s;
}

.particle.medium-speed {
    animation-duration: 12s;
}

.particle.fast {
    animation-duration: 8s;
}

/* Responsive - reducir partículas en móviles */
@media (max-width: 768px) {
    .particle:nth-child(n+11) {
        display: none;
    }
}

@media (max-width: 576px) {
    .particle:nth-child(n+6) {
        display: none;
    }
}

/* Desactivar partículas si el usuario prefiere menos movimiento */
@media (prefers-reduced-motion: reduce) {
    .particles-container {
        display: none;
    }
}
