@font-face {
    font-family: 'ClashDisplay';
    src: url('font/ClashDisplayTTF/ClashDisplay-Variable.ttf') format('truetype');
}

@font-face {
    font-family: 'GREY';
    src: url('font/GREY.ttf') format('truetype');
}

@font-face {
    font-family: 'NEBULAR';
    src: url('font/Nebula-Regular.otf') format('truetype');
}

@font-face {
    font-family: 'NbpInforma';
    src: url('font/NbpInformaFivesix.ttf') format('truetype');
}

@font-face {
    font-family: 'NebulaHollow';
    src: url('font/Nebula-Hollow.otf') format('truetype');
}


/*//////////////////// SCROLLBAR ////////////////////////////////////*/

/* Style de la barre de défilement */

/* Pour Firefox */
/* * {
    scrollbar-width: thin;
    scrollbar-color: #41AF22 #0A0909;
}
 */

::-webkit-scrollbar {
    width: 4px; /* Largeur de la barre de défilement */
    background-color: #0A0909; /* Fond noir */
}

/* Style du "thumb" (la partie mobile de la barre) */
::-webkit-scrollbar-thumb {
    background-color: #41AF22; /* Couleur verte (même que la bordure) */
    border-radius: 0; /* Coins rectangulaires */
}

/* Style de la piste de la barre de défilement */
::-webkit-scrollbar-track {
    background-color: 0A0909(255, 0, 0); /* Fond noir */
}



/*//////////////////// PAGE 1 ////////////////////////////////////*/

.page-1 {
    position: relative;
    top: 0;

    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
}

.background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    opacity: 0.05;
    pointer-events: none; /* Assurez-vous que les vidéos ne capturent pas les événements de clic */
}

/* Style global pour le h1 */
h1 {
    font-family: 'ClashDisplay', sans-serif;
    font-size: 24px;
    font-weight: 400;
    color: #ffffff;
    z-index: 2;
    margin: 0;
    position: relative;
    user-select: none;
    -webkit-user-select: none; 
    -moz-user-select: none; 
    -ms-user-select: none; 
}

.header {
    z-index: 2;
    display: flex;
    justify-content: space-between;
    padding-left: 36px;
    padding-right: 58px;
    top: 25px;
    position: relative;

}

.header_right {
    position: fixed;
    
    right: 58px;
    font-family: 'NbpInforma';
    font-weight: 500;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit; 
    font-size: 18px;
    line-height: 1;
    z-index: 100050;
}

.header_right a {
    text-decoration: none;
    color: #606A5C; /* Couleur par défaut */
    position: relative;
    padding-bottom: 5px;
    transition: color 0.5s ease; /* Transition fluide pour la couleur */
}

.header_right a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 72px; 
    height: 2px; 
    background-color: #41AF22; 
}

.header_right a:link,
.header_right a:visited {
    color: #606A5C; 
}

.header_right a:hover,
.header_right a:active {
    color: #c77272; 
}

.page_1_footer {
    z-index: 2;
    position: fixed;
    bottom: 0;
    display: flex;
    justify-content: space-between;
    color: #A6FF35;
    align-items: center;
    font-size: 20px;
    font-family: 'NbpInforma';
    width: 100%;
    box-sizing: border-box;
    pointer-events: none;
}
.arrow_grp {
    display: flex;
}

.page_1_footer_left {
    padding-left: 36px;
    animation: scanlineGreen 6s linear infinite;
}
.arrow_right {
    padding-left: 11px;
}

.page_1_footer_left p {
    padding-left: 11px;
    animation: scanlineGreen 6s linear infinite;
    text-decoration: none;
    
}
.page_1_footer_right {
    padding-right: 19px;
    animation: scanlineGreen 6s linear infinite;
    font-size: 12px;
    pointer-events: auto;
    color: inherit; /* Utilise la couleur héritée du parent */
    
}

.page_1_footer_right a:link,
.page_1_footer_right a:visited,
.page_1_footer_right a:hover,
.page_1_footer_right a:active {
    color: inherit; /* Utilise la couleur héritée du parent */
}


.page_1_footer_middle {
    position: absolute;
    z-index: 5; /* Assurez-vous que ce z-index est supérieur à celui des éléments qui pourraient recouvrir les liens */

    left: 50%;
    transform: translateX(-49.5%);
    bottom: 20px;
    display: flex;
    gap: 3rem;
    font-family: 'NbpInforma';
    font-size: 20px;
    color: #A6FF35;
    animation: scanlineGreen 6s linear infinite;
}

.page_1_footer_middle a {
    position: relative;
    text-decoration: none;
    color: inherit;
}

.page_1_footer_middle a::before,
.page_1_footer_middle a::after {
    content: attr(data-text);
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    color: #A6FF35;
    background: #0A0909;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.1s ease;
}

.page_1_footer_middle a.glitch-active::before {
    opacity: 1;
    left: 3px;
    animation: 
        glitch-1 .5s steps(1) forwards,
        glitch-3 0.3s steps(1) forwards,
        shake 3s steps(1) forwards;
}

.page_1_footer_middle a.glitch-active::after {
    opacity: 1;
    left: -3px;
    animation: 
        glitch-2 1s steps(1) forwards,
        glitch-4 0.7s steps(1) forwards,
        shake-reverse 4s steps(1) forwards;
}

.footer_responsive {
    display: none;         
    font-size: 22px;
    color: #a7ff35b6;
    font-family: 'NbpInforma';
    position: absolute;
    bottom: -9px;
    right: 37.5%;
    transform: translateX(-50%);
    animation: scanlineGreen 6s linear infinite;  /* Ajout de l'animation scanline */
    text-shadow: 0 0 8px rgba(166, 255, 53, 0.4); /* Ajout d'un text-shadow pour renforcer l'effet */
}

@media screen and (max-width: 768px) {
    .header {
        top: 13px;
        padding-left: 20px;
    }
    .header_right {
        right: 24px;
    }
    
    h1 {
        font-size: 18px;
        position: fixed;
        z-index: 100050;
    }
    .page_1_footer {
        font-size: 18px;
    }
    
    .page_1_footer_right {
        display: none;
    }

    .page_1_footer_left {
        padding-left: 19px;
        padding-bottom: 10px;
    }
    
    .page_1_footer_left p {
        display: none;
    }

    .footer_responsive {
        display: inline;
        animation: scanlineGreen 6s linear infinite;  /* S'assurer que l'animation est appliquée en mobile */
    }
}










/*//////////////////// PAGE 2 ////////////////////////////////////*/

