/* ads.css - Estilos para monetização BSR */
:root {
    --ad-bg: rgba(255,255,255,0.04);
    --ad-border: rgba(255,255,255,0.08);
    --ad-text: rgba(255,255,255,0.4);
}

/* ── LABEL PUBLICIDADE ── */
.ad-label {
    font-size: 0.55rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--ad-text);
    text-align: center;
    margin-bottom: 4px;
    font-weight: 700;
    background: rgba(255,255,255,0.03);
    padding: 2px 0;
    border-radius: 2px;
}

/* ── SIDEBAR ADS ── */
#ad-sidebar {
    margin-bottom: 16px;
    min-height: 260px;
    background: var(--ad-bg);
    border: 1px solid var(--ad-border);
    border-radius: 16px;
    padding: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
#ad-sidebar .adsbygoogle {
    min-height: 250px;
}

/* ── HERO ADS ── */
#ad-hero {
    margin: 20px 0 24px;
    min-height: 90px;
    background: var(--ad-bg);
    border: 1px solid var(--ad-border);
    border-radius: 16px;
    padding: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
#ad-hero .adsbygoogle {
    min-height: 90px;
}

/* ── IN-FEED ADS (entre cards) ── */
.ad-feed-item {
    grid-column: 1 / -1;
    min-height: 120px;
    background: var(--ad-bg);
    border: 1px solid var(--ad-border);
    border-radius: 16px;
    padding: 8px;
    margin: 4px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.ad-feed-item .adsbygoogle {
    min-height: 90px;
    width: 100%;
}

/* ── STICKY FOOTER (FIXO) ── */
.sticky-ad-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9998;
    background: rgba(2, 8, 20, 0.95);
    backdrop-filter: blur(12px);
    border-top: 1px solid rgba(25, 219, 113, 0.15);
    padding: 6px 12px 8px;
    box-shadow: 0 -8px 30px rgba(0,0,0,0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 70px;
    transition: transform 0.3s ease;
}
.sticky-ad-footer .ad-container {
    width: 100%;
    max-width: 728px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.sticky-ad-footer .adsbygoogle {
    min-height: 50px;
    width: 100%;
}
.sticky-close-btn {
    position: absolute;
    top: -12px;
    right: 8px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    color: #fff;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
    z-index: 9999;
}
.sticky-close-btn:hover {
    background: #ff4444;
    border-color: #ff4444;
    transform: scale(1.1);
}

/* ── PLACEHOLDER (enquanto não tem AdSense) ── */
.placeholder-ad {
    display: block;
    width: 100%;
    text-decoration: none;
    color: inherit;
}
.placeholder-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 18px 12px;
    background: linear-gradient(135deg, rgba(25,219,113,0.05), rgba(0,140,255,0.05));
    border: 1px dashed rgba(25,219,113,0.3);
    border-radius: 12px;
    transition: 0.25s ease;
    min-height: 90px;
}
.placeholder-content:hover {
    background: rgba(25,219,113,0.08);
    border-color: var(--green);
    transform: scale(1.01);
}
.placeholder-icon { font-size: 1.8rem; margin-bottom: 4px; }
.placeholder-text {
    font-weight: 700;
    font-size: 0.9rem;
    color: #fff;
    letter-spacing: 0.5px;
}
.placeholder-cta {
    font-size: 0.7rem;
    color: var(--green);
    font-weight: 600;
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ── RESPONSIVO ── */
@media (max-width: 640px) {
    .sticky-ad-footer {
        padding: 4px 8px 6px;
        min-height: 60px;
    }
    .sticky-close-btn {
        top: -10px;
        right: 4px;
        width: 22px;
        height: 22px;
        font-size: 11px;
    }
    #ad-sidebar { min-height: 200px; }
    .ad-feed-item { min-height: 100px; }
    .placeholder-content { min-height: 70px; padding: 12px 8px; }
    .placeholder-text { font-size: 0.75rem; }
}