/* --- NOUVEAUX STYLES DE LA BARRE EN BAS (FOOTER) --- */

.footer-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    flex-direction: column; 
    align-items: center; 
    padding-bottom: 30px;
    z-index: 2; /* S'affiche au-dessus du logo et des éclairs */
}

.white-line {
    width: 150px; 
    height: 3px; 
    background-color: #ffffff; 
    margin-bottom: 10px; 
}

.webmail-link {
    color: #ffffff; 
    text-decoration: none; 
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 2px;
    transition: color 0.3s;
}

.webmail-link:hover {
    color: #00BFFF; 
}


/* --- Styles de base et du logo --- */
body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    background-color: #000000; 
    font-family: sans-serif;
    overflow: hidden; 
    position: relative; 
}

.container {
    display: flex;
    justify-content: center; 
    align-items: center;     
    min-height: 100vh;       
    text-align: center;
    position: relative; 
    z-index: 1; 
}

.logo {
    max-width: 80%;
    max-height: 80vh; 
    height: auto;
}

/* --- Styles pour les éclairs --- */
.lightning-strike, .lightning-strike-2, .lightning-strike-3 {
    position: absolute;
    right: -100%; 
    width: 200%; 
    height: 5px; 
    background: linear-gradient(to right, transparent, #8B00FF, #00BFFF, #8B00FF, transparent);
    -webkit-animation: strike 4s linear infinite, color-shift 8s linear infinite; 
    animation: strike 4s linear infinite, color-shift 8s linear infinite; 
    z-index: 0; 
}

/* Éclair 1 */
.lightning-strike {
    top: 50%; 
    height: 6px; 
    transform: translateY(-50%) rotate(-5deg); 
    filter: drop-shadow(0 0 10px #00BFFF); 
}

/* Éclair 2 */
.lightning-strike-2 {
    top: 30%; 
    height: 4px; 
    transform: translateY(-50%) rotate(2deg); 
    animation-delay: 1.5s; 
    -webkit-animation-delay: 1.5s;
    filter: drop-shadow(0 0 10px #00BFFF); 
}

/* Éclair 3 */
.lightning-strike-3 {
    top: 75%; 
    height: 3px; 
    transform: translateY(-50%) rotate(8deg); 
    animation-delay: 3s; 
    -webkit-animation-delay: 3s;
    filter: drop-shadow(0 0 10px #00BFFF); 
}


/* --- Définition des animations --- */
@keyframes strike {
    0% { right: -100%; }
    100% { right: 100%; }
}

@keyframes color-shift {
    0% { filter: hue-rotate(0deg) drop-shadow(0 0 10px #00BFFF); }
    25% { filter: hue-rotate(90deg) drop-shadow(0 0 10px #FFD700); }
    50% { filter: hue-rotate(180deg) drop-shadow(0 0 10px #FF0000); }
    75% { filter: hue-rotate(270deg) drop-shadow(0 0 10px #00FF00); }
    100% { filter: hue-rotate(360deg) drop-shadow(0 0 10px #00BFFF); }
}

@-webkit-keyframes strike {
    0% { right: -100%; }
    100% { right: 100%; }
}

@-webkit-keyframes color-shift {
    0% { -webkit-filter: hue-rotate(0deg) drop-shadow(0 0 10px #00BFFF); }
    25% { -webkit-filter: hue-rotate(90deg) drop-shadow(0 0 10px #FFD700); }
    50% { -webkit-filter: hue-rotate(180deg) drop-shadow(0 0 10px #FF0000); }
    75% { -webkit-filter: hue-rotate(270deg) drop-shadow(0 0 10px #00FF00); }
    100% { -webkit-filter: hue-rotate(360deg) drop-shadow(0 0 10px #00BFFF); }
}