.page_2_bandeaux {
    display: none;
}

.page_2 {
    position: relative;
    width: 100vw;
    height: 100vh;
    min-height: 611px; /* Hauteur minimale de 611px */
    z-index: 1;
}



body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background-color: black; /* Pour assurer un fond noir entre les pages */
}
.page_2_description p {
    white-space: pre-wrap;
    word-wrap: break-word;
    width: 100%;
    animation: scanlineWhiteSoft 6s linear infinite;
}



@media screen and (max-width: 768px) {
    .page_1_footer_middle {
        display: none;
    }

    .page_2_description .text-source {
        color: #A6FF35;
        font-size: 0.9em;
        margin-left: 10px;
        font-weight: 400;
        opacity: 0.85;
        white-space: nowrap;
        padding-top: 10vh;
    }
    
    

}









/*//////////////////// Page 2 ////////////////////////////////////*/



.background-video2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    will-change: transform; /* Optimisation des performances */
    backface-visibility: hidden; /* Évite les scintillements */
    transform: translateZ(0); /* Force l'accélération matérielle */
}

/* Fallback en cas de problème de lecture */
.background-video2:not([playing]) {
    background-color: #000000;
}

.lines-container {
   /* position: relative; */
    height: 100px; /* Hauteur du conteneur, ajustez selon vos besoins */
}


.line-60 {
    position: absolute;
    top: 75.5%;
    width: 50%;
    height: 1px; /* Épaisseur de la ligne */
    background-color: #ffffff; /* Couleur de la ligne */
    margin: 20px 0; /* Espace vertical autour de la ligne */
}
.line-60_circle {
    width: 12px;
    height: 11px;
    background-color: #ffffff; /* Couleur blanche */
    border-radius: 50%; /* Transforme le carré en cercle */
    position: absolute; /* Permet de positionner le cercle précisément */
    left: 20%; /* Place le cercle à la fin de .line-60 */
    transform: translate(-50%, -46%); /* Centre le cercle par rapport à son point de référence */
    transition: left 0.1s ease-out; /* Ajoute une transition fluide */

}

.line-20 {
    position: absolute;
    top: 75.5%;
    right: 0;
    width: 18.19%;
    height: 1px; /* Épaisseur de la ligne */
    background-color: #ffffff; /* Couleur de la ligne */
    margin: 20px 0; /* Espace vertical autour de la ligne */
    margin-left: auto; /* Aligne la ligne à droite */
}
.line-center {
    position: absolute;
    top: 7.2%;
    left: 50%;
    width: 1px; /* Épaisseur de la ligne */
    height: 85.4%; /* Longueur de la ligne */
    background-color: #ffffff; /* Couleur de la ligne */
}
.line-center_circle {
    width: 12px;
    height: 11px;
    background-color: #ffffff; /* Couleur blanche */
    border-radius: 50%; /* Transforme le carré en cercle */
    position: absolute; /* Permet de positionner le cercle précisément */
    left: 50%; /* Centre horizontalement par rapport à .line-center */
    top: 50%; /* Centre verticalement par rapport à .line-center */
    transform: translate(-50%, -50%); /* Centre le cercle par rapport à son point de référence */
    transition: left 0.1s ease-out; /* Ajoute une transition fluide */
    bottom: 30%;    
    transition: left 0.1s ease-out; /* Ajoute une transition fluide */


}
.line-right {
    position: absolute;
    top: 0%;
    left: 83.125%;
    width: 1px; /* Épaisseur de la ligne */
    height: 47.28%; /* Longueur de la ligne */
    background-color: #ffffff; /* Couleur de la ligne */
}

.line-right_circle {
    width: 12px;
    height: 11px;
    background-color: #ffffff;
    border-radius: 50%;
    position: absolute;
    left: 50%; /* Centre horizontalement par rapport à .line-center */
    top: 50%; /* Centre verticalement par rapport à .line-center */
    transform: translate(-50%, -50%);
    transition: left 0.1s ease-out;

}

.border {
    position: absolute;
    top: 15.3vh;
    left: 51.319vw;
    right: 73.9vw;
    width: 30.3%;
    height: 69.38vh;
    background-color: transparent;
    border: 2px solid #41AF22;
    overflow: hidden;
}

.imagecontainer {
    position: relative;
    width: 100%;
    height: 100%;
}

.border .animated-image {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translateY(0) scale(1.05);
    transition: transform 0.1s ease-out;
    will-change: transform;
    transform-origin: center center;
}


.page_2_description {
    position: absolute;
    top: 15vh; /* Basé sur la hauteur de l'écran */
    left: 15vw; /* Position fixe */
    color: #ffffff;
    font-family: 'NbpInforma';
    font-size: 20px;
    font-weight: 400;
    line-height: 1.2;
    width: 30vw;
    max-width: 600px; /* Largeur maximale pour les grands écrans */
}

/* Affichage par défaut pour les écrans normaux */
.page_2_description .mobile-text {
    display: none;
}

.page_2_description .desktop-text {
    display: block;
}

.upperimage_mobile {
    display: block;
    line-height: .9;
    font-size: max(14px, 1.1rem);
    font-weight: 400;
    color: #ffffff;
    font-family: 'NbpInforma';
    position: absolute;
    top: 12vh;
    left: 6vw;
    width: 45vw;
    padding: 0;
    margin: 0;
    z-index: 5;
}


.line-60, .line-20, .line-center, .line-right {
    opacity: 0;
    transform: scaleY(0);
    transition: opacity 1s ease-out, transform 1s ease-out;
    will-change: opacity, transform;
}

.line-visible {
    opacity: 1 !important;
    transform: scaleY(1) !important;
}

.upperimage_mobile {
    display: none;
}


/* Media query pour les écrans plus petits */
@media screen and (max-width: 1060px) {
    .page_2_description {
        font-size: 22px;
    }
    .text-hidden {
        display: none;
    }
}

