.vpn-popup {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1100;
    pointer-events: none;
}

.vpn-popup.hidden {
    display: none !important;
}

.vpn-popup__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(10px);
    pointer-events: all;
    opacity: 0;
    animation: vpnOverlayFade 0.26s ease forwards;
}

.vpn-popup__sheet {
    position: relative;
    width: min(340px, calc(100% - 32px));
    background: #d9d9d9;
    color: #1a1b1f;
    border-radius: 18px;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.32);
    border: 1px solid #c2c5c8;
    padding: 26px 22px 0 22px;
    text-align: center;
    font-family: 'Inter', 'SF Pro Display', 'SF Pro Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    pointer-events: all;
    transform: translateY(12px) scale(0.98);
    opacity: 0;
    animation: vpnPopupSlideUp 0.28s ease forwards;
}

.vpn-popup__title {
    font-size: 17px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin: 2px 0 10px;
    color: #131416;
}

.vpn-popup__subtitle {
    margin: 0 2px 20px;
    color: #25272a;
    font-size: 15px;
    line-height: 1.55;
    letter-spacing: 0.01em;
}

.vpn-popup__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid #aeb2b4;
    margin: 0 -22px -2px;
}

.vpn-popup__btn {
    border: none;
    background: transparent;
    height: 56px;
    font-size: 16px;
    font-weight: 700;
    color: #2f3438;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.12s ease;
}

.vpn-popup__btn:active {
    background: rgba(0, 0, 0, 0.06);
    transform: scale(0.98);
}

.vpn-popup__btn + .vpn-popup__btn {
    border-left: 1px solid #aeb2b4;
}

.vpn-popup__btn--primary {
    font-weight: 800;
    color: #0f1114;
}

.vpn-popup__btn--ghost {
    color: #4a4f53;
}

@keyframes vpnPopupSlideUp {
    from {
        opacity: 0;
        transform: translateY(18px) scale(0.97);
    }

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

@keyframes vpnOverlayFade {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@media (max-width: 480px) {
    .vpn-popup__sheet {
        width: calc(100% - 24px);
        padding: 24px 18px 0 18px;
    }

    .vpn-popup__actions {
        margin: 0 -18px -2px;
    }
}

