/* style.css */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;500;800&display=swap');

:root {
    --bg-dark: #020617;
    --bg-card: #0f172a;
    --text: #f8fafc;
    --text-dim: #94a3b8;
    --border: rgba(51, 65, 85, 0.5);
    
    --grad-hub: linear-gradient(135deg, #f8fafc, #64748b);
    --grad-l3e: linear-gradient(135deg, #C4FFA5, #55FDAF, #297B9E);
    --grad-voc: linear-gradient(135deg, #FFB2F1, #7117E0, #2648F5);
    --grad-rr: linear-gradient(135deg, #FFA5A5, #FDD055, #9E5629);
    --grad-hntr: linear-gradient(135deg, #64D0FF, #4D5BFA, #73299E);
    --grad-hntr-sf: linear-gradient(135deg, #FF9F64, #FD557A, #73299E);

    --grad-hub-roll: linear-gradient(135deg, #f8fafc, #64748b);
    --grad-l3e-roll: linear-gradient(135deg, #C4FFA5, #55FDAF, #297B9E, #55FDAF, #C4FFA5);
    --grad-voc-roll: linear-gradient(135deg, #FFB2F1, #7117E0, #2648F5, #7117E0, #FFB2F1);
    --grad-rr-roll: linear-gradient(135deg, #FFA5A5, #FDD055, #9E5629, #FDD055, #FFA5A5);
    --grad-hntr-roll: linear-gradient(135deg, #64D0FF, #4D5BFA, #73299E, #4D5BFA, #64D0FF);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { 
    background-color: var(--bg-dark); color: var(--text); 
    font-family: 'Outfit', sans-serif; line-height: 1.6; 
}

nav {
    display: flex; justify-content: space-between; align-items: center;
    padding: 1.5rem 8%; background: rgba(2, 6, 23, 0.8);
    backdrop-filter: blur(15px); border-bottom: 1px solid var(--border);
    position: sticky; top: 0; z-index: 1000;
}

.logo { 
    font-weight: 800; font-size: 1.3rem; letter-spacing: 1px; text-decoration: none;
    background: var(--grad-hub); 
    -webkit-background-clip: text; 
    background-clip: text; 
    -webkit-text-fill-color: transparent;
}

.nav-links a {
    color: var(--text-dim); text-decoration: none; margin-left: 30px;
    font-size: 0.85rem; font-weight: 500; text-transform: uppercase; transition: 0.4s;
}




/* Fix des dégradés actifs */
body.page-l3e .nav-l3e { 
    /* On applique ton dégradé directement */
    background: var(--grad-l3e-roll);
    
    /* On boost la taille à 200% pour avoir de la matière à faire défiler */
    background-size: 200% auto;
    
    /* Le masque pour le texte */
    -webkit-background-clip: text; 
    background-clip: text; 
    -webkit-text-fill-color: transparent; 
    
    font-weight: 800;
    display: inline-block; /* Sécurité pour le rendu du gradient sur du texte */
    
    /* Animation de translation */
    animation: gradientMove 3s linear infinite;
}

@keyframes gradientMove {
    0% {
        background-position: 0% center;
    }
    100% {
        background-position: 200% center;
    }
}




body.page-hntr .nav-hntr { 
    /* On applique ton dégradé directement */
    background: var(--grad-hntr-roll);
    
    /* On boost la taille à 200% pour avoir de la matière à faire défiler */
    background-size: 200% auto;
    
    /* Le masque pour le texte */
    -webkit-background-clip: text; 
    background-clip: text; 
    -webkit-text-fill-color: transparent; 
    
    font-weight: 800;
    display: inline-block; /* Sécurité pour le rendu du gradient sur du texte */
    
    /* Animation de translation */
    animation: gradientMove 3s linear infinite;
}

@keyframes gradientMove {
    0% {
        background-position: 0% center;
    }
    100% {
        background-position: 200% center;
    }
}





body.page-voc .nav-voc { 
    /* On applique ton dégradé directement */
    background: var(--grad-voc-roll);
    
    /* On boost la taille à 200% pour avoir de la matière à faire défiler */
    background-size: 200% auto;
    
    /* Le masque pour le texte */
    -webkit-background-clip: text; 
    background-clip: text; 
    -webkit-text-fill-color: transparent; 
    
    font-weight: 800;
    display: inline-block; /* Sécurité pour le rendu du gradient sur du texte */
    
    /* Animation de translation */
    animation: gradientMove 3s linear infinite;
}

@keyframes gradientMove {
    0% {
        background-position: 0% center;
    }
    100% {
        background-position: 200% center;
    }
}







body.page-rr .nav-rr { 
    /* On applique ton dégradé directement */
    background: var(--grad-rr-roll);
    
    /* On boost la taille à 200% pour avoir de la matière à faire défiler */
    background-size: 200% auto;
    
    /* Le masque pour le texte */
    -webkit-background-clip: text; 
    background-clip: text; 
    -webkit-text-fill-color: transparent; 
    
    font-weight: 800;
    display: inline-block; /* Sécurité pour le rendu du gradient sur du texte */
    
    /* Animation de translation */
    animation: gradientMove 3s linear infinite;
}

@keyframes gradientMove {
    0% {
        background-position: 0% center;
    }
    100% {
        background-position: 200% center;
    }
}

.container { padding: 80px 8%; max-width: 1300px; margin: auto; }
.hero-title { font-size: 3.5rem; font-weight: 800; margin-bottom: 10px; }
.sub-title { color: var(--text-dim); text-transform: uppercase; letter-spacing: 4px; font-size: 0.9rem; margin-bottom: 60px; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 30px; }
.card {
    background: var(--bg-card); border: 1px solid var(--border);
    padding: 40px; border-radius: 16px; transition: 0.5s cubic-bezier(0.2, 1, 0.3, 1);
}
.card:hover { border-color: rgba(255,255,255,0.3); transform: scale(1.03); box-shadow: 0 20px 40px rgba(0,0,0,0.4); }

.btn {
    display: inline-block; padding: 12px 24px; border-radius: 8px;
    text-decoration: none; color: white; font-weight: 600; font-size: 0.8rem;
    border: 1px solid var(--border); transition: 0.3s;
}
.btn:hover { background: white; color: var(--bg-dark); }

#lock-screen {
    position: fixed; inset: 0;
    background: radial-gradient(circle at center, #1e293b 0%, #020617 100%);
    z-index: 10000; display: none;
    flex-direction: column; align-items: center; justify-content: center;
    text-align: center; color: white;
}

#lock-screen input {
    background: transparent; border: none; border-bottom: 2px solid #334155;
    color: white; padding: 15px; width: 300px; font-size: 1.2rem;
    text-align: center; outline: none; margin: 30px 0; transition: 0.3s;
}

#lock-screen input:focus { border-color: #38bdf8; }







/* On s'assure que le texte est lisible pour les codes secrets */
#access-code {
    font-family: 'Courier New', monospace;
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.3);
}


/* --- BOUTON NAV TERMINAL RETRO --- */

.nav-terminal-btn {
    font-family: 'Courier New', Courier, monospace;
    font-weight: 900;
    font-size: 1.2rem;
    color: #38bdf8;
    text-decoration: none;
    padding: 0 10px;
    margin-left: 15px;
    display: inline-block;
    transition: all 0.2s ease;
    text-shadow: 0 0 8px rgba(56, 189, 248, 0.6);
    animation: terminal-blink 1.5s infinite step-end; /* step-end pour un clignotement sec */
}

.nav-terminal-btn:hover {
    color: #fff;
    text-shadow: 0 0 15px #38bdf8, 0 0 30px #38bdf8;
    transform: scale(1.2);
}

/* Animation de clignotement style curseur DOS */
@keyframes terminal-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Optionnel : Ajoute un petit cadre discret au survol */
.nav-terminal-btn:hover {
    background: rgba(56, 189, 248, 0.1);
    border-radius: 4px;
}



/* On cible précisément la classe que tu as mise dans ton HTML */
body.page-hub {
    height: auto !important;      /* La page peut dépasser la taille de l'écran */
    min-height: 100vh;            /* Elle fait au moins la taille de l'écran */
    overflow-y: auto !important;  /* On force l'apparition du scroll vertical */
    overflow-x: hidden;           /* On évite que ça bouge de gauche à droite */
}

/* On s'assure que le container de la timeline ne bloque rien */
.container {
    height: auto !important;
    overflow: visible !important;
}





/*2. CARD */

/* Grille adaptée */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr)); 
    gap: 40px; /* Espace augmenté entre les cartes pour plus d'air */
    padding: 30px 0;
}

/* Style de la carte Cinema */
.movie-card {
    position: relative;
    background: #0f172a;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.05);
    cursor: pointer;
}

.movie-card:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(56, 189, 248, 0.2);
    z-index: 10;
}

.movie-poster {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9; /* Format YouTube/Film */
}

.movie-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Overlay qui apparaît au survol */
.movie-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(2, 6, 23, 0.95) 10%, rgba(2, 6, 23, 0.4) 50%, transparent 100%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.movie-card:hover .movie-overlay {
    opacity: 1;
}

.movie-info h3 {
    margin: 0;
    font-size: 1.6rem;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.movie-info p {
    color: #94a3b8;
    font-size: 1rem; /* Texte de description plus lisible */
    margin: 12px 0 20px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3; /* On peut afficher 3 lignes maintenant */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Bouton Play stylé */
.play-btn {
    display: inline-block;
    padding: 12px 24px;
    background: #fff;
    color: #000;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.play-btn:hover {
    background: #38bdf8;
    color: #fff;
}




/*3. PLAYLISTE BUTTON*/
.playlist-btn {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    color: #38bdf8;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(56, 189, 248, 0.3);
    transition: all 0.3s ease;
}

.playlist-btn:hover {
    background: rgba(56, 189, 248, 0.1);
    border-color: #38bdf8;
    transform: translateY(-2px);
}

.saison-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border);
    margin-bottom: 10px;
}





/* --- STYLES POUR LA PAGE LIENS --- */

.links-list {
    display: grid;
    /* Créé des colonnes de 180px qui s'adaptent à la largeur de l'écran */
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); 
    gap: 12px;
    max-width: 1000px; /* Plus large pour profiter de l'espace */
    margin: 30px auto;
    padding: 0 20px;
}

.simple-link-item {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 15px 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.2s ease;
    min-height: 50px;
}

/* Effet au survol discret et efficace */
.simple-link-item:hover {
    background: #38bdf8;
    color: #000;
    border-color: #38bdf8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(56, 189, 248, 0.3);
}

/* On enlève définitivement la flèche ou le contenu généré */
.simple-link-item::after, .simple-link-item::before {
    display: none !important;
    content: none !important;
}

/* Mobile : on réduit un peu la taille si besoin */
@media (max-width: 480px) {
    .links-list {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 8px;
    }
    .simple-link-item {
        font-size: 0.85rem;
        padding: 12px 5px;
    }
}

/* --- DESIGN COMPACT AVEC ICONES --- */

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 15px;
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
}

.link-card {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.link-card:hover {
    background: rgba(56, 189, 248, 0.1);
    border-color: #38bdf8;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.link-icon {
    width: 32px;
    height: 32px;
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.link-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.link-title {
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Au survol, le texte change de couleur */
.link-card:hover .link-title {
    color: #38bdf8;
}

/* Mobile */
@media (max-width: 500px) {
    .links-grid {
        grid-template-columns: 1fr;
    }
}


/*Searche bar*/

.search-container {
    max-width: 900px;
    margin: 20px auto;
    padding: 0 20px;
}

#link-search {
    width: 100%;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: white;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
}

#link-search:focus {
    background: rgba(56, 189, 248, 0.05);
    border-color: #38bdf8;
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.2);
}

/* On ajuste un peu la grille pour qu'elle soit collée à la recherche */
.links-grid {
    margin-top: 20px !important;
}




/*5. SEACRH BAR*/

/* Barre de recherche alignée à gauche et stylisée */
.search-container {
    width: 100%;
    margin: 0 0 40px 0; /* Pas de auto pour ne pas centrer */
    padding: 0;
}

#content-search {
    width: 100%;
    max-width: 400px;
    padding: 12px 20px;
    background: var(--bg-card); /* Utilise ton bleu foncé */
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    outline: none;
    transition: all 0.3s ease;
}

#content-search:focus {
    border-color: #38bdf8;
    background: rgba(56, 189, 248, 0.05); /* Léger reflet bleu au focus */
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.1);
}

