@font-face {
    font-family: 'SlaizenRazer';
    src: url('../fonts/Slaizen-x-Razer-Collab.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: block;
}

@font-face {
    font-family: 'SlaizenRazerLogo';
    src: url('../fonts/Slaizen-x-Razer-Collab.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: block;
    size-adjust: 206%; /* On remonte un poil pour la prestance */
}

@font-face {
    font-family: 'Orbitron';
    src: url('../fonts/Orbitron-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: block;
}

@font-face {
    font-family: 'Orbitron';
    src: url('../fonts/Orbitron-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: block;
}

@font-face {
    font-family: 'Source Code Pro';
    src: url('../fonts/SourceCodePro-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: block;
}

@font-face {
    font-family: 'Source Code Pro';
    src: url('../fonts/SourceCodePro-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: block;
}

:root {
    --orbitron: "Orbitron", "Source Code Pro", monospace;
    --source-code: "Source Code Pro", monospace;
    --glow-shadow: 1px 1px 10px #fff, 1px 1px 40px #000, 1px 1px 5px #000, 1px 1px 5px #000;
}

html {
    background-color: #31373d;
    min-height: 100%;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
}

body {
    background-color: #31373d;
    background-image: url('bg.png'), url('bg-line.png');
    background-repeat: no-repeat, repeat-x;
    background-position: top center, top center;
    background-size: auto 108.778vw, auto 108.778vw;
    background-attachment: scroll;
    font-family: Arial, sans-serif;
    overflow-x: hidden;
    transition: background-size 0.3s ease;
}

.content-wrapper {
    background-color: transparent;
    transform-origin: center top;
    transition: transform 0.3s ease;
    min-height: 100vh;
    position: relative;
    padding-top: 175px;
}

#overlay-animated {
    position: fixed;
    z-index: 2000000;
    pointer-events: none;
    height: 100%;
    width: 100%;
    background-color: #2c25c0;
    mix-blend-mode: soft-light;
    opacity: 0.4;
    animation: glow 6s ease-in-out infinite;
    will-change: opacity;
}

#static-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    background-image: url('overlay_gradiant-horizontal.webp');
    background-repeat: repeat-y;
    background-size: 100% auto;
    opacity: 1;
    /* Ajuste l'opacité si nécessaire */
}

@keyframes glow {
    0% {
        opacity: 0.40;
    }

    12% {
        opacity: 0.43;
    }

    /* +8% brightness */
    25% {
        opacity: 0.38;
    }

    /* -5% brightness */
    38% {
        opacity: 0.45;
    }

    /* +12% brightness */
    50% {
        opacity: 0.37;
    }

    /* -8% brightness */
    62% {
        opacity: 0.42;
    }

    /* +5% brightness */
    75% {
        opacity: 0.44;
    }

    /* +10% brightness */
    88% {
        opacity: 0.39;
    }

    /* -2% brightness */
    100% {
        opacity: 0.40;
    }
}

.container {
    width: 100%;
    max-width: 100%;
    text-align: center;
}

.desk-wrapper {
    position: relative;
    width: 100%;
    margin: 7.722vw auto 0;
    display: block;
    aspect-ratio: 1800 / 1122;
    transform-origin: center top;
    transition: transform 0.3s ease;
    overflow: visible;
    transform: translateZ(0);
    /* Forcer l'accélération matérielle */
    will-change: transform;
}

.desk-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    position: absolute;
    left: 0;
    z-index: 2;
}

.desk-image-top {
    top: -12.299%;
    left: 50%;
    transform: translateX(-50%);
    width: 90.278%;
    /* 1625px sur 1800px */
    z-index: 2;
}

.desk-image-bottom {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 64.666%;
    /* 1164px sur 1800px */
    z-index: 2;
}

.slaizen-container {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 83.142%;
    z-index: 6;
    transform-origin: center center;
}

.slaizen {
    position: relative;
    width: auto;
    max-width: 550px;
    height: auto;
    display: block;
    animation: breathing 4s ease-in-out infinite;
    transform-origin: center bottom;
}

@keyframes breathing {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.01);
    }
}

.logo-slaizen-container {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: calc(86.5% + 445px);
    z-index: 7;
    display: flex;
    align-items: center;
    gap: 15px; /* Resserrement pour un look plus compact */
    transform-origin: center center;
}

.logo-slaizen-icon {
    font-family: 'SlaizenRazerLogo', sans-serif;
    font-size: 75px; /* On augmente un peu la base pour aider le size-adjust */
    color: white;
    filter: drop-shadow(1px 1px 10px rgba(255, 255, 255, 0.8));
    display: block;
    cursor: default;
    line-height: 1;
    margin-top: 0px; /* Remonté au maximum pour l'alignement */
}

.logo-slaizen-text {
    color: white;
    font-family: 'SlaizenRazer', sans-serif;
    font-size: 75px; /* Le "Sweet Spot" validé */
    font-weight: normal;
    text-shadow: var(--glow-shadow);
    white-space: nowrap;
    margin-top: 25px;
    letter-spacing: 3px;
    display: inline-block; /* Nécessaire pour le transform */
}

.logo-mirror {
    transform: scaleX(-1);
    filter: FlipH; /* Pour les vieux navigateurs au cas où */
}

/* Configuration partagée des écrans (Containers) */
.screen1-container,
.screen2-container,
.screen3-container,
.screen4-container,
.screen5-container,
.screen6-container,
.screen7-container {
    background-color: #161616;
    position: absolute;
    overflow: hidden;
    contain: layout style paint;
    backface-visibility: hidden;
    perspective: 800px;
    perspective-origin: center top;
    transition: transform 0.3s ease;
}

/* Configuration partagée des médias (Images/Vidéos) */
.screen1-image,
.screen1-video,
.screen2-image,
.screen2-video,
.screen3-image,
.screen3-video,
.screen4-image,
.screen4-video,
.screen5-image,
.screen5-video,
.screen6-image,
.screen6-video,
.screen7-image,
.screen7-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
    backface-visibility: hidden;
    transform-origin: center bottom;
}


/* Filtre global sur les écrans */
.screen1-container::after,
.screen2-container::after,
.screen3-container::after,
.screen4-container::after,
.screen5-container::after,
.screen6-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(61, 34, 178, 0.2);
    /* #3d22b2 à 20% */
    mix-blend-mode: lighten;
    /* Correspond à "Éclaircis" */
    pointer-events: none;
    z-index: 100;
}

.screen7-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(61, 34, 178, 0.2);
    /* #3d22b2 à 20% */
    mix-blend-mode: lighten;
    pointer-events: none;
    z-index: 100;
}

.screen1-container {
    top: 8.291%;
    left: 18.5%;
    transform: translate3d(-50%, 0, 0) rotate(-10deg);
    width: 19.5%;
    height: 16.184%;
    clip-path: polygon(0% 0%, 100% 0%, 98% 100%, 2% 100%, 0% 105%);
    z-index: 1;
}

.screen1-image,
.screen1-video {
    transform: perspective(800px) rotateX(-5deg);
}

.screen2-container {
    top: 0.423%;
    left: 50%;
    transform: translate3d(-50%, 0, 0);
    width: 42%;
    height: 35.964%;
    clip-path: polygon(0% 0%, 100% 0%, 95% 100%, 5% 100%);
    z-index: 1;
    transform-origin: center center;
    will-change: transform;
}