/* Media query pour les écrans plus petits */
@media screen and (max-width: 768px) {
    .page_2_description {
        display: block;
        width: 70vw; /* Augmenter la largeur relative sur petits écrans */
        font-size: max(14px, 1.1rem);
        top: 12vh;
        left: 6vw;
        line-height: .9;
    }

    /* Inversion de l'affichage pour petits écrans */
    .page_2_description .desktop-text {
        display: none;
    }

    .page_2_description .mobile-text {
        display: block;
    }

    .page_2_description :nth-child(1) {
       font-size: max(24px, 1.25rem);
    }
    .page_2 {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: 100vh;
        min-height: 611px; /* Maintenir la hauteur minimale sur mobile */
        width: 100vw;
        position: relative; /* Assurez-vous que c'est un contexte de positionnement */
    }

    .upperimage_mobile {
        display: block;
        line-height: .9;
        font-size: max(14px, 1rem);
        font-weight: 400;
        color: #ffffff;
        font-family: 'NbpInforma';
        position: absolute;
        left: 6vw;
        width: 45vw;
        bottom: 72px;
        margin: 0;
        z-index: 5;
        max-height: 15vh; /* Limiter la hauteur maximale */
    }
    
    .border {
        position: absolute;
        top: calc(15vh + 5vh); /* Position basée sur max-height de upperimage_mobile + padding */
        left: 5.319vw;
        right: auto;
        width: 88.3%;
        height: 33.38vh;
        background-color: transparent;
        border: 3px solid #41AF22;
        overflow: hidden;
        display: block !important;
        z-index: 10;
        box-shadow: 0 0 10px rgba(65, 175, 34, 0.5);
    }

    .line-center {
        height: 27vh;
        position: absolute;
        top: 47.2%;
        left: 10%;
        width: 1px;
        background-color: #ffffff;
        display: none;
    }

    .line-right {
        display: none;
    }
    .page_2_bandeaux {
        display: none;
    }
    
    /* Make sure the image container is properly positioned */
    .imagecontainer {
        position: relative;
        width: 100vw;
        z-index: 1; /* Lower than border but higher than background */
    }
    
    /* Ensure the animated image is visible */
    .border .animated-image {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transform: translateY(0) scale(1.05);
        z-index: 9; /* Just below the border */
    }
    
    .image-container {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        margin: 2.5%;
        overflow: hidden;
        z-index: 9; /* Just below the border */
    }

    .text-source {
        color: #a7ff35a9;
    }
}



/* Media query pour les écrans encore plus petits */
@media screen and (max-height: 450px) and (max-width: 768px) {
    .upperimage_mobile {
        position: relative; /* Changer en position relative */
        top: 0;
        font-size: max(11px, 0.9rem);
        max-height: 8vh;
        padding-bottom: 2vh;
        margin-top: 1vh;
    }
    

    
    .imagecontainer {
        display: flex;
        flex-direction: column;
        height: auto;
    }
}

.page_2_bandeaux {
    position: absolute;
    top: 50%;
    right: 25px; /* Ajustement pour compenser la rotation */
    color: #ffffff;
    transform: rotate(90deg) translateX(50%); /* Rotation + ajustement de la position */
    transform-origin: right; /* Point d'origine de la rotation */
    font-family: 'NbpInforma';
    font-size: 24px;
    font-weight: 400;
    line-height: 1.2;
}





.page_1_footer_middle::before,
.page_1_footer_middle::after {
    content: attr(data-text);
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    color: #A6FF35;
    background: #0A0909;
    overflow: hidden;
}

.page_1_footer_middle::before {
    left: 3px;
    animation: 
        glitch-1 .5s steps(1) infinite,
        glitch-3 0.3s steps(1) infinite,
        shake 3s steps(1) infinite;
}

.page_1_footer_middle::after {
    left: -3px;
    animation: 
        glitch-2 1s steps(1) infinite,
        glitch-4 0.7s steps(1) infinite,
        shake-reverse 4s steps(1) infinite;
}

@keyframes glitch-1 {
    0%, 100% { clip: rect(0, auto, 2px, 0); }
    15% { clip: rect(20px, auto, 30px, 0); opacity: 0.8; }
    35% { clip: rect(40px, auto, 50px, 0); opacity: 1; }
    45% { clip: rect(100px, auto, 110px, 0); opacity: 0.9; }
    65% { clip: rect(60px, auto, 70px, 0); opacity: 1; }
    75% { clip: rect(110px, auto, 120px, 0); opacity: 0.7; }
    85% { clip: rect(80px, auto, 90px, 0); opacity: 1; }
}

@keyframes glitch-2 {
    0%, 100% { clip: rect(0, auto, 5px, 0); }
    20% { clip: rect(15px, auto, 25px, 0); opacity: 0.9; }
    40% { clip: rect(45px, auto, 55px, 0); opacity: 1; }
    60% { clip: rect(70px, auto, 80px, 0); opacity: 0.8; }
    80% { clip: rect(95px, auto, 105px, 0); opacity: 1; }
}

@keyframes glitch-3 {
    0%, 100% { clip: rect(12px, auto, 15px, 0); }
    25% { clip: rect(25px, auto, 30px, 0); opacity: 0.7; }
    50% { clip: rect(5px, auto, 10px, 0); opacity: 1; }
    75% { clip: rect(35px, auto, 40px, 0); opacity: 0.9; }
}

@keyframes glitch-4 {
    0%, 100% { clip: rect(18px, auto, 20px, 0); }
    33% { clip: rect(8px, auto, 12px, 0); opacity: 0.8; }
    66% { clip: rect(28px, auto, 32px, 0); opacity: 1; }
}

@keyframes shake {
    0%, 100% { transform: translate(0, 0) scale(1); }
    10% { transform: translate(-2px, -1px) scale(1.02); }
    20% { transform: translate(1px, 1px) scale(0.99); }
    30% { transform: translate(-1px, 2px) scale(1.01); }
    40% { transform: translate(2px, -2px) scale(0.98); }
    50% { transform: translate(-2px, 1px) scale(1.02); }
    60% { transform: translate(1px, 2px) scale(0.99); }
    70% { transform: translate(-2px, -1px) scale(1.01); }
    80% { transform: translate(0, 2px) scale(0.98); }
    90% { transform: translate(2px, 0) scale(1.02); }
}

@keyframes shake-reverse {
    0%, 100% { transform: translate(0, 0) scale(1); }
    15% { transform: translate(2px, 1px) scale(0.98); }
    35% { transform: translate(-1px, -2px) scale(1.01); }
    55% { transform: translate(2px, -1px) scale(0.99); }
    75% { transform: translate(-2px, 2px) scale(1.02); }
    95% { transform: translate(1px, -1px) scale(0.98); }
}



img[alt="arrow_left"] {
    transition: transform 0.5s ease; /* Transition fluide pour la rotation */
}

svg[alt="arrow_left"] {
    transition: transform 0.5s ease; /* Transition fluide pour la rotation */
}



/*////////////////////////////////////////////////////////////////////////* PAGE 3 ////////////////////////////////////////////////////////////////////////*/


/* page 3 */

