/* ============================================
   VAR GLOBALES
   ============================================ */
:root {
    --accent-rgb: 248, 90, 37; 
    
    --accent-main: #f85a25;
    --accent-dark: #d34d1f;
    --accent-text: #fcb49c; 
    
    --discord-main: #5865F2;
    --discord-dark: #4752C4;
    --nsb-main: #9d4edd;
    --warn-main: #eab308;
    --warn-rgb: 234, 179, 8;

    --text-main: #ffffff;
    --text-muted: #e0e0e0;
}

/* ============================================
   BASE & RESET
   ============================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background: #0a0a0a;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.page-wrapper {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   SCROLLBAR GLOBALE
   ============================================ */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: #121212; }
::-webkit-scrollbar-thumb {
    background-color: var(--accent-main);
    border-radius: 20px;
}
::-webkit-scrollbar-thumb:hover { background-color: var(--accent-dark); }
::-moz-scrollbar { width: 5px; }
::-moz-scrollbar-track { background: #121212; }
::-moz-scrollbar-thumb {
    background-color: var(--accent-main);
    border-radius: 20px;
}
::-moz-scrollbar-thumb:hover { background-color: var(--accent-dark); }

/* ============================================
   FOND ANIMÉ
   ============================================ */
body::before {
    content: '';
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(var(--accent-rgb), 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(var(--accent-rgb), 0.06) 0%, transparent 50%),
        radial-gradient(circle at 40% 90%, rgba(var(--accent-rgb), 0.05) 0%, transparent 50%);
    animation: gradientShift 15s ease infinite;
    z-index: 0;
    pointer-events: none;
}

@keyframes gradientShift {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.1); }
}

/* ============================================
   TOASTS
   ============================================ */