.screen2-image,
.screen2-video {
    transform: perspective(800px) rotateX(-8deg);
    will-change: transform;
}

/* --- Welcome Message for Screen 2 --- */
.screen-welcome-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    text-align: center;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
}

.screen-welcome-overlay.active-intro {
    animation: welcomeFadeOut 6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.screen-welcome-message {
    color: #fff;
    font-family: var(--orbitron);
    font-size: 1.8vw;
    font-weight: 800;
    text-transform: none;
    letter-spacing: 1px;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.4),
        0 0 40px rgba(0, 0, 0, 1);
    line-height: 1.4;
    opacity: 0;
    animation: messageFadeIn 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.8s forwards;
}

#welcome-line-2,
#welcome-line-3 {
    color: var(--interface-accent);
    text-shadow: 0 0 15px rgba(var(--interface-accent-rgb), 0.5);
}

#welcome-line-3 {
    font-size: 0.7em;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: blink-sharp 1.2s steps(1, start) 4 forwards;
}

@keyframes blink-sharp {

    0%,
    100% {
        opacity: 0.8;
    }

    50% {
        opacity: 0.35;
    }
}

/* --- Professional System Loader --- */
#system-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0c0d0f;
    z-index: 999999;
    /* Devant tout */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1), visibility 1.2s;
}

#system-loader.fade-out {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.loader-logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader-logo {
    max-width: 180px;
    height: auto;
    filter: drop-shadow(0 0 10px rgba(0, 232, 158, 0.2));
}

.loader-status {
    text-align: center;
    width: 200px;
}

.status-text {
    color: var(--interface-accent);
    font-family: var(--orbitron);
    font-size: 10px;
    letter-spacing: 3px;
    display: block;
    margin-bottom: 10px;
    text-shadow: 0 0 5px rgba(0, 232, 158, 0.5);
}

.status-bar {
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 1px;
    overflow: hidden;
}

.status-progress {
    width: 100%;
    height: 100%;
    background: var(--interface-accent);
    box-shadow: 0 0 10px var(--interface-accent);
    transform: translateX(-100%);
    animation: progressFill 0.3s linear forwards;
}

@keyframes progressFill {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(0);
    }
}


@keyframes welcomeFadeOut {
    0% {
        opacity: 0;
        visibility: visible;
    }

    10% {
        opacity: 1;
        visibility: visible;
    }

    80% {
        opacity: 1;
        visibility: visible;
    }

    100% {
        opacity: 0;
        visibility: hidden;
    }
}

