@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:ital,opsz,wght@0,6..96,400;0,6..96,700;1,6..96,400&family=Montserrat:wght@300;400;600&display=swap');

body {
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #0b0b0b;
    font-family: 'Montserrat', sans-serif;
    -webkit-font-smoothing: antialiased;
}

.scene {
    position: relative;
    width: 100vw;
    height: 100vh;
    background-size: cover;
    background-position: center;
    transition: background-image 0.8s ease-in-out;
    overflow: hidden;
}

.texte {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 16vh;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    color: #ffffff;
    font-family: 'Bodoni Moda', serif;
    font-size: 26px;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 40px;
    margin: 0;
    box-sizing: border-box;
    z-index: 1000;
    cursor: pointer;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.5);
}

.celebrite-container, .barre-depression-container {
    position: absolute;
    top: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 2000;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(8px);
    padding: 10px 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

#barreCelebriteContainer { left: 30px; }
#barreDepressionContainer { right: 30px; }

.label-barre {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 11px;
    letter-spacing: 3px;
    color: #ffffff;
}

#barreCelebriteContainer .label-barre { color: #d4af37; }
#barreDepressionContainer .label-barre { color: #a1a1a1; }

.barre-fond {
    width: 160px;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.1);
    position: relative;
}

.barre-remplie {
    height: 100%;
    width: 0%;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

#barreRemplie { background-color: #d4af37; box-shadow: 0 0 10px rgba(212, 175, 55, 0.5); }
#barreDepressionRemplie { background-color: #ffffff; box-shadow: 0 0 10px rgba(255, 255, 255, 0.5); }

.score-texte {
    font-family: 'Bodoni Moda', serif;
    font-size: 16px;
    color: #ffffff;
    min-width: 45px;
    text-align: right;
}


.perso {
    position: absolute;
    bottom: -15%;
    left: 50%;
    transform: translateX(-50%);
    height: 85vh;
    width: auto;
    max-width: none;
    z-index: 500;
    transition: transform 0.3s ease;
}


.perso-gigi, .perso-star {
    position: absolute;
    bottom: -15%;
    right: 5%;
    height: 85vh;
    width: auto;
    max-width: none;
    z-index: 450;
    display: none;
}

.bulle {
    position: absolute;
    bottom: 50vh;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(255, 255, 255, 0.98);
    color: #111111;
    border: 1px solid #111111;
    padding: 25px 35px;
    min-width: 250px;
    max-width: 450px;
    text-align: center;
    font-family: 'Bodoni Moda', serif;
    font-size: 20px;
    font-style: italic;
    z-index: 600;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.bulle::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 10px 10px 0;
    border-style: solid;
    border-color: rgba(255, 255, 255, 0.98) transparent;
    display: block;
    width: 0;
}

.bulle-vip-droite { left: auto; right: 8%; transform: none; bottom: 55vh; }
.bulle-vip-droite::after { left: auto; right: 40px; transform: none; }

.choix-carre, .choix-grid-container, .input-nom-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #0f0f0f;
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 40px 50px;
    text-align: center;
    z-index: 5000;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.8);
    width: 90%;
    max-width: 500px;
    box-sizing: border-box;
}

.choix-grid-container {
    max-width: 850px;
}

.choix-carre h3, .choix-grid-container h3, .input-nom-container h3 {
    font-family: 'Bodoni Moda', serif;
    font-size: 26px;
    color: #ffffff;
    margin-top: 0;
    margin-bottom: 30px;
    font-weight: 400;
    letter-spacing: 1px;
}

.choix-carre button, .input-nom-container button {
    display: block;
    width: 100%;
    margin: 15px 0;
    padding: 18px 25px;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    letter-spacing: 2px;
    font-weight: 400;
    text-transform: uppercase;
    cursor: pointer;
    background-color: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.choix-carre button:hover, .input-nom-container button:hover {
    background-color: #ffffff;
    color: #000000;
    border-color: #ffffff;
    box-shadow: 0 10px 20px rgba(255,255,255,0.1);
}

.choix-carre button img, .carte-style img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.5s ease;
}

.choix-carre button .client-img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    margin-bottom: 10px;
    border: 1px solid rgba(255,255,255,0.2);
}