.page_3 {
    position: relative;
    width: 100vw;
    height: 100vh;
    z-index: 1;
    display: flex;
    justify-content: center;
}
/* Positionnement du conteneur first-player */
.first-player, .second-player {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    padding-top: 10vh;
    width: 74vw; /* 74% de la largeur de la fenêtre d'affichage */
    max-width: 37vw; /* Limite la largeur maximale à 32% de la fenêtre d'affichage */  
}


.first-player {
    margin-right: 5%;
}

.second-player {
    margin-left: 5%;
}


/* Media query pour les écrans de moins de 1200px */
@media screen and (max-width: 1200px) {
    .page_3 {
        flex-direction: column; /* Change la direction du flex en colonne */
        height: auto; /* Permet à la hauteur de s'adapter au contenu */
        min-height: 100vh; /* Assure une hauteur minimale de 100vh */
    }
    
    .first-player, .second-player {
        width: 90vw; /* Augmente la largeur pour les petits écrans */
        max-width: 80vw; /* Augmente la largeur maximale */
        padding-top: 10vh; /* Réduit le padding pour les petits écrans */
        margin-left: 10%;
        margin-right: 10%  !important;

    }
    
    /* Supprime la ligne de séparation verticale si elle existe */
    .line_divider {
        display: none;
    }
}







.mp3-player {
    width: 600px;
    margin: 0px auto;
    border: 1px solid #ffffff;
    font-family: 'NbpInforma';
    color: #ffffff;
    background-color: #0a090900;
}

.mp3-header {
    display: grid;
    grid-template-columns: 100px 120px 1fr; /* Largeurs fixes pour les deux premières colonnes */
    gap: 10px;
    align-items: center;
    font-size: 22px;
    padding: 0 20px;
    height: 35px;
    justify-items: start;
    border-bottom: 1px solid #ffffff;
    
}

.mp3-content {
    display: grid;
    grid-template-columns: 1fr; /* Une seule colonne pour contenir mp3-info */
    gap: 10px;
    align-items: center;
    padding: 0 20px;
    height: 35px;
    border-bottom: 1px solid #ffffff;
}

.mp3-info {
    display: grid;
    grid-template-columns: 100px 120px 1fr; /* Mêmes largeurs que l'en-tête */
    gap: 10px;
    align-items: center;
    font-size: 20px;
}

.mp3-type {
    display: grid;
    grid-template-columns: 120px 1fr; /* Largeur fixe pour le type */
    gap: 20px;
    align-items: center;
}

.mp3-header span, .mp3-info span, .mp3-type span {
    text-align: left;
    padding: 5px 0;
    white-space: nowrap; /* Empêche le texte de passer à la ligne */
    overflow: hidden;    /* Cache le texte qui dépasse */
    text-overflow: ellipsis; /* Ajoute des points de suspension si nécessaire */
}

.mp3-controls {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.play-pause {
    background-color: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-icon {
    width: 12px;
    height: 12px;
    filter: invert(1);
}

.seek-bar {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 3px;
    margin-left: 10px;
    background: #333333;
    outline: none;
    cursor: pointer;
    position: relative;
}

/* Style de la partie remplie pour Chrome/Safari */
.seek-bar::-webkit-slider-runnable-track {
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, #ffffff var(--value, 0%), #333333 var(--value, 0%));
    border: none;
}

/* Style du curseur - le rendre invisible */
.seek-bar::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 0;
    height: 0;
    background: transparent;
    border: none;
}

/* Style pour Firefox */
.seek-bar::-moz-range-track {
    width: 100%;
    height: 3px;
    background: #333333;
    border: none;
}

.seek-bar::-moz-range-progress {
    background-color: #ffffff;
    height: 3px;
}

.seek-bar::-moz-range-thumb {
    width: 0;
    height: 0;
    opacity: 0;
}

#current-time, #duration {
    font-size: 14px;
}

.animated-element {
    will-change: transform, opacity;
}

/* Style de base pour les éléments avec overflow */
.mp3-info span, .mp3-type span {
    position: relative;
    text-align: left;
    padding: 5px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    /* Supprimer toutes les transitions par défaut */
    transition: none;
    transform: translateX(0);
}

/* Animation de défilement uniquement pour les éléments avec overflow */
.mp3-info span[data-overflow="true"]:hover, 
.mp3-type span[data-overflow="true"]:hover {
    overflow: hidden;
    text-overflow: clip;
    animation: marquee 9s linear infinite;
    /* Supprimer le délai et les transitions */
    animation-delay: 0s;
    transition: none;
}

/* Animation simplifiée */
@keyframes marquee {
    0% {
        text-indent: 0;
    }
    100% {
        text-indent: -120%;
    }
}

/* Assurer que le conteneur conserve sa taille */
.mp3-content {
    position: relative;
    overflow: hidden;
}

/* Assurer que le texte reste dans son conteneur */
.mp3-type {
    overflow: hidden;
}




/* Ajout du rectangle blanc au-dessus du lecteur MP3 */
.upper-container {
    position: relative;
    
    height: 200px; /* Hauteur du rectangle */
    border-bottom: 0px;
    margin: 0px auto; /* Ajout de la même marge que mp3-player */

   
}




/* Ajustez également les éléments enfants pour qu'ils s'adaptent à la nouvelle largeur */
.first-player .upper-container,
.second-player .upper-container,
.first-player .mp3-player,
.second-player .mp3-player {
    width: 100%; /* Prend toute la largeur du parent */
    max-width: 100%; /* S'assure que les éléments ne dépassent pas la largeur du parent */
}

.line_upper_right { 
    position: absolute;
    right: -.5px;
    height: 137px;
    width: .5px;
    background-color: #ffffff;
    margin: 0px auto;
    transform-origin: bottom left; /* Changez le point de rotation ici */
    bottom: 0;
    transform: rotate(342.17deg);
}

.line_bottom_right { 
    position: absolute;
    right: -.5px;
    bottom: -36px;
    height: 137px;
    width: .5px;
    background-color: #ffffff;
    margin: 0px auto;
    transform-origin: bottom left; /* Changez le point de rotation ici */

    transform: rotate(342.17deg);
}

.line_upper_left {
    position: absolute;
    left: -.5px;
    height: 137px;
    width: .5px;
    background-color: #ffffff;
    margin: 0px auto;
    transform-origin: bottom left; /* Changez le point de rotation ici */
    bottom: 0;
    transform: rotate(17deg);
}

