@import url('https://fonts.googleapis.com/css2?family=Oxanium:wght@400;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');

:root {
    --neon-blue: #00d4ff;
    --neon-green: #39ff14;
    --neon-purple: #bc13fe;
    --neon-orange: #ff8c00;
    --neon-yellow: #f4ea10;
    --primary-neon: var(--neon-blue);
}

body.theme-blue { --primary-neon: var(--neon-blue); }
body.theme-green { --primary-neon: var(--neon-green); }
body.theme-purple { --primary-neon: var(--neon-purple); }
body.theme-orange { --primary-neon: var(--neon-orange); }

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #111; }
::-webkit-scrollbar-thumb { background: var(--primary-neon); border-radius: 10px; box-shadow: 0 0 10px var(--primary-neon); }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background-color: #030713; }

body {
    margin: 0; padding: 0; width: 100%; min-height: 100vh; 
    font-family: 'Oxanium', sans-serif; /* Police par défaut / Titres */
    color: white; background: transparent; overflow-x: hidden;
    display: flex; flex-direction: column;
}

/* === POLICE POUR LES TEXTES DE LECTURE (Dual Typography) === */
p, .faq-answer, .modal-content p, .notice-inner-content p {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
}
p.eyebrow { font-family: 'Oxanium', sans-serif; }

/* FOND PRINCIPAL */
.site-bg {
    position: fixed; top: -5%; left: -5%; right: -5%; bottom: -5%; 
    z-index: -3; pointer-events: none; overflow: hidden;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('assets/Fond.jpg') center/cover no-repeat;
}

.noise { position: fixed; inset: 0; pointer-events: none; opacity: .15; z-index: -2; background-size: 42px 42px; background-image: linear-gradient(rgba(0,217,255,.06) 1px,transparent 1px),linear-gradient(90deg,rgba(0,217,255,.06) 1px,transparent 1px);}

/* ================= LOADER ================= */
#loader-overlay { position: fixed; inset: 0; background: linear-gradient(rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.95)), url('assets/Fond.jpg') center/cover no-repeat fixed; z-index: 99999; display: flex; flex-direction: column; justify-content: center; align-items: center; transition: opacity 0.8s ease, visibility 0.8s ease, transform 0.8s ease; }
#loader-overlay.hidden { opacity: 0; visibility: hidden; transform: scale(1.1); }
#loader-overlay.instant-hide { display: none !important; }

/* Modification pour la vidéo du loader - Rendu Responsif 720p Max avec fondu */
.loader-video { 
    width: 90%; 
    max-width: 720px; 
    height: auto;
    aspect-ratio: 16/9;
    object-fit: cover;
    margin-bottom: 40px; 
    /* Effet de fondu (remplace le border-radius et le drop-shadow) */
    -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
    mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
}

.loader-text { color: var(--primary-neon); font-size: 1.2rem; font-weight: 800; letter-spacing: 4px; text-transform: uppercase; margin-bottom: 15px; animation: loaderBlink 1s infinite alternate; }
@keyframes loaderBlink { 0% { opacity: 0.5; } 100% { opacity: 1; } }

.loader-bar-container { width: 300px; max-width: 80%; height: 4px; background: rgba(255, 255, 255, 0.1); border-radius: 10px; overflow: hidden; box-shadow: inset 0 0 5px rgba(0,0,0,0.5); }
.loader-bar { height: 100%; width: 0%; background: var(--primary-neon); box-shadow: 0 0 15px var(--primary-neon); transition: width 0.1s linear; }

.loader-percentage { color: var(--primary-neon); font-size: 1.3rem; font-weight: 800; margin-top: 15px; text-shadow: 0 0 10px var(--primary-neon); font-family: 'Oxanium', monospace; letter-spacing: 2px; }