#content-search::placeholder {
    color: var(--text-dim);
    opacity: 0.5;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1px;
}

.lyrics-modal {
    position: fixed; inset: 0; background: rgba(2, 6, 23, 0.9);
    z-index: 10000; display: none; align-items: center; justify-content: center;
    backdrop-filter: blur(10px); padding: 20px;
}
.lyrics-content {
    background: #0f172a; border: 1px solid #38bdf8; border-radius: 12px;
    width: 100%; max-width: 500px; max-height: 70vh; display: flex; flex-direction: column;
}
.lyrics-header { 
    padding: 15px; border-bottom: 1px solid rgba(56, 189, 248, 0.2); 
    display: flex; justify-content: space-between; 
}
.lyrics-body { 
    padding: 25px 40px 25px 25px; /* Un peu plus de place à droite pour la scrollbar */
    overflow-y: auto; 
    white-space: pre-wrap; 
    text-align: center; 
    color: #94a3b8; 
    font-size: 0.95rem; 
}

.lyrics-body::-webkit-scrollbar {
    width: 6px;
}

/* Le fond de la barre (rail) */
.lyrics-body::-webkit-scrollbar-track {
    background: rgba(15, 23, 42, 0.5); /* Couleur de ta carte */
    border-radius: 10px;
}

/* La partie qui bouge (le curseur) */
.lyrics-body::-webkit-scrollbar-thumb {
    background: #38bdf8; /* Ton bleu fétiche */
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.5);
}

