/* Styles pour la page calendrier - Style TheHub cohérent */

/* Bouton de retour */
.back-button {
    display: inline-flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
    text-decoration: none;
}

.back-button:hover {
    color: white;
}

.back-button svg {
    transition: transform 0.3s ease;
}

.back-button:hover svg {
    transform: translateX(-4px);
}

/* Contrôles du calendrier */
.calendar-controls {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1.5rem;
    padding: 2rem;
    margin-bottom: 2rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.week-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.nav-btn, .today-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.nav-btn {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.today-btn {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
}

.today-btn:hover {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.3);
}

.today-btn svg {
    margin-right: 0.5rem;
}

.week-info {
    text-align: center;
    flex: 1;
    margin: 0 1rem;
}

.current-week {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
}

/* Filtres */
.filters {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.view-filter, .streamer-filter, .game-filter {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 200px;
}

.filters label {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    font-size: 0.875rem;
}

.filters select {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.5rem;
    padding: 0.75rem;
    color: white;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.filters select:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.15);
}

.filters select option {
    background: #1a1a2e;
    color: white;
}

/* Calendrier principal */
.weekly-calendar {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1.5rem;
    overflow: hidden;
    display: flex;
    min-height: 400px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Colonne des heures */
.time-column {
    width: 100px;
    background: rgba(255, 255, 255, 0.05);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

.time-header {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem 1rem;
    text-align: center;
    font-weight: 700;
    color: white;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.875rem;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.time-slot {
    padding: 0.75rem 0.5rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    position: relative;
}

.time-slot::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.05);
    z-index: 1;
}

.time-slot:last-child::after {
    display: none;
}

/* Grille des jours */
.days-grid {
    display: flex;
    flex: 1;
    min-height: 400px;
}

.day-column {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
}

.day-column:last-child {
    border-right: none;
}

/* En-tête des jours */
.day-header {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem 1rem;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
    height: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.day-name {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.day-number {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
}

/* Événements */
.day-events {
    flex: 1;
    position: relative;
    padding: 0;
}

.hour-slot {
    height: 40px;
    position: relative;
    padding: 0;
    overflow: visible;
}

.hour-slot::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.05);
    z-index: 1;
}

.hour-slot:last-child::after {
    display: none;
}

.event {
    position: absolute;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.1));
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.75rem;
    padding: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    z-index: 10;
    overflow: hidden;
    margin: 0;
    left: 0;
    right: 0;
    width: 100%;
}

.event:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    z-index: 1000;
}

.event-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.streamer-logo {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.event-time-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    flex-shrink: 0;
}

.event-time {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.75rem;
    font-weight: 600;
}

.event-duration {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.625rem;
}

.live-indicator {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    animation: pulse 2s infinite;
    flex-shrink: 0;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.event-content {
    color: white;
}

.event-title {
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.game-logo {
    font-size: 0.875rem;
    margin-right: 0.25rem;
}

/* Couleurs spécifiques par streamer */
.streamer-gamingpro {
    border-left: 4px solid #3b82f6;
}

.streamer-gamingpro:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(59, 130, 246, 0.1));
}

.streamer-techstream {
    border-left: 4px solid #10b981;
}

.streamer-techstream:hover {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(16, 185, 129, 0.1));
}

.streamer-artstream {
    border-left: 4px solid #8b5cf6;
}

.streamer-artstream:hover {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(139, 92, 246, 0.1));
}

.streamer-nightgamer {
    border-left: 4px solid #f59e0b;
}

.streamer-nightgamer:hover {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(245, 158, 11, 0.1));
}

.streamer-eventmaster {
    border-left: 4px solid #ef4444;
}

.streamer-eventmaster:hover {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.2), rgba(239, 68, 68, 0.1));
}

/* Vue quotidienne */
.daily-view .day-column {
    flex: none;
    width: 100%;
}

.single-day {
    width: 100% !important;
}

/* Modal d'événement */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.8));
    backdrop-filter: blur(10px);
    align-items: center;
    justify-content: center;
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        backdrop-filter: blur(0px);
    }
    to {
        opacity: 1;
        backdrop-filter: blur(10px);
    }
}