/* ================= BANDEAU NEWS TICKER ================= */
.news-ticker { 
    background: rgba(0, 0, 0, 0.8); 
    color: white; 
    width: 100%; 
    padding: 8px 0; 
    border-bottom: 1px solid var(--primary-neon); 
    box-shadow: 0 0 15px rgba(0,0,0,0.5); 
    position: fixed; 
    top: 0; 
    left: 0; 
    z-index: 900; 
}
/* Le masque qui fait disparaître le texte juste avant la capsule du logo */
.ticker-fade-wrapper {
    width: calc(100% - 200px);
    margin-left: 200px;
    overflow: hidden;
    white-space: nowrap;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 80px);
    mask-image: linear-gradient(to right, transparent 0%, black 80px);
}
.ticker-content { display: inline-block; padding-left: 100%; animation: ticker 45s linear infinite; }
.ticker-content:hover { animation-play-state: paused; }
.ticker-item { font-size: 0.9rem; font-weight: 800; margin-right: 50px; text-transform: uppercase; color: #ccc; }
.ticker-item i { margin-right: 5px; } 
@keyframes ticker { 0% { transform: translate(0, 0); } 100% { transform: translate(-100%, 0); } }

/* ================= TOPBAR & MENU FLOTTANT ================= */
.glass-nav { 
    width: 100%; box-sizing: border-box; 
    z-index: 950; 
    display: flex; align-items: flex-start; justify-content: space-between; margin: 0; 
    padding: 20px 3%; position: fixed; top: 0; left: 0; background: transparent; border: none; backdrop-filter: none; pointer-events: none;
}

.menu-wrapper {
    position: absolute; left: 20px; top: 0; z-index: 1000; pointer-events: auto;
}

.nav-bubble { 
    position: relative; left: 0; top: 0; width: 170px; height: 140px; 
    background: rgba(15, 15, 15, 0.8); backdrop-filter: blur(20px); 
    border-radius: 0 0 85px 85px; box-shadow: 0 10px 30px rgba(0,0,0,0.5); 
    display: flex; flex-direction: column; justify-content: center; align-items: center; 
    transition: 0.3s; cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-top: none;
    border-left: 1px solid rgba(255, 255, 255, 0.15);
}
.nav-bubble:hover { background: rgba(20, 20, 20, 0.95); box-shadow: 0 15px 40px rgba(0,217,255,0.4); }

.nav-logo { width: 110px; filter: drop-shadow(0 0 15px var(--primary-neon)); transition: 0.4s ease; margin-top: 0; }
.nav-bubble:hover .nav-logo { transform: scale(1.05); filter: drop-shadow(0 0 25px var(--primary-neon)); }

/* Menu Verre Dépoli Flottant */
.glass-dropdown {
    position: absolute; top: 155px; left: 0; width: 280px;
    background: rgba(15, 15, 15, 0.75); backdrop-filter: blur(25px);
    padding: 20px 0; box-shadow: 0 15px 40px rgba(0,0,0,0.6), inset 0 0 20px rgba(255,255,255,0.05);
    opacity: 0; visibility: hidden; transform: translateY(-15px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex; flex-direction: column; pointer-events: none;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-left: 1px solid rgba(255, 255, 255, 0.15);
}
.glass-dropdown.active {
    opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto;
}

.eyebrow { margin-left: 20px; margin-bottom: 5px; color: var(--primary-neon); text-transform: uppercase; font-size: 11px; font-weight: 900; letter-spacing: 2px; }
.btn-sidebar { display: flex; align-items: center; gap: 15px; padding: 12px 20px; margin: 3px 15px; border-radius: 12px; font-weight: 800; text-transform: uppercase; font-size: 0.85rem; text-decoration: none; color: white; border: 1px solid transparent; transition: 0.3s; cursor: pointer; }
.btn-sidebar i { font-size: 1.1rem; width: 25px; text-align: center; }
.btn-sidebar:hover { background: rgba(255,255,255,0.08); transform: translateX(5px); border-color: var(--primary-neon); box-shadow: 0 0 15px rgba(var(--primary-neon), 0.2); }

/* Outils TopBar (Abaissé pour laisser le ticker visible) */
.nav-tools-group { 
    display: flex; align-items: center; gap: 15px; justify-content: flex-end;
    background: rgba(15, 15, 15, 0.7); backdrop-filter: blur(25px);
    padding: 10px 25px; border-radius: 50px; box-shadow: 0 15px 35px rgba(0,0,0,0.5);
    pointer-events: auto;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-left: 1px solid rgba(255, 255, 255, 0.15);
    margin-top: 30px;
}

.icon-btn { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.2); color: white; padding: 10px; border-radius: 8px; transition: 0.3s; cursor: pointer; display: flex; align-items: center; justify-content: center; height: 38px; width: 38px;}
.icon-btn:hover { border-color: var(--primary-neon); color: var(--primary-neon); box-shadow: 0 0 10px var(--primary-neon); }

.theme-switcher { display: flex; gap: 8px; background: rgba(0,0,0,0.4); padding: 5px 10px; border-radius: 20px; border: 1px solid rgba(255,255,255,0.1); margin-right: 10px;}
.theme-dot { width: 15px; height: 15px; border-radius: 50%; border: 2px solid transparent; transition: 0.3s; cursor: pointer; }
.theme-dot:hover { transform: scale(1.3); }
.theme-dot-blue { background: var(--neon-blue); box-shadow: 0 0 8px var(--neon-blue); }
.theme-dot-green { background: var(--neon-green); box-shadow: 0 0 8px var(--neon-green); }
.theme-dot-purple { background: var(--neon-purple); box-shadow: 0 0 8px var(--neon-purple); }
.theme-dot-orange { background: var(--neon-orange); box-shadow: 0 0 8px var(--neon-orange); }

.datetime-widget { display: flex; flex-direction: column; align-items: flex-end; justify-content: center; padding-left: 15px; border-left: 1px solid rgba(255,255,255,0.1); }
#current-date { font-size: 0.6rem; color: #ccc; text-transform: uppercase; letter-spacing: 1px; }
#current-time { font-size: 1rem; font-weight: 800; color: white; text-shadow: 0 0 10px var(--primary-neon); }

/* ================= BOUTONS (LE DESIGN NEON COMPLET) ================= */
.btn { background: rgba(255, 255, 255, 0.07); backdrop-filter: blur(15px); border: 2px solid rgba(255, 255, 255, 0.15); color: white; padding: 16px; font-size: 0.85rem; font-weight: 800; text-decoration: none; border-radius: 12px; transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); display: inline-flex; align-items: center; justify-content: center; gap: 12px; text-transform: uppercase; box-sizing: border-box; cursor: pointer; }
.btn i { transition: all 0.4s ease; font-size: 1.2rem; }
.btn:hover { transform: translateY(-5px); box-shadow: inset 0 0 15px rgba(255,255,255,0.2); }
.btn:hover i { transform: rotate(45deg) scale(1.2); }
.btn-nav { padding: 10px 20px; font-size: 0.8rem; border-width: 1px; }