.line_bottom_left { 
    position: absolute;
    left: -.5px;
    bottom: -36px;
    height: 137px;
    width: .5px;
    background-color: #ffffff;
    margin: 0px auto;
    transform-origin: bottom left; /* Changez le point de rotation ici */

    transform: rotate(17deg);
}

.line_back {
    position: absolute;
    width: 100%;
    bottom: 0;
    background-color: #0A0909;
}

.line_center_up {

    width: calc(100% - 2 * (132px * tan(17deg))); /* 200px est la hauteur du trapèze */
    height: 1px;
    background-color: #ffffff;
    margin: 0px auto;
    position: relative;
    bottom: 94px;
    left: 0px;
}

.line_center_down {
    position: relative;
    width: calc(100% - 2 * (132px * tan(17deg))); /* 200px est la hauteur du trapèze */
    height: 1px;
    background-color: #ffffff;
    bottom: 131px; /* Position fixe depuis le bas du conteneur parent */
    left: 40px; /* Aligné à gauche */
    transform-origin: left center; /* Point d'origine de la rotation */
}

.upper-container .logo {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 30%;

    color: #ffffff;
}

.logo2 {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 30%;

    color: #ffffff;
}


.gif-animation {
    position: absolute;
    width: 60px; /* Ajustez la taille selon vos besoins */
    height: auto;
    opacity: 0; /* Commence avec une opacité de 0 (transparent) */
    transition: opacity 0.5s ease; /* Transition fluide de l'opacité */
    left: 13px;
    top: 130px;
}



.line_divider {
    position: absolute;
    width: 1px;
    height: 80vh;
    background-color: #ffffff;
    left: 50%;
    transform: translateX(-50%);
    top: 10vh;
}

/* Style pour les titres mobiles des players */
.player-title-mobile {
    display: none; /* Caché par défaut sur les grands écrans */
    font-family: 'NbpInforma', sans-serif;
    color: #ffffff;
    text-align: left;
    font-size: 24px;
    margin-bottom: 15px;
    letter-spacing: 1px;
    padding-left: 20px; /* Ajout d'un padding à gauche pour un meilleur alignement avec le contenu du player */
}

@media screen and (max-width: 768px) {
   
    .first-player, .second-player {
        padding-top: 0vh; /* Réduit le padding pour les petits écrans */
    }
    
    /* Afficher les titres sur mobile */
    .player-title-mobile {
        display: block;
        color: #ffffff;
        font-weight: normal;
        position: relative;
    }
    
    /* Supprime la ligne de séparation verticale si elle existe */
    .line_divider {
        display: none;
    }

    .first-player, .second-player {
        width: 90vw;
        max-width: 89.6vw;
       
        margin-left: 5.4%;
        margin-right: 10% !important;
    

    }
    
    /* Supprime la ligne de séparation verticale si elle existe */
    .line_divider {
        display: none;
    }

    .upper-container {
      display: none;
    }

    .mp3-header :nth-child(1) {
        display: none;
    }

    .mp3-info span:first-child {
        display: none;
    }
 
    .mp3-info {
        font-size: 17.5px;
    }

    .mp3-header {
        height: 25px;
        font-size: 17.5px;
    }
    .mp3-content {
        height: 30px;
    }
   
}

























/*//////////////////// Page 4 ////////////////////////////////////*/

.page_4 {
    position: relative;
    width: 100vw;
    height: auto;
    min-height: 100vh;

    z-index: 1;
    overflow: hidden;
    display: flex;
    flex-direction: row;
}

.page_4_content {
    display: flex;
    width: 100%;
    height: 100%;
    padding-top: 0; /* Réinitialiser tout padding existant */
}

.page_4_content1 {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    color: #ffffff;
    font-family: 'NbpInforma';
    padding-left: 8.8%;
    padding-right: 8.26%;
    margin-top: 55px; /* Remplacer padding-top par margin-top */
    position: relative;
    flex: 1; /* Permettre à l'élément de prendre l'espace disponible */
}

/* Style pour retirer les points de la tracklist */
.album_tracklist ul {
    list-style-type: none; /* Retire les puces de la liste */
    padding-left: 0; /* Retire le padding par défaut des listes */
}

.album_tracklist li {
    padding-bottom: 17px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.album_tracklist ul {
    width: calc((100vw - (13 * 8px)) / 12 * 3 + (2 * 8px));
}

.album_length {
    font-size: 2rem;
    font-weight: 400;
}
.album_tracklist {
    font-size: 18px;
    font-weight: 400;
}

.song-title {
    text-align: left;
    flex-shrink: 0;
}

.song-duration {
    text-align: right;
    flex-shrink: 0;
    margin-left: 5px;
}

.dot {
    display: inline-block;
    position: relative;
    flex-grow: 1;
    overflow: hidden;
    white-space: nowrap;
    font-size: 18px;
    letter-spacing: 2px;
}

.page_4_content2 {
    padding-right: 8.8%;
    font-family: 'NbpInforma';
    font-size: 16px;
    color: #ffffff;
    text-align: right; 
    padding-top: 55px;
   
}


.page_4_content2_text_container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: calc((100vw - (13 * 8px)) / 12 * 3 + (2 * 8px));

}




.page_4_content2_text {
    line-height: 1.2;
    text-align: left;
    margin: 0;
    padding: 0;
    font-weight: 100;
  
    padding-bottom: 30px;
    width: calc((100vw - (13 * 8px)) / 12 * 3 + (2 * 8px));
    overflow: hidden;
}



.page_4_content2_quote {
    line-height: 0px;
    letter-spacing: .5px;
    position: relative;
    text-align: right;
    direction: rtl;
    overflow: visible;
    white-space: nowrap;
    animation: scanlineWhite 6s linear infinite;
}



.dot-quote {
    display: inline-block;
    white-space: nowrap;
    opacity: 1; /* Modifier l'opacité par défaut */
    margin: 0;
    padding: 0;
    animation: scanlineWhite 6s linear infinite; /* Appliquer également l'animation aux points */
}

/* Aucune animation CSS n'est nécessaire ici, tout sera géré par JS */

.page_4_content2_text p {
    padding: 0;
    margin: 0; /* Supprime les marges par défaut */
    letter-spacing: .5px;
    overflow: hidden;
    white-space: nowrap;
    animation: none; /* Désactive l'animation par défaut */
    opacity: 0;
}

