/* ===== RAIN BUTTON - Purple Modern Design ===== */
.rain-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border: 1px solid rgba(200, 100, 255, 0.4);
    background: linear-gradient(135deg, rgba(120, 50, 180, 0.95) 0%, rgba(100, 30, 160, 0.97) 100%);
    color: #ffffff;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(200, 100, 255, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(20px) saturate(150%);
    position: relative;
    overflow: hidden;
}

.rain-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(200, 100, 255, 0.3), transparent);
    transition: left 0.4s;
}

.rain-btn:hover:not(:disabled)::before {
    left: 100%;
}

.rain-btn:hover:not(:disabled) {
    border-color: rgba(200, 100, 255, 0.6);
    background: linear-gradient(135deg, rgba(140, 70, 200, 0.97) 0%, rgba(120, 50, 180, 0.99) 100%);
    box-shadow: 
        0 6px 20px rgba(200, 100, 255, 0.4),
        0 0 0 1px rgba(200, 100, 255, 0.4);
    transform: translateY(-2px);
}

.rain-btn:active:not(:disabled) {
    transform: translateY(0);
}

.rain-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    border-color: rgba(200, 100, 255, 0.15);
    color: rgba(255, 255, 255, 0.5);
    background: linear-gradient(135deg, rgba(80, 30, 130, 0.7) 0%, rgba(60, 20, 100, 0.75) 100%);
}

/* ===== RAIN OVERLAY ===== */
.rain-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    backdrop-filter: blur(4px);
    pointer-events: auto;
}

.rain-overlay.is-hidden {
    display: none;
    pointer-events: none;
}

.rain-overlay-content {
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: all;
}

.rain-modal {
    background: linear-gradient(135deg, rgba(40, 20, 70, 0.98) 0%, rgba(50, 25, 85, 0.99) 100%);
    border: 2px solid rgba(200, 100, 255, 0.4);
    border-radius: 16px;
    padding: 40px 35px;
    max-width: 700px;
    width: 95%;
    text-align: center;
    box-shadow: 
        0 0 40px rgba(200, 100, 255, 0.25),
        0 0 0 1px rgba(200, 100, 255, 0.2),
        inset 0 0 20px rgba(200, 100, 255, 0.05);
    backdrop-filter: blur(20px) saturate(150%);
}

.rain-title {
    color: #c864ff;
    margin: 0 0 15px 0;
    font-size: 28px;
    letter-spacing: 1.5px;
    font-weight: 700;
    text-shadow: 0 0 20px rgba(200, 100, 255, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    line-height: 1;
}

@media (max-width: 600px) {
    .rain-title {
        font-size: 22px;
        letter-spacing: 1px;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .rain-title {
        font-size: 18px;
        letter-spacing: 0.5px;
        gap: 6px;
    }
}

.rain-timer {
    color: #ffffff;
    margin: 15px 0;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.rain-timer span {
    color: #ff6ec7;
    font-weight: 700;
    font-size: 22px;
    text-shadow: 0 0 10px rgba(255, 110, 199, 0.5);
}

.rain-description {
    color: rgba(255, 255, 255, 0.8);
    margin: 15px 0 30px 0;
    font-size: 14px;
    letter-spacing: 0.3px;
}

.rain-tip-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 12px;
}

.rain-tip-btn {
    padding: 14px 16px;
    border: 1px solid rgba(200, 100, 255, 0.3);
    background: linear-gradient(135deg, rgba(100, 40, 160, 0.9) 0%, rgba(80, 20, 140, 0.92) 100%);
    color: #ffffff;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.rain-tip-btn:hover {
    border-color: rgba(200, 100, 255, 0.6);
    background: linear-gradient(135deg, rgba(120, 60, 180, 0.95) 0%, rgba(100, 40, 160, 0.97) 100%);
    box-shadow: 
        0 0 20px rgba(200, 100, 255, 0.3),
        inset 0 0 10px rgba(200, 100, 255, 0.1);
    transform: translateY(-2px);
}

.rain-tip-btn:active {
    transform: translateY(0);
}

.rain-close-btn {
    width: 100%;
    padding: 12px 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.rain-close-btn:hover {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
}

.rain-close-btn:active {
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 600px) {
    .rain-modal {
        padding: 30px 25px;
    }

    .rain-title {
        font-size: 24px;
    }

    .rain-tip-buttons {
        grid-template-columns: 1fr;
    }
}
