/*!
 * Anti-Adblock Detector â€” Overlay Styles
 * Pair with anti-adblock.js
 */

.aab-overlay {
    position: fixed;
    inset: 0;
    z-index: 99980;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;

    background: rgba(8, 16, 43, 0.35);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);

    opacity: 0;
    transition: opacity 0.25s ease;
}

.aab-overlay.aab-visible {
    opacity: 1;
}

.aab-box {
    position: relative;
    max-width: 420px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 36px 30px 30px;
    border-radius: 20px;

    background: rgba(255, 255, 255, 0.85);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.18);

    transform: scale(0.92);
    transition: transform 0.25s ease;
}

.aab-overlay.aab-visible .aab-box {
    transform: scale(1);
}

.aab-icon {
    width: 50px;
    height: 50px;
    fill: #d32f2f !important;
    margin-bottom: 6px;
}

.aab-box h2 {
    margin: 8px 0 12px;
    font-size: 1.25rem;
    font-weight: 800;
    color: #08102b;
}

.aab-box p {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.7;
    color: #2a2f45;
}

.aab-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 50%;
    background: rgba(8, 16, 43, 0.08);
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.aab-close:hover {
    background: rgba(8, 16, 43, 0.16);
    transform: scale(1.06);
}

.aab-close svg {
    width: 16px;
    height: 16px;
    fill: #08102b;
}

/* Dark mode support, matches your existing pattern */
.darkMode .aab-overlay {
    background: rgba(0, 0, 0, 0.45);
}

.darkMode .aab-box {
    background: rgba(30, 30, 35, 0.82);
}

.darkMode .aab-box h2,
.darkMode .aab-box p {
    color: #f5f5f7;
}

.darkMode .aab-close {
    background: rgba(255, 255, 255, 0.1);
}

.darkMode .aab-close:hover {
    background: rgba(255, 255, 255, 0.18);
}

.darkMode .aab-close svg {
    fill: #f5f5f7;
}