html, body {
    margin: 0; padding: 0; height: 100%; overflow: hidden;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.scene {
    width: 100%; height: 100%;
    background-image: url("parisrue.jpg");
    background-size: cover; background-position: center;
    position: relative; cursor: pointer;
}

.celebrite-container, .barre-depression-container {
    position: absolute; top: 25px; padding: 12px 20px;
    border-radius: 30px; font-weight: bold;
    display: flex; align-items: center; gap: 15px; z-index: 2000;
}
.celebrite-container { left: 25px; background: rgba(0,0,0,0.8); color: #ffd700; border: 2px solid #ffd700; }
.barre-depression-container { right: 25px; background: rgba(0,0,0,0.8); color: #ff6666; border: 2px solid #ff6666; }

.barre-fond { width: 180px; height: 12px; background-color: #333; border-radius: 10px; overflow: hidden; }
.barre-remplie { width: 0%; height: 100%; transition: width 0.8s; }

.texte {
    position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
    width: 85%; text-align: center; color: white; font-size: 24px;
    background: rgba(0,0,0,0.85); padding: 20px; border-radius: 15px; z-index: 10;
}

.vogue-text {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    font-family: "Didot", serif; font-size: 45px; letter-spacing: 8px;
    text-transform: uppercase; color: black; background: white;
    padding: 25px 50px; z-index: 10000; display: none; border: 2px solid black;
}

.bulle {
    position: absolute; bottom: 72%; right: 180px;
    background-color: white; color: #222; padding: 25px;
    border-radius: 25px; font-weight: bold; font-size: 18px;
    display: none; z-index: 20; max-width: 300px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}


.choix-carre {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    background: rgba(0,0,0,0.9); color: white; padding: 30px 40px;
    border-radius: 20px; text-align: center; z-index: 4000;
    max-width: 75%; border: 3px solid #ffd700;
}
.choix-carre button {
    display: block; width: 100%; margin: 15px 0; padding: 18px;
    font-size: 20px; background: #f5f5dc; color: #222;
    border: 3px solid #d2b48c; border-radius: 50px;
    cursor: pointer; font-weight: bold;
}

.reveil {
    position: absolute; top: 15%; left: 50%; transform: translateX(-50%);
    width: 280px; z-index: 3000; border: 8px solid #222;
    border-radius: 15px; box-shadow: 0 0 40px rgba(0,0,0,0.8);
}

.bip-text {
    position: absolute; top: 12%; left: 50%; transform: translateX(-50%);
    font-size: 42px; font-weight: bold; color: #ff0000;
    text-shadow: 0 0 15px #ff0000; z-index: 3100;
    animation: bipAnim 0.8s infinite;
}
@keyframes bipAnim { 0%,100% {opacity:0.4;} 50% {opacity:1;} }

.client-img { width: 120px; height: 120px; object-fit: cover; border-radius: 10px; }


.perso, .perso-gigi { position: absolute; bottom: 0; height: 85%; z-index: 5; }
.perso { right: 50px; }
.perso-gigi { left: 50px; }

.input-nom-container, .choix-grid-container {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    background: white; padding: 30px; border-radius: 20px;
    text-align: center; z-index: 3000; border: 4px solid #ffd700;
}
.grille-styles { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-top: 15px; }
.carte-style img { width: 100%; height: 110px; object-fit: cover; border-radius: 8px; cursor: pointer; }

.bouton-beige {
    position: absolute; top: 60%; left: 50%; transform: translate(-50%, -50%);
    padding: 20px 40px; font-weight: bold; background: #f5f5dc;
    border: 3px solid #d2b48c; border-radius: 50px; cursor: pointer; z-index: 1000;
}

.flash-effet {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: white; z-index: 5000; opacity: 0; pointer-events: none;
}
.lancer-flash { animation: flashAnim 0.7s ease-out; }
@keyframes flashAnim { 0%,100% {opacity:0;} 50% {opacity:1;} }
.perso-star {
    position: absolute;
    bottom: 0;
    height: 85%;
    z-index: 6;
    right: 80px;     
}
.bulle-gigi {
    right: auto !important;
    left: 180px !important;
    bottom: 72% !important;
    border: 2px solid #e91e63; 

}

.choix-carre button {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 90%; 
    margin: 10px auto;
}

.client-img {
    width: 90px !important;   
    height: 90px !important;  
    object-fit: contain;     
    border-radius: 50%;      
    background: #fff;
    margin-bottom: 5px;
}

.bulle-vip-droite {
    right: auto !important;
    left: 180px !important;
    bottom: 72% !important;
    border: 2px solid #333; 
}

.texture-volante {
    position: absolute;
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 15px;
    border: 3px solid white;
    box-shadow: 0 10px 20px rgba(0,0,0,0.4);
    cursor: pointer;
    z-index: 7000;
    transition: left 1.5s ease-in-out, top 1.5s ease-in-out; 
}

.texture-volante:hover {
    transform: scale(1.1);
    border-color: #ffd700;
}