/* Snowfall Container */
#snow-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    /* Allows clicking through snowflakes */
    z-index: 9999;
    /* High Z-index to be on top */
    overflow: hidden;
}

/* Individual Snowflake */
.snowflake {
    position: absolute;
    top: -10px;
    background: white;
    border-radius: 50%;
    opacity: 0.8;
    pointer-events: none;
    animation-name: fall;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

/* Keyframes for falling animation */
@keyframes fall {
    0% {
        transform: translateY(-10px) translateX(0) rotate(0deg);
        opacity: 0.8;
    }

    100% {
        transform: translateY(100vh) translateX(20px) rotate(360deg);
        /* Slight drift and rotation */
        opacity: 0;
    }
}

/* Toggle Button Styling */
#snow-toggle {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 10000;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    padding: 10px 15px;
    border-radius: 30px;
    cursor: pointer;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 14px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#snow-toggle:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

#snow-toggle.is-hidden {
    display: none;
}

/* Image Snowflake Variant */
.snowflake.image-flake {
    background: transparent;
    background-image: url('../images/snowflake.png');
    background-size: contain;
    background-repeat: no-repeat;
    border-radius: 0;
    /* No circle for images */
}

/* Reindeer Styles */
.reindeer {
    position: absolute;
    background-image: url('../images/mavixy-raindeer.png');
    background-size: contain;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 10001;
}