/* ========================================
   COMPOSANT : EVENT BANNER
   ======================================== 
   
   Extrait de : public/assets/css/index-modern.css
   Date d'extraction : 2026-04-15
   Utilisé par : index.php
   Impact : MOYEN (élément visuel principal)
   
   REFACTORING CSS - Phase 2
   
   Contient :
   - Bannière événement
   - Logo événement
   - Informations événement
   - Badges de statut (live/ended/upcoming)
   - Dates événement
   ======================================== */

.event-banner {
    background: linear-gradient(135deg, 
        rgba(255, 111, 177, 0.05) 0%, 
        rgba(165, 107, 255, 0.05) 100%);
    border: 1px solid rgba(255, 111, 177, 0.2);
    border-radius: 24px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
}

.event-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 111, 177, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.banner-content {
    display: flex;
    align-items: center;
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.event-logo {
    max-width: 120px;
    height: auto;
    filter: drop-shadow(0 4px 12px rgba(255, 111, 177, 0.3));
}

.event-info h2 {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.75rem;
}

.event-info h2::after {
    display: none;
}

.event-description {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.event-status-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.event-status-badge.live {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
    animation: pulse-badge 2s ease-in-out infinite;
}

.event-status-badge.ended {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.event-status-badge.upcoming {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.event-dates {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
    margin-top: 0.75rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 111, 177, 0.1);
    border-radius: 8px;
    display: inline-block;
}

/* Animation pulse pour le badge live */
@keyframes pulse-badge {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .event-banner {
        padding: 1.5rem;
    }
    
    .banner-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .event-logo {
        max-width: 100px;
    }
    
    .event-info h2 {
        font-size: 1.5rem;
    }
    
    .event-description {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .event-banner {
        padding: 1rem;
        border-radius: 16px;
    }
    
    .event-logo {
        max-width: 80px;
    }
    
    .event-info h2 {
        font-size: 1.25rem;
    }
}
