/**
 * Стили для эффекта падающего снега
 * Отображается только на десктопных устройствах
 */

/* Контейнер для снега */
.snow-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9998;
    overflow: hidden;
}

/* Снежинка */
.snowflake {
    position: absolute;
    top: -50px;
    color: #fff;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.8);
    animation: snowfall linear infinite;
    user-select: none;
    pointer-events: none;
}

/* Анимация падения снега */
@keyframes snowfall {
    0% {
        transform: translateY(-50px) translateX(0);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(100vh) translateX(var(--drift, 0));
        opacity: 0;
    }
}

/* Скрываем на мобильных и планшетах */
@media screen and (max-width: 1023px) {
    .snow-container {
        display: none !important;
    }
}

/* Дополнительная вариация для более реалистичного движения */
.snowflake:nth-child(3n) {
    animation-timing-function: ease-in-out;
}

.snowflake:nth-child(3n+1) {
    animation-timing-function: ease-in;
}

.snowflake:nth-child(3n+2) {
    animation-timing-function: ease-out;
}