.shop-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4));
    backdrop-filter: blur(8px);
    display: none;
    /* Hidden by default */
    justify-content: center;
    align-items: center;
    z-index: 1000;
    animation: fadeIn 0.3s ease;
}

.shop-popup-content {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    padding: 3rem;
    border-radius: 28px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.8) inset;
    width: 90%;
    max-width: 480px;
    text-align: center;
    position: relative;
    animation: slideUp 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid rgba(255, 255, 255, 0.9);
}

.close-popup-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    border: none;
    cursor: pointer;
    color: white;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(238, 90, 82, 0.3);
}

.close-popup-btn:hover {
    background: linear-gradient(135deg, #ff5252, #e63946);
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 6px 15px rgba(238, 90, 82, 0.5);
}

.shop-popup-title {
    font-size: 1.35rem;
    background: linear-gradient(135deg, #2c3e50, #34495e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2.5rem;
    line-height: 1.6;
    font-weight: 700;
    padding: 0 1rem;
    letter-spacing: -0.3px;
}

.shop-popup-buttons {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin-top: 1rem;
}

.shop-btn-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.shop-logo-container {
    width: 130px;
    height: 130px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    background: linear-gradient(145deg, #ffffff, #f5f5f5);
    position: relative;
    overflow: hidden;
    padding: 18px;
}

.shop-logo-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.shop-btn-link:hover .shop-logo-container::before {
    transform: translateX(100%);
}

.shop-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.shop-btn-link:hover .shop-logo-container {
    transform: translateY(-8px) scale(1.08);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

.btn-tokopedia .shop-logo-container {
    border: 3px solid #03AC0E;
    background: linear-gradient(145deg, #f0fdf4, #dcfce7);
}

.btn-tokopedia:hover .shop-logo-container {
    border-color: #028a0b;
    background: linear-gradient(145deg, #dcfce7, #bbf7d0);
    box-shadow: 0 15px 40px rgba(3, 172, 14, 0.3);
}

.btn-shopee .shop-logo-container {
    border: 3px solid #EE4D2D;
    background: linear-gradient(145deg, #fff5f3, #ffe8e0);
}

.btn-shopee:hover .shop-logo-container {
    border-color: #d43d1d;
    background: linear-gradient(145deg, #ffe8e0, #ffd4cc);
    box-shadow: 0 15px 40px rgba(238, 77, 45, 0.3);
}

.shop-btn-link:hover .shop-logo {
    transform: scale(1.1) rotate(2deg);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }

    50% {
        transform: translateY(-5px) scale(1.02);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .shop-popup-content {
        padding: 2rem;
        max-width: 90%;
    }

    .shop-popup-buttons {
        gap: 1.5rem;
    }

    .shop-logo-container {
        width: 110px;
        height: 110px;
        padding: 15px;
    }

    .shop-popup-title {
        font-size: 1.15rem;
    }
}