/* Quand cette classe est présente, l'animation typing s'active */
.page_4_content2_text p.typing-active {
    animation: 
        typing 3.5s steps(40, end) forwards,
        blink 1.75s step-end infinite,
        scanlineWhite 6s linear infinite;
    opacity: 1;
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink {
    from, to { border-color: transparent; }
    50% { border-color: #ffffff; }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scanlineWhite {
    0% {
        text-shadow: 
            0 0 8px rgba(255, 255, 255, 0.6),
            0 0 15px rgba(255, 255, 255, 0.2),
            0 0 20px rgba(186, 206, 255, 0.1);
        filter: brightness(1.1) contrast(1.05);
    }
    20% {
        text-shadow: 
            1px 0 8px rgba(255, 255, 255, 0.7),
            -1px 0 15px rgba(255, 255, 255, 0.3),
            0 0 25px rgba(186, 206, 255, 0.15);
        filter: brightness(1.2) contrast(1.1);
    }
    40% {
        text-shadow: 
            -1px 0 6px rgba(255, 255, 255, 0.5),
            1px 0 15px rgba(255, 255, 255, 0.2),
            0 0 20px rgba(186, 206, 255, 0.1);
        filter: brightness(1.05) contrast(1.15);
    }
    60% {
        text-shadow: 
            0 0 10px rgba(255, 255, 255, 0.8),
            0 0 20px rgba(255, 255, 255, 0.4),
            0 0 30px rgba(186, 206, 255, 0.2);
        filter: brightness(1.25) contrast(1.1);
    }
    80% {
        text-shadow: 
            1px 0 8px rgba(255, 255, 255, 0.6),
            -1px 0 15px rgba(255, 255, 255, 0.2),
            0 0 20px rgba(186, 206, 255, 0.1);
        filter: brightness(1.15) contrast(1.05);
    }
    100% {
        text-shadow: 
            0 0 8px rgba(255, 255, 255, 0.6),
            0 0 15px rgba(255, 255, 255, 0.2),
            0 0 20px rgba(186, 206, 255, 0.1);
        filter: brightness(1.1) contrast(1.05);
    }
}




h3 {
    font-size: 2.8vw;
    font-weight: 400;
    padding: 0;
    margin: 0;
    font-family: 'NbpInforma';
    width: 80%;
    line-height: 1;
}

h3 .incoming {
    color: #a7ff35ce !important;
    display: inline-block;
    font-size: 1.5vw;
    position: relative;
    top: -15px;
    animation: scanlineWhite 6s linear infinite;
    text-shadow: 0 0 8px rgba(167, 255, 53, 0.411);
}


.page_4_divider {
    display: flex;
    align-items: center;
    gap: 10px;
    position: absolute;
    left: 50%;
    top: 4%;
    height: 100%;
    transform: translateX(-46%);
}
    
.page_4_line1 {
    position: relative;
    height: 63.95%;
    width: 1px;
    background-color: #ffffff;
    transform: translateX(-50%);
    top: -5vh;
}

.page_4_line2 {
    position: relative;
    height: 63.95%;
    top: 1vh;
    width: 1px;
    background-color: #ffffff;
    transform: translateX(-50%);
}

.page_4_line3 {
    position: relative;
    top: 5vh;
    height: 63.95%;
    width: 1px;
    background-color: #ffffff;
    transform: translateX(-50%);
}






/* Page 4 container 3 */

.crossedsquare_container {
    display: flex;
    flex-direction: column;
    position: relative;
    padding-top: 8vh;
    width: calc((100vw - (13 * 8px)) / 12 * 3 + (2 * 8px));
    box-sizing: border-box;
}

.crossedsquare_row {
    display: grid;
    grid-template-columns: repeat(4, 50px);
    column-gap: 8px;
    justify-content: space-between;
}

.crossedsquare_row:first-child {
    margin-bottom: 11.1%; /* Espacement relatif à la hauteur de la fenêtre */
}

.crossedsquare_container img {
    width: 50px;
    height: 50px;
    opacity: 0.05;
}





.squareline_1 {
    position: absolute;
    top: 66.7%;
    left: 67.2%;
    display: flex;
    flex-direction: column-reverse; /* Inverser l'ordre pour que la ligne horizontale soit en bas */
    align-items: flex-start; /* Aligner à gauche */
}

.squareline_2 {
    position: absolute;
    top: 63%;
    left: 64.5%;
    display: flex;
    flex-direction: column-reverse; /* Inverser l'ordre pour que la ligne horizontale soit en bas */
    align-items: flex-start; /* Aligner à gauche */
}



#square-right {
    position: relative;
    right: 9px;
}

.vertical-line {
    display: flex;
    flex-direction: column-reverse; /* Inverser l'ordre pour que les carrés commencent en bas */
}

.horizontal-line {
    display: flex;
    flex-direction: row; /* Inverser l'ordre pour que les carrés commencent à droite */
}

.square {
    width: 4px; /* Taille du carré */
    height: 4px;
    background-color: #606A5C;
  
    margin-top: 31px;
    margin-left: 2.46vw;
}
#square-left {
   
    margin-right: 31px;
}
#hiddenSquare {
    position: absolute; /* Utiliser position absolue pour un positionnement précis */
    right: -20px; /* Positionner en dehors de l'écran à droite */
    top: 29px; /* Aligner en haut */
    width: 4px; /* Taille du carré */
    height: 4px;
    background-color: #606A5C; /* Même couleur que les autres carrés */
    margin: 2px; /* Espace entre les carrés */
}

#hiddenSquare_1 {
    position: relative; /* Utiliser position absolue pour un positionnement précis */
    right: -29px; /* Positionner en dehors de l'écran à droite */
    top: 34px; /* Aligner en bas du premier carré vertical */
    width: 4px; /* Taille du carré */
    height: 4px;
    background-color: #606A5C; /* Même couleur que les autres carrés */
    margin: 2px; /* Espace entre les carrés */
    overflow: hidden;
}

#movingSquare {
    
    width: 14px; /* Même taille que les autres carrés */
    height: 14px;
    background-color: rgba(122, 122, 122, 0); /* Couleur du carré mobile */
    position: absolute; /* Utiliser position absolue pour un positionnement précis */
   
    transition: 0.1s; /* Transition pour le mouvement */
    border: 1px solid rgb(255, 255, 255);
    transform: translate(-50%, -50%); /* Centrer le carré */
}

#movingSquare_2 {
    
    width: 14px; /* Même taille que les autres carrés */
    height: 14px;
    background-color: rgba(255, 0, 0, 0); /* Couleur du carré mobile */
    position: absolute; /* Utiliser position absolue pour un positionnement précis */
   
    transition: 0.1s; /* Transition pour le mouvement */
    border: 1px solid rgb(255, 255, 255);
    transform: translate(-50%, -50%); /* Centrer le carré */
}

