        .popup-overlay {
            position: fixed;
            inset: 0;
            z-index: 9999;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 16px;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.4s ease, visibility 0.4s ease;
        }
        .popup-overlay.active {
            opacity: 1;
            visibility: visible;
        }
        .popup-backdrop {
            position: absolute;
            inset: 0;
            background: rgba(0, 0, 0, 0.65);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
        }
        .popup-container {
            position: relative;
            border-radius: 18px;
            width: 100%;
            max-width: 700px;
            overflow: hidden;
            box-shadow: 0 30px 80px rgba(0,0,0,0.45);
            transform: translateY(50px) scale(0.92);
            transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
        }
        .popup-overlay.active .popup-container {
            transform: translateY(0) scale(1);
        }
        .popup-close-btn {
            position: absolute;
            top: 12px;
            right: 12px;
            z-index: 10;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            border: 2px solid rgba(255,255,255,0.4);
            background: rgba(0,0,0,0.55);
            color: #fff;
            font-size: 18px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.25s ease;
            backdrop-filter: blur(4px);
        }
        .popup-close-btn:hover {
            background: rgba(220, 38, 38, 0.9);
            border-color: rgba(220, 38, 38, 0.9);
            transform: rotate(90deg) scale(1.1);
        }
        .popup-slide img {
            width: 100%;
            height: auto;
            display: block;
            border-radius: 18px;
        }
        /* Dot indicators for multiple popups */
        .popup-dots {
            display: flex;
            justify-content: center;
            gap: 8px;
            padding: 14px 0 0;
        }
        .popup-dot {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background: rgba(255,255,255,0.4);
            border: 2px solid rgba(255,255,255,0.6);
            cursor: pointer;
            transition: all 0.3s ease;
            padding: 0;
        }
        .popup-dot.active {
            background: #fff;
            border-color: #fff;
            width: 28px;
            border-radius: 5px;
        }
        @media (max-width: 640px) {
            .popup-container {
                max-width: 95%;
            }
        }
