/* ============================================
    ADS SYSTEM - ZELO v3.0
    TEMA: Black & Gold Industrial
    Suporta Native + Banner 468x60
    © 2026 LITE STUDIO
    ============================================ */
.st-ad-block {
    position: relative;
    width: 100%;
    margin: 20px 0;
    padding: 0;
    background: #0a0a0a;
    border: 1px solid rgba(201, 169, 97, 0.15);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.st-ad-label-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 8px 16px;
    background: rgba(201, 169, 97, 0.03);
    border-bottom: 1px solid rgba(201, 169, 97, 0.1);
}

.st-ad-label-dot {
    width: 5px;
    height: 5px;
    background: rgba(201, 169, 97, 0.4);
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(201, 169, 97, 0.3);
}

.st-ad-label-text {
    font-family: var(--font-mono, 'Share Tech Mono', monospace);
    font-size: 0.6rem;
    font-weight: 600;
    color: rgba(201, 169, 97, 0.4);
    letter-spacing: 0.25em;
    text-transform: uppercase;
}

.st-ad-container {
    position: relative;
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    overflow: hidden;
}

/* Container do banner 468x60 */
.st-ad-banner-container {
    min-height: 60px;
    padding: 8px;
}

/* Estado vazio (carregando) */
.st-ad-container:empty::after {
    content: 'Carregando anúncio...';
    font-family: var(--font-mono, 'Share Tech Mono', monospace);
    font-size: 0.62rem;
    color: rgba(255, 255, 255, 0.15);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    animation: stAdBlink 1.8s ease-in-out infinite;
}

@keyframes stAdBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* Linha de brilho no topo */
.st-ad-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(201, 169, 97, 0.3), transparent);
    animation: stAdShimmer 4s ease-in-out infinite;
}

@keyframes stAdShimmer {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* Iframes do Adsterra */
.st-ad-container iframe {
    width: 100% !important;
    max-width: 100% !important;
    border: none !important;
    display: block;
}

/* Banner centralizado */
.st-ad-banner-block .st-ad-container iframe {
    margin: 0 auto;
}

/* Responsivo */
@media (max-width: 380px) {
    .st-ad-block {
        margin: 14px 0;
        border-radius: 10px;
    }
    .st-ad-label-text {
        font-size: 0.55rem;
    }
    .st-ad-container {
        min-height: 70px;
        padding: 8px;
    }
    .st-ad-banner-container {
        min-height: 50px;
    }
}

@media (min-width: 600px) {
    .st-ad-block {
        margin: 28px 0;
    }
    .st-ad-container {
        min-height: 100px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .st-ad-block::before {
        animation: none !important;
    }
    .st-ad-container:empty::after {
        animation: none !important;
    }
}