.page_4_border_quote {
    position: absolute;
    top: 70%;
    animation: scanlineWhite 6s linear infinite;
    /* Modification du positionnement pour prendre en compte la rotation */
    transform: rotate(90deg);
    transform-origin: left top; /* Point d'origine de la rotation */
    font-size: 16px;
    font-weight: 100;
    letter-spacing: 0.5px;
    line-height: 0;
    color: #ffffff;
    font-family: 'NbpInforma';
    left: 67%;
}



.page_4_border_quote :nth-child(2) {
    position: relative;
    right: -15px;
}

.page_4_border_quote :nth-child(3) {
    position: relative;
    right: -30px;
}










@media screen and (max-width: 768px) {
    .page_4 {
        flex-direction: column-reverse;
        height: auto;
        min-height: 100vh;
    }

    .page_4_divider {
        display: none;
    }
    .page_4_content2_text {
        width: 85vw;
        position: relative;
        left: 8vw;
        text-align: center;
    }
    
    .page_4_content2_quote { 
        position: relative;
        left:67vw;
    }
    .crossedsquare_container {
       width: 81.8vw;
        left: 10vw;
    }

    .page_4_content1 {
        padding-left: 2vh;
    }
    h3 {
        
        position: relative;
        font-size: 7.8vw;
        padding-top: 30px;
        width: 100%;
    }


    h3 .incoming {
        font-size: 3.5vw;
        animation: scanlineWhite 6s linear infinite;
    }
    .album_tracklist ul {
        width: 50vw;
    }

    .line-60 {
        display: none;
    }

    .line-20 {
        display: none;
    }


    .console-container {
    padding-bottom: 250px;
    width: 110%;
    }

    .album_tracklist li {
        width: 140%;
    }

    .page_4_border {
    position: relative;
    bottom: -1000px;
    left: 100px;
    }
}







/* Conteneur Three.js */
#three-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh; /* Utiliser 100vh pour couvrir la hauteur de la fenêtre */
    z-index: 1;
    pointer-events: none;
    opacity: 1; /* Toujours visible */
}

/* Coins radients pour la page 4 */
.radient-corner {
    position: absolute;
    width: 300px;
    height: 300px;
    bottom: -150px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(166, 255, 53, 0.15) 0%, rgba(10, 9, 9, 0) 70%);
    pointer-events: none;
    z-index: 50;
    filter: blur(30px);
    opacity: 0.7;
}

.radient-corner-left {
    left: -100px;
}

.radient-corner-right {
    right: -100px;
}

.imagecontainer {
    position: relative;
    width: 100%;
    height: 100%;
}

@media screen and (max-width: 768px) {
    .imagecontainer {
        width: 100vw;
        height: 100vh;
        display: flex;
        flex-direction: column;
    }

    .page_4_border {
        display: none;
    }
}

.page_2_bandeaux {
    position: absolute;
    top: 50%;
    right: 25px; /* Ajustement pour compenser la rotation */
    color: #ffffff;
    transform: rotate(90deg) translateX(50%); /* Rotation + ajustement de la position */
    transform-origin: right; /* Point d'origine de la rotation */
    font-family: 'NbpInforma';
    font-size: 24px;
    font-weight: 400;
    line-height: 1.2;
}

/* Modification du style pour le texte scroll */
.page_1_footer_left p {
    position: relative;
    color: #A6FF35;
}

.page_1_footer_left p::before,
.page_1_footer_left p::after {
    content: attr(data-text);
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    color: #A6FF35;
    background: #0A0909;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.page_1_footer_left p.glitch-active::before {
    opacity: 1;
    left: 3px;
    animation: 
        glitch-1 .5s steps(1) forwards,
        glitch-3 0.3s steps(1) forwards,
        shake 3s steps(1) forwards;
}

.page_1_footer_left p.glitch-active::after {
    opacity: 1;
    left: -3px;
    animation: 
        glitch-2 1s steps(1) forwards,
        glitch-4 0.7s steps(1) forwards,
        shake-reverse 4s steps(1) forwards;
}

/* Style pour la rotation de la flèche */
#arrow_left {
    transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

#arrow_left.rotate-up {
    transform: rotate(180deg);
}

/* Style pour la console rétro */
.console-container {
    position: relative;
    font-family: 'NbpInforma', monospace;
    color: #A6FF35;
    font-size: 16px;
    line-height: 1.2;
    margin-top: 20px;
    padding-bottom: 100px;
}

.console-line {
    white-space: nowrap;
    font-family: 'NbpInforma', monospace;
    color: #A6FF35;
    margin-bottom: 5px;
    position: relative;
    transition: opacity 0.3s ease;
    text-shadow: 0 0 5px rgba(166, 255, 53, 0.5);
    animation: scanlineGreen 6s linear infinite;
}

.console-line:nth-child(1) { animation-delay: 0s; }
.console-line:nth-child(2) { animation-delay: 1s; }
.console-line:nth-child(3) { animation-delay: 2s; }

.progress-bar {
    position: absolute;  /* Position absolue pour ne pas affecter le flux */
    width: 100%;        /* Prend toute la largeur */
    font-family: 'NbpInforma', monospace;
    margin-top: 10px;
    color: #A6FF35;
    opacity: 0;
    display: none;
    transition: opacity 0.3s ease;
    text-shadow: 0 0 8px rgba(166, 255, 53, 0.4);
    animation: scanlineGreen 6s linear infinite;
    letter-spacing: 1px;
}

/* Style pour les caractères remplis de la barre de progression */
.progress-bar .progress-filled {
    color: #A6FF35;
    text-shadow: 0 0 8px rgba(166, 255, 53, 0.6);
}

/* Style pour les caractères vides de la barre de progression */
.progress-bar .progress-empty {
    color: rgba(166, 255, 53, 0.3);
    text-shadow: none;
}

.error-message {
    color: #FF3535;
    animation: glitchText 0.3s ease-in-out;
    margin-left: 10px;
}

.countdown {
    color: #FF3535;
    margin-left: 5px;
    font-weight: bold;
}
.squareline_1_image {
    position: absolute;
    width: 150px; /* Ajustez la taille selon vos besoins */
    height: 150px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}


















@keyframes blink-dots {
    0% { opacity: 0.2; }
    50% { opacity: 1; }
    100% { opacity: 0.2; }
}

