/* Анимация падающего снега */
.snow-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    overflow: hidden;
}

.snowflake {
    position: absolute;
    top: -50px;
    color: #ffffff;
    font-size: 1em;
    font-family: Arial, sans-serif;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.8);
    user-select: none;
    animation: snowfall linear forwards;
    opacity: 0;
    will-change: transform, opacity;
}

@keyframes snowfall {
    0% {
        transform: translateY(0) translateX(0) rotate(0deg);
        opacity: 0;
    }
    5% {
        opacity: 0.8;
    }
    50% {
        opacity: 1;
    }
    95% {
        opacity: 0.8;
    }
    100% {
        transform: translateY(calc(100vh + 50px)) translateX(var(--drift)) rotate(360deg);
        opacity: 0;
    }
}

/* Разные размеры снежинок */
.snowflake.small {
    font-size: 0.8em;
    animation-duration: 8s;
    animation-delay: 0s;
}

.snowflake.medium {
    font-size: 1em;
    animation-duration: 10s;
    animation-delay: 0s;
}

.snowflake.large {
    font-size: 1.5em;
    animation-duration: 12s;
    animation-delay: 0s;
}

/* Разные символы снежинок */
.snowflake::before {
    content: '❄';
}

/* Альтернативные символы для разнообразия */
.snowflake.alt1::before {
    content: '❅';
}

.snowflake.alt2::before {
    content: '❆';
}

.snowflake.alt3::before {
    content: '✻';
}

/* Улучшенная производительность */
.snow-container {
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