.grille-styles {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.carte-style {
    width: 220px;
    height: 320px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    background-color: #161616;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.carte-style:hover {
    border-color: #ffffff;
    box-shadow: 0 15px 30px rgba(0,0,0,0.5);
}

.carte-style:hover img {
    transform: scale(1.04);
}

.carte-style span {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 70%, transparent 100%);
    color: #ffffff;
    padding: 25px 15px 15px 15px;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    box-sizing: border-box;
}

.input-nom-container p {
    color: #a1a1a1;
    font-size: 14px;
    margin-bottom: 25px;
}

.input-nom-container input[type="text"] {
    width: 100%;
    box-sizing: border-box;
    padding: 15px;
    background: #161616;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    text-align: center;
    margin-bottom: 25px;
    letter-spacing: 1px;
}

.input-nom-container input[type="text"]:focus {
    outline: none;
    border-color: rgba(255,255,255,0.4);
}

.ecran-intro {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('parisintro.jpeg');
    background-size: cover;
    background-position: center;
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 1s ease-in-out;
}

.intro-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.9) 100%);
    z-index: 1;
}

.intro-contenu {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #ffffff;
}

.intro-titre {
    font-family: 'Bodoni Moda', serif;
    font-size: 76px;
    letter-spacing: 18px;
    margin: 0;
    font-weight: 400;
    text-transform: uppercase;
    animation: fadeInGlow 2s ease-out;
}

.intro-sous-titre {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    letter-spacing: 12px;
    margin: 15px 0 35px 0;
    color: #a1a1a1;
    text-transform: uppercase;
    font-weight: 300;
}

.intro-baseline {
    font-family: 'Bodoni Moda', serif;
    font-size: 18px;
    font-style: italic;
    letter-spacing: 1px;
    margin-bottom: 50px;
    color: #e5e5e5;
}

.btn-chic {
    background-color: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 20px 50px;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    letter-spacing: 5px;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.4s ease;
}

.btn-chic:hover {
    background-color: #ffffff;
    color: #000000;
    border-color: #ffffff;
    transform: scale(1.02);
}

#titreMiniJeu {
    position: absolute;
    top: 15%;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-family: 'Bodoni Moda', serif;
    font-size: 28px;
    font-weight: 400;
    letter-spacing: 2px;
    background: rgba(10,10,10,0.9);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 20px 40px;
    z-index: 8000;
    text-align: center;
}

.bouton-beige {
    position: absolute;
    bottom: 25vh;
    left: 50%;
    transform: translateX(-50%);
    background: #ffffff;
    color: #000000;
    border: none;
    padding: 20px 40px;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    letter-spacing: 4px;
    text-transform: uppercase;
    cursor: pointer;
    z-index: 2000;
    transition: all 0.3s ease;
}

.bouton-beige:hover {
    background: #111111;
    color: #ffffff;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
}

.vogue-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffffff;
    font-family: 'Bodoni Moda', serif;
    font-size: 45px;
    font-style: italic;
    z-index: 3000;
    background: #0f0f0f;
    padding: 30px 60px;
    border: 1px solid rgba(255,255,255,0.1);
}

.texture-volante {
    position: absolute;
    width: 110px;
    height: 110px;
    object-fit: cover;
    border: 1px solid rgba(255,255,255,0.3);
    cursor: pointer;
    z-index: 7500;
    transition: all 1.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}

.texture-volante:hover {
    border-color: #ffffff;
    transform: scale(1.1);
    z-index: 7600;
}

.reveil {
    position: absolute;
    bottom: 20%;
    left: 10%;
    max-height: 25vh;
    z-index: 1000;
    animation: vibreReveil 0.15s infinite;
}

.bip-text {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 80px;
    font-family: 'Bodoni Moda', serif;
    font-style: italic;
    color: white;
    z-index: 9999;
    opacity: 0.8;
}

.flash-effet {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background-color: white; opacity: 0; z-index: 9998; pointer-events: none;
}
.lancer-flash { animation: flashAnim 0.6s ease-out; }

@keyframes flashAnim { 0% { opacity: 0; } 50% { opacity: 1; } 100% { opacity: 0; } }
@keyframes fadeInGlow { 0% { opacity: 0; filter: blur(4px); } 100% { opacity: 1; filter: blur(0); } }
@keyframes vibreReveil { 0% { transform: translate(0,0); } 50% { transform: translate(1px, 1px); } 100% { transform: translate(-1px, -1px); } }