/* ==========================
   MOBILE ONLY POPUP
   File: assets/css/mobile-popup.css
========================== */

.mobile-popup-overlay {
    display: none;
}

@media (max-width: 768px) {
    .mobile-popup-overlay {
        position: fixed;
        inset: 0;
        z-index: 99999;
        background: rgba(0, 0, 0, 0.78);
        display: none;
        align-items: center;
        justify-content: center;
        padding: 18px;
        backdrop-filter: blur(5px);
    }

    .mobile-popup-overlay.show {
        display: flex;
    }

    .mobile-popup-box {
        position: relative;
        width: 100%;
        max-width: 370px;
        border-radius: 24px;
        overflow: hidden;
        background: linear-gradient(180deg, #171717, #050505);
        border: 2px solid rgba(255, 215, 0, 0.9);
        box-shadow: 0 0 28px rgba(255, 193, 7, 0.45), 0 15px 40px rgba(0, 0, 0, 0.45);
        animation: mobilePopupZoom 0.35s ease;
    }

    .mobile-popup-img {
        width: 100%;
        height: auto;
        display: block;
        background: #111;
    }

    .mobile-popup-btn {
        display: block;
        margin: 16px;
        padding: 15px 18px;
        text-align: center;
        text-decoration: none;
        font-size: 16px;
        font-weight: 900;
        letter-spacing: 0.5px;
        color: #151515;
        background: linear-gradient(135deg, #ffe259, #ffa751);
        border-radius: 15px;
        box-shadow: 0 8px 18px rgba(255, 174, 0, 0.45);
        -webkit-tap-highlight-color: transparent;
    }

    .mobile-popup-btn:active {
        transform: scale(0.98);
    }

    .mobile-popup-close {
        position: absolute;
        top: 10px;
        right: 10px;
        width: 34px;
        height: 34px;
        border: 1px solid rgba(255, 255, 255, 0.25);
        border-radius: 999px;
        background: rgba(0, 0, 0, 0.68);
        color: #fff;
        font-size: 25px;
        line-height: 30px;
        cursor: pointer;
        z-index: 2;
    }

    @keyframes mobilePopupZoom {
        from {
            opacity: 0;
            transform: scale(0.88) translateY(12px);
        }
        to {
            opacity: 1;
            transform: scale(1) translateY(0);
        }
    }
}