.btn-blue:hover { border-color: var(--neon-blue); box-shadow: 0 0 20px var(--neon-blue), inset 0 0 10px var(--neon-blue); }
.btn-green:hover { border-color: var(--neon-green); box-shadow: 0 0 20px var(--neon-green), inset 0 0 10px var(--neon-green); }
.btn-purple:hover { border-color: var(--neon-purple); box-shadow: 0 0 20px var(--neon-purple), inset 0 0 10px var(--neon-purple); }
.btn-orange:hover { border-color: var(--neon-orange); box-shadow: 0 0 20px var(--neon-orange), inset 0 0 10px var(--neon-orange); }
.btn-yellow:hover { border-color: var(--neon-yellow); box-shadow: 0 0 20px var(--neon-yellow), inset 0 0 10px var(--neon-yellow); }
.btn-white:hover { border-color: #fff; box-shadow: 0 0 20px #fff; }

.btn-blue i { color: var(--neon-blue); } .btn-green i { color: var(--neon-green); } .btn-purple i { color: var(--neon-purple); } .btn-orange i { color: var(--neon-orange); } .btn-yellow i { color: var(--neon-yellow); }

.btn-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; width: 100%; margin-top: 20px; }
.btn-grid .btn { flex: 1 1 calc(25% - 15px); min-width: 220px; max-width: 280px; }

/* ================= GRILLE PRINCIPALE ACCUEIL ================= */
.main-layout { 
    position: relative; z-index: 5; flex: 1 0 auto; width: 100%; max-width: 1800px; 
    margin: 150px auto 40px auto; 
    padding: 0 20px; box-sizing: border-box; display: grid; grid-template-columns: 1.15fr 2.4fr 1.35fr; gap: 40px; align-items: start; transition: all 0.5s ease; 
}
.column-left, .column-right { display: flex; flex-direction: column; height: 100%; gap: 40px; }
.column-center { display: flex; flex-direction: column; gap: 40px; }

/* PANNEAUX STATIQUES ET ULTIMATE GLASSMORPHISM */
.glass-panel, .glass-panel-events { 
    background: rgba(15, 15, 15, 0.6); backdrop-filter: blur(20px); 
    border-radius: 20px; padding: 40px; text-align: center; box-shadow: 0 10px 30px rgba(0,0,0,0.5); box-sizing: border-box; 
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-left: 1px solid rgba(255, 255, 255, 0.15);
}

.glass-panel-events {
    background: rgba(25, 10, 25, 0.6);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5), inset 0 0 20px rgba(188, 19, 254, 0.05);
}

.glass-panel-right { padding: 25px 15px !important; }


