/* 雨水背景效果 - 真实水滴 */
.rain-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.raindrop {
    position: absolute;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 80% 10% 80% 10% / 50% 40% 50% 40%;
    box-shadow: 
        0 0 10px rgba(255, 255, 255, 0.5),
        inset 0 0 5px rgba(255, 255, 255, 0.8);
    animation: rainFall linear infinite;
    opacity: 0;
    filter: blur(0.5px);
}

.raindrop::before {
    content: '';
    position: absolute;
    top: 10%;
    left: 20%;
    width: 20%;
    height: 20%;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    filter: blur(1px);
}

@keyframes rainFall {
    0% {
        transform: translateY(-100px) rotate(0deg) scale(0.8);
        opacity: 0;
    }
    10% {
        opacity: 0.7;
    }
    90% {
        opacity: 0.7;
    }
    100% {
        transform: translateY(100vh) rotate(10deg) scale(1);
        opacity: 0;
    }
}

/* 水滴溅起效果 */
.raindrop::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 120%;
    height: 10px;
    background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.4) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0;
    animation: splash 0.3s ease-out 0.9s;
}

@keyframes splash {
    0% {
        opacity: 0;
        transform: translateX(-50%) scale(0.5);
    }
    50% {
        opacity: 0.5;
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) scale(1.2);
    }
}

/* 雨滴数量控制 */
.rain-container {
    position: relative;
    width: 100%;
    height: 100%;
}