/* ============================================
   WINTER SNOWFALL - Only snowflakes
   Keep original site colors
   ============================================ */

/* Снежинки - легкие, субтильные */
.snowflakes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    overflow: hidden;
}

.snowflake {
    position: absolute;
    top: -20px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1rem;
    text-shadow: 0 0 3px rgba(255, 255, 255, 0.2);
    animation: snowfall linear infinite;
    will-change: transform;
}

@keyframes snowfall {
    0% {
        transform: translateY(-20px) rotate(0deg);
        opacity: 0.8;
    }
    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0.2;
    }
}

/* Позиции снежинок */
.snowflake:nth-child(1) { left: 5%; animation-duration: 15s; animation-delay: 0s; font-size: 0.8rem; }
.snowflake:nth-child(2) { left: 15%; animation-duration: 12s; animation-delay: 2s; font-size: 1rem; }
.snowflake:nth-child(3) { left: 25%; animation-duration: 18s; animation-delay: 4s; font-size: 0.6rem; }
.snowflake:nth-child(4) { left: 35%; animation-duration: 14s; animation-delay: 1s; font-size: 0.9rem; }
.snowflake:nth-child(5) { left: 45%; animation-duration: 16s; animation-delay: 3s; font-size: 0.7rem; }
.snowflake:nth-child(6) { left: 55%; animation-duration: 13s; animation-delay: 5s; font-size: 1.1rem; }
.snowflake:nth-child(7) { left: 65%; animation-duration: 17s; animation-delay: 2.5s; font-size: 0.65rem; }
.snowflake:nth-child(8) { left: 75%; animation-duration: 11s; animation-delay: 0.5s; font-size: 0.85rem; }
.snowflake:nth-child(9) { left: 85%; animation-duration: 19s; animation-delay: 4.5s; font-size: 0.75rem; }
.snowflake:nth-child(10) { left: 95%; animation-duration: 14s; animation-delay: 1.5s; font-size: 0.95rem; }

/* Скрыть часть снежинок на мобильных */
@media (max-width: 768px) {
    .snowflake {
        font-size: 0.6rem;
    }

    .snowflake:nth-child(n+6) {
        display: none;
    }
}

/* Disable animations for reduced motion */
@media (prefers-reduced-motion: reduce) {
    .snowflake {
        animation: none;
    }

    .snowflakes {
        display: none;
    }
}
