/* Importe tes styles de base ou redéclare les variables pour être sûr */
:root {
    --primary-color: #8A2BE2;
    --primary-glow: rgba(138, 43, 226, 0.5);
    --bg-dark: #07050f;
    --bg-card: rgba(20, 15, 38, 0.6);
    --text-main: #ffffff;
    --text-muted: #b3aed2;
}

/* Appliquer le fond identique à ta page d'accueil */
body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Segoe UI', Roboto, sans-serif;
    min-height: 100vh;
}

/* Harmonisation du Header (tu peux réutiliser la classe .main-header de ton accueil) */
#main-header {
    position: relative;
    overflow: hidden;
    /* Pour que l'animation ne déborde pas */
    padding: 40px 0;
    text-align: center;
    background: #07050f;
    border-bottom: 1px solid rgba(138, 43, 226, 0.3);
}

.page-wrapper {
    display: flex;
    flex-direction: column;
    /* Force les éléments à s'empiler verticalement */
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

/* Effet de fond en boucle */
.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #07050f, #1a122e, #07050f);
    background-size: 200% 200%;
    animation: gradientShift 10s ease infinite;
    z-index: 1;
}

.schedule-row {
    display: flex;
    gap: 20px;
    justify-content: center;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Texte par-dessus l'animation */
.brand-logo {
    position: relative;
    z-index: 2;
    /* Important pour être devant le fond */
    font-size: 3rem;
    font-weight: 800;
    color: white;
    letter-spacing: 2px;
}

.separator {
    color: var(--primary-color);
    margin: 0 10px;
}

.brand-logo {
    font-size: 3.5rem;
    /* Très gros pour le style */
    font-weight: 900;
    letter-spacing: 5px;
    color: #ffffff;
    text-transform: uppercase;
    cursor: default;
    /* Effet de lueur légère sur le texte blanc */
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.purple-text {
    color: var(--primary-color);
    /* Ton violet */
    /* Lueur néon intense sur la partie DIR */
    text-shadow: 0 0 15px var(--primary-color),
        0 0 30px var(--primary-color);
}

/* Zone du lecteur vidéo (utilise le style .video-container de ton accueil) */
#video-zone {
    max-width: 900px;
    margin: 40px auto 0px auto;
    aspect-ratio: 16 / 9;
    border-radius: 15px;
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid rgba(138, 43, 226, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Style du message hors-ligne pour qu'il ressemble à tes cartes */
.offline-msg {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    text-align: center;
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    padding: 40px;
}

.offline-msg h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--text-main);
}

/* Bouton S'abonner (style .btn-primary) */
.btn-sub {
    display: inline-block;
    padding: 12px 30px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-sub:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px var(--primary-glow);
}

/* Section habitudes et autres (utilise .social-card) */
.info-section,
.community-cta {
    max-width: 800px;
    margin: 30px auto;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    margin-top: 0px;
}


/* La carte de droite (rejoindre) doit pouvoir être plus large */
.community-cta {
    width: 100%;
    /* Prend toute la largeur en dessous */
    background: var(--bg-card);
    border: 1px solid rgba(138, 43, 226, 0.4);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
}

.community-cta h3 {
    margin: 0 0 10px 0;
    color: var(--text-main);
}

.community-cta p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

.schedule-header {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 20px;
}

.schedule-title {
    font-family: 'Rajdhani', sans-serif;
    font-size: 2rem;
    font-weight: 900;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

.schedule-container {
    display: flex;
    flex-wrap: wrap;
    /* Permet aux cartes de passer en dessous sur écran étroit */
    gap: 20px;
    justify-content: center;
    align-items: flex-start;
    /* Aligne les cartes en haut */
}

/* Force les 3 cartes d'horaires à prendre la même place */
.schedule-card {
    flex: 1;
    max-width: 370px;
    /* Ajoute cette ligne pour limiter la largeur */
    background: var(--bg-card);
    border: 1px solid rgba(138, 43, 226, 0.4);
    border-radius: 12px;
    padding: 20px;
}

.schedule-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.schedule-card ul,
.schedule-card p {
    list-style: none;
    padding: 0;
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.schedule-list-dash li {
    word-wrap: break-word;
    overflow-wrap: break-word;
    margin-bottom: 6px;
}

a {
    color: var(--primary-color);
    /* Utilise ton violet Lolo26DIR */
    font-style: italic;
    /* Texte en italique */
    text-decoration: none;
    /* Supprime le soulignement */
    transition: opacity 0.3s ease;
}

/* Effet au survol (optionnel, pour plus de dynamisme) */
a:hover {
    opacity: 0.8;
    filter: brightness(1.2);
    /* Donne un petit éclat au survol */
}

/* ========================================================
   DESIGN DE LA BULLE D'INFO AVEC TOOLTIP (SURVOL)
   ======================================================== */

.info-tooltip-wrapper {
    position: absolute;
    /* Aligne le bouton directement par rapport au conteneur principal */
    right: calc(50% - 510px);
    /* Se cale pile sur le bord droit de ta zone vidéo */
    top: 740px;
    /* Aligne le bouton à la hauteur parfaite à côté du bouton violet */
    z-index: 10;
}

.tooltip-container {
    position: relative;
    display: inline-block;
    cursor: help;
}

/* Le petit bouton rond contenant le '!' */
.info-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    /* Change 20px par 40px */
    height: 40px;
    /* Change 20px par 40px */
    background-color: rgba(138, 43, 226, 0.1);
    border: 1px solid var(--primary-color);
    color: var(--text-muted);
    border-radius: 50%;
    font-size: 20px;
    /* Change 12px par 18px pour que le "!" soit bien proportionnel */
    font-weight: 900;
    font-family: 'Rajdhani', sans-serif;
    transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

/* Effet au survol de la zone */
.tooltip-container:hover .info-icon {
    background-color: var(--primary-color);
    color: #ffffff;
    box-shadow: 0 0 10px var(--primary-glow);
}

/* La bulle de texte masquée par défaut */
.tooltip-text {
    visibility: hidden;
    width: 280px;
    background: #0f0b24;
    color: #ffffff;
    text-align: center;
    border: 1px solid rgba(138, 43, 226, 0.6);
    border-radius: 8px;
    padding: 10px 14px;
    position: absolute;
    z-index: 99;
    bottom: 135%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
    font-size: 0.85rem;
    font-family: 'Segoe UI', sans-serif;
    line-height: 1.4;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
    pointer-events: none;
}

/* Petite flèche sous la bulle */
.tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: #0f0b24 transparent transparent transparent;
}

/* Affichage progressif au survol */
.tooltip-container:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
    transform: translateX(-50%) translateY(-2px);
}

/* Réduction des espaces (gaps rouges) autour du bouton violet */
#offline-actions {
    margin-top: -10px !important;
    /* Rapproche le bouton violet du stream */
    margin-bottom: 5px !important;
    /* Rapproche les cartes du planning sous le bouton */
}