/* Styles pour les publicités */
.ad-container {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border: 2px solid #e0e7ff;
    border-radius: 12px;
    padding: 20px;
    margin: 30px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.ad-container::before {
    content: 'PUBLICITÉ';
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 0.65rem;
    color: #9ca3af;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.ad-banner {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.ad-banner:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.12);
}

.ad-banner h3 {
    color: #1e40af;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.ad-banner p {
    color: #4b5563;
    margin-bottom: 15px;
    line-height: 1.6;
}

.ad-cta {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 12px 30px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.ad-cta:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}

/* Sidebar Ad */
.ad-sidebar {
    position: sticky;
    top: 90px;
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.ad-sidebar-label {
    font-size: 0.65rem;
    color: #9ca3af;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
    display: block;
}

/* Responsive */
@media (max-width: 768px) {
    .ad-container {
        margin: 20px 0;
        padding: 15px;
    }
    
    .ad-banner h3 {
        font-size: 1.1rem;
    }
    
    .ad-sidebar {
        position: relative;
        top: 0;
    }
}

/* Premium badge pour cacher les pubs */
.premium-badge {
    display: inline-block;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: 10px;
}

/* Ad-free badge pour utilisateurs premium */
.ad-free-message {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    margin: 20px 0;
}