.modal-content {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 2rem;
    padding: 0;
    width: 90%;
    max-width: 700px;
    max-height: 90vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    position: relative;
    animation: modalSlideIn 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.1);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9) rotateX(10deg);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1) rotateX(0deg);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2.5rem 2.5rem 1.5rem 2.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border-radius: 2rem 2rem 0 0;
    flex-shrink: 0;
}

.modal-header h2 {
    color: white;
    font-size: 1.75rem;
    font-weight: 800;
    margin: 0;
    background: linear-gradient(135deg, #ffffff, #e2e8f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.close {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.5rem;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    position: relative;
}

.close::before {
    content: "×";
    position: absolute;
    top: 48%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.8rem;
    font-weight: 300;
}

.close:hover {
    color: white;
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.modal-body {
    padding: 2.5rem;
    color: white;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    flex: 1;
    overflow-y: auto;
}

.modal-streamer-info {
    display: flex;
    align-items: center;
    margin-bottom: 2.5rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(139, 92, 246, 0.15));
    border-radius: 1.5rem;
    border: 1px solid rgba(168, 85, 247, 0.3);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 25px rgba(168, 85, 247, 0.2);
}

.modal-streamer-logo {
    font-size: 4rem;
    margin-right: 1.5rem;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.modal-streamer-details h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 0 0.75rem 0;
    background: linear-gradient(135deg, #ffffff, #e2e8f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modal-streamer-status {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    font-weight: 700;
    margin: 0;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    animation: pulse 2s infinite;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
}

.modal-event-details {
    margin-bottom: 2rem;
}

.modal-time-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.modal-time {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.2), rgba(22, 163, 74, 0.15));
    border: 1px solid rgba(34, 197, 94, 0.3);
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.2);
}

.modal-duration {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.2), rgba(245, 158, 11, 0.15));
    border: 1px solid rgba(251, 191, 36, 0.3);
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.2);
}

.modal-date {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(139, 92, 246, 0.15));
    border: 1px solid rgba(168, 85, 247, 0.3);
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.2);
}

.modal-time, .modal-duration, .modal-date {
    padding: 1.5rem;
    border-radius: 1rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.modal-time:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.4);
    border-color: rgba(34, 197, 94, 0.5);
}

.modal-duration:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(251, 191, 36, 0.4);
    border-color: rgba(251, 191, 36, 0.5);
}

.modal-date:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(168, 85, 247, 0.4);
    border-color: rgba(168, 85, 247, 0.5);
}

.modal-time-label, .modal-duration-label, .modal-date-label {
    display: block;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.modal-time span:last-child, .modal-duration span:last-child, .modal-date span:last-child {
    font-size: 1.25rem;
    font-weight: 800;
    color: white;
    background: linear-gradient(135deg, #ffffff, #e2e8f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modal-game-info {
    display: flex;
    align-items: center;
    margin-bottom: 2.5rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(37, 99, 235, 0.15));
    border-radius: 1.5rem;
    border: 1px solid rgba(59, 130, 246, 0.3);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.2);
}

