html, body {
    height: 100%;
    margin: 0;
    overflow: hidden;
}

/* 🌲 Forest background */
body {
    background:
        linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.85)),
        url("ff-bg.jpg");
    background-size: cover;
    background-position: center;
}

/* Rain layers */
.rain {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.front-row { z-index: 6; }
.mid-row   { z-index: 5; opacity: 0.7; }
.back-row  { z-index: 4; opacity: 0.4; }

/* Raindrop */
.drop {
    position: absolute;
    top: 0;
    width: 14px;
    height: 140px;
    animation: drop linear infinite;
}

/* Falling */
@keyframes drop {
    0% { transform: translateY(0); }
    75% { transform: translateY(90vh); }
    100% { transform: translateY(90vh); }
}

/* Rain streak */
.stem {
    width: 1.3px;
    height: 65%;
    margin-left: 7px;
    background: linear-gradient(
        to bottom,
        rgba(255,255,255,0),
        rgba(255,255,255,0.8)
    );
}

/* Splash */
.splat {
    width: 16px;
    height: 10px;
    border-top: 2px dotted rgba(255,255,255,0.7);
    border-radius: 50%;
    transform: scale(0);
    animation: splat 0.4s linear infinite;
}

@keyframes splat {
    0% { transform: scale(0); opacity: 1; }
    80% { transform: scale(0); opacity: 1; }
    100% { transform: scale(1.8); opacity: 0; }
}