/* Styles généraux conservés */
body {
    margin: 0;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    background-color: #000;
    color: white;
}

.scene {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
}

/* --------------------------------- */
/* Styles spécifiques à la scène Parallax */
/* --------------------------------- */

#scene-parallax {
    background-color: #222;
}

/* Conteneur principal qui sera fixé par ScrollTrigger */
#set-content {
    position: relative;
    width: 100%;
    height: 100vh; /* Doit être plein écran pour le meilleur effet */
    overflow: hidden;
}

/* Style de base pour tous les calques de Parallax */
.layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Important : Le z-index gère la superposition */
}

/* Le ciel/fond (derrière) */
.layer-back { z-index: 10; }
/* La rue/milieu */
.layer-mid { z-index: 20; }
/* Les éléments de premier plan/UI */
.layer-front { z-index: 30; }


/* S'assurer que les images remplissent leur conteneur */
.layer img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Le filtre de surveillance (au-dessus de tout) */
#surveillance-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    color: #00ff00;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    opacity: 0; /* Caché au début */
    z-index: 40;
}

/* Bouton interactif pour simuler un bug */
#bug-button {
    position: absolute;
    bottom: 20px;
    right: 20px;
    padding: 10px 20px;
    background-color: red;
    color: white;
    border: none;
    cursor: pointer;
    z-index: 50;
    opacity: 0.5; /* Devient visible après une animation */
}

/* Révélation du projecteur (un cercle blanc ou lumineux) */
#spotlight-reveal {
    position: absolute;
    top: 0;
    left: 50%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    transform: translateX(-50%) translateY(-100%); /* Commence au-dessus de l'écran */
    opacity: 0;
}