@keyframes glitchText {
    0% { opacity: 0; transform: translateX(-2px); }
    25% { opacity: 1; transform: translateX(2px); }
    50% { opacity: 0.5; transform: translateX(-2px); }
    100% { opacity: 1; transform: translateX(0); }
}

.status-text {
    color: #A6FF35;
    opacity: 0.8;
    margin-left: 10px;
}

@keyframes typewriter {
    0% {
        opacity: 0;
        transform: translateY(-5px) scale(1.02);
        filter: brightness(1.5) contrast(1.2);
    }
    20% {
        opacity: 0.5;
        transform: translateY(-2px) scale(1.01);
        filter: brightness(1.2) contrast(1.1);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: brightness(1) contrast(1);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Faire clignoter le curseur */
.cursor {
    animation: blink 1s infinite;
    display: inline-block;
}

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

@keyframes tvGlitch {
    0% {
        transform: translate(0);
        filter: brightness(1) saturate(1);
    }
    2% {
        transform: translate(-3px, 3px);
        filter: brightness(1.5) contrast(2) saturate(1.2);
    }
    4% {
        transform: translate(3px, -3px);
        filter: brightness(0.8) contrast(1.5) saturate(0.8);
    }
    6% {
        transform: translate(-3px, 3px);
        filter: brightness(1.2) contrast(1.8) saturate(1.1);
    }
    8% {
        transform: translate(0);
        filter: brightness(1) saturate(1);
    }
    100% {
        transform: translate(0);
        filter: brightness(1) saturate(1);
    }
}

/* Ajout des effets cathodiques */
@keyframes scanlineGreen {
    0% {
        text-shadow: 0 0 8px rgba(166, 255, 53, 0.6);
        filter: brightness(1.1);
    }
    20% {
        text-shadow: 2px 0 8px rgba(166, 255, 53, 0.7);
        filter: brightness(1.15);
    }
    40% {
        text-shadow: -2px 0 6px rgba(166, 255, 53, 0.6);
        filter: brightness(1.05);
    }
    60% {
        text-shadow: 0 0 10px rgba(166, 255, 53, 0.8);
        filter: brightness(1.2);
    }
    80% {
        text-shadow: 1px 0 5px rgba(166, 255, 53, 0.6);
        filter: brightness(1.1);
    }
    100% {
        text-shadow: 0 0 8px rgba(166, 255, 53, 0.6);
        filter: brightness(1.1);
    }
}

@keyframes scanlineWhiteSoft {
    0% {
        text-shadow: 
            0 0 4px rgba(255, 255, 255, 0.3),
            0 0 8px rgba(255, 255, 255, 0.1),
            0 0 10px rgba(186, 206, 255, 0.05);
        filter: brightness(1.05) contrast(1.02);
    }
    50% {
        text-shadow: 
            0 0 5px rgba(255, 255, 255, 0.4),
            0 0 10px rgba(255, 255, 255, 0.15),
            0 0 12px rgba(186, 206, 255, 0.08);
        filter: brightness(1.08) contrast(1.03);
    }
    100% {
        text-shadow: 
            0 0 4px rgba(255, 255, 255, 0.3),
            0 0 8px rgba(255, 255, 255, 0.1),
            0 0 10px rgba(186, 206, 255, 0.05);
        filter: brightness(1.05) contrast(1.02);
    }
}

.social-console {
    position: relative;  /* Position relative pour maintenir sa position */
    margin-top: 80px;
    padding-top: 15px;
    border-top: 1px solid rgba(166, 255, 53, 0.2);
    opacity: 1 !important;
    display: block !important;
}

.social-console .console-line {
    opacity: 1 !important;
    display: block !important;
    animation: none !important; /* Désactive l'animation héritée */
}

.social-link {
    opacity: 1 !important;
    display: block !important;
}

.social-link a {
    color: #A6FF35;
    text-decoration: none;
    font-family: 'NbpInforma', monospace;
    position: relative;
    transition: all 0.3s ease;
    opacity: 1 !important;
}

/* Séparer les styles de la progress-bar de la social-console */
.console-container > .progress-bar {
    /* ... existing code ... */
}

.surlignage {
    text-decoration: underline;
}

/* Animation au survol pour les liens de contact */
.social-console {
    position: relative;
    transition: transform 0.3s ease-in-out;
}

.social-console:hover {
    transform: translateY(-3px);
}

.console-line.social-link a {
    position: relative;
    display: inline-block;
    transition: color 0.2s ease, transform 0.2s ease;
    overflow: hidden;
}

.console-line.social-link a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: 0;
    left: 0;
    background-color: #A6FF35;
    transition: width 0.3s ease;
}

.console-line.social-link a:hover {
    color: #A6FF35;
    transform: translateX(3px);
}

.console-line.social-link a:hover::after {
    width: 100%;
}

/* Style spécifique pour l'email */
.console-line.social-link a[href^="mailto:"]:hover {
    color: #A6FF35;
}

.console-line.social-link a[href^="mailto:"]::after {
    background-color: #A6FF35;
}

.surlignage {
    transition: text-shadow 0.3s ease, color 0.3s ease;
    padding: 0 2px;
}

.social-link:hover .surlignage {
    text-shadow: 0 0 8px currentColor;
    color: #fff;
}

/* Ajout d'une bordure clignotante pour renforcer l'effet "old OS" */
@keyframes borderBlink {
    0%, 100% { border-color: rgba(166, 255, 53, 0.2); }
    50% { border-color: rgba(166, 255, 53, 0.8); }
}

.social-console:hover {
    animation: borderBlink 2s infinite;
}

/* Effet scanline rétro léger sur le conteneur */
.social-console::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        to bottom,
        transparent,
        transparent 2px,
        rgba(166, 255, 53, 0.03) 2px,
        rgba(166, 255, 53, 0.03) 4px
    );
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-console:hover::before {
    opacity: 1;
}
.console-line.social-link {
    line-height: .9;
}
.console-line.social-link a {
 position: relative;
 top: 2px;
}

.console-title {
    padding-bottom: 10px;
    font-size: 22px;
}

/* Effet de surbrillance simple pour la section de contact */
.social-console-highlight {
    background-color: rgba(166, 255, 53, 0.1); /* Légère surbrillance */
    transition: background-color 0.5s ease; /* Transition douce */
}

@keyframes highlightBlink {
    0%, 100% { background-color: rgba(166, 255, 53, 0.1); }
    50% { background-color: rgba(166, 255, 53, 0.3); }
}

.social-console-highlight {
    animation: highlightBlink 1s infinite; /* Animation clignotante */
}
