/* weather.css */

/* --- Weather Container --- */
.weather-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1000;
    overflow: hidden;
}

/* --- Rain Effect --- */
@keyframes fall {
    to {
        transform: translateY(100vh);
    }
}

.raindrop {
    position: absolute;
    bottom: 100%;
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.4));
    animation: fall linear infinite;
}

/* --- Thunder Effect --- */
@keyframes flash {
    0%, 100% {
        opacity: 0;
    }
    10%, 20%, 30%, 100% {
        opacity: 0;
    }
    12%, 22%, 33% {
        opacity: 0.6;
        background-color: #d0d8e0;
    }
}

.thunder-flash {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #fff;
    opacity: 0;
    z-index: 999;
    animation: flash 6s infinite;
}

/* --- Snow Effect --- */
@keyframes fall-snow {
    to {
        transform: translateY(100vh) rotate(360deg);
    }
}

.snowflake {
    position: absolute;
    top: -20px;
    color: #fff;
    font-size: 1rem;
    animation: fall-snow linear infinite;
    opacity: 0.8;
    text-shadow: 0 0 5px #fff;
}

/* --- Falling Leaves Effect --- */
@keyframes fall-leaves {
    to {
        transform: translateY(100vh) rotate(720deg);
    }
}

.leaf {
    position: absolute;
    top: -20px;
    color: #ff8c00;
    font-size: 1.2rem;
    animation: fall-leaves linear infinite;
}
