/* Ana sayfa kampanya popup (tek HTML belgesi — stiller head’de yüklenir) */
.popup-overlay {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
}

.popup {
    width: 100%;
    max-width: 420px;
    border-radius: 22px;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at top right, rgba(255, 120, 120, 0.35), transparent 30%),
        radial-gradient(circle at bottom left, rgba(255, 0, 0, 0.28), transparent 35%),
        linear-gradient(135deg, #5a0000 0%, #9f0000 45%, #d50000 100%);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.12);
    animation: promoPopupIn 0.35s ease;
}

@keyframes promoPopupIn {
    from {
        opacity: 0;
        transform: translateY(18px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.popup-inner {
    padding: 24px 20px 22px;
    text-align: center;
}

.popup-badge {
    display: inline-block;
    margin-bottom: 14px;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.18);
    letter-spacing: 0.3px;
}

.popup-title {
    margin: 0 0 16px;
    font-size: 28px;
    line-height: 1.15;
    font-weight: 800;
    text-transform: uppercase;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.28);
}

.offer-box {
    margin: 0 0 12px;
    padding: 14px 12px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(3px);
}

.offer-box strong {
    display: block;
    font-size: 22px;
    line-height: 1.2;
    margin-bottom: 4px;
}

.offer-box span {
    display: block;
    font-size: 15px;
    line-height: 1.35;
    opacity: 0.96;
}

.popup-text {
    margin: 18px 0 20px;
    font-size: 16px;
    line-height: 1.45;
    font-weight: 700;
}

.popup-btn {
    display: inline-block;
    width: 100%;
    padding: 16px 18px;
    border-radius: 16px;
    text-decoration: none;
    color: #8b0000;
    background: linear-gradient(180deg, #fff 0%, #ffe6e6 100%);
    font-weight: 800;
    font-size: 16px;
    text-transform: uppercase;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.popup-btn:hover {
    transform: translateY(-1px);
    opacity: 0.96;
}

.popup-close {
    position: absolute;
    top: 12px;
    right: 14px;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    color: #fff;
    font-size: 20px;
    line-height: 1;
    background: rgba(255, 255, 255, 0.14);
}

.popup-wrap {
    position: relative;
    width: 100%;
    max-width: 420px;
}

.popup-overlay.hidden {
    display: none;
}

@media (max-width: 480px) {
    .popup-title {
        font-size: 24px;
    }

    .offer-box strong {
        font-size: 20px;
    }

    .popup-text {
        font-size: 15px;
    }

    .popup-btn {
        font-size: 15px;
        padding: 15px 16px;
    }
}
