/* --- STYLE : DARK PURPLE RGB - FINAL (V2 - GRID MENU + LOCO) --- */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;800&display=swap');

body {
    background-color: #181818;
    color: #FFFFFF;
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

/* --- ANIMATIONS GLOBALES --- */
@keyframes rgbHaloAnim {
    0% { box-shadow: 0 0 10px #ff0000, 0 0 20px #ff0000; border-color: #ff0000; }
    33% { box-shadow: 0 0 10px #00ff00, 0 0 20px #00ff00; border-color: #00ff00; }
    66% { box-shadow: 0 0 10px #0000ff, 0 0 20px #0000ff; border-color: #0000ff; }
    100% { box-shadow: 0 0 10px #ff0000, 0 0 20px #ff0000; border-color: #ff0000; }
}

@keyframes physicalPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes xmasFloat {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-5px) rotate(5deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

/* --- LAYOUT --- */
.top-container { width: 95%; max-width: 1400px; padding: 20px 0; display: flex; flex-direction: column; gap: 20px; }

/* --- NAVIGATION (SYSTEME GRID POUR CENTRAGE PARFAIT) --- */
.vienna-nav {
    display: grid;
    /* 3 colonnes : Gauche (1 part), Centre (Auto), Droite (1 part) */
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 10px 20px;
    border-bottom: 1px solid #b43abb;
    background: rgba(20, 20, 20, 0.95);
    gap: 10px;
}

/* Sections du menu */
.nav-left { display: flex; align-items: center; justify-content: flex-start; }
.nav-center { display: flex; gap: 15px; justify-content: center; }
.nav-right { display: flex; align-items: center; justify-content: flex-end; gap: 15px; }

/* Logo */
.nav-logo { display: flex; align-items: center; }
.main-logo { height: 120px; width: 120px; object-fit: contain; filter: drop-shadow(0 0 5px #b43abb); }
.sapin-logo { height: 120px; width: auto; object-fit: contain; margin-left: 2px; filter: drop-shadow(0 0 5px #FFFFFF); }
.xmas-icon { height: 40px; width: auto; filter: drop-shadow(0 0 5px #FFFFFF); animation: xmasFloat 3s infinite ease-in-out; }

/* Boutons Menu */
.nav-btn {
    text-decoration: none; color: #FFFFFF; font-weight: 600; text-transform: uppercase;
    padding: 10px 20px; border: 1px solid transparent; border-radius: 5px; transition: 0.3s; font-size: 0.9em; white-space: nowrap;
}
.nav-btn:not(.btn-demande):hover { transform: scale(1.1); color: #FFFFFF; animation: rgbHaloAnim 1.5s infinite linear; background: rgba(255, 255, 255, 0.1); }
.nav-btn.active { border-bottom: 2px solid #b43abb; font-weight: 800; text-shadow: 0 0 10px #b43abb; }
.btn-demande { background-color: #b43abb; color: #FFFFFF !important; border-radius: 30px; padding: 10px 25px; animation: physicalPulse 2s infinite ease-in-out, rgbHaloAnim 3s infinite linear; }

/* Recherche & User */
#searchInput { background: #000; border: 1px solid #b43abb; color: #FFFFFF; padding: 8px 15px; border-radius: 20px; outline: none; transition: 0.3s; width: 100px; }
#searchInput:focus { box-shadow: 0 0 10px #b43abb; width: 200px; }

/* Gestion Pseudo Long */
.user-display {
    color: #b43abb; font-weight: bold; font-size: 0.9em;
    max-width: 150px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    display: inline-block; vertical-align: middle;
}

/* --- ANIMATION LOCOMOTIVE STEAM (LOADER) --- */
.steam-loader-container {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle, #101010 0%, #000 100%);
    z-index: 99999; display: flex; flex-direction: column; 
    align-items: center; justify-content: center;
}

.loco-wheel {
    width: 60px; height: 60px;
    border: 6px solid #555;
    border-radius: 50%;
    position: relative;
    animation: roll 1s linear infinite;
    background: conic-gradient(from 0deg, transparent 0deg 30deg, #333 30deg 60deg, transparent 60deg);
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.2);
}

.loco-piston {
    width: 100px; height: 10px;
    background: #b43abb;
    position: absolute;
    top: 50%; left: 30px;
    transform-origin: 0% 50%;
    animation: piston 1s linear infinite;
    border-radius: 5px;
    box-shadow: 0 0 10px #b43abb;
}

.verif-text {
    margin-top: 40px; color: #fff; font-family: 'Courier New', monospace;
    font-size: 1.2em; letter-spacing: 2px; text-transform: uppercase;
    animation: pulseText 1s infinite;
}

@keyframes roll { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
@keyframes piston {
    0% { transform: translateX(0) rotate(0deg); width: 100px; }
    25% { transform: translateX(-20px) rotate(-15deg); width: 110px; }
    50% { transform: translateX(-40px) rotate(0deg); width: 100px; }
    75% { transform: translateX(-20px) rotate(15deg); width: 110px; }
    100% { transform: translateX(0) rotate(0deg); width: 100px; }
}
@keyframes pulseText { 50% { opacity: 0.5; } }


/* --- GRILLE FILMS/JEUX/SERIES --- */
.movies-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 30px; width: 95%; max-width: 1400px; padding: 40px 0; }
.movie-card {
    background: #000; border-radius: 8px; cursor: pointer; border: 1px solid #b43abb; overflow: hidden; position: relative; transition: all 0.3s ease;
    -webkit-tap-highlight-color: transparent; outline: none; user-select: none;
}
.movie-poster { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.movie-card:hover { z-index: 10; border-color: transparent; animation: rgbHaloAnim 1.5s infinite linear; transform: translateY(-5px); }
.movie-card:hover .movie-poster { transform: scale(1.15); }
.movie-card:active { transform: translateY(-5px) !important; border-color: transparent !important; background: #000 !important; }
.movie-card:active .movie-poster { transform: scale(1.15) !important; opacity: 1 !important; }

/* --- MODALE --- */
.modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.9); z-index: 1000; justify-content: center; align-items: center; padding: 20px; box-sizing: border-box; }
.modal-content {
    background: #181818; border: 1px solid #b43abb; box-shadow: 0 0 50px rgba(180, 58, 187, 0.4); width: 100%; max-width: 900px; max-height: 90vh; border-radius: 15px; color: #FFFFFF; display: flex; gap: 30px; padding: 30px; overflow: hidden;
}
.modal-poster { width: 200px; height: 300px; object-fit: cover; border: 1px solid #b43abb; box-shadow: 0 0 20px rgba(0,0,0,0.8); border-radius: 5px; flex-shrink: 0; align-self: flex-start; }
.modal-details { flex: 1; display: flex; flex-direction: column; height: 100%; min-width: 0; }
.modal-details h2 { color: #FFFFFF; border-bottom: 1px solid #b43abb; padding-bottom: 10px; text-shadow: 0 0 5px #b43abb; margin-top: 0; margin-bottom: 15px; font-size: 1.8em; flex-shrink: 0; }
.modal-desc { color: #FFFFFF; line-height: 1.6; font-size: 1em; flex-grow: 1; overflow-y: auto; margin-bottom: 20px; padding-right: 10px; }
.modal-desc::-webkit-scrollbar { width: 5px; }
.modal-desc::-webkit-scrollbar-thumb { background: #b43abb; border-radius: 10px; }
.modal-desc::-webkit-scrollbar-track { background: rgba(255,255,255,0.05); }
.modal-actions { flex-shrink: 0; display: flex; flex-wrap: wrap; gap: 15px; }
.btn-modal { padding: 10px 25px; text-decoration: none; font-weight: bold; text-transform: uppercase; border: 1px solid #b43abb; color: #FFFFFF; transition: 0.3s; border-radius: 5px; font-size: 0.9em; white-space: nowrap; }
.btn-modal:hover { background: #b43abb; color: #FFFFFF; box-shadow: 0 0 15px #b43abb; }
.modal-close { position: absolute; top: 15px; right: 20px; font-size: 35px; color: #FFFFFF; cursor: pointer; z-index: 1001; }
@media (max-width: 800px) {
    .modal-content { flex-direction: column; align-items: center; padding: 20px; gap: 15px; }
    .modal-poster { width: auto; height: 150px; margin-bottom: 0; }
    .modal-details { width: 100%; text-align: center; }
    .modal-actions { justify-content: center; }
}

/* --- DASHBOARD & METEO --- */
.dashboard-container { width: 95%; max-width: 1200px; margin: 0 auto; padding-bottom: 50px; }
.dash-title { text-align: center; color: #b43abb; font-size: 2em; margin-bottom: 30px; text-shadow: 0 0 10px rgba(180, 58, 187, 0.3); letter-spacing: 2px; font-weight: 800; }
.status-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.status-card { background: rgba(20, 20, 20, 0.9); border: 1px solid #b43abb; border-radius: 15px; padding: 20px; box-shadow: 0 0 20px rgba(180, 58, 187, 0.1); }
.status-card h2 { color: #fff; border-bottom: 1px solid #333; padding-bottom: 10px; margin-top: 0; text-align: center; font-size: 1.2em; text-shadow: 0 0 5px rgba(255,255,255,0.2); }
.api-row { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px dashed rgba(255,255,255,0.1); }
.api-row:last-child { border-bottom: none; }
.slot-name { font-weight: 600; color: #ccc; }
.latency-group { display: flex; align-items: center; gap: 15px; }
.latency-val { font-family: monospace; color: #888; font-size: 0.9em; }
.led { width: 12px; height: 12px; border-radius: 50%; box-shadow: 0 0 5px currentColor; border: 1px solid rgba(0,0,0,0.5); }
.green { background-color: #00ff00; color: #00ff00; box-shadow: 0 0 8px #00ff00; }
.orange { background-color: #ffae00; color: #ffae00; box-shadow: 0 0 8px #ffae00; }
.red { background-color: #ff0000; color: #ff0000; box-shadow: 0 0 8px #ff0000; animation: blink 1s infinite; }
@keyframes blink { 50% { opacity: 0.5; } }

/* VOLUME */
.volume-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin-bottom: 50px; }
.vol-card { background: #111; border: 1px solid #333; border-radius: 10px; padding: 20px; text-align: center; transition: 0.3s; }
.vol-card:hover { border-color: #b43abb; transform: translateY(-5px); }
.vol-card h3 { color: #888; margin: 0 0 10px 0; font-size: 0.9em; }
.vol-number { font-size: 2.5em; font-weight: 800; color: #fff; }

/* PLEX BUBBLE */
.plex-container { display: flex; justify-content: center; margin-top: 40px; padding-bottom: 40px; }
.plex-bubble { background: #222222; border: 2px solid #ccc; border-radius: 50px; padding: 20px 60px; display: flex; flex-direction: column; align-items: center; position: relative; transition: 0.3s; box-shadow: inset 0 0 20px rgba(0,0,0,0.1); min-width: 250px; }
.plex-logo { height: 50px; width: auto; margin-bottom: 15px; }
.plex-status { font-weight: 800; margin-bottom: 15px; color: #ffae00; font-size: 1.2em; text-transform: uppercase; letter-spacing: 1px; text-align: center; }
.plex-ping { font-weight: 400; color: #555; font-size: 0.8em; display: block; }
.led-large { display: block !important; width: 25px !important; height: 25px !important; border-radius: 50%; border: 2px solid rgba(0,0,0,0.2); margin-top: 5px; background-color: #555; }
.led-large.green { background-color: #00ff00 !important; box-shadow: 0 0 15px #00ff00; }
.led-large.orange { background-color: #ffae00 !important; box-shadow: 0 0 15px #ffae00; }
.led-large.red { background-color: #ff0000 !important; box-shadow: 0 0 15px #ff0000; animation: blink 1s infinite; }

/* --- PAGE DEMANDE --- */
.robots-container { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; margin-bottom: 50px; }
.robot-frame {
    background: rgba(20, 20, 20, 0.9); border: 2px solid #b43abb; border-radius: 15px; width: 160px; padding: 20px 15px;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    box-shadow: 0 0 15px rgba(180, 58, 187, 0.1); transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.robot-frame:hover { transform: translateY(-5px); box-shadow: 0 0 25px rgba(180, 58, 187, 0.4); border-color: #d04de6; }
.robot-title { color: #fff; font-weight: 800; font-size: 0.9em; text-transform: uppercase; margin-bottom: 15px; letter-spacing: 1px; text-align: center; }
.robot-frame .led { width: 15px; height: 15px; margin: 0; }

.btn-action-violet {
    background-color: #b43abb; color: #FFFFFF; border: none; border-radius: 50px; padding: 15px 40px;
    font-size: 1.1em; font-weight: 800; text-transform: uppercase; cursor: pointer; transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3); outline: none; display: inline-block; margin-top: 20px;
}
.btn-action-violet:hover { transform: scale(1.05); color: #fff; box-shadow: 0 0 25px #b43abb; animation: rgbHaloAnim 1.5s infinite linear; }

.requests-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 15px; width: 100%;
    max-width: 1200px; padding-bottom: 50px;
}
.request-card {
    background: #111; border: 1px solid #333; border-radius: 8px; overflow: hidden; position: relative;
    transition: 0.3s; display: flex; flex-direction: column;
}
.request-card:hover { border-color: #b43abb; transform: translateY(-3px); box-shadow: 0 5px 15px rgba(180, 58, 187, 0.2); }
.req-poster { width: 100%; height: 220px; object-fit: contain; background-color: #000; border-bottom: 1px solid #222; }
.req-info { padding: 10px; flex: 1; display: flex; flex-direction: column; }
.req-title {
    font-weight: 700; margin-bottom: 4px; font-size: 0.95em; color: #fff; line-height: 1.3;
    display: -webkit-box; line-clamp: 2; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.req-cat { 
    font-size: 0.6em; text-transform: uppercase; padding: 1px 5px; border-radius: 3px; 
    display: inline-block; margin-bottom: 6px; width: fit-content; font-weight: 700;
}
.cat-movie { background: #007bff; color: white; }
.cat-serie { background: #e83e8c; color: white; }
.cat-game { background: #28a745; color: white; }
.req-comment {
    font-style: italic; color: #888; font-size: 0.8em; margin-bottom: 8px; flex-grow: 1; line-height: 1.3;
    display: -webkit-box; line-clamp: 3; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.req-footer { display: flex; justify-content: space-between; align-items: center; gap: 5px; color: #b43abb; font-size: 0.75em; font-weight: 600; border-top: 1px solid #222; padding-top: 6px; margin-top: auto; }

.search-results { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 15px; width: 100%; margin-top: 20px; max-height: 300px; overflow-y: auto; }
.search-item { cursor: pointer; border: 2px solid transparent; transition: 0.2s; position: relative; }
.search-item:hover { transform: scale(1.05); border-color: #b43abb; }
.search-item.selected { border-color: #00ff00; box-shadow: 0 0 15px #00ff00; }
.search-item img { width: 100%; border-radius: 5px; }
.input-group { margin-bottom: 15px; width: 100%; }
.input-group label { display: block; margin-bottom: 5px; color: #ccc; font-size: 0.9em; }
.modal-input { width: 100%; padding: 10px; border-radius: 5px; border: 1px solid #555; background: #222; color: white; box-sizing: border-box; }

.txt-pending { color: #b43abb; font-weight: 700; }
.txt-done { color: #00ff00; font-weight: 800; text-shadow: 0 0 10px rgba(0,255,0,0.3); }
.request-card.status-done { border-color: rgba(0, 255, 0, 0.3); }
.admin-actions { display: flex; gap: 5px; }
.admin-btn { text-decoration: none; padding: 2px 6px; border-radius: 4px; font-size: 1.2em; transition: 0.2s; background: rgba(255,255,255,0.1); }
.admin-btn:hover { transform: scale(1.2); background: rgba(255,255,255,0.2); }
.btn-ok:hover { background: rgba(0,255,0,0.2); }
.btn-del:hover { background: rgba(255,0,0,0.2); }

/* --- PATCH NOTE --- */
.patch-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.6); z-index: 9999; display: none; justify-content: flex-start; align-items: center; padding-left: 50px;
}
.patch-box {
    background: #181818; border: 2px solid #b43abb; box-shadow: 0 0 50px rgba(180, 58, 187, 0.5); width: 400px; max-width: 90%; border-radius: 15px; padding: 25px; position: relative; color: #fff; animation: slideInLeft 0.5s ease-out;
}
@keyframes slideInLeft { from { transform: translateX(-100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
.patch-header { border-bottom: 1px solid #b43abb; padding-bottom: 10px; margin-bottom: 15px; display: flex; justify-content: space-between; align-items: center; }
.patch-title { font-weight: 800; font-size: 1.2em; color: #b43abb; text-transform: uppercase; letter-spacing: 1px; }
.patch-close { font-size: 30px; cursor: pointer; color: #fff; line-height: 20px; transition: 0.3s; }
.patch-close:hover { color: #ff0000; transform: rotate(90deg); }
.patch-content ul { padding-left: 20px; line-height: 1.6; font-size: 0.95em; color: #ddd; }
.patch-content li { margin-bottom: 8px; }
.patch-btn-ok { display: block; width: 100%; background: #b43abb; color: white; text-align: center; padding: 10px; border-radius: 30px; text-decoration: none; font-weight: bold; margin-top: 20px; transition: 0.3s; cursor: pointer; }
.patch-btn-ok:hover { background: #fff; color: #b43abb; }

/* --- ROADMAP --- */
.roadmap-container { display: flex; justify-content: center; margin-top: 50px; margin-bottom: 50px; width: 100%; }
.roadmap-card {
    background: rgba(20, 20, 20, 0.95); border: 2px solid transparent; border-radius: 20px; padding: 30px 50px; max-width: 800px; width: 90%; text-align: center; position: relative;
    animation: rgbHaloAnim 3s infinite linear; box-shadow: 0 0 30px rgba(180, 58, 187, 0.2);
}
.roadmap-title { color: #fff; font-size: 1.8em; font-weight: 800; margin-top: 0; margin-bottom: 25px; text-transform: uppercase; letter-spacing: 2px; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 15px; }
.roadmap-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 15px; text-align: left; }
.roadmap-list li { background: rgba(255, 255, 255, 0.05); padding: 10px 15px; border-radius: 8px; font-size: 0.95em; color: #ccc; border-left: 3px solid #b43abb; }
.roadmap-list strong { color: #fff; margin-right: 5px; }

/* --- CALENDRIER --- */
.cal-header-container { text-align: center; margin-bottom: 40px; margin-top: 30px; }
.cal-main-title {
    display: inline-block; border: 3px solid #b43abb; padding: 15px 40px; font-size: 1.8em; font-weight: 800; color: #fff;
    text-transform: uppercase; letter-spacing: 2px; background: rgba(0, 0, 0, 0.8); box-shadow: 0 0 20px rgba(180, 58, 187, 0.4); border-radius: 10px;
}
.cal-sub-bubble {
    display: inline-block; background: #222; color: #00e5ff; padding: 8px 20px; border-radius: 30px; margin-top: 15px;
    font-size: 0.9em; font-weight: 600; border: 1px solid #00e5ff;
}
.type-badge {
    position: absolute; top: 10px; right: 10px; font-size: 0.6em; font-weight: 800; padding: 4px 8px; border-radius: 4px; color: #fff;
    z-index: 5; text-transform: uppercase; box-shadow: 0 2px 5px rgba(0,0,0,0.5);
}
.type-badge.film { background: #e50914; border: 1px solid #e50914; }
.type-badge.serie { background: #00e5ff; color: #000; border: 1px solid #00e5ff; }
.date-badge {
    position: absolute; top: 10px; left: 10px; background: rgba(0, 0, 0, 0.9); border: 1px solid #b43abb; border-radius: 6px;
    padding: 5px 8px; display: flex; flex-direction: column; align-items: center; box-shadow: 0 0 10px rgba(0,0,0,0.8); z-index: 5;
}
.d-day { font-size: 1.1em; font-weight: 800; color: #fff; line-height: 1; }
.d-month { font-size: 0.7em; font-weight: 600; color: #b43abb; text-transform: uppercase; }
.cal-actions { position: absolute; bottom: 40px; right: 10px; display: flex; flex-direction: column; gap: 5px; align-items: flex-end; z-index: 10; }
.btn-vote {
    background: rgba(0,0,0,0.8); border: 1px solid #00ff00; color: #00ff00; padding: 5px 10px; border-radius: 20px;
    font-weight: bold; font-size: 0.8em; text-decoration: none; transition: 0.2s;
}
.btn-vote:hover { background: #00ff00; color: #000; transform: scale(1.1); }
.hot-flame { animation: flameAnim 0.8s infinite alternate; border-color: #ff4500 !important; }
@keyframes flameAnim { from { box-shadow: 0 0 10px #ff0000; } to { box-shadow: 0 0 25px #ff8800; } }

/* --- LISTE DÉROULANTE (SÉRIES & JEUX) --- */
.episodes-container {
    width: 100%; max-height: 200px; overflow-y: auto; margin-top: 20px; display: flex; flex-direction: column;
    gap: 10px; padding-right: 5px; border-top: 1px dashed rgba(180, 58, 187, 0.3); padding-top: 15px;
}
.episodes-container::-webkit-scrollbar { width: 5px; }
.episodes-container::-webkit-scrollbar-thumb { background: #b43abb; border-radius: 5px; }
.episodes-container::-webkit-scrollbar-track { background: rgba(255,255,255,0.05); }
.episode-btn {
    background: rgba(255, 255, 255, 0.05); color: #fff; padding: 12px 15px; text-decoration: none; border-radius: 5px;
    font-size: 0.9em; font-weight: 600; display: flex; justify-content: space-between; align-items: center;
    border: 1px solid transparent; transition: all 0.2s ease;
}
.episode-btn:hover {
    background: rgba(180, 58, 187, 0.2); border-color: #b43abb; padding-left: 20px; transform: translateX(5px);
    box-shadow: 0 0 10px rgba(180, 58, 187, 0.1);
}
.episode-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 90%; }
/* --- PAGINATION (RESTAURÉE) --- */

.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
    margin-bottom: 60px; /* Espace en bas pour ne pas coller au footer */
    width: 100%;
}

.page-btn {
    display: inline-block;
    text-decoration: none;
    color: #FFFFFF;
    background-color: #181818;
    border: 2px solid #b43abb; /* Bordure Violette */
    padding: 10px 25px;
    border-radius: 50px; /* Boutons bien ronds */
    font-weight: 800;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.page-btn:hover {
    background-color: #b43abb;
    color: #FFFFFF;
    transform: scale(1.1); /* Grossit un peu */
    box-shadow: 0 0 20px #b43abb; /* Halo lumineux */
    cursor: pointer;
}

.page-info {
    font-size: 1.2em;
    font-weight: 800;
    color: #b43abb;
    text-shadow: 0 0 10px rgba(180, 58, 187, 0.4);
    letter-spacing: 1px;
}
/* --- BANDEAU DÉFILANT (MARQUEE) --- */

.marquee-container {
    width: 95%;
    max-width: 800px;            /* Largeur limitée pour l'effet "Bulle" */
    margin: 20px auto 10px auto; /* Centré au milieu de la page */
    background: rgba(20, 20, 20, 0.95);
    border: 2px solid #b43abb;   /* Bordure Violette */
    border-radius: 30px;         /* Bords très ronds */
    height: 40px;                /* Hauteur fine */
    overflow: hidden;            /* Coupe le texte qui dépasse */
    display: flex;
    align-items: center;
    box-shadow: 0 0 15px rgba(180, 58, 187, 0.3);
}

.marquee-text {
    display: inline-block;
    white-space: nowrap;         /* Empêche le texte d'aller à la ligne */
    color: #fff;
    font-weight: 700;
    font-size: 0.9em;
    text-transform: uppercase;
    letter-spacing: 2px;
    
    /* Animation */
    padding-left: 100%;          /* Commence caché à droite */
    animation: defilement 20s linear infinite; /* Défile en 20 secondes */
}

@keyframes defilement {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-100%, 0); }
}
/* --- BADGE ADMIN (JAUNE & NOIR) --- */
.badge-planned {
    position: absolute;
    bottom: 10px; 
    right: 10px;  /* En bas à droite */
    background-color: #ffd700; /* Jaune Or vif */
    color: #000000; /* Texte Noir */
    font-size: 0.7em;
    font-weight: 800;
    padding: 4px 8px;
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(0,0,0,0.8);
    z-index: 20; /* Au-dessus de tout */
    text-transform: uppercase;
    border: 1px solid #b8860b; /* Bordure jaune foncé */
    pointer-events: none; /* Ne gêne pas le clic */
}
/* --- ANIMATION TÂCHE ACTIVE (ROADMAP) --- */
@keyframes greenPulseBorder {
    0% { border-left-color: #00ff00; box-shadow: -5px 0 10px -5px rgba(0, 255, 0, 0.5); }
    50% { border-left-color: #adff2f; box-shadow: -5px 0 20px -5px rgba(0, 255, 0, 1); }
    100% { border-left-color: #00ff00; box-shadow: -5px 0 10px -5px rgba(0, 255, 0, 0.5); }
}

.roadmap-list li.active-task {
    border-left: 3px solid #00ff00 !important; /* Force le vert */
    color: #fff;
    background: rgba(0, 255, 0, 0.05); /* Fond très légèrement vert */
    animation: greenPulseBorder 2s infinite ease-in-out; /* Ça respire ! */
}

/* On rend le texte un peu plus brillant pour les tâches actives */
.roadmap-list li.active-task strong {
    color: #00ff00;
    text-shadow: 0 0 5px rgba(0, 255, 0, 0.5);
}