/* ================= LE LOGO TGC EVENTS QUI SORT DU CADRE ================= */
.events-panel {
    position: relative;
    margin-top: 60px; /* Moitié de la hauteur du logo (120/2) */
    padding-top: 75px !important; 
}
.events-logo-container {
    position: absolute;
    top: -60px; /* Remonte le logo de la moitié de sa taille */
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
}
.events-logo-static {
    width: 120px;
    border-radius: 50%;
    display: block;
}


/* ================= LE LOGO PRINCIPAL CENTRAL ================= */
.hero-panel {
    position: relative;
    margin-top: 110px; 
    padding-top: 100px !important; 
}

.logo-container { 
    position: absolute; 
    top: -130px; 
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex; 
    justify-content: center; 
    align-items: center; 
    background: transparent; 
    border: none; 
    box-shadow: none;
    backdrop-filter: none;
}

.main-logo { 
    width: 250px; 
    animation: floatPulse 4s infinite ease-in-out; 
    cursor: default; 
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), filter 0.4s;
    filter: drop-shadow(0 15px 25px rgba(0,0,0,0.8)) drop-shadow(0 0 20px var(--primary-neon));
}
.main-logo:hover {
    transform: scale(1.05) translateY(-5px) !important;
    filter: brightness(1.2) drop-shadow(0 20px 30px rgba(0,0,0,0.9)) drop-shadow(0 0 30px var(--primary-neon)) !important;
}

@keyframes floatPulse { 
    0% { 
        transform: translateY(0px) scale(1); 
        filter: drop-shadow(0 15px 25px rgba(0,0,0,0.8)) drop-shadow(0 0 20px var(--primary-neon)); 
    } 
    50% { 
        transform: translateY(-8px) scale(1.02); 
        filter: drop-shadow(0 25px 35px rgba(0,0,0,0.6)) drop-shadow(0 0 35px rgba(0, 212, 255, 0.6)); 
    } 
    100% { 
        transform: translateY(0px) scale(1); 
        filter: drop-shadow(0 15px 25px rgba(0,0,0,0.8)) drop-shadow(0 0 20px var(--primary-neon)); 
    } 
}

.welcome-title { font-size: 2.6rem; font-weight: 800; text-transform: uppercase; letter-spacing: 3px; margin-bottom: 15px; background: linear-gradient(to bottom, #ffffff 30%, var(--primary-neon) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; filter: drop-shadow(2px 2px 0px rgba(0,0,0,0.8)); }
.section-header { text-align: left; margin-bottom: 25px; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 15px; }
.section-header h2 { font-size: 2rem; color: white; margin: 0; }

/* ================= HERO CARD & COMPTEUR ================= */
.hero-action-card {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 20px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
    max-width: 500px;
    box-shadow: inset 0 0 20px rgba(0, 212, 255, 0.1);
    margin-bottom: 20px;
    border: 1px solid rgba(0, 212, 255, 0.15);
    border-top: 1px solid rgba(0, 212, 255, 0.4);
    border-left: 1px solid rgba(0, 212, 255, 0.3);
}
.hero-btn { font-size: 1.3rem !important; padding: 18px 40px !important; width: 100%; }

.compact-countdown { margin-top: 0 !important; background: transparent !important; border: none !important; box-shadow: none !important; padding: 0 !important; }
.countdown-container { margin-top: 20px; background: rgba(0, 0, 0, 0.5); padding: 15px; border-radius: 15px; border: 1px solid var(--primary-neon); box-shadow: 0 0 10px var(--primary-neon); display: flex; flex-direction: column; align-items: center; transition: border-color 0.3s; }
.countdown-title { color: var(--primary-neon); font-size: 0.7rem; font-weight: 800; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 10px; transition: color 0.3s; }
.countdown-timer { display: flex; gap: 15px; color: white; font-weight: 800; }
.countdown-item { display: flex; flex-direction: column; align-items: center; min-width: 45px; }
.countdown-value { font-size: 1.5rem; text-shadow: 0 0 10px var(--primary-neon); transition: text-shadow 0.3s; }
.countdown-label { font-size: 0.5rem; text-transform: uppercase; color: #ccc; }


/* ================= TUILES DE NAVIGATION ================= */
.hub-tiles-grid { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr);
    gap: 15px; 
    width: 100%; 
}
.hub-tile {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: white;
    text-decoration: none;
    cursor: pointer;
    transition: 0.3s;
    text-transform: uppercase;
    font-weight: 800;
    font-size: 0.8rem;
    letter-spacing: 1px;
}
.hub-tile i { font-size: 2.2rem; transition: 0.3s; }
.hub-tile:hover { background: rgba(255, 255, 255, 0.08); transform: translateY(-5px); }
.hub-tile.tile-blue i { color: var(--neon-blue); } .hub-tile.tile-blue:hover { border-bottom: 3px solid var(--neon-blue); box-shadow: 0 10px 20px rgba(0, 212, 255, 0.15); }
.hub-tile.tile-green i { color: var(--neon-green); } .hub-tile.tile-green:hover { border-bottom: 3px solid var(--neon-green); box-shadow: 0 10px 20px rgba(57, 255, 20, 0.15); }
.hub-tile.tile-yellow i { color: var(--neon-yellow); } .hub-tile.tile-yellow:hover { border-bottom: 3px solid var(--neon-yellow); box-shadow: 0 10px 20px rgba(244, 234, 16, 0.15); }
.hub-tile.tile-orange i { color: var(--neon-orange); } .hub-tile.tile-orange:hover { border-bottom: 3px solid var(--neon-orange); box-shadow: 0 10px 20px rgba(255, 140, 0, 0.15); }

/* ================= CARTE ACTUALITÉ PREMIUM ================= */
.news-highlight-card {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(15, 15, 15, 0.8) 50%);
    border: 1px solid rgba(0, 212, 255, 0.1);
    border-top: 1px solid rgba(0, 212, 255, 0.4);
    border-left: 1px solid rgba(0, 212, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5), inset 0 0 25px rgba(0, 212, 255, 0.1);
    transition: all 0.4s ease; 
}
.news-highlight-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.6), inset 0 0 40px rgba(0, 212, 255, 0.2);
}