/* Effet au survol du curseur */
.lyrics-body::-webkit-scrollbar-thumb:hover {
    background: #fff;
    box-shadow: 0 0 15px #38bdf8;
}

.close-lyrics { background: none; border: none; color: #38bdf8; cursor: pointer; font-size: 1.2rem; }




/*6. TIME LINE*/

/* --- TIMELINE DYNAMIQUE --- */
.main-timeline {
    position: relative;
    max-width: 900px;
    margin: 40px auto;
    padding-left: 50px;
    border-left: 2px solid rgba(255, 255, 255, 0.1);
}

.year-marker {
    background: #0f172a;
    border: 1px solid #64748b; 
    color: #f8fafc;
    display: inline-block;
    padding: 5px 15px;
    font-weight: 800;
    font-size: 0.8rem;
    border-radius: 4px;
    margin: 40px 0 20px -72px;
    position: relative;
    z-index: 2;
    text-transform: uppercase;
}

.t-item {
    position: relative; 
    background: rgba(15, 23, 42, 0.8);
    border-radius: 6px;
    padding: 20px; 
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease;
}

.t-item:hover {
    transform: translateX(10px);
    background: rgba(30, 41, 59, 0.9);
}

/* Bordures gauches avec dégradés verticaux (90deg -> 180deg) */
.t-item.l3e { border-left: 5px solid; border-image: linear-gradient(180deg, #C4FFA5, #55FDAF, #297B9E) 1; }
.t-item.voc { border-left: 5px solid; border-image: linear-gradient(180deg, #FFB2F1, #7117E0, #2648F5) 1; }
.t-item.rr  { border-left: 5px solid; border-image: linear-gradient(180deg, #FFA5A5, #FDD055, #9E5629) 1; }
.t-item.hntr { border-left: 5px solid; border-image: linear-gradient(180deg, #64D0FF, #4D5BFA, #73299E) 1; }
.t-item.hntr-sf { border-left: 5px solid; border-image: linear-gradient(180deg, #FF9F64, #FD557A, #73299E) 1; }

.t-label {
    font-size: 0.6rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.3); /* Très discret */
    letter-spacing: 1.5px;
    margin-right: 5px;
}

.t-sep {
    margin: 0 15px;
    color: rgba(255, 255, 255, 0.1);
    font-weight: 200;
}

/* Nombre d'épisodes à côté du titre */
.t-ep-count {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.3);
    font-weight: 400;
    margin-left: 10px;
}

/* On s'assure que les dates de séries ne wrapent pas trop mochement */
.t-date {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
    color: #8c9baf;
}

.t-content h3 {
    font-size: 1.25rem;
    margin: 5px 0;
    padding-right: 90px; 
    font-weight: 900;
}


p.t-item-desc{
    font-size: 0.9rem;
    color: #636f7a;
}

/* On s'assure que le contenu texte ne colle pas au badge */
.t-content p {
    margin-bottom: 0; 
}

/* Badges de type : Version Slim */
.t-type-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 0.65rem; 
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 3px 8px;
    border-radius: 3px;
    color: #000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.l3e .t-type-badge { background: var(--grad-l3e); }
.voc .t-type-badge { background: var(--grad-voc); color: #fff; }
.rr  .t-type-badge { background: var(--grad-rr); }
.hntr .t-type-badge { background: var(--grad-hntr); color: #fff; }
.hntr-sf .t-type-badge { background: var(--grad-hntr-sf); color: #fff; }

.t-status {
    font-size: 0.65rem;
    color: #f8fafc;
    opacity: 0.5;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 8px;
    margin-top: 10px;
    display: inline-block;
    font-style: italic;
}


/* Container du badge */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 10px;
    border-radius: 4px;
    margin-top: 15px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 1px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    text-transform: uppercase;
}

.st-icon {
    font-size: 0.8rem;
    filter: drop-shadow(0 0 2px rgba(0,0,0,0.5));
}

/* 1. EN COURS (Priorité maximale - Pulsation) */
.st-live { 
    color: #4ade80; 
    border-color: rgba(74, 222, 128, 0.5);
    background: rgba(74, 222, 128, 0.15);
    box-shadow: 0 0 15px rgba(74, 222, 128, 0.15);
    animation: status-pulse 2s infinite ease-in-out;
}

/* 2. POST-PRODUCTION (Visible et technique) */
.st-post { 
    color: #fbbf24; /* Ambre/Jaune chaud */
    border-color: rgba(251, 191, 36, 0.6);
    background: rgba(251, 191, 36, 0.1);
    font-weight: 900;
    text-shadow: 0 0 8px rgba(251, 191, 36, 0.2);
}

/* 3. PRÉVUE (Discret / Futur) */
.st-planned { 
    color: #94a3b8; 
    border-color: rgba(148, 163, 184, 0.3);
}

/* 4. TERMINER (Grisé / Archivé) */
.st-done { 
    color: rgba(255, 255, 255, 0.3); /* Très grisé */
    border-color: rgba(255, 255, 255, 0.05);
    background: transparent;
}

.st-done .st-icon {
    filter: grayscale(1) opacity(0.3);
}






/* Animations */
@keyframes status-pulse {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.02); }
    100% { opacity: 1; transform: scale(1); }
}


/* --- ÉTAT ARCHIVÉ (TERMINÉ) - DOSAGE FIN --- */
.t-item.is-done {
    filter: grayscale(0.5) opacity(0.8); /* Moins gris (0.5 au lieu de 0.8) et plus opaque */
    background: rgba(15, 23, 42, 0.6); 
    border-color: rgba(255, 255, 255, 0.05);
}

/* On garde quand même un petit effet au survol pour montrer que c'est interactif */
.t-item.is-done:hover {
    filter: grayscale(0.2) opacity(1);
    background: rgba(30, 41, 59, 0.8);
    transform: translateX(5px);
}

/* On réduit l'impact des bordures de saga sans les supprimer totalement */
.t-item.is-done.l3e { border-left-color: rgba(196, 255, 165, 0.2) !important; }
.t-item.is-done.voc { border-left-color: rgba(255, 178, 241, 0.2) !important; }
.t-item.is-done.rr  { border-left-color: rgba(255, 165, 165, 0.2) !important; }
.t-item.is-done.hntr { border-left-color: rgba(100, 208, 255, 0.2) !important; }
.t-item.is-done.hntr-sf { border-left-color: rgba(255, 227, 100, 0.2) !important; }

/* Le badge de type reste aussi un peu plus visible */
.is-done .t-type-badge {
    opacity: 0.6;
}

















/*7. HUB*/

/* Grille du Hub */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
}

.hub-news-card {
    background: var(--bg-card);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: transform 0.3s ease, border-color 0.3s;
}

.hub-news-card:hover {
    transform: translateY(-10px);
    border-color: #38bdf8;
}

.hub-news-img {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
}

.hub-news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hub-news-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0,0,0,0.8);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 800;
    backdrop-filter: blur(5px);
}

.hub-news-content {
    padding: 20px;
}

.hub-news-saga {
    font-size: 0.65rem;
    font-weight: 900;
    color: #38bdf8;
    letter-spacing: 2px;
}

.hub-news-content h2 {
    margin: 8px 0;
    font-size: 1.5rem;
    color: #fff;
}

.hub-news-content p {
    font-size: 0.9rem;
    color: var(--text-dim);
    line-height: 1.5;
    margin-bottom: 20px;
}

.hub-btn-more {
    display: inline-block;
    padding: 10px 20px;
    background: rgba(255,255,255,0.05);
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.75rem;
    font-weight: 800;
    transition: 0.2s;
}

.hub-btn-more:hover {
    background: #fff;
    color: #000;
}