/* Snowfall Effect - Yangi Yil uchun qor parchalari */
/* Best practice: Hardware-accelerated CSS animations */

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

.snowflake {
    position: absolute;
    top: -10px;
    color: #fff;
    font-size: 1em;
    font-family: Arial, sans-serif;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
    user-select: none;
    pointer-events: none;
    will-change: transform, opacity;
    /* Hardware acceleration */
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000px;
}

/* Smooth falling animation with rotation and side-to-side movement */
@keyframes snowfall {
    0% {
        transform: translate3d(0, -10px, 0) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translate3d(var(--drift), 100vh, 0) rotate(360deg);
        opacity: 0.5;
    }
}

.snowflake {
    animation: snowfall linear infinite;
}
