/* ========== Rainy İndirim Popup ========== */

.rainy-popup-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(13, 33, 55, 0.6);
    backdrop-filter: blur(6px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.rainy-popup-overlay.rainy-popup-visible {
    opacity: 1;
    visibility: visible;
}

.rainy-popup-overlay.rainy-popup-visible .rainy-popup-modal {
    transform: scale(1);
    opacity: 1;
}

.rainy-popup-modal {
    position: relative;
    width: 100%;
    max-width: 480px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 24px 48px rgba(13, 33, 55, 0.2), 0 0 0 1px rgba(255, 255, 255, 0.1);
    overflow: hidden;
    transform: scale(0.92);
    opacity: 0;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
}

.rainy-popup-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: rgba(13, 33, 55, 0.08);
    color: #0d2137;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.rainy-popup-close:hover {
    background: rgba(13, 33, 55, 0.15);
    color: #0d2137;
}

.rainy-popup-close:focus {
    outline: 2px solid #0d2137;
    outline-offset: 2px;
}

.rainy-popup-image-wrap {
    width: 100%;
    height: 180px;
    background: linear-gradient(135deg, #0d2137 0%, #1a3a5c 100%);
    overflow: hidden;
}

.rainy-popup-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rainy-popup-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 3rem;
}

.rainy-popup-body {
    padding: 1.5rem 1.75rem 1.75rem;
}

.rainy-popup-badge {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    background: linear-gradient(135deg, #e53e3e 0%, #c53030 100%);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 6px;
    margin-bottom: 0.75rem;
}

.rainy-popup-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #0d2137;
    margin: 0 0 0.5rem;
    line-height: 1.3;
}

.rainy-popup-desc {
    font-size: 0.95rem;
    color: #4a5568;
    line-height: 1.55;
    margin: 0 0 1.25rem;
}

.rainy-popup-cta {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #0d2137 0%, #1a3a5c 100%);
    color: #fff !important;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 10px;
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
    cursor: pointer;
}

.rainy-popup-cta:hover {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(13, 33, 55, 0.3);
}

.rainy-popup-cta:focus {
    outline: 2px solid #0d2137;
    outline-offset: 2px;
}

@media (min-width: 480px) {
    .rainy-popup-modal {
        max-width: 520px;
    }
    .rainy-popup-image-wrap {
        height: 200px;
    }
    .rainy-popup-title {
        font-size: 1.5rem;
    }
}