/* Animation de l'image : elle part du fond sombre et réapparaît à la fin */
.screen2-container.intro-active .screen2-image,
.screen2-container.intro-active .screen2-video {
    animation: imageFadeFromBlack 6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes imageFadeFromBlack {
    0% {
        opacity: 0;
    }

    80% {
        opacity: 0;
    }

    /* Reste noir pendant que le texte est là */
    100% {
        opacity: 1;
    }

    /* Réapparaît précisément quand le texte s'efface */
}

@keyframes messageFadeIn {
    0% {
        opacity: 0;
        transform: translateY(15px);
        filter: blur(5px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

.screen3-container {
    top: 8.291%;
    left: 81.5%;
    transform: translate3d(-50%, 0, 0) rotate(10deg);
    width: 19.3%;
    height: 16.184%;
    clip-path: polygon(0% 0%, 100% 0%, 98% 100%, 2% 100%);
    z-index: 1;
}

.screen3-image,
.screen3-video {
    transform: perspective(800px) rotateX(-4deg);
}

.screen5-container {
    top: 42%;
    left: 41.7%;
    transform: translate3d(-50%, 0, 0) rotate(-5deg);
    width: 16.2%;
    height: 13.937%;
    clip-path: polygon(0% 0%, 100% 0%, 95% 105%, 98% 100%, 2% 100%, 0% 105%);
    z-index: 9;
}

.screen5-image,
.screen5-video {
    transform: perspective(800px) rotateX(-5deg);
}

.screen6-container {
    top: 41.9%;
    left: 58.1%;
    transform: translate3d(-50%, 0, 0) rotate(5deg);
    width: 16.3%;
    height: 13.937%;
    clip-path: polygon(0% 0%, 100% 0%, 100% 105%, 98% 100%, 2% 100%, 5% 105%);
    z-index: 9;
}

.screen6-image,
.screen6-video {
    transform: perspective(800px) rotateX(-4deg);
}

.screen4-container {
    top: 47%;
    left: 26.9%;
    transform: translate3d(-50%, 0, 0) rotate(-15deg);
    width: 11%;
    height: 12.7%;
    clip-path: polygon(0% 0%, 100% 0%, 95% 100%, 98% 100%, 2% 100%, 0% 100%);
    z-index: 3;
}

.screen4-image,
.screen4-video {
    transform: perspective(800px) rotateX(-3deg) skewY(2deg);
    transition: transform 0.3s ease;
}

.websites-container:hover~.screen4-container {
    transform: translate3d(-50%, 0, 0) rotate(-15deg) scale(1.1);
}

.screen4-video {
    background: #000;
}

.screen7-container {
    top: 46%;
    left: 73%;
    transform: translate3d(-50%, 0, 0) rotate(18deg);
    width: 11.5%;
    height: 11.24%;
    clip-path: polygon(10% 0%, 90% 0%, 98% 100%, 15% 100%);
    z-index: 3;
}

.videos-container:hover~.screen7-container {
    transform: translate3d(-50%, 0, 0) rotate(18deg) scale(1.1);
}

.screen3-button-container:hover~.screen3-container {
    transform: translate3d(-50%, 0, 0) rotate(10deg) scale(1.1);
}

.screen2-button-container:hover~.screen2-container {
    transform: translate3d(-50%, 0, 0) scale(1.02);
    z-index: 5;
    /* Reste sous le bouton (z-index 15) tout en montant un peu */
}

.screen1-button-container:hover~.screen1-container {
    transform: translate3d(-50%, 0, 0) rotate(-10deg) scale(1.1);
}

.screen7-image,
.screen7-video {
    transform: perspective(800px) rotateX(-3deg) skewY(-2deg);
}

/* Shelf (Étagère) 
   Anciennement Tablette
*/
.shelf-container {
    position: absolute;
    top: 36%;
    left: 11.6%;
    width: 14.388%;
    height: 23.262%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    pointer-events: none;
}

.shelf-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* --- Tiroirs (Drawers) --- */

/* Styles communs pour les zones de détection */
[class*="drawer-right-container-"],
[class*="drawer-left-container-"] {
    position: absolute;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    z-index: 5;
    pointer-events: auto;
    cursor: pointer;
    overflow: visible;
}

/* Force le tiroir survolé à passer au premier plan */
[class*="drawer-right-container-"]:hover,
[class*="drawer-left-container-"]:hover {
    z-index: 10;
}

/* Styles communs pour les images des tiroirs */
[class*="drawer-right-image-"],
[class*="drawer-left-image-"] {
    height: auto;
    position: absolute;
    top: 0;
    pointer-events: none;
    opacity: 0;
    transform: perspective(1000px) rotateX(-45deg) scale(0.7);
    transform-origin: top center;
    transition: opacity 0.2s ease, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Texte sur les tiroirs */
.drawer-text {
    position: absolute;
    width: 150%;
    color: white;
    font-family: var(--orbitron);
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 0.5px;
    text-shadow: var(--glow-shadow);
    pointer-events: none;
    white-space: nowrap;
    opacity: 0;
    z-index: 6;
    top: 150%;
    transform: perspective(1000px) rotateX(-45deg) rotateZ(12deg) scale(0.7);
    transform-origin: center center;
    transition: opacity 0.2s ease, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}







/* Position spécifique pour les tiroirs de droite */
[class*="drawer-right-container-"] .drawer-text {
    left: auto;
    right: -160%;
    text-align: left;
}


/* Position spécifique pour les tiroirs de gauche */
[class*="drawer-left-container-"] .drawer-text {
    left: -45%;
    text-align: left;
    padding-left: 25px;
}

/* Déclenchement au hover (Images + Texte) */
[class*="drawer-right-container-"]:hover [class*="drawer-right-image-"],
[class*="drawer-left-container-"]:hover [class*="drawer-left-image-"] {
    opacity: 1;
    transform: perspective(1000px) rotateX(0deg) scale(1) translateY(0);
}

[class*="drawer-right-container-"]:hover .drawer-text,
[class*="drawer-left-container-"]:hover .drawer-text {
    opacity: 1;
    transform: perspective(1000px) rotateX(0deg) rotateZ(12deg) scale(1);
}



/* --- TIROIRS GAUCHE --- */
.drawer-left-container-01 {
    top: 74%;
    left: 22.144%;
    width: 10.2%;
    height: 4.5%;
}

.drawer-left-image-01 {
    width: 141.6%;
    left: -41.6%;
}

.drawer-left-container-02 {
    top: 78.5%;
    left: 22.5%;
    width: 10.2%;
    height: 4.5%;
}

.drawer-left-image-02 {
    width: 141.07%;
    left: -41.07%;
}

.drawer-left-container-03 {
    top: 82.7%;
    left: 22.9%;
    width: 10.2%;
    height: 5.5%;
}

.drawer-left-image-03 {
    width: 136.7%;
    left: -36.7%;
}

.drawer-left-container-04 {
    top: 88.5%;
    left: 23.5%;
    width: 10.2%;
    height: 5.5%;
}

.drawer-left-image-04 {
    width: 134.53%;
    left: -34.53%;
}

.drawer-left-container-05 {
    top: 94%;
    left: 23.9%;
    width: 10.2%;
    height: 5.5%;
}

.drawer-left-image-05 {
    width: 130.72%;
    left: -30.72%;
}

/* --- TIROIRS DROITE --- */
.drawer-right-container-01 {
    top: 74%;
    right: 22.144%;
    width: 10.2%;
    height: 4.5%;
}

.drawer-right-image-01 {
    width: 141.6%;
    right: -41.6%;
}

.drawer-right-container-02 {
    top: 78.5%;
    right: 22.5%;
    width: 10.2%;
    height: 4.5%;
}

.drawer-right-image-02 {
    width: 141.07%;
    right: -41.07%;
}

.drawer-right-container-03 {
    top: 82.7%;
    right: 22.9%;
    width: 10.2%;
    height: 5.5%;
}

.drawer-right-image-03 {
    width: 136.7%;
    right: -36.7%;
}

.drawer-right-container-04 {
    top: 88.5%;
    right: 23.5%;
    width: 10.2%;
    height: 5.5%;
}

.drawer-right-image-04 {
    width: 134.53%;
    right: -34.53%;
}

.drawer-right-container-05 {
    top: 94%;
    right: 23.9%;
    width: 10.2%;
    height: 5.5%;
}

.drawer-right-image-05 {
    width: 130.72%;
    right: -30.72%;
}

/* Bouton Downloads 
   (Calculé sur une base de 1800x1122. Taille de l'image: 267x266)
   Largeur = (267/1800)*100 = 14.833%
   Hauteur = (266/1122)*100 = 23.707%
*/
.downloads-container {
    position: absolute;
    top: 18.518%;
    left: 12.4%;
    width: 14.833%;
    height: 23.707%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 6;
    cursor: pointer;
    pointer-events: none;
    /* Disable events on container to use ::after */
}

.downloads-container::after {
    content: '';
    position: absolute;
    top: 2.5%;
    left: 0;
    width: 100%;
    height: 95%;
    pointer-events: auto;
    z-index: 5;
}

.downloads-trigger {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.downloads-container:hover {
    z-index: 30;
}

.downloads-container:hover .downloads-trigger {
    transform: scale(1.1);
}

@keyframes glitch-master {

    0%,
    100% {
        transform: var(--menu-transform) translate(0);
    }

    20% {
        transform: var(--menu-transform) translate(-2px, 2px);
    }

    40% {
        transform: var(--menu-transform) translate(-2px, -2px);
    }

    60% {
        transform: var(--menu-transform) translate(2px, 2px);
    }

    80% {
        transform: var(--menu-transform) translate(2px, -2px);
    }
}

@keyframes scan-line {
    0% {
        transform: translateY(-100%);
        opacity: 1;
    }

    100% {
        transform: translateY(200%);
        opacity: 0;
    }
}

@keyframes reveal-text {
    0% {
        clip-path: inset(0 100% 0 0);
        opacity: 0;
    }

    100% {
        clip-path: inset(0 0 0 0);
        opacity: 1;
    }
}

.downloads-menu {
    --menu-transform: translate(10%, -130%) rotate(-12deg);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: var(--menu-transform);
    display: flex;
    flex-direction: column;
    gap: 0px;
    align-items: flex-start;
    opacity: 0;
    visibility: hidden;
    min-width: 270px;
    text-shadow: var(--glow-shadow);
    font-family: var(--orbitron);
    z-index: 20;
    overflow: hidden;
    pointer-events: auto;
    /* Permet le survol des liens */
}

.downloads-menu::before {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #1fe598, transparent);
    animation: scan-line 0.6s ease-out forwards;
    z-index: 5;
}

.downloads-container:hover .downloads-menu {
    opacity: 1;
    visibility: visible;
    animation: glitch-master 0.3s ease-in-out;
}

.downloads-container:hover .downloads-menu::before {
    animation: scan-line 0.6s ease-out forwards;
}

.downloads-menu-title,
.download-button {
    opacity: 0;
}

.downloads-container:hover .downloads-menu-title,
.downloads-container:hover .download-button {
    opacity: 1;
    animation: reveal-text 0.3s ease-out forwards;
}

/* =========================================
   Classes partagées pour tous les menus du bureau
   ========================================= */
.download-button,
.photoshop-button,
.photos-button,
.socials-button,
.videos-button,
.websites-button,
.screens-right-button {
    color: white;
    padding: 0px 2px;
    text-decoration: none;
    display: block;
    font-size: 24px;
    font-weight: bold;
    text-shadow: var(--glow-shadow);
    font-family: var(--orbitron);
    white-space: nowrap;
    position: relative;
}

.personal-link {
    padding-left: 22px;
}

.personal-link::before {
    content: '';
    position: absolute;
    left: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.websites-button.personal-link::before {
    background-color: #f39c12;
    box-shadow: 0 0 8px rgba(243, 156, 18, 0.8);
}

.videos-button.personal-link::before {
    background-color: #ff4d4d;
    box-shadow: 0 0 8px rgba(255, 77, 77, 0.8);
}

.download-button.personal-link::before {
    background-color: #1fe598;
    box-shadow: 0 0 8px rgba(31, 229, 152, 0.8);
}

.photoshop-button.personal-link::before {
    background-color: #00a8ff;
    box-shadow: 0 0 8px rgba(0, 168, 255, 0.8);
}

.photos-button.personal-link::before {
    background-color: #ff6b6b;
    box-shadow: 0 0 8px rgba(255, 107, 107, 0.8);
}

.downloads-menu-title,
.photoshop-menu-title,
.photos-menu-title,
.socials-menu-title,
.videos-menu-title,
.websites-menu-title,
.screens-right-menu-title {
    padding: 0px 2px;
    text-decoration: none;
    display: block;
    font-size: 26px;
    font-weight: 900;
    font-family: var(--orbitron);
    white-space: nowrap;
}

/* --- Styles spécifiques: Downloads --- */
.download-button:hover {
    background: rgba(31, 229, 152, 0.8);
}

.downloads-menu-title {
    color: #1fe598;
    text-shadow: 0 0 12px rgba(175, 255, 220, 0.4), 1px 1px 3px #000;
}

/* TODO: Aligner les boutons restants (Photos, Socials) */

/* Bouton Photoshop 
   (Calculé sur une base de 1800x1122. Taille de l'image: 179x89)
   Largeur = (179/1800)*100 = 9.944%
   Hauteur = (89/1122)*100 = 7.932%
*/
.photoshop-container {
    position: absolute;
    top: 62.912%;
    left: 26%;
    width: 9.944%;
    height: 7.932%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    cursor: pointer;
}

.photoshop-trigger {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.photoshop-container:hover {
    z-index: 30;
}

.photoshop-container:hover .photoshop-trigger {
    transform: scale(1.2);
}

.photoshop-menu {
    --menu-transform: translate(-35%, -175%) rotate(-12deg);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: var(--menu-transform);
    display: flex;
    flex-direction: column;
    gap: 0px;
    align-items: flex-start;
    opacity: 0;
    visibility: hidden;
    min-width: 270px;
    text-shadow: var(--glow-shadow);
    font-family: var(--orbitron);
    z-index: 20;
    overflow: hidden;
    pointer-events: auto;
}

.photoshop-menu::before {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00a8ff, transparent);
    animation: scan-line 0.6s ease-out forwards;
    z-index: 5;
}

.photoshop-container:hover .photoshop-menu {
    opacity: 1;
    visibility: visible;
    animation: glitch-master 0.3s ease-in-out;
}

.photoshop-container:hover .photoshop-menu::before {
    animation: scan-line 0.6s ease-out forwards;
}

.photoshop-menu-title,
.photoshop-button {
    opacity: 0;
}

.photoshop-container:hover .photoshop-menu-title,
.photoshop-container:hover .photoshop-button {
    opacity: 1;
    animation: reveal-text 0.3s ease-out forwards;
}

/* --- Styles spécifiques: Photoshop --- */
.photoshop-button:hover {
    background: rgba(0, 168, 255, 0.8);
}

.photoshop-menu-title {
    color: #00a8ff;
    text-shadow: 0 0 12px rgba(180, 230, 255, 0.4), 1px 1px 3px #000;
}

/* Bouton Photos 
   (Calculé sur une base de 1800x1122. Taille de l'image: 146x89)
   Largeur = (146/1800)*100 = 8.111%
   Hauteur = (89/1122)*100 = 7.932%
*/
.photos-container {
    position: absolute;
    top: 62.912%;
    right: 29%;
    width: 8.111%;
    height: 7.932%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 6;
    cursor: pointer;
}

.photos-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 18%;
    width: 80%;
    height: 100%;
    pointer-events: auto;
    z-index: 5;
}

.photos-trigger {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.photos-container:hover {
    z-index: 30;
}

.photos-container:hover .photos-trigger {
    transform: scale(1.15);
}

.photos-menu {
    --menu-transform: translate(-30%, -120%) rotate(12deg);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: var(--menu-transform);
    display: flex;
    flex-direction: column;
    gap: 0px;
    align-items: flex-start;
    opacity: 0;
    visibility: hidden;
    min-width: 120px;
    text-shadow: var(--glow-shadow);
    font-family: var(--orbitron);
    z-index: 4;
    overflow: hidden;
}

.photos-menu::before {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ff6b6b, transparent);
    animation: scan-line 0.6s ease-out forwards;
    z-index: 5;
}

.photos-container:hover .photos-menu {
    opacity: 1;
    visibility: visible;
    animation: glitch-master 0.3s ease-in-out;
}

.photos-container:hover .photos-menu::before {
    animation: scan-line 0.6s ease-out forwards;
}

.photos-menu-title,
.photos-button {
    opacity: 0;
}

.photos-container:hover .photos-menu-title,
.photos-container:hover .photos-button {
    opacity: 1;
    animation: reveal-text 0.3s ease-out forwards;
}

/* --- Styles spécifiques: Photos --- */
.photos-button:hover {
    background: rgba(255, 107, 107, 0.8);
}

.photos-menu-title {
    color: #ff6b6b;
    text-shadow: 0 0 12px rgba(255, 200, 200, 0.4), 1px 1px 3px #000;
}

/* Bouton Socials 
   (Calculé sur une base de 1800x1122. Taille de l'image: 79x48)
   Largeur = (79/1800)*100 = 4.388%
   Hauteur = (48/1122)*100 = 4.278%
*/
.socials-container {
    position: absolute;
    top: 57.292%;
    left: 48%;
    width: 4.388%;
    height: 4.278%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    cursor: pointer;
}

.socials-trigger {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.socials-container:hover {
    z-index: 10;
}

.socials-container:hover .socials-trigger {
    animation: vibrate 3s ease-in-out infinite;
}

@keyframes vibrate {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    /* Phase de vibration : 0-40% */
    2% {
        transform: translate(-1px, -1px) rotate(-0.5deg);
    }

    4% {
        transform: translate(1px, 1px) rotate(0.5deg);
    }

    6% {
        transform: translate(-1px, 1px) rotate(-0.5deg);
    }

    8% {
        transform: translate(1px, -1px) rotate(0.5deg);
    }

    10% {
        transform: translate(-1px, -1px) rotate(-0.5deg);
    }

    12% {
        transform: translate(1px, 1px) rotate(0.5deg);
    }

    14% {
        transform: translate(-1px, 1px) rotate(-0.5deg);
    }

    16% {
        transform: translate(1px, -1px) rotate(0.5deg);
    }

    18% {
        transform: translate(-1px, -1px) rotate(-0.5deg);
    }

    20% {
        transform: translate(1px, 1px) rotate(0.5deg);
    }

    22% {
        transform: translate(-1px, 1px) rotate(-0.5deg);
    }

    24% {
        transform: translate(1px, -1px) rotate(0.5deg);
    }

    26% {
        transform: translate(-1px, -1px) rotate(-0.5deg);
    }

    28% {
        transform: translate(1px, 1px) rotate(0.5deg);
    }

    30% {
        transform: translate(-1px, 1px) rotate(-0.5deg);
    }

    32% {
        transform: translate(1px, -1px) rotate(0.5deg);
    }

    34% {
        transform: translate(-1px, -1px) rotate(-0.5deg);
    }

    36% {
        transform: translate(1px, 1px) rotate(0.5deg);
    }

    38% {
        transform: translate(-1px, 1px) rotate(-0.5deg);
    }

    40% {
        transform: translate(1px, -1px) rotate(0.5deg);
    }

    /* Pause : 40-80% */
    80% {
        transform: translate(0, 0) rotate(0deg);
    }

    /* Phase de vibration : 80-95% */
    82% {
        transform: translate(-1px, -1px) rotate(-0.5deg);
    }

    84% {
        transform: translate(1px, 1px) rotate(0.5deg);
    }

    86% {
        transform: translate(-1px, 1px) rotate(-0.5deg);
    }

    88% {
        transform: translate(1px, -1px) rotate(0.5deg);
    }

    90% {
        transform: translate(-1px, -1px) rotate(-0.5deg);
    }

    92% {
        transform: translate(1px, 1px) rotate(0.5deg);
    }

    94% {
        transform: translate(-1px, 1px) rotate(-0.5deg);
    }

    95% {
        transform: translate(1px, -1px) rotate(0.5deg);
    }

    /* Retour au repos : 95-100% */
    98% {
        transform: translate(0, 0) rotate(0deg);
    }
}

.socials-menu {
    --menu-transform: translate(-15%, -100%) rotate(12deg);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: var(--menu-transform);
    display: flex;
    flex-direction: column;
    gap: 0px;
    align-items: flex-start;
    opacity: 0;
    visibility: hidden;
    min-width: 270px;
    text-shadow: var(--glow-shadow);
    font-family: var(--orbitron);
    z-index: 20;
    overflow: hidden;
    pointer-events: auto;
}

.socials-menu::before {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #9b59b6, transparent);
    animation: scan-line 0.6s ease-out forwards;
    z-index: 5;
}

.socials-container:hover .socials-menu {
    opacity: 1;
    visibility: visible;
    animation: glitch-master 0.3s ease-in-out;
}

.socials-container:hover .socials-menu::before {
    animation: scan-line 0.6s ease-out forwards;
}

.socials-menu-title,
.socials-button {
    opacity: 0;
}

.socials-container:hover .socials-menu-title,
.socials-container:hover .socials-button {
    opacity: 1;
    animation: reveal-text 0.3s ease-out forwards;
}

/* --- Styles spécifiques: Socials --- */
.socials-button {
    position: relative;
    z-index: 11;
}

.socials-button:hover {
    background: rgba(155, 89, 182, 0.8);
}

.socials-menu-title {
    color: #9b59b6;
    position: relative;
    z-index: 11;
    text-shadow: 0 0 12px rgba(230, 190, 255, 0.4), 1px 1px 3px #000;
}

/* Bouton Keyboard
   (Calculé sur une base de 1800x1122. Taille de l'image: 259x74)
   Largeur = (259/1800)*100 = 14.388%
   Hauteur = (74/1122)*100 = 6.595%
*/
.keyboard-container {
    position: absolute;
    top: 63.6%;
    left: 39%;
    width: 14.388%;
    height: 6.595%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    cursor: pointer;
}

.keyboard-trigger {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.keyboard-container:hover .keyboard-trigger {
    transform: scale(1.15);
}

/* Bouton Vidéos 
   (Calculé sur une base de 1800x1122. Taille de l'image: 337x335)
   Largeur = (337/1800)*100 = 18.722%
   Hauteur = (335/1122)*100 = 29.857%
*/
.videos-container {
    position: absolute;
    top: 39.7%;
    right: 15.9%;
    width: 18.722%;
    height: 29.857%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: auto;
    cursor: pointer;
    pointer-events: none;
}

.videos-container::after {
    content: '';
    position: absolute;
    top: 10%;
    left: 8%;
    width: 82%;
    height: 67%;
    pointer-events: auto;
    z-index: 5;
}

.videos-trigger {
    width: 100%;
    height: 100%;
    object-fit: contain;
    z-index: 5;
    position: relative;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.videos-container:hover {
    z-index: 30;
}

.videos-container:hover .videos-trigger {
    transform: scale(1.1);
}

.videos-menu {
    --menu-transform: translate(10%, -50%) rotate(12deg);
    position: absolute;
    top: 50%;
    left: 60%;
    transform: var(--menu-transform);
    display: flex;
    flex-direction: column;
    gap: 0px;
    align-items: flex-start;
    opacity: 0;
    visibility: hidden;
    min-width: 270px;
    text-shadow: var(--glow-shadow);
    font-family: var(--orbitron);
    z-index: 20;
    overflow: hidden;
    pointer-events: auto;
}

.videos-menu::before {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ff4d4d, transparent);
    animation: scan-line 0.6s ease-out forwards;
    z-index: 5;
}

.videos-container:hover .videos-menu {
    opacity: 1;
    visibility: visible;
    animation: glitch-master 0.3s ease-in-out;
}

.videos-container:hover .videos-menu::before {
    animation: scan-line 0.6s ease-out forwards;
}

.videos-menu-title,
.videos-button {
    opacity: 0;
}

.videos-container:hover .videos-menu-title,
.videos-container:hover .videos-button {
    opacity: 1;
    animation: reveal-text 0.3s ease-out forwards;
}

/* --- Styles spécifiques: Vidéos --- */
/* Bouton Screen 3 (Nouveau)
   Taille: 618x413. Base 1800x1122
   Largeur = (618/1800)*100 = 34.333%
   Hauteur = (413/1122)*100 = 36.809%
*/
.screen3-button-container {
    position: absolute;
    top: -2.8%;
    right: -3%;
    width: 34.333%;
    height: 36.809%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: auto;
    cursor: pointer;
    pointer-events: none;
}

.screen3-button-container::after {
    content: '';
    position: absolute;
    top: 28%;
    left: 10%;
    /* Mirouir du left: 30% de Screen 1 pour aller vers le centre */
    width: 60%;
    height: 50%;
    pointer-events: auto;
    z-index: 5;
}

.screen3-button-trigger {
    width: 100%;
    height: 100%;
    object-fit: contain;
    z-index: 5;
    position: relative;
    pointer-events: none;
    transition: transform 0.3s ease;
}

.screen3-button-container:hover .screen3-button-trigger {
    transform: scale(1.1);
}

.screens-right-container:hover .screens-right-trigger {
    transform: scale(1.1);
}

.screens-right-container:hover ~ .screen6-container {
    transform: translate3d(-50%, 0, 0) rotate(5deg) scale(1.1);
}

.screens-right-menu {
    --menu-transform: translate(-55%, -110%) rotate(3deg);
    position: absolute;
    top: 50%;
    right: 50%;
    transform: var(--menu-transform);
    display: flex;
    flex-direction: column;
    gap: 0px;
    align-items: flex-end;
    opacity: 0;
    visibility: hidden;
    min-width: 250px;
    text-shadow: var(--glow-shadow);
    font-family: var(--orbitron);
    z-index: 20;
    overflow: hidden;
    pointer-events: auto;
}

.screens-right-menu::before {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #956ef1, transparent);
    animation: scan-line 0.6s ease-out forwards;
    z-index: 5;
}

.screens-right-container:hover .screens-right-menu {
    opacity: 1;
    visibility: visible;
    animation: glitch-master 0.3s ease-in-out;
}

.screens-right-container:hover .screens-right-menu::before {
    animation: scan-line 0.6s ease-out forwards;
}

.screens-right-menu-title,
.screens-right-button {
    opacity: 0;
}

.screens-right-container:hover .screens-right-menu-title,
.screens-right-container:hover .screens-right-button {
    opacity: 1;
    animation: reveal-text 0.3s ease-out forwards;
}

.screens-right-button:hover {
    background: rgba(149, 110, 241, 0.8);
}

.screens-right-menu-title {
    color: #956ef1;
    text-shadow: 0 0 12px rgba(149, 110, 241, 0.4), 1px 1px 3px #000;
}

/* Bouton Screen 1 (Nouveau - Mirouir de Screen 3) */
.screen1-button-container {
    position: absolute;
    top: -2.8%;
    left: -2.4%;
    width: 34.333%;
    height: 36.809%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: auto;
    cursor: pointer;
    pointer-events: none;
}

.screen1-button-container::after {
    content: '';
    position: absolute;
    top: 28%;
    left: 30%;
    width: 60%;
    height: 50%;
    pointer-events: auto;
    z-index: 5;
}

.screen1-button-trigger {
    width: 100%;
    height: 100%;
    object-fit: contain;
    z-index: 5;
    position: relative;
    pointer-events: none;
    transition: transform 0.3s ease;
}

.screen1-button-container:hover .screen1-button-trigger {
    transform: scale(1.1);
}

/* Bouton Screen 2 (Remplace desk01.webp)
   Taille: 1253x857. Base 1800x1122
   Largeur = (1253/1800)*100 = 69.611%
   Hauteur = (857/1122)*100 = 76.381%
*/
.screen2-button-container {
    position: absolute;
    top: -12.299%;
    left: 51.5%;
    transform: translateX(-50%);
    width: 69.611%;
    height: 76.381%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9;
    /* Sous les nouveaux boutons (z-index 10) mais devant l'écran */
    cursor: pointer;
    pointer-events: none;
    transform-origin: 50% 40.2%;
    /* Aligné sur le centre du screen 2 */
}

.screen2-button-container::after {
    content: '';
    position: absolute;
    top: 17%;
    left: 22%;
    width: 52%;
    height: 45%;
    pointer-events: auto;
    z-index: 5;
}

.screen2-button-trigger {
    width: 100%;
    height: 100%;
    object-fit: contain;
    z-index: 5;
    position: relative;
    pointer-events: none;
    transition: transform 0.3s ease;
    transform-origin: 50% 40.2%;
    /* Aligné sur le centre du screen 2 */
}

.screen2-button-container:hover .screen2-button-trigger {
    transform: scale(1.02);
}

.videos-button:hover {
    background: rgba(255, 77, 77, 0.8);
}

.videos-menu-title {
    color: #ff4d4d;
    text-shadow: 0 0 12px rgba(255, 180, 180, 0.4), 1px 1px 3px #000;
}

/* Bouton Websites 
   (Calculé sur une base de 1800x1122. Taille de l'image: 313x293)
   Largeur = (313/1800)*100 = 17.388%
   Hauteur = (293/1122)*100 = 26.114%
*/
.websites-container {
    position: absolute;
    top: 40.3%;
    left: 18%;
    width: 17.388%;
    height: 26.114%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: auto;
    cursor: pointer;
    pointer-events: none;
}

.websites-container::after {
    content: '';
    position: absolute;
    top: 15%;
    left: 5%;
    width: 80%;
    height: 60%;
    pointer-events: auto;
    z-index: 5;
}

/* Le z-index est géré par les enfants (trigger et menu) pour permettre au menu d'être au-dessus de la tablette */

.websites-trigger {
    width: 100%;
    height: 100%;
    object-fit: contain;
    z-index: 4;
    position: relative;
    pointer-events: none;
    /* L'image ne bloque pas la détection */
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.websites-container:hover {
    z-index: 30;
}

.websites-container:hover .websites-trigger {
    transform: scale(1.1);
}

/* Animation glitsh-websites supprimée car on utilise glitch-master */

.websites-menu {
    --menu-transform: translate(-115%, -35%) rotate(-12deg);
    position: absolute;
    top: 55%;
    left: 33%;
    transform: var(--menu-transform);
    display: flex;
    flex-direction: column;
    gap: 0px;
    align-items: flex-end;
    opacity: 0;
    visibility: hidden;
    min-width: 270px;
    text-shadow: var(--glow-shadow);
    font-family: var(--orbitron);
    z-index: 20;
    overflow: hidden;
    pointer-events: auto;
}

.websites-menu::before {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #f39c12, transparent);
    animation: scan-line 0.6s ease-out forwards;
    z-index: 5;
}

.websites-container:hover .websites-menu {
    opacity: 1;
    visibility: visible;
    animation: glitch-master 0.3s ease-in-out;
}

.websites-container:hover .websites-menu::before {
    animation: scan-line 0.6s ease-out forwards;
}

.websites-container:hover .websites-menu-title,
.websites-container:hover .websites-button {
    opacity: 1;
    animation: reveal-text 0.3s ease-out forwards;
}

/* Nouveaux Boutons Screens */
.screens-left-container {
    position: absolute;
    top: 36.65%;
    left: 30.6%;
    width: 21.833%;
    height: 24.599%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    cursor: pointer;
}

.screens-left-trigger {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.screens-left-container:hover {
    z-index: 30;
}

.screens-left-container:hover .screens-left-trigger {
    transform: scale(1.1);
}

.screens-left-container:hover ~ .screen5-container {
    transform: translate3d(-50%, 0, 0) rotate(-5deg) scale(1.1);
}

.screens-right-container {
    position: absolute;
    top: 36.65%;
    right: 30.78%;
    width: 21.833%;
    height: 24.599%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    cursor: pointer;
}

.screens-right-trigger {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.screens-right-container:hover {
    z-index: 30;
}

.screens-right-container:hover .screens-right-trigger {
    transform: scale(1.1);
}

.screens-right-container:hover ~ .screen6-container {
    transform: translate3d(-50%, 0, 0) rotate(5deg) scale(1.1);
}



/* --- Styles spécifiques: Websites --- */
.websites-button:hover {
    background: rgba(243, 156, 18, 0.8);
}

.websites-menu-title {
    color: #f39c12;
    text-shadow: 0 0 12px rgba(255, 230, 180, 0.4), 1px 1px 3px #000;
}

/* Les contrôles de zoom ont été déplacés dans coreSystem/interface.css */

/* Les styles d'authentification et de zoom ont été centralisés dans interface.css */

/* Styles pour Current Works et Website changelog */
.update-container {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: calc(87% + 250px); /* Position fixe pour Intro et Médias */
    z-index: 5;
    width: 86%;
    max-width: 86%;
    text-align: left;
    transform-origin: center center;
}

.empty-sections-container {
    display: flex;
    gap: 20px;
    margin-bottom: 95px;
    width: 100%;
}

.empty-section-wrapper {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.section-title {
    font-size: 25px;
    color: #C5D4E0;
    font-family: var(--orbitron);
    text-shadow:
        0 0 4px rgba(169, 186, 201, 0.4),
        0 0 8px rgba(169, 186, 201, 0.3),
        0 0 12px rgba(169, 186, 201, 0.25),
        0 0 18px rgba(169, 186, 201, 0.15),
        0 0 22px rgba(169, 186, 201, 0.08);
}

.box {
    position: relative;
    z-index: 1;
    border: 1px solid #749d91;
    box-shadow: 0 0 15px 5px #242b31, inset 0 0 15px #6166a0;
    border-radius: 2rem;
    padding: 15px 20px;
    background: url('../underlay_grid.png') repeat;
    background-color: #3e4e54;
    margin: 0 auto;
    text-align: left;
}

.dashboard-box {
    height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.dashboard-box.dashboard-box-right {
    justify-content: center;
    align-items: flex-end;
}

.dashboard-box.dashboard-box-right .content-with-preview {
    justify-content: flex-end;
    width: 100%;
}

.dashboard-box.dashboard-box-right .preview-image-wrapper {
    padding: 10px;
}

.dashboard-box.dashboard-box-right .preview-image,
.dashboard-box.dashboard-box-right .preview-video {
    box-shadow: 0 0 8px rgba(49, 176, 134, 0.3);
}

.preview-caption {
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.4);
    color: #C5D4E0;
    padding: 2px 10px;
    border-radius: 4px;
    font-family: var(--source-code);
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-shadow: 0 0 5px rgba(169, 186, 201, 0.5);
    white-space: nowrap;
    z-index: 10;
    pointer-events: none;
    backdrop-filter: blur(2px);
    border: 1px solid rgba(116, 157, 145, 0.2);
}

.dashboard-title {
    width: 100%;
    margin-bottom: 2px;
    position: relative;
    z-index: 2;
}

.dashboard-title tr td {
    padding: 0;
}

.dashboard-title tr td:first-child {
    padding-left: 0;
    padding-right: 0;
}

.dashboard-title .section-title {
    font-size: 25px;
    letter-spacing: 2px;
    line-height: 1;
}

.changelog tr td[align="right"] {
    text-align: right !important;
}

.box td {
    text-align: left;
    padding-left: 0;
}

.changelog-changelogs {
    z-index: 10;
    position: relative;
}

.content-with-preview {
    display: flex;
    gap: 20px;
    align-items: stretch;
}

.changelog-preview-right {
    flex-direction: row-reverse !important;
}

.preview-container {
    flex: 0 0 350px;
    /* Largeur par défaut pour les autres sections */
    width: 100%;
    position: sticky;
    top: 20px;
    height: 100%;
    display: flex;
    align-items: center;
}

.preview-container:has(#changelog-preview) {
    flex: 0 0 500px;
}

.preview-container:has(#current-works-preview) {
    flex: 0 0 450px;
}

.preview-image-wrapper {
    flex: 1;
    height: 100%;
    background: #2a3335;
    border: 1px solid #749d91;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 15px 5px #242b31, inset 0 0 40px rgba(97, 102, 160, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

#current-works-preview {
    min-height: 350px;
}

#changelog-preview {
    min-height: 241px;
}

#latest-photos-preview {
    min-height: 80px;
}

#latest-photos-preview-img {
    object-fit: cover;
}

#latest-videos-preview {
    min-height: 80px;
}

.preview-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
}

.preview-video.active {
    display: block;
}

.preview-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.3s ease;
    display: none;
    position: absolute;
    top: 0;
    left: 0;
}

.preview-image.active {
    opacity: 1;
    display: block;
}

.preview-placeholder {
    color: #A9BAC9;
    font-family: var(--source-code);
    font-size: 14px;
    text-align: center;
    padding: 20px;
    position: relative;
    z-index: 1;
}

/* La navigation du carrousel a été déplacée dans coreSystem/interface.css */

/* Indicateur de chargement des médias */
.side-emoji {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    filter: drop-shadow(0 0 10px rgba(116, 157, 145, 0.4));
    transition: transform 0.3s ease;
    user-select: none;
}

.side-emoji img {
    width: 32px;
    height: auto;
    max-height: 32px;
    object-fit: contain;
}



.media-loading-indicator {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: #C5D4E0;
    font-family: var(--source-code);
    font-size: 12px;
}

.media-loading-indicator .spinner {
    width: 30px;
    height: 30px;
    border: 3px solid rgba(49, 176, 134, 0.3);
    border-top-color: #31b086;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.content-column {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.empty-section-wrapper .content-column {
    min-width: 1px;
}

/* Styles d'authentification déplacés dans auth.css */
/* Styles des modals déplacés dans coreSystem/modals.css */
/* Styles des commentaires et modale d'image déplacés dans coreSystem/comments.css */
/* Styles des notifications déplacés dans coreSystem/notifications.css */
/* Styles des réactions déplacés dans coreSystem/reactions.css */

.update-div,
.changelog-div {
    overflow-y: auto;
    font-size: 19px;
    font-family: var(--source-code);
    flex: 1;
}

.update-div {
    max-height: 350px;
    min-height: 350px;
}

.changelog-div {
    max-height: 241px;
    min-height: 241px;
}

.empty-section-wrapper .update-div {
    min-height: 0;
    flex: none;
    overflow: hidden;
}

.empty-section-wrapper .update-screenshots {
    grid-column: unset;
    margin-top: 0;
    justify-content: center;
}

.update-item {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-column-gap: 10px;
    margin-bottom: 1px;
    grid-column: 1 / -1;
    cursor: pointer;
    transition: background-color 0.2s ease;
    padding: 2px;
    border-radius: 4px;
}

.update-item:hover {
    background-color: rgba(116, 157, 145, 0.2);
}

.date,
.description {
    color: #cadef0;
    font-family: var(--source-code);
    text-shadow:
        0 0 3px rgba(202, 222, 240, 0.3),
        0 0 6px rgba(202, 222, 240, 0.2),
        0 0 9px rgba(202, 222, 240, 0.1);
}

.intro-text {
    font-family: var(--orbitron) !important;
    font-size: 1.1em;
    letter-spacing: 1px;
}

.coming-soon {
    opacity: 0.5;
    font-size: 0.85em;
    font-style: italic;
    margin-left: 10px;
}

.date {
    white-space: nowrap;
    color: #38c395 !important;
    text-shadow:
        0 0 3px rgba(56, 195, 149, 0.4),
        0 0 6px rgba(56, 195, 149, 0.2),
        0 0 9px rgba(56, 195, 149, 0.1);
}

.update-div .update-item {
    grid-template-columns: 30px auto 1fr;
    align-items: start;
}

.work-icon {
    width: 25px;
    height: 25px;
    display: inline-block;
    vertical-align: middle;
    object-fit: contain;
    flex-shrink: 0;
}

.update-item-stats {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
    grid-column: 2 / -1;
}

.update-div .update-item-stats {
    grid-column: 3 / -1;
}

.update-item-views,
.update-item-clicks,
.update-item-comments {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 9px;
    color: #bdbdbd;
    font-family: var(--source-code);
}

.update-item-views .views-num {
    color: #bdbdbd;
}

.update-item-clicks .clicks-num {
    color: #bdbdbd;
}

.update-item-comments .comments-num {
    color: #4dd4a8;
}

.update-screenshots {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    margin-left: 0;
    flex-wrap: wrap;
    grid-column: 2 / -1;
}

.update-div .update-screenshots {
    grid-column: 3 / -1;
}

.update-screenshots img {
    width: 120px;
    height: 80px;
    object-fit: cover;
    border: 1px solid #749d91;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: transform 0.2s;
}

.update-screenshots img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.changelog-div a:link,
.changelog-div a:visited {
    color: #f1f8ff;
    background-color: transparent;
    text-decoration: none;
}

.changelog-div a:hover,
.changelog-div a:active {
    color: #f1f8ff;
    background-color: transparent;
    text-decoration: underline;
}

.guestbook {
    animation: color-change 2s infinite;
    text-align: right;
}

.guestbook.section-title {
    animation: color-change 2s infinite, glow-guestbook 2s infinite;
}

.guestbook a:link,
.guestbook a:visited,
.guestbook a:hover,
.guestbook a:active {
    animation: color-change 2s infinite;
}

@keyframes color-change {
    0% {
        color: #31b086;
    }

    50% {
        color: #A9BAC9;
    }

    100% {
        color: #31b086;
    }
}

@keyframes glow-guestbook {
    0% {
        text-shadow:
            0 0 4px rgba(49, 176, 134, 0.4),
            0 0 8px rgba(49, 176, 134, 0.3),
            0 0 12px rgba(49, 176, 134, 0.25),
            0 0 18px rgba(49, 176, 134, 0.15),
            0 0 22px rgba(49, 176, 134, 0.08);
    }

    50% {
        text-shadow:
            0 0 4px rgba(169, 186, 201, 0.4),
            0 0 8px rgba(169, 186, 201, 0.3),
            0 0 12px rgba(169, 186, 201, 0.25),
            0 0 18px rgba(169, 186, 201, 0.15),
            0 0 22px rgba(169, 186, 201, 0.08);
    }

    100% {
        text-shadow:
            0 0 4px rgba(49, 176, 134, 0.4),
            0 0 8px rgba(49, 176, 134, 0.3),
            0 0 12px rgba(49, 176, 134, 0.25),
            0 0 18px rgba(49, 176, 134, 0.15),
            0 0 22px rgba(49, 176, 134, 0.08);
    }
}

/* ============================================
           COMPTEUR DE VUES - BAS DROITE
           ============================================ */
/* Les boutons de zoom ont été déplacés dans coreSystem/interface.css */

/* Le lien Overseer est maintenant géré dans coreSystem/interface.css */

/* --- Styles pour l'affichage des vues sur Screen3 --- */
.screen-view-display {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #161616;
    background-image:
        linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.1) 50%),
        linear-gradient(90deg, rgba(255, 0, 0, 0.03), rgba(0, 255, 0, 0.01), rgba(0, 0, 255, 0.03));
    background-size: 100% 4px, 3px 100%;
    position: relative;
    overflow: hidden;
    backface-visibility: hidden;
    transform: perspective(800px) rotateX(-5deg);
    transform-origin: center bottom;
    pointer-events: none;
    /* Empêche l'interaction avec le texte sur l'écran */
}

/* Style for the background media on monitor 1 */
.screen-view-display .background-media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    /* Under the text */
    pointer-events: none;
}

.view-count-text {
    text-align: center;
    color: #55f1be;
    /* Slightly paler green */
    font-family: var(--orbitron);
    text-shadow: 0 0 10px rgba(0, 168, 114, 0.8), 0 0 5px rgba(0, 0, 0, 0.6);
    position: relative;
    z-index: 2;
    animation: digital-glitch 8s step-end infinite;
}

#page-views-count {
    font-size: 3.1vw;
    font-weight: 900;
    display: block;
    line-height: 1;
    letter-spacing: 2px;
}

.view-label {
    font-size: 0.8vw;
    letter-spacing: 4px;
    margin-top: 5px;
    opacity: 1;
    color: #e0d4ff;
    /* Slightly darker purple */
    font-family: var(--orbitron);
    /* Explicitly enforced */
    font-weight: bold;
    text-shadow: 0 0 3px #000, 0 0 8px rgba(0, 0, 0, 0.8);
}



/* Micro-glitch aléatoire */
@keyframes digital-glitch {

    0%,
    96%,
    100% {
        transform: translate(0);
        opacity: 1;
        filter: none;
    }

    97% {
        transform: translate(-2px, 1px) skewX(1deg);
        opacity: 0.8;
        color: #d100b3;
        /* Flash rose adapté */
        text-shadow: 2px 0 #00e89e, -2px 0 #d100b3;
    }

    98% {
        transform: translate(2px, -1px);
        opacity: 0.9;
        color: #00e89e;
        filter: blur(1px);
    }

    99% {
        transform: translate(0);
        opacity: 1;
    }
}

/* ============================================
   BAS DE PAGE (FOOTER)
   ============================================ */
.site-footer {
    width: 100%;
    margin-top: 30px;
    padding-bottom: 20px;
    text-align: center;
    position: relative;
    z-index: 5;
}

.footer-line {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(116, 157, 145, 0.4) 20%,
            rgba(116, 157, 145, 0.8) 50%,
            rgba(116, 157, 145, 0.4) 80%,
            transparent 100%);
    margin-bottom: 25px;
    box-shadow: 0 0 10px rgba(116, 157, 145, 0.3);
}

.footer-text {
    color: #A9BAC9;
    font-family: var(--source-code);
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-shadow: 0 0 8px rgba(169, 186, 201, 0.3);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.footer-text:hover {
    opacity: 1;
    color: #C5D4E0;
    text-shadow:
        0 0 10px rgba(169, 186, 201, 0.5),
        0 0 20px rgba(49, 176, 134, 0.4);
}


/* --- Navigation Arrows (Bottom-Right) --- */
.bottom-nav {
    position: fixed;
    bottom: 15px;
    right: 20px;
    z-index: 100000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    /* Harmonisé avec le zoom */
    align-items: center;
}

.nav-arrow {
    cursor: pointer;
    color: #b7ccd9;
    /* Synchronisé avec les boutons de zoom */
    font-size: 28px;
    /* Harmonisé avec le zoom */
    font-weight: bold;
    transition: all 0.2s ease;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    user-select: none;
    line-height: 1;
}

.nav-arrow:hover {
    color: #ddf2ff;
    text-shadow: 0 0 10px rgba(221, 242, 255, 0.4);
    transform: scale(1.1);
}

.nav-arrow:active {
    transform: scale(0.9);
}

/* --- Contrôles de Zoom (Style identique à la page Sites) --- */
.zoom-controls {
    position: fixed;
    top: 15px;
    left: 20px;
    z-index: 100000;
    display: flex;
    align-items: center;
    gap: 10px;
    user-select: none;
}

.zoom-display {
    color: #8da1af;
    /* Un peu plus foncé */
    font-family: var(--source-code);
    font-size: 20px;
    font-weight: bold;
    text-align: left;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.5px;
    border-right: 2px solid rgba(183, 204, 217, 0.3);
    padding-right: 8px;
    margin-right: 2px;
}

.zoom-button {
    background: none;
    border: none;
    color: #b7ccd9;
    padding: 0 5px;
    cursor: pointer;
    font-size: 28px;
    font-weight: bold;
    transition: all 0.2s ease;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1;
    outline: none;
}

.zoom-button:hover {
    color: #ddf2ff;
    text-shadow: 0 0 10px rgba(221, 242, 255, 0.4);
    transform: scale(1.1);
}

.zoom-button:active {
    transform: scale(0.9);
}

/* --- Harmonisation finale de la symétrie --- */
.auth-nav {
    top: 15px !important;
    right: 20px !important;
}

/* Fin du fichier */