.modal-game-logo {
    font-size: 3rem;
    margin-right: 1.5rem;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.modal-game-details h4 {
    font-size: 1.375rem;
    font-weight: 800;
    margin: 0 0 0.75rem 0;
    background: linear-gradient(135deg, #ffffff, #e2e8f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modal-game-description {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-size: 1rem;
    font-weight: 500;
}

.modal-description {
    margin-bottom: 2.5rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border-radius: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-description h4 {
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0 0 1.5rem 0;
    color: white;
    background: linear-gradient(135deg, #ffffff, #e2e8f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modal-description p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin: 0;
    font-size: 1rem;
    font-weight: 500;
}

.modal-actions {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.modal-btn {
    padding: 1rem 2rem;
    border-radius: 1rem;
    font-weight: 700;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    flex: 1;
    min-width: 180px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    overflow: hidden;
}

.watch-btn {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.3);
}

.watch-btn:hover {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(239, 68, 68, 0.4);
}

.follow-btn {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(139, 92, 246, 0.15));
    color: white;
    border: 1px solid rgba(168, 85, 247, 0.3);
    backdrop-filter: blur(10px);
}

.follow-btn:hover {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.3), rgba(139, 92, 246, 0.25));
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(168, 85, 247, 0.3);
    border-color: rgba(168, 85, 247, 0.4);
}

/* Responsive */
@media (max-width: 1024px) {
    .filters {
        flex-direction: column;
        align-items: center;
    }
    
    .view-filter, .streamer-filter, .game-filter {
        min-width: 250px;
    }
}

@media (max-width: 768px) {
    .weekly-calendar {
        flex-direction: column;
    }
    
    .time-column {
        width: 100%;
        display: flex;
        overflow-x: auto;
        order: 2;
    }
    
    .time-header {
        min-width: 80px;
        flex-shrink: 0;
    }
    
    .time-slot {
        min-width: 80px;
        flex-shrink: 0;
    }
    
    .days-grid {
        flex-direction: column;
        order: 1;
    }
    
    .day-column {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .day-column:last-child {
        border-bottom: none;
    }
    
    .event {
        position: relative;
        margin-bottom: 0.5rem;
        width: 100% !important;
        left: 0 !important;
    }
    
    .modal-content {
        margin: 1rem;
        width: calc(100% - 2rem);
        max-height: calc(100vh - 2rem);
    }
    
    .modal-header, .modal-body {
        padding: 1.5rem;
    }
    
    .modal-time-info {
        grid-template-columns: 1fr;
    }
    
    .modal-actions {
        flex-direction: column;
    }
    
    .modal-btn {
        flex: none;
    }
}

/* Styles pour la timeline des streams */
.streams-timeline {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    margin-top: 2rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.timeline-header {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.timeline-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin: 0 0 0.5rem 0;
    background: linear-gradient(135deg, #ffffff, #e2e8f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.timeline-subtitle {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.timeline-container {
    padding: 0;
}

.timeline-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0;
    min-height: 400px;
}

.timeline-day {
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    min-height: 400px;
    display: flex;
    flex-direction: column;
}

.timeline-day:last-child {
    border-right: none;
}

.day-header {
    padding: 1rem 0.5rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}

.day-name {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.day-number {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
}

.day-streams {
    padding: 0.5rem;
    flex: 1;
    overflow-y: auto;
}

.stream-item {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.75rem;
    padding: 1rem;
    margin-bottom: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    height: 320px;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.stream-item:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.1));
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Badge multi-jours */
.stream-badge {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    z-index: 10;
}

.badge {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: white;
}

.badge-start {
    background: linear-gradient(135deg, #10b981, #059669);
    box-shadow: 0 2px 4px rgba(16, 185, 129, 0.3);
}

.badge-end {
    background: linear-gradient(135deg, #a855f7, #9333ea);
    box-shadow: 0 2px 4px rgba(168, 85, 247, 0.3);
}

.badge-middle {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    box-shadow: 0 2px 4px rgba(99, 102, 241, 0.3);
}

/* Heures du stream */
.stream-hours {
    font-size: 1rem;
    font-weight: 700;
    color: white;
    margin-top: 1.5rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.time-line {
    line-height: 1.2;
}

/* Section streamer */
.streamer-section {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.75rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.streamer-icon {
    font-size: 1.5rem;
}

.streamer-name {
    font-size: 1rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Titre du stream */
.stream-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: white;
    line-height: 1.4;
    margin-bottom: 0.75rem;
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.75rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Jeu */
.stream-game {
    font-size: 0.9rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.5rem;
    border-radius: 0.375rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Footer avec durée et LIVE */
.stream-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.5rem;
}

.duration {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.3), rgba(139, 92, 246, 0.25));
    color: white;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 700;
    border: 1px solid rgba(168, 85, 247, 0.5);
    box-shadow: 0 2px 4px rgba(168, 85, 247, 0.2);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.live-badge {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    animation: pulse 2s infinite;
    box-shadow: 0 2px 4px rgba(239, 68, 68, 0.3);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.stream-time {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    grid-row: 2;
}

.time-start, .time-end {
    font-size: 0.75rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.time-separator {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
}

.stream-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    grid-row: 3;
    overflow: hidden;
}

.streamer-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
}

.streamer-logo {
    font-size: 1rem;
}

.streamer-name {
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
}

.stream-title {
    font-size: 0.875rem;
    font-weight: 700;
    color: white;
    line-height: 1.3;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.stream-game {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.stream-duration {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(139, 92, 246, 0.15));
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid rgba(168, 85, 247, 0.3);
    text-align: center;
    grid-row: 4;
}

.stream-status {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    grid-row: 5;
}

.multi-day-indicator {
    grid-row: 1;
    display: flex;
    gap: 0.25rem;
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    z-index: 10;
}

.day-indicator {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.day-indicator.start {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.3), rgba(16, 185, 129, 0.25));
    color: #ffffff;
    border: 1px solid rgba(16, 185, 129, 0.5);
    box-shadow: 0 2px 4px rgba(16, 185, 129, 0.2);
}

.day-indicator.end {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.3), rgba(139, 92, 246, 0.25));
    color: #ffffff;
    border: 1px solid rgba(168, 85, 247, 0.5);
    box-shadow: 0 2px 4px rgba(168, 85, 247, 0.2);
}

.day-indicator.middle {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.3), rgba(139, 92, 246, 0.25));
    color: #ffffff;
    border: 1px solid rgba(168, 85, 247, 0.5);
    box-shadow: 0 2px 4px rgba(168, 85, 247, 0.2);
}

/* Styles pour les streams multi-jours */
.stream-item.first-day {
    border-left: 4px solid #10b981;
}

.stream-item.last-day {
    border-left: 4px solid #a855f7;
}

.stream-item.middle-day {
    border-left: 4px solid #a855f7;
}

.live-indicator {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    padding: 0.125rem 0.5rem;
    border-radius: 0.375rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    animation: pulse 2s infinite;
}

.no-streams {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
}

.no-streams-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    opacity: 0.7;
}

.no-streams-text {
    font-size: 0.75rem;
}

.no-streams-week {
    text-align: center;
    padding: 4rem 2rem;
    color: rgba(255, 255, 255, 0.7);
}

.no-streams-week .no-streams-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    opacity: 0.7;
}

.no-streams-week h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin: 0 0 1rem 0;
}

