/* Banner de Propaganda com Overlay */

/* Overlay de fundo escuro */
.ad-banner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

/* Overlay visível */
.ad-banner-overlay.show {
    opacity: 1;
    visibility: visible;
}

/* Container do banner */
.ad-banner-content {
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 2.5rem;
    max-width: 600px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: translateY(30px);
    transition: transform 0.4s ease;
    animation: slideUp 0.5s ease forwards;
}

.ad-banner-overlay.show .ad-banner-content {
    transform: translateY(0);
}

/* Animação de entrada */
@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Botão de fechar */
.ad-banner-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #ffffff;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.ad-banner-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

/* Corpo do banner */
.ad-banner-body {
    text-align: center;
    color: #ffffff;
}

.ad-banner-body i {
    color: #ffd700;
    margin-bottom: 1rem;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

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

    50% {
        transform: scale(1.1);
    }
}

.ad-banner-body h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.ad-banner-body p {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
}

.ad-banner-body .text-muted {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
}

.ad-banner-body .mb-3 {
    margin-bottom: 1rem;
}

/* Botão de ação (opcional) */
.ad-banner-btn {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.75rem 2rem;
    background: #ffffff;
    color: #667eea;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.ad-banner-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background: #f0f0f0;
}

/* Responsividade */
@media (max-width: 768px) {
    .ad-banner-content {
        padding: 2rem 1.5rem;
        max-width: 95%;
    }

    .ad-banner-body h2 {
        font-size: 1.5rem;
    }

    .ad-banner-body p {
        font-size: 1rem;
    }

    .ad-banner-close {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .ad-banner-content {
        padding: 1.5rem 1rem;
    }

    .ad-banner-body h2 {
        font-size: 1.3rem;
    }

    .ad-banner-body p {
        font-size: 0.95rem;
    }

    .ad-banner-body i {
        font-size: 2.5rem !important;
    }
}