.vk-popup-overlay {
    position: fixed;
    inset: 0;
    z-index: 999999;
    background: rgba(0, 0, 0, 0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.vk-popup-modal {
    position: relative;
    background: #fff;
    color: #333;
    width: 100%;
    max-width: 460px;
    max-height: 90vh;
    overflow-y: auto;
    box-sizing: border-box;
    border-radius: 16px;
    padding: 40px 32px 32px;
    text-align: center;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
    font-family: inherit;
}

.vk-popup-modal h2 {
    font-size: 25px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 20px;
}

.vk-popup-modal p {
    font-size: 16px;
    line-height: 1.6;
    margin: 0 0 18px;
}

.vk-popup-modal .vk-popup-invite {
    font-weight: 600;
}

.vk-popup-close {
    position: absolute;
    top: 12px;
    right: 16px;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 30px;
    line-height: 1;
    color: #777;
}

.vk-popup-button {
    display: inline-block;
    font-size: 24px;
    line-height: 1.45833em;
    padding: 13px 40px 12px;
    border-radius: 50px;
    color: #fff !important;
    background: linear-gradient(85.77deg, #3c7cc1, #87e0b7);
    border: 0;
    font-weight: 700;
    text-decoration: none !important;
    text-align: center;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.vk-popup-button:hover {
    opacity: 0.85;
    color: #fff !important;
    text-decoration: none !important;
}

@media (max-width: 480px) {
    .vk-popup-modal {
        padding: 40px 22px 26px;
    }

    .vk-popup-modal h2 {
        font-size: 21px;
    }

    .vk-popup-modal p {
        font-size: 15px;
    }

    .vk-popup-button {
        font-size: 18px;
        padding: 12px 25px;
    }
}

.index-popular {
    display: none !important;
}