.no-streams-week p {
    margin: 0;
    font-size: 1rem;
}

/* Couleurs spécifiques par streamer pour timeline */
.streamer-gamingpro {
    border-left: 4px solid #3b82f6;
}

.streamer-gamingpro:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(59, 130, 246, 0.1));
}

.streamer-techstream {
    border-left: 4px solid #10b981;
}

.streamer-techstream:hover {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(16, 185, 129, 0.1));
}

.streamer-artstream {
    border-left: 4px solid #8b5cf6;
}

.streamer-artstream:hover {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(139, 92, 246, 0.1));
}

.streamer-nightgamer {
    border-left: 4px solid #f59e0b;
}

.streamer-nightgamer:hover {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(245, 158, 11, 0.1));
}

.streamer-eventmaster {
    border-left: 4px solid #ef4444;
}

.streamer-eventmaster:hover {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.2), rgba(239, 68, 68, 0.1));
}

/* Responsive pour timeline */
@media (max-width: 1024px) {
    .timeline-days {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .timeline-days {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .timeline-day {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .timeline-day:last-child {
        border-bottom: none;
    }
    
    .stream-item {
        padding: 0.5rem;
    }
    
    .timeline-header h2 {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .timeline-days {
        grid-template-columns: 1fr;
    }
    
    .timeline-day {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .timeline-day:last-child {
        border-bottom: none;
    }
}

@media (max-width: 640px) {
    .stream-item {
        padding: 0.75rem;
    }
    
    .day-header {
        padding: 1rem 0.75rem;
    }
    
    .day-streams {
        padding: 0.75rem;
    }
}

@media (max-width: 640px) {
    .week-nav {
        flex-direction: column;
        gap: 1rem;
    }
    
    .week-info {
        margin: 0;
    }
    
    .nav-btn, .today-btn {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
    
    .event-title {
        font-size: 0.625rem;
    }
    
    .event-time {
        font-size: 0.625rem;
    }
    
    .event-duration {
        font-size: 0.5rem;
    }
    
    .time-slot {
        height: 50px;
        font-size: 0.625rem;
    }
    
    .hour-slot {
        height: 50px;
    }
}