/* ================= COMPTEURS FIREBASE ACCUEIL ================= */
.counter-day-title { 
    color: var(--primary-neon); font-size: 0.95rem; 
    margin-top: 20px; margin-bottom: 5px; border-bottom: 1px solid rgba(255,255,255,0.1); 
    padding-bottom: 5px; text-transform: uppercase; letter-spacing: 2px; font-weight: 800;
}

.counter-day-title.color-blue { color: var(--neon-blue); border-bottom-color: rgba(0,217,255,0.3); }
.counter-day-title.color-purple { color: var(--neon-purple); border-bottom-color: rgba(188,19,254,0.3); }
.counter-day-title.color-orange { color: var(--neon-orange); border-bottom-color: rgba(255,140,0,0.3); }
.counter-day-title.color-green { color: var(--neon-green); border-bottom-color: rgba(57,255,20,0.3); }
.counter-day-title.color-yellow { color: var(--neon-yellow); border-bottom-color: rgba(244,234,16,0.3); }

.hub-counter-subgrid, .events-subgrid { display: flex; flex-direction: column; width: 100%; margin-bottom: 15px; }
.hub-counter-grid { display: flex; flex-direction: column; text-align: left; align-content: start; }

.hub-list-item {
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 10px; background: rgba(0, 0, 0, 0.3); border-radius: 8px;
    margin-bottom: 6px; border: 1px solid rgba(255, 255, 255, 0.05); transition: 0.3s;
}
.hub-list-item:hover {
    background: rgba(255, 255, 255, 0.05); transform: translateX(5px); border-color: rgba(255, 255, 255, 0.15);
}

