/* ===== APP ZONE OFFER POPUP — MINI VERSION ===== */

.dk-offer-popup {
    position: fixed;
    right: -200px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9999;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Segoe UI', Roboto, system-ui, sans-serif;
}

.dk-offer-popup.active {
    right: 12px;
}

.dk-popup-inner {
    background: #fff;
    border-radius: 16px;
    padding: 0.7rem;
    width: 140px;
    text-align: center;
    box-shadow: 0 10px 35px rgba(124, 58, 237, 0.25);
    border: 2px solid #7c3aed;
    position: relative;
    animation: dk-pulse 2s ease-in-out infinite;
}

@keyframes dk-pulse {
    0%, 100% { box-shadow: 0 10px 35px rgba(124, 58, 237, 0.25); }
    50% { box-shadow: 0 10px 45px rgba(124, 58, 237, 0.45); }
}

/* Close Button (+) */
.dk-popup-close {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 22px;
    height: 22px;
    background: #7c3aed;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 700;
    transition: 0.3s;
    padding: 0;
    line-height: 1;
    transform: rotate(45deg);
}

.dk-popup-close:hover {
    background: #5b21b6;
    transform: rotate(135deg) scale(1.15);
}

/* Round Image */
.dk-popup-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ede9fe, #f5f3ff);
    margin: 0 auto 0.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 2px solid #7c3aed;
    font-size: 1.4rem;
    color: #7c3aed;
    box-shadow: 0 3px 10px rgba(124, 58, 237, 0.25);
}

.dk-popup-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Badge */
.dk-popup-badge {
    display: inline-block;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
    padding: 0.1rem 0.5rem;
    border-radius: 40px;
    font-size: 0.55rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    letter-spacing: 0.2px;
    animation: dk-blink 1.5s ease-in-out infinite;
}

@keyframes dk-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.75; }
}

/* App Name */
.dk-popup-title {
    font-size: 0.75rem;
    font-weight: 700;
    color: #0b1120;
    margin-bottom: 0.3rem;
    line-height: 1.2;
}

/* Button */
.dk-popup-btn {
    display: block;
    background: #7c3aed;
    color: #fff;
    padding: 0.35rem 0.7rem;
    border-radius: 40px;
    text-decoration: none;
    font-size: 0.68rem;
    font-weight: 700;
    transition: 0.2s;
    border: 2px solid #7c3aed;
}

.dk-popup-btn:hover {
    background: transparent;
    color: #7c3aed;
    transform: translateY(-2px);
}

/* Mobile (और छोटा) */
@media (max-width: 480px) {
    .dk-popup-inner {
        width: 120px;
        padding: 0.6rem;
        border-radius: 14px;
    }
    .dk-popup-image {
        width: 42px;
        height: 42px;
        font-size: 1.2rem;
    }
    .dk-popup-title {
        font-size: 0.68rem;
    }
    .dk-popup-btn {
        font-size: 0.62rem;
        padding: 0.3rem 0.6rem;
    }
    .dk-popup-badge {
        font-size: 0.5rem;
    }
    .dk-popup-close {
        width: 20px;
        height: 20px;
        font-size: 0.6rem;
        top: -7px;
        right: -7px;
    }
    .dk-offer-popup.active {
        right: 8px;
    }
}