#toast-container { align-items: center; position: fixed; top: 50px; right: 3%; display: flex; flex-direction: column; gap: 10px; z-index: 9999; }
.toast { position: relative; display: inline-block; padding: 10px 20px; border-radius: 8px; font-size: 1rem; animation: slideInUp 0.5s cubic-bezier(0.25, 0.8, 0.25, 1) forwards; max-width: 350px; width: fit-content; overflow: hidden; }
.toast-content { display: flex; align-items: center; gap: 8px; justify-content: space-between; }
.toast-content span { flex: 1; word-break: break-word; }
.toast-icon { width: 1.2em; height: 1.2em; vertical-align: middle; margin-right: 8px; }
.toast-default { background-color: #9ca3af; color: white; border: 1px solid #6b7280; box-shadow: 0 4px 6px rgba(128, 128, 128, 0.2); }
.toast-success { background-color: #34d399; color: white; border: 1px solid #059669; box-shadow: 0 4px 6px rgba(0, 255, 0, 0.2); }
.toast-error { background-color: #f87171; color: white; border: 1px solid #dc2626; box-shadow: 0 4px 6px rgba(255, 0, 0, 0.2); }
.toast-warning { background-color: #facc15; color: #000; border: 1px solid #a16207; box-shadow: 0 4px 6px rgba(255, 255, 0, 0.2); }
.toast-info { background-color: #3b82f6; color: white; border: 1px solid #1d4ed8; box-shadow: 0 4px 6px rgba(0, 0, 255, 0.2); }
.toast.slide-out { animation: slideOutDown 0.4s ease-in forwards; }
.toast-progress { position: absolute; bottom: 0; left: 0; height: 3px; background-color: rgba(255, 255, 255, 0.6); width: 100%; animation-name: shrink; animation-timing-function: linear; border-radius: 0 0 8px 8px; }
.close-button { background: none; border: none; color: rgba(255, 255, 255, 0.7); font-size: 1.2rem; cursor: pointer; margin-left: auto; padding-left: 10px; transition: opacity 0.2s ease; }
.toast-warning .close-button { color: rgba(0, 0, 0, 0.7); }
.close-button:hover { opacity: 0.8; }
@keyframes shrink { from { width: 100%; } to { width: 0%; } }
@keyframes slideInUp { from { opacity: 0; transform: translateY(20px) scale(0.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes slideOutDown { from { opacity: 1; transform: translateY(0); } to { opacity: 0; transform: translateY(20px); } }

/* ============================================
   BTNs
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.3s ease;
    height: 42px;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0; 
    left: -100%;
    width: 100%; 
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
    z-index: -1;
}

.btn:hover::before {
    left: 100%;
}

.btn-pill { border-radius: 25px; } /* btns rounds */

.btn-primary {
    background: linear-gradient(135deg, var(--accent-dark), var(--accent-main));
    border-color: rgba(var(--accent-rgb), 0.3);
    color: #fff;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(var(--accent-rgb), 0.4);
}

.btn-discord {
    background: linear-gradient(135deg, var(--discord-main), var(--discord-dark));
    color: #fff;
}
.btn-discord:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(88, 101, 242, 0.4);
}

.btn-outline {
    background: rgba(var(--accent-rgb), 0.1);
    color: var(--accent-text);
    border-color: rgba(var(--accent-rgb), 0.3);
}
.btn-outline:hover {
    background: rgba(var(--accent-rgb), 0.2);
    color: #fff;
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.05);
    color: #aaa;
    border-color: rgba(255, 255, 255, 0.1);
}
.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
}

/* ============================================
   COMPOSANT ALERTE
   ============================================ */
.alert-warning {
    background: rgba(var(--warn-rgb), 0.08);
    border-left: 4px solid var(--warn-main);
    padding: 14px;
    border-radius: 0 8px 8px 0;
    margin-top: 8px;
}
.alert-warning h4 { color: var(--warn-main); margin: 0 0 10px 0; font-size: 15px; display: flex; align-items: center; gap: 6px; }
.alert-warning ul { color: #d1d5db; margin: 0; padding-left: 20px; font-size: 13px; line-height: 1.6; }
.alert-warning code { background: rgba(0,0,0,0.3); padding: 2px 4px; border-radius: 4px; color: var(--accent-text); }
.alert-warning p { color: var(--warn-main); margin: 12px 0 0 0; font-size: 13px; font-style: italic; opacity: 0.9; }

/* ============================================
   HEADER & NAVIGATION STYLES
   ============================================ */

/* Header principal */
.site-header {
    background: rgba(18, 18, 18, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 0 1rem;
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 80px);
    max-width: 1200px;
    height: 64px;
    border-radius: 50px;
    z-index: 1000;
    border: 1px solid rgba(var(--accent-rgb), 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.site-header:hover {
    border-color: rgba(var(--accent-rgb), 0.4);
    box-shadow: 0 8px 32px rgba(var(--accent-rgb), 0.1);
}

.header-container {
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: space-between;
    width: 100%;
    height: 100%;
}

.logo {
    width: 95px;
    height: 40px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(var(--accent-rgb), 0.3));
    flex-shrink: 0;
}

/* Menu navigation desktop */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 20px;
    list-style: none;
    margin: 0 auto;
    margin-left: 0;
    padding: 0;
    height: 100%;
}

.nav-menu li {
    display: flex;
    align-items: center;
}

.nav-menu li a {
    color: var(--accent-text);
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    font-size: 14px;
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-main), transparent);
    transition: transform 0.3s ease;
}

.nav-menu li a:hover {
    color: #fff;
    background: rgba(var(--accent-rgb), 0.1);
}

.nav-menu li a:hover::after {
    transform: translateX(-50%) scaleX(1);
}

/* Effet ripple */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: scale(0);
    animation: ripple-animation 0.6s ease-out;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Informations utilisateur */
.user-info {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    font-weight: 600;
    position: relative;
    cursor: pointer;
    padding: 6px 12px;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.user-info:hover {
    background: rgba(var(--accent-rgb), 0.1)
}

.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid rgba(var(--accent-rgb), 0.5);
    object-fit: cover;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

#user-name {
    font-size: 15px;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

/* Menu déroulant utilisateur */
.user-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(var(--accent-rgb), 0.2);
    border-radius: 16px;
    padding: 8px;
    min-width: 220px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
}

.user-info.active .user-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: var(--accent-text);
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.2s ease;
    cursor: pointer;
    font-size: 14px;
}

.user-dropdown-item:hover {
    background: rgba(var(--accent-rgb), 0.1);
    color: #fff;
}

.user-dropdown-item svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.user-dropdown-divider {
    height: 1px;
    background: rgba(var(--accent-rgb), 0.2);
    margin: 8px 0;
}

.user-dropdown-item.logout {
    color: #ff6b6b;
}

.user-dropdown-item.logout:hover {
    background: rgba(255, 107, 107, 0.1);
    color: #ff5252;
}

/* Toggle thème */
.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    gap: 10px;
}

.theme-toggle span {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--accent-text);
    font-size: 14px;
}

.toggle-switch {
    position: relative;
    width: 44px;
    height: 24px;
    background: rgba(var(--accent-rgb), 0.2);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.toggle-switch::before {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--accent-text);
    top: 3px;
    left: 3px;
    transition: all 0.3s ease;
}

.toggle-switch.active {
    background: rgba(var(--accent-rgb), 0.5)
}

.toggle-switch.active::before {
    left: 23px;
    background: var(--accent-main);
}

/* Menu hamburger */
.hamburger-menu {
    display: none;
    background: none;
    border: none;
    color: var(--accent-text);
    font-size: 24px;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    position: relative;
    flex-shrink: 0;
}

.hamburger-menu:hover {
    background: rgba(var(--accent-rgb), 0.1);
    color: #fff;
}

.hamburger-icon {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 24px;
    margin: auto;
}

.hamburger-icon span {
    display: block;
    width: 100%;
    height: 2px;
    background: currentColor;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.hamburger-menu.active .hamburger-icon span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger-menu.active .hamburger-icon span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active .hamburger-icon span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Styles de base pour les liens directs dans la nav */
.nav-direct-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    text-decoration: none;
    font-size: 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
}

/* =======================================
   BUTON STATUS 
   ======================================= */
.status-btn, .status-mobile-btn {
    transition: all 0.3s ease;
    color: rgba(255, 255, 255, 0.4); 
}

.status-btn svg {
    animation: heartbeat 2.5s infinite;
}

.status-btn-optimal { color: #22d3ee !important; }
.status-btn-optimal:hover {
    background: rgba(34, 211, 238, 0.1) !important;
    color: #fff !important;
    box-shadow: 0 0 15px rgba(34, 211, 238, 0.2);
    text-shadow: 0 0 8px rgba(34, 211, 238, 0.6);
}
.status-btn-optimal svg { animation: heartbeat 2.5s infinite; stroke: #22d3ee; }

.status-btn-operational { color: #34d399 !important; }
.status-btn-operational:hover {
    background: rgba(52, 211, 153, 0.1) !important;
    color: #fff !important;
    box-shadow: 0 0 15px rgba(52, 211, 153, 0.2);
    text-shadow: 0 0 8px rgba(52, 211, 153, 0.6);
}
.status-btn-operational svg { stroke: #34d399; }

.status-btn-warning { color: #fbbf24 !important; }
.status-btn-warning:hover {
    background: rgba(251, 191, 36, 0.1) !important;
    color: #fff !important;
    box-shadow: 0 0 15px rgba(251, 191, 36, 0.2);
    text-shadow: 0 0 8px rgba(251, 191, 36, 0.6);
}
.status-btn-warning svg { stroke: #fbbf24; }

.status-btn-degraded { color: #fb923c !important; }
.status-btn-degraded:hover {
    background: rgba(251, 146, 60, 0.1) !important;
    color: #fff !important;
    box-shadow: 0 0 15px rgba(251, 146, 60, 0.2);
    text-shadow: 0 0 8px rgba(251, 146, 60, 0.6);
}
.status-btn-degraded svg { stroke: #fb923c; }

.status-btn-down { color: #f87171 !important; }
.status-btn-down:hover {
    background: rgba(248, 113, 113, 0.1) !important;
    color: #fff !important;
    box-shadow: 0 0 15px rgba(248, 113, 113, 0.2);
    text-shadow: 0 0 8px rgba(248, 113, 113, 0.6);
}
.status-btn-down svg { 
    stroke: #f87171; 
    animation: alert-blink 1s infinite alternate; 
}

@keyframes alert-blink {
    from { opacity: 1; transform: scale(1); }
    to { opacity: 0.5; transform: scale(1.15); stroke: #ef4444; }
}

/* =======================================
   DEV BUTTON
   ======================================= */
.admin-core-btn, .admin-mobile-btn {
    color: #c084fc !important;
    position: relative;
    overflow: hidden;
}

.admin-core-btn:hover, .admin-mobile-btn:hover {
    background: rgba(192, 132, 252, 0.1) !important;
    color: #fff !important;
    box-shadow: 0 0 15px rgba(192, 132, 252, 0.3);
    border: 1px solid rgba(192, 132, 252, 0.3);
}

.admin-core-btn:hover svg {
    animation: terminal-blink 1s steps(2, start) infinite;
}

@keyframes terminal-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* ============================================
   DROPDOWNS DESKTOP (PC)
   ============================================ */
.has-dropdown {
    position: relative;
    padding-bottom: 10px; /* Zone de tolérance pour le survol */
    margin-bottom: -10px;
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(var(--accent-rgb), 0.2);
    border-radius: 16px;
    padding: 12px;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    z-index: 1000;
}

.has-dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Grille spécifique pour les modules pour éviter un menu trop long */
.dropdown-content.modules-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px 12px;
    min-width: 380px;
}

.dropdown-content a {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    color: var(--accent-text);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-size: 14px;
}

.dropdown-content a:hover {
    background: rgba(var(--accent-rgb), 0.1);
    color: #fff;
    transform: translateX(4px);
}

.dropdown-header {
    grid-column: 1 / -1;
    color: var(--accent-main) !important;
    font-weight: 600;
    background: rgba(var(--accent-rgb), 0.05);
}

.dropdown-divider {
    grid-column: 1 / -1;
    height: 1px;
    background: rgba(var(--accent-rgb), 0.2);
    margin: 6px 0;
}

/* ============================================
   ACCORDÉONS MOBILE (< 992px)
   ============================================ */
.dropdown-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    font-family: inherit;
    color: var(--accent-text);
}

.dropdown-btn svg {
    transition: transform 0.3s ease;
}

.mobile-sub-menu {
    display: none;
    flex-direction: column;
    padding-left: 15px;
    margin: 5px 0 10px 15px;
    border-left: 2px solid rgba(var(--accent-rgb), 0.2);
    gap: 5px;
    animation: fadeIn 0.3s ease;
}

.mobile-sub-menu.open {
    display: flex;
}

.dropdown-btn.active svg {
    transform: rotate(180deg);
}

.mobile-sub-item {
    color: rgba(252, 180, 156, 0.8);
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.2s ease;
    display: block;
}

.mobile-sub-item.highlight {
    color: var(--accent-main);
    font-weight: 600;
}

.mobile-sub-item:hover {
    background: rgba(var(--accent-rgb), 0.1);
    color: #fff;
}

/* Menu mobile */
.mobile-menu {
    position: fixed;
    top: 104px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 80px);
    max-width: 1200px;
    background: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(var(--accent-rgb), 0.2);
    border-radius: 24px;
    padding: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(-20px);
    transition: all 0.3s ease;
    z-index: 999;
    max-height: calc(100vh - 124px);
    overflow-y: auto;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.mobile-menu-item {
    display: block;
    color: var(--accent-text);
    text-decoration: none;
    padding: 16px;
    border-radius: 12px;
    transition: all 0.3s ease;
    font-size: 16px;
    margin-bottom: 8px;
    cursor: pointer;
}

.mobile-menu-item:hover {
    background: rgba(var(--accent-rgb), 0.1);
    color: #fff;
    transform: translateX(4px);
}

.mobile-menu-divider {
    height: 1px;
    background: rgba(var(--accent-rgb), 0.2);
    margin: 16px 0;
}

.mobile-user-info {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: rgba(var(--accent-rgb), 0.05);
    border-radius: 12px;
    margin-bottom: 16px;
}

.mobile-user-info .user-avatar {
    width: 48px;
    height: 48px;
}

.mobile-user-info .user-details {
    flex: 1;
}

.mobile-user-info .user-details strong {
    display: block;
    font-size: 16px;
    color: #fff;
    margin-bottom: 4px;
}

.mobile-user-info .user-details span {
    font-size: 13px;
    color: var(--accent-text);
}

/* Overlay pour fermer le menu mobile */
.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 998;
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ============================================
   FOOTER STYLES
   ============================================ */

.footer-cartouche {
    background: rgba(18, 18, 18, 0.8);
    backdrop-filter: blur(10px);
    padding: 60px 20px;
    margin-top: auto;
    border-top: 1px solid rgba(var(--accent-rgb), 0.2);
}

.footer-columns {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 40px;
    flex-wrap: wrap;
}

.footer-columns > div {
    flex: 1 1 200px;
    min-width: 200px;
}

.footer-columns h5 {
    color: var(--accent-text);
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
}

.footer-columns h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-main), transparent);
}

.footer-columns a {
    display: block;
    text-decoration: none;
    color: var(--accent-text);
    margin: 8px 0;
    transition: all 0.3s;
    padding-left: 0;
    position: relative;
}

.footer-columns a::before {
    content: '→';
    position: absolute;
    left: -20px;
    opacity: 0;
    transition: all 0.3s;
}

.footer-columns a:hover {
    color: var(--accent-text);
    padding-left: 20px;
}

.footer-columns a:hover::before {
    left: 0;
    opacity: 1;
}

.main-footer {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    color: var(--accent-text);
    gap: 20px;
    flex-wrap: wrap;
}

.main-footer p {
    margin: 0;
    font-size: 14px;
}

.lang-switch {
    display: flex;
    align-items: center;
    gap: 10px;
}

.lang-switch button {
    background: transparent;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lang-switch button:hover {
    background: rgba(var(--accent-rgb), 0.1);
}

.lang-switch img {
    width: 20px;
    height: 14px;
}

/* Cookie Bar */
.cookie-bar {
    display: none;
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: 500px;
    background: rgba(18, 18, 18, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 25px;
    border-radius: 20px;
    border: 1px solid rgba(var(--accent-rgb), 0.2);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
    z-index: 9999;
    text-align: center;
    color: #ccc;
    font-size: 14px;
    animation: slideUpCookie 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes slideUpCookie {
    from { transform: translate(-50%, 100px); opacity: 0; }
    to { transform: translate(-50%, 0); opacity: 1; }
}

.cookie-bar p {
    margin: 0 0 20px 0;
    line-height: 1.5;
}

.cookie-bar a {
    color: var(--accent-main);
    text-decoration: none;
    font-weight: 600;
    position: relative;
}

.cookie-bar a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0%;
    height: 1px;
    background: var(--accent-main);
    transition: width 0.3s;
}

.cookie-bar a:hover::after {
    width: 100%;
}

.cookie-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

/* ============================================
   BANNERS & TOOLTIPS
   ============================================ */

.maintenance-banner-item {
    width: 100%;
    margin-top: 100px;
    padding: 12px 20px;
    position: relative;
    z-index: 99;
    transition: all 0.4s ease;
    border-bottom: 1px solid transparent;
}

.banner-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 15px;
}

.banner-red {
    background: rgba(127, 29, 29, 0.9);
    border-bottom-color: rgba(239, 68, 68, 0.4);
    color: #fecaca;
}

.banner-orange {
    background: rgba(120, 53, 15, 0.9); /*Unscheduled*/
    border-bottom-color: rgba(245, 158, 11, 0.4);
    color: #fde68a;
}

.banner-green {
    background: rgba(6, 78, 59, 0.9);
    border-bottom-color: rgba(16, 185, 129, 0.4);
    color: #a7f3d0;
}

.banner-blue {
    background: rgba(30, 58, 138, 0.9);
    border-bottom-color: rgba(59, 130, 246, 0.4);
    color: #bfdbfe;
}

.banner-icon {
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 5px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.2);
    transition: background 0.3s ease;
}

.banner-icon:hover {
    background: rgba(0, 0, 0, 0.4);
}

.banner-content {
    flex: 1;
    font-size: 0.9em;
    line-height: 1.4;
}

.banner-content strong {
    color: #fff;
    margin-right: 8px;
}

.banner-tag {
    display: inline-block;
    background: rgba(0, 0, 0, 0.3);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.8em;
    font-weight: bold;
    margin-right: 10px;
    text-transform: uppercase;
}

.banner-details {
    opacity: 0.8;
}

.banner-close {
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.3s;
    padding: 5px;
}

.banner-close:hover {
    opacity: 1;
}

.has-tooltip {
    position: relative;
}

.has-tooltip::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(18, 18, 18, 0.95);
    border: 1px solid rgba(var(--accent-rgb), 0.3);
    color: var(--accent-text);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    pointer-events: none;
}

.has-tooltip:hover::after {
    opacity: 1;
    visibility: visible;
    bottom: -40px;
}

/* ============================================
   RESPONSIVE MEDIA
   ============================================ */

@media (max-width: 992px) {
        .nav-menu,
        .header-container .btn,
        .user-info { display: none; }

    .hamburger-menu {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .header-container {
        justify-content: space-between;
    }
}

@media (max-width: 768px) {
    .site-header {
        width: calc(100% - 40px);
        top: 10px;
        padding: 0 0.75rem;
        height: 56px;
    }

    .logo {
        width: 75px;
        height: 32px;
    }

    .mobile-menu {
        width: calc(100% - 40px);
        top: 76px;
        max-height: calc(100vh - 96px);
    }
}

@media (max-width: 400px) {
    .site-header {
        width: calc(100% - 20px);
        padding: 0 0.5rem;
        height: 52px;
    }

    .logo {
        width: 65px;
        height: 28px;
    }

    .hamburger-menu {
        width: 36px;
        height: 36px;
    }

    .mobile-menu {
        width: calc(100% - 20px);
        padding: 16px;
    }
}
    /* =======================================
    POPUP NÉON
   ======================================= */
.neon-popup-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.neon-popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.neon-popup-box {
    background: rgba(18, 18, 18, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    width: 90%;
    max-width: 450px;
    padding: 24px;
    position: relative;
    overflow: hidden;
    transform: translateY(30px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5), inset 0 0 0 1px var(--popup-color);
}

.neon-popup-overlay.active .neon-popup-box {
    transform: translateY(0) scale(1);
}

.popup-scanline {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 2px;
    background: linear-gradient(90deg, transparent, var(--popup-color), transparent);
    animation: scan 2s linear infinite;
}

@keyframes scan {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.popup-close {
    position: absolute;
    top: 16px; right: 16px;
    background: none; border: none;
    color: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: color 0.3s ease;
}

.popup-close:hover { color: #fff; }

.popup-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.popup-icon { font-size: 24px; }

.popup-title {
    color: #fff;
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.popup-body {
    color: #cfcfcf;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 24px;
}

.popup-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 16px;
}

.popup-checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    color: var(--accent-text);
    font-size: 13px;
}

.popup-checkbox-wrapper input { display: none; }

.popup-checkbox-custom {
    width: 18px; height: 18px;
    border: 1px solid rgba(var(--accent-rgb), 0.5);
    border-radius: 4px;
    position: relative;
    transition: all 0.2s;
}

.popup-checkbox-wrapper input:checked + .popup-checkbox-custom {
    background: var(--popup-color);
    border-color: var(--popup-color);
    box-shadow: 0 0 8px var(--popup-color);
}

.popup-checkbox-wrapper input:checked + .popup-checkbox-custom::after {
    content: '✓';
    position: absolute;
    color: #000;
    font-size: 12px;
    font-weight: bold;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
}