.list-game-info {
    display: flex; align-items: center; gap: 10px; font-size: 0.8rem; font-weight: 800;
    width: 150px; color: white; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.list-game-info i { font-size: 1.1rem; width: 20px; text-align: center; }

.list-progress-wrapper {
    flex-grow: 1; height: 6px; background: rgba(255, 255, 255, 0.1);
    border-radius: 3px; overflow: hidden; margin: 0 15px; box-shadow: inset 0 0 5px rgba(0,0,0,0.5);
}

/* Barres Cyberpunk animées */
.list-progress-fill {
    height: 100%;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    background-image: linear-gradient(
        45deg, 
        rgba(255, 255, 255, 0.15) 25%, 
        transparent 25%, 
        transparent 50%, 
        rgba(255, 255, 255, 0.15) 50%, 
        rgba(255, 255, 255, 0.15) 75%, 
        transparent 75%, 
        transparent
    );
    background-size: 1rem 1rem;
    animation: moveStripes 1s linear infinite;
}
@keyframes moveStripes {
    0% { background-position: 1rem 0; }
    100% { background-position: 0 0; }
}

.list-places { font-size: 0.85rem; font-weight: 900; width: 70px; text-align: right; white-space: nowrap; }
.list-places.complet { color: #ff3333; text-shadow: 0 0 8px rgba(255, 51, 51, 0.5); animation: pulseRed 2s infinite; }
@keyframes pulseRed { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }

.counter-loading, .counter-error { text-align: center; color: #ccc; margin-top: 20px; font-size: 0.9rem; width: 100%; }

/* ================= MODALES ET POPUPS ================= */
.modal { position: fixed; inset: 0; background: rgba(0,0,0,0.92); backdrop-filter: blur(12px); display: none; justify-content: center; align-items: center; z-index: 2000; }
.modal.active { display: flex !important; }
.modal.hidden { display: none !important; }
.modal-content, .modal-card { background: #0f0f0f; padding: 40px; border-radius: 25px; border: 2px solid var(--primary-neon); position: relative; color: white; max-height: 85vh; overflow-y: auto; width: 90%; max-width: 750px; box-shadow: 0 0 50px rgba(var(--primary-neon), 0.2); }
.modal-contact-small { max-width: 420px; }
.close-modal, .close { position: absolute; top: 15px; right: 20px; font-size: 2.2rem; background: none; border: none; color: #555; transition: color 0.3s; z-index: 10; cursor: pointer; padding: 0; margin: 0;}
.close-modal:hover, .close:hover { color: white; transform: scale(1.2); }
.modal-input { background: #000; border: 1px solid #333; color: white; padding: 15px; font-size: 1rem; width: 100%; margin-bottom: 15px; border-radius: 10px; box-sizing: border-box; font-family: 'Oxanium'; }
textarea.modal-input { min-height: 120px; resize: none; text-align: left; }

/* FAQ DESIGN */
.faq-theme-title { margin-top: 30px; margin-bottom: 15px; font-size: 1.1rem; text-transform: uppercase; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.faq-theme-title:first-child { margin-top: 0; }
.theme-title-blue { color: var(--neon-blue); border-color: rgba(0, 212, 255, 0.3); } 
.theme-title-purple { color: var(--neon-purple); border-color: rgba(188, 19, 254, 0.3); } 
.theme-title-green { color: var(--neon-green); border-color: rgba(57, 255, 20, 0.3); } 
.theme-title-orange { color: var(--neon-orange); border-color: rgba(255, 140, 0, 0.3); }

.faq-item { margin-bottom: 12px; border: 1px solid rgba(255,255,255,0.1); border-radius: 10px; overflow: hidden; background: rgba(255,255,255,0.02); transition: 0.3s; }
.faq-question { padding: 18px; font-weight: 800; display: flex; justify-content: space-between; align-items: center; font-size: 0.9rem; text-align: left; cursor: pointer; }
.faq-question::after { content: '\f078'; font-family: 'Font Awesome 6 Free'; font-weight: 900; transition: transform 0.3s; font-size: 0.8rem; margin-left: 10px; }
.faq-answer { max-height: 0; padding: 0 18px; overflow: hidden; transition: all 0.4s ease; color: #ccc; text-align: left; }
.faq-item:hover .faq-answer { max-height: 1000px; padding: 15px 18px 20px 18px; border-top: 1px solid rgba(255,255,255,0.05); }
.faq-item:hover .faq-question::after { transform: rotate(180deg); }

.faq-item-blue .faq-question { color: var(--neon-blue); } .faq-item-blue:hover { border-color: var(--neon-blue); background: rgba(0, 212, 255, 0.05); }
.faq-item-purple .faq-question { color: var(--neon-purple); } .faq-item-purple:hover { border-color: var(--neon-purple); background: rgba(188, 19, 254, 0.05); }
.faq-item-green .faq-question { color: var(--neon-green); } .faq-item-green:hover { border-color: var(--neon-green); background: rgba(57, 255, 20, 0.05); }
.faq-item-orange .faq-question { color: var(--neon-orange); } .faq-item-orange:hover { border-color: var(--neon-orange); background: rgba(255, 140, 0, 0.05); }

/* CONTACT BOITES */
.contact-box { background: #1a1a1a; padding: 15px; border-radius: 15px; margin-bottom: 15px; display: flex; align-items: center; gap: 20px; border: 1px solid transparent; transition: 0.3s; cursor: pointer; }
.contact-box:hover { transform: scale(1.02); border-color: inherit; }
.icon-circle { width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; color: white; flex-shrink: 0; }

/* PRIX (CASHPRIZE) */
.prix-day-card { background: rgba(255, 255, 255, 0.03); border-radius: 12px; padding: 20px; transition: transform 0.3s, box-shadow 0.3s; border: 1px solid rgba(255, 255, 255, 0.1); margin-bottom: 20px; }
.prix-day-card:hover { transform: translateY(-5px); }
.card-vendredi { border-color: rgba(0, 212, 255, 0.3); } .card-vendredi:hover { border-color: var(--neon-blue); box-shadow: 0 5px 15px rgba(0, 212, 255, 0.15); } .title-vendredi { color: var(--neon-blue); }
.card-samedi { border-color: rgba(188, 19, 254, 0.3); } .card-samedi:hover { border-color: var(--neon-purple); box-shadow: 0 5px 15px rgba(188, 19, 254, 0.15); } .title-samedi { color: var(--neon-purple); }
.card-dimanche { border-color: rgba(255, 140, 0, 0.3); } .card-dimanche:hover { border-color: var(--neon-orange); box-shadow: 0 5px 15px rgba(188, 19, 254, 0.15); } .title-dimanche { color: var(--neon-orange); }
.prix-day-title { font-size: 1.2rem; margin-top: 0; margin-bottom: 15px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); padding-bottom: 10px; display: flex; align-items: center; gap: 10px; text-transform: uppercase; }
.prix-game-item { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px dashed rgba(255, 255, 255, 0.05); flex-wrap: wrap; gap: 10px; }
.game-name { font-weight: 800; color: white; font-size: 1.1rem; }
.game-prizes { display: flex; gap: 15px; font-size: 0.95rem; font-weight: 800; background: rgba(0,0,0,0.5); padding: 8px 15px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.05); }
.rank-1 { color: #ffd700; text-shadow: 0 0 5px rgba(255, 215, 0, 0.5); } .rank-2 { color: #c0c0c0; text-shadow: 0 0 5px rgba(192, 192, 192, 0.5); } .rank-3 { color: #cd7f32; text-shadow: 0 0 5px rgba(205, 127, 50, 0.5); }

/* PARTENAIRES & GOOGLE MAPS */
.partners-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; margin-top: 20px; }
.partner-logo-wrapper { background: #fff; padding: 15px; border-radius: 10px; display: flex; align-items: center; justify-content: center; transition: 0.3s; width: 200px; height: 100px; box-sizing: border-box; }
.partner-logo-wrapper:hover { transform: scale(1.05); box-shadow: 0 0 15px var(--neon-yellow); }
.partner-logo-wrapper img { max-width: 100%; max-height: 100%; object-fit: contain; }
.map-wrapper { width: 100%; border-radius: 15px; overflow: hidden; border: 2px solid var(--primary-neon); box-shadow: 0 0 20px rgba(var(--primary-neon), 0.2); background: #111; transition: 0.4s; margin-bottom: 20px; }
.map-wrapper:hover { border-color: var(--neon-green) !important; box-shadow: 0 0 30px rgba(57, 255, 20, 0.3) !important; transform: scale(1.01); }
.map-wrapper iframe { filter: grayscale(100%) invert(90%) hue-rotate(180deg) brightness(0.9); transition: 0.5s; }
.map-wrapper:hover iframe { filter: grayscale(0%) invert(0%) hue-rotate(0deg) brightness(1); }

/* ================= FOOTER ================= */
.glass-footer { 
    background: rgba(15, 15, 15, 0.6); backdrop-filter: blur(20px); 
    width: calc(100% - 40px); /* Aligné avec le padding du conteneur principal */
    max-width: 1760px; /* Longueur des 3 colonnes (1800 - 2x20) */
    box-sizing: border-box; z-index: 50; 
    display: flex; align-items: center; justify-content: center; gap: 15px; 
    /* Transformation en capsule */
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-left: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    margin: auto auto 20px auto; /* Flottant en bas et centré */
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    padding: 10px 5%; position: relative; 
}
.glass-footer img { height: 60px; border-radius: 8px; border: 2px solid rgba(255,255,255,0.1); transition: 0.3s; cursor: pointer; }
.glass-footer img:hover { border-color: var(--primary-neon); transform: scale(1.05); box-shadow: 0 0 15px var(--primary-neon); }
.glass-footer .copyright-text { color: rgba(255, 255, 255, 0.7); font-size: 0.65rem; text-transform: uppercase; cursor: pointer; transition: 0.3s; }
.glass-footer .copyright-text:hover { color: var(--primary-neon); text-shadow: 0 0 10px var(--primary-neon); }

.doc-legal-container { position: absolute !important; right: 5% !important; z-index: 999 !important; display: block !important; }
.btn-doc-legal { background: #0f0f0f !important; border: 1px solid rgba(255,255,255,0.4) !important; border-radius: 8px; padding: 8px 15px; font-size: 0.75rem; font-weight: 800; color: #fff !important; cursor: pointer; transition: 0.3s; text-transform: uppercase; font-family: 'Oxanium', sans-serif; box-shadow: 0 0 10px rgba(0, 0, 0, 0.8) !important; }
.btn-doc-legal:hover { border-color: var(--primary-neon) !important; color: var(--primary-neon) !important; box-shadow: 0 0 15px rgba(var(--primary-neon), 0.4) !important; }

/* ANTI-ADBLOCK BAR */
.site-notice-bar { position: fixed; bottom: 20px; right: 20px; z-index: 9999; width: 320px; padding: 20px; border-radius: 15px; background: rgba(15, 15, 15, 0.95); backdrop-filter: blur(10px); border: 1px solid var(--primary-neon); box-shadow: 0 10px 30px rgba(0,0,0,0.8); transition: opacity 0.5s ease, transform 0.5s ease; transform: translateY(0); }
.site-notice-bar.hidden { opacity: 0; transform: translateY(50px); pointer-events: none; }
.notice-inner-content p { margin-bottom: 15px; margin-top: 0;}
.notice-inner-content button { width: 100%; justify-content: center; }

/* RESPONSIVE & MOBILE STICKY BUTTON */
@media (max-width: 1300px) {
    .main-layout { grid-template-columns: 1fr; gap: 20px; }
    .column-center { order: -1; }
    .glass-panel-right { padding: 40px !important; }
}

@media (max-width: 900px) {
    .glass-nav { position: relative; padding: 15px; align-items: center; justify-content: center; gap: 15px; flex-wrap: wrap;}
    
    .menu-wrapper { position: relative; left: auto; top: auto; display: flex; flex-direction: column; align-items: center; width: 100%; z-index: 1000; }
    .nav-bubble { width: auto; height: auto; background: transparent; border: none; box-shadow: none; border-radius: 0; padding: 10px; margin-top: 0;}
    .nav-logo { width: 90px; }
    
    .glass-dropdown { top: 100%; left: 50%; transform: translateX(-50%) translateY(-15px); width: 90%; max-width: 320px; }
    .glass-dropdown.active { transform: translateX(-50%) translateY(0); }
    
    .news-ticker { position: relative; z-index: 50; }
    .ticker-fade-wrapper { width: 100%; margin-left: 0; -webkit-mask-image: none; mask-image: none; }
    
    .nav-tools-group { width: 100%; justify-content: center; flex-wrap: wrap; border-radius: 25px; padding: 15px; margin-top: 10px; }
    .datetime-widget { width: 100%; margin: 10px 0 0 0; padding: 10px 0 0 0; border-left: none; border-top: 1px solid rgba(255,255,255,0.1); align-items: center; }
    
    .main-layout { margin-top: 40px; padding-bottom: 90px; } 

    /* BOUTON INSCRIPTION FLOTTANT SUR MOBILE */
    #btn-inscription {
        position: fixed;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
        max-width: 400px;
        z-index: 990;
        box-shadow: 0 10px 30px rgba(0,0,0,0.9), 0 0 20px var(--neon-blue);
        font-size: 1.1rem !important;
    }
    #btn-inscription:hover {
        transform: translateX(-50%) translateY(-5px);
    }
    .hero-action-card { padding-bottom: 20px; }
}

@media (max-width: 768px) {
    .glass-footer { flex-direction: column; padding: 20px; height: auto; border-radius: 25px; width: calc(100% - 40px); margin: 0 auto 20px auto; }
    .doc-legal-container { position: relative !important; right: auto !important; margin-top: 15px !important; }
    .site-notice-bar { left: 20px; right: 20px; width: auto; bottom: 100px; } 
}

@media (max-width: 600px) {
    .btn-grid .btn { flex: 1 1 100%; max-width: 100%; }
    .hub-tiles-grid { grid-template-columns: repeat(2, 1fr); } 
    .prix-game-item { flex-direction: column; align-items: flex-start; }
    .game-prizes { width: 100%; justify-content: space-between; }
    .glass-panel, .glass-panel-events { padding: 25px; }
    
    .hero-panel { margin-top: 90px; padding-top: 80px !important; }
    .logo-container { top: -100px; }
    .main-logo { width: 180px; }
}