.snow-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    pointer-events: none;
    z-index: 99999;
    display: flex;
    justify-content: center;
}

.snowflake {
    position: absolute;
    color: white;
    width: var(--size);
    height: var(--size);
    top: -40px; /* Start slightly above viewport */
    left: var(--start-x);
    opacity: 0;
    
    /* Explicitly reset background and border to ensure no circles */
    background: transparent !important;
    border-radius: 0 !important;
    
    /* Animation */
    animation: snow-fall var(--duration) var(--delay) linear var(--iteration-count);
}

.snowflake svg {
    width: 100%;
    height: 100%;
    fill: white !important;
    display: block;
    color: white !important; /* For currentcolor */
    filter: drop-shadow(0 0 2px rgba(255,255,255,0.8));
}

/* Override selection color to prevent theme primary color inheritance */
.snowflake::selection,
.snowflake *::selection {
    background: transparent !important;
    color: white !important;
}

@keyframes snow-fall {
    0% {
        opacity: 1;
        transform: translate(0, 0) rotate(0deg);
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translate(var(--sway), 100vh) rotate(360deg);
    }
}
