#adblock-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    font-family: "Poppins", Arial, sans-serif;
    backdrop-filter: blur(2px);
    animation: fadeIn 0.3s ease;
}

#adblock-popup {
    background: #fff;
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    max-width: 420px;
    width: calc(100% - 40px);
    margin: 0 20px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
    animation: scaleUp 0.3s ease;
}

#adblock-popup h2 {
    margin: 10px 0 8px;
    font-size: 22px;
    font-weight: 600;
    color: #111;
}

#adblock-popup p {
    font-size: 15px;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.5;
}

#adblock-popup button {
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 10px 24px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    transition: filter 0.2s;
    min-width: 120px;
}

#adblock-popup button:hover {
    filter: brightness(0.9);
}

.adblock-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 12px;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scaleUp {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

/* 📱 Адаптация для мобильных */
@media (max-width: 480px) {
    #adblock-popup {
        padding: 30px 20px;
        width: calc(100% - 30px);
        border-radius: 12px;
    }
    #adblock-popup h2 {
        font-size: 18px;
    }
    #adblock-popup p {
        font-size: 14px;
    }
    .adblock-image {
        width: 70px;
        height: 70px;
    }
}
