/* --- AD MANAGER STYLES (Smart AdBlock) --- */
.ad-unit-wrap {
    display: block;
    width: 100%;
    margin: 30px 0;
    position: relative;
    overflow: hidden;
    min-height: 120px;
    /* Prevent collapse */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.ad-layer-content {
    position: relative;
    z-index: 2;
    transition: opacity 0.3s ease;
    width: 100%;
}

.ad-label {
    display: block;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    opacity: 0.6;
    margin-bottom: 8px;
    text-align: center;
}

.ad-slot-inner {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 90px;
}

/* Fallback Layer (Initially Hidden) */
.ad-fallback-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    background: color-mix(in oklab, var(--surface-1) 50%, transparent);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.4s ease;
}

/* BLOCKED STATE: Hide Content, Show Fallback */
.ad-unit-wrap.is-blocked .ad-layer-content {
    opacity: 0;
    pointer-events: none;
}

.ad-unit-wrap.is-blocked .ad-fallback-layer {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 5;
}

/* Support Message Styling */
.support-msg {
    max-width: 400px;
}

.support-icon {
    font-size: 24px;
    margin-bottom: 8px;
    animation: heartbeat 1.5s infinite;
}

.support-title {
    font-weight: 800;
    color: var(--text-headings);
    margin-bottom: 6px;
    font-size: 1rem;
}

.support-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

@keyframes heartbeat {
    0% {
        transform: scale(1);
    }

    15% {
        transform: scale(1.15);
    }

    30% {
        transform: scale(1);
    }

    45% {
        transform: scale(1.15);
    }

    60% {
        transform: scale(1);
    }

    100% {
        transform: scale(1);
    }
}