/* Festive Particles - Only on dark backgrounds */
.festive-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #ffd700;
    border-radius: 50%;
    animation: float 6s infinite linear;
    opacity: 0.7;
}

.particle:nth-child(odd) {
    background: #ff6b6b;
    animation-duration: 8s;
}

.particle:nth-child(3n) {
    background: #00bfff;
    animation-duration: 10s;
}

.particle:nth-child(4n) {
    background: #8a2be2;
    animation-duration: 7s;
}

.particle:nth-child(5n) {
    background: #ffa500;
    animation-duration: 9s;
}

@keyframes float {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.7;
    }
    90% {
        opacity: 0.7;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

/* Confetti Animation */
.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    background: #ffd700;
    animation: confetti-fall 3s infinite linear;
}

.confetti:nth-child(odd) {
    background: #ff6b6b;
    animation-duration: 4s;
}

.confetti:nth-child(3n) {
    background: #00bfff;
    animation-duration: 3.5s;
}

.confetti:nth-child(4n) {
    background: #8a2be2;
    animation-duration: 2.5s;
}

@keyframes confetti-fall {
    0% {
        transform: translateY(-100px) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(720deg);
        opacity: 0;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .particle {
        width: 3px;
        height: 3px;
    }
    
    .confetti {
        width: 8px;
        height: 8px;
    }
}
