/* --- 1. CONFIGURATION DE BASE --- */
* { 
    margin: 0; padding: 0; box-sizing: border-box; 
    -webkit-tap-highlight-color: transparent; 
    -webkit-touch-callout: none; /* Désactive le menu "Copier/Partager" iOS */
    -webkit-user-select: none;   /* Désactive la sélection de texte */
    user-select: none; 
}

/* Autoriser la sélection uniquement dans les champs de saisie pour pouvoir écrire */
input {
    -webkit-user-select: text;
    user-select: text;
}

body {
    background-color: #000000; color: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    height: 100vh; width: 100vw; overflow: hidden;
    display: flex; justify-content: center; align-items: center;
}

/* --- 2. GESTION DES ÉCRANS --- */
.screen {
    display: none; flex-direction: column; align-items: center; justify-content: center;
    height: 100%; width: 100%; position: relative; z-index: 10;
}
.screen.active { display: flex; animation: fadeIn 0.6s ease-in-out; }
.container { display: flex; flex-direction: column; align-items: center; width: 100%; }

/* --- 3. LE SAS DE CONNEXION --- */
.input-group { margin-bottom: 20px; width: 80%; max-width: 300px; }
input {
    width: 100%; padding: 18px; background: #111111; border: 1px solid #333333;
    border-radius: 16px; color: #ffffff; font-size: 16px; text-align: center; outline: none; transition: border-color 0.3s;
}
input:focus { border-color: #666666; }
input::placeholder { color: #555555; }
#login-btn {
    padding: 16px 50px; background: #ffffff; color: #000000; border: none;
    border-radius: 30px; font-size: 16px; font-weight: 600; cursor: pointer; margin-top: 15px; transition: transform 0.1s;
}
#login-btn:active { transform: scale(0.95); }
#error-msg { color: #ff4444; margin-top: 20px; font-size: 14px; opacity: 0; transition: opacity 0.3s; }
#error-msg:not(.hidden) { opacity: 1; }
.hidden { display: none !important; }

/* Mot de passe (Œil) */
.password-group { position: relative; }
#password { padding-right: 45px; }
#toggle-password {
    position: absolute; right: 15px; top: 50%; transform: translateY(-50%);
    background: none; border: none; font-size: 18px; cursor: pointer;
    outline: none; opacity: 0.6; transition: opacity 0.2s;
}
#toggle-password:active { opacity: 1; }

/* Message Énigmatique */
.enigmatic-text {
    margin-top: 30px; color: #777777; font-size: 13px; font-weight: 300;
    font-style: italic; letter-spacing: 1.5px; opacity: 0.8; transition: all 0.5s ease; cursor: default;
}
.enigmatic-text:hover { color: #cc0000; opacity: 1; text-shadow: 0 0 8px rgba(200, 0, 0, 0.6); }

/* --- 4. LA CINÉMATIQUE HOUBI --- */
#cinematic-screen { background-color: #000000; position: relative; overflow: hidden; }
.sensual-aura {
    position: absolute; width: 150vw; height: 150vh;
    background: radial-gradient(circle, rgba(100, 0, 20, 0.3) 0%, rgba(30, 0, 10, 0.1) 40%, rgba(0, 0, 0, 1) 70%);
    animation: breathe 5s ease-in-out infinite alternate; filter: blur(20px);
}
.cinematic-text {
    position: relative; z-index: 2; font-size: 42px; font-weight: 100; font-style: italic;
    letter-spacing: 12px; color: #ffcccc; text-transform: uppercase;
    text-shadow: 0 0 10px rgba(220, 20, 60, 0.8), 0 0 30px rgba(139, 0, 0, 0.6);
    opacity: 0; filter: blur(15px); animation: sensualReveal 4.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* --- 5. EN-TÊTE ET MENU (QR à gauche, Switch au centre, OFF à droite) --- */
header { 
    display: flex; justify-content: center; align-items: center; 
    width: 100%; position: absolute; top: 55px; left: 0; padding: 0; z-index: 100;
}

/* Design commun aux deux boutons (QR et OFF) */
#logout-btn, #qr-btn { 
    position: absolute; 
    background: none; border: none; 
    color: #444444; font-size: 28px; cursor: pointer; 
    padding: 15px; transition: color 0.3s; 
}

/* Placement du bouton QR (à gauche) */
#qr-btn { 
    left: 25px; 
    font-size: 26px; /* Taille légèrement ajustée pour l'harmonie */
}

/* Placement du bouton OFF (à droite) */
#logout-btn { 
    right: 25px; 
}

/* Effet au clic pour les deux */
#logout-btn:active, #qr-btn:active { 
    color: #ffffff; 
}

.mode-switch { 
    position: relative; 
    width: 170px; 
    height: 42px; 
    z-index: 10; 
    touch-action: none;
}
.mode-toggle-checkbox { display: none; }
.mode-toggle-label {
    display: flex; align-items: center; justify-content: center;
    width: 100%; height: 100%; background: #111; border: 1px solid #333;
    border-radius: 25px; cursor: pointer; position: relative;
}
.mode-text { 
    flex: 1; text-align: center; z-index: 2; font-size: 14px; 
    font-weight: 600; letter-spacing: 1px; text-transform: uppercase; transition: color 0.3s; 
}
.mood-text { color: #fff; text-shadow: 0 0 8px rgba(255,255,255,0.4); }
.action-text { color: #555; }
.mode-toggle-checkbox:checked + .mode-toggle-label .mood-text { color: #555; text-shadow: none; }
.mode-toggle-checkbox:checked + .mode-toggle-label .action-text { color: #fff; text-shadow: 0 0 8px rgba(255,255,255,0.4); }
.mode-slider {
    position: absolute; top: 3px; left: 3px; width: 80px; height: 34px;
    background: rgba(255, 255, 255, 0.15); border-radius: 20px;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2); transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); z-index: 1;
}
.mode-toggle-checkbox:checked + .mode-toggle-label .mode-slider { transform: translateX(82px); }

/* --- 6. CENTRAGE INTELLIGENT POUR TOUS LES IPHONES --- */
#main-screen {
    padding: 0; /* On nettoie l'ancien padding qui poussait tout vers le bas */
}

#main-screen .container {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centre parfaitement au milieu de l'écran */
    padding-top: 45px; /* Un petit décalage naturel sous le switch */
}

/* Titre principal */
.question-title { 
    font-size: 34px; font-weight: 300; letter-spacing: 1px; 
    margin-top: 0; 
    margin-bottom: 30px; /* Bel espace régulier avec les émojis */
}

/* --- LE TITRE D'ATTENTE (Plus raffiné) --- */
.question-title.waiting-partner-title {
    font-size: 20px;
    font-style: italic;
    font-weight: 200;
    letter-spacing: 2px;
    color: #ffcccc;
    text-shadow: 0 0 15px rgba(220, 20, 60, 0.4);
    transition: all 0.5s ease;
}

/* --- 7. LA PYRAMIDE (Moods) --- */
.pyramid { 
    display: flex; flex-direction: column; align-items: center; gap: 20px; 
    margin-top: 60px;    /* 1. Descend les émojis pour les éloigner du titre */
    margin-bottom: 80px; /* 2. Crée un vide en bas pour forcer tout le bloc (et le titre) à remonter ! */
}
.pyramid-top { display: flex; justify-content: center; }
.pyramid-base { display: flex; justify-content: center; gap: 30px; }
.emoji-btn {
    font-size: 55px; background: #0a0a0a; border: 2px solid #222222; border-radius: 50%;
    width: 110px; height: 110px; display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: all 0.2s ease;
}
.emoji-btn:active { transform: scale(0.9); background: #1a1a1a; }
/* --- ÉTATS SÉLECTIONNÉS (Couleurs & Glows Ultra-Intenses) --- */
.emoji-btn.selected { background: #1a1a1a; transform: scale(1.1); border-style: solid; border-width: 2px; }

/* 🍑 Passion (Rouge Écarlate Brillant) */
#btn-sex.selected { border-color: #ff3366; box-shadow: 0 0 45px rgba(255, 51, 102, 0.9); }

/* 😴 Dormir (Bleu Azur Électrique) */
#btn-chill.selected { border-color: #80b3ff; box-shadow: 0 0 45px rgba(128, 179, 255, 0.9); }

/* 🤗 Câlin (Or Chaleureux Lumineux) */
#btn-calin.selected { border-color: #ffbf7f; box-shadow: 0 0 45px rgba(255, 191, 127, 0.9); }

.emoji-btn.dimmed { opacity: 0.3; transform: scale(0.9); pointer-events: none; }

/* --- PULSATIONS DYNAMIQUES INTENSIFIÉES (Chaque bouton respire sa propre couleur, plus fort) --- */
#btn-sex.pulsing { animation: pulse-sex-intense 1.6s infinite ease-in-out; animation-delay: 0s; }
#btn-chill.pulsing { animation: pulse-chill-intense 1.6s infinite ease-in-out; animation-delay: 0.2s; }
#btn-calin.pulsing { animation: pulse-calin-intense 1.6s infinite ease-in-out; animation-delay: 0.4s; }

@keyframes pulse-sex-intense {
    0%, 100% { transform: scale(1) translateY(0px); box-shadow: 0 0 0 transparent; }
    50% { transform: scale(1.18) translateY(-10px); box-shadow: 0 20px 60px rgba(255, 51, 102, 0.8); }
}
@keyframes pulse-chill-intense {
    0%, 100% { transform: scale(1) translateY(0px); box-shadow: 0 0 0 transparent; }
    50% { transform: scale(1.18) translateY(-10px); box-shadow: 0 20px 60px rgba(128, 179, 255, 0.8); }
}
@keyframes pulse-calin-intense {
    0%, 100% { transform: scale(1) translateY(0px); box-shadow: 0 0 0 transparent; }
    50% { transform: scale(1.18) translateY(-10px); box-shadow: 0 20px 60px rgba(255, 191, 127, 0.8); }
}

/* --- 8. LA NÉBULEUSE (Moments - Fréquence et Scintillement identiques au Mood) --- */
.nebula-container {
    width: 330px; margin: 0 auto;
    display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; 
}

.nebula-btn {
    background: #0a0a0a; border: 2px solid #222222; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; position: relative;
    transition: all 0.3s ease;
}
.nebula-btn:nth-child(even) { margin-top: 20px; }
.nebula-btn:active { transform: scale(0.9) !important; background: #1a1a1a; box-shadow: none; }

/* L'état sélectionné : Grossit avec bordure pleine */
.nebula-btn.selected { 
    background: #111; 
    transform: scale(1.18) !important; 
    animation: none !important; 
    border-style: solid; border-width: 2px;
}

/* Tailles millimétrées */
.size-l { width: 56px; height: 56px; font-size: 28px; }
.size-m { width: 44px; height: 44px; font-size: 22px; }
.size-s { width: 34px; height: 34px; font-size: 16px; }

/* --- LA MAGIE (Calquée à 100% sur la Pyramide Mood) --- */

/* 1. Violet Mystique (Délai 0s) */
.nebula-btn:nth-child(3n+1) { animation: pulse-nebula-violet 1.6s infinite ease-in-out; animation-delay: 0s; }
.nebula-btn:nth-child(3n+1).selected { border-color: #a29bfe; box-shadow: 0 0 45px rgba(162, 155, 254, 0.9); }

/* 2. Cyan Électrique (Délai 0.2s) */
.nebula-btn:nth-child(3n+2) { animation: pulse-nebula-cyan 1.6s infinite ease-in-out; animation-delay: 0.2s; }
.nebula-btn:nth-child(3n+2).selected { border-color: #00cec9; box-shadow: 0 0 45px rgba(0, 206, 201, 0.9); }

/* 3. Rose Poudré (Délai 0.4s) */
.nebula-btn:nth-child(3n+3) { animation: pulse-nebula-rose 1.6s infinite ease-in-out; animation-delay: 0.4s; }
.nebula-btn:nth-child(3n+3).selected { border-color: #fd79a8; box-shadow: 0 0 45px rgba(253, 121, 168, 0.9); }

/* --- LES ANIMATIONS INTENSES (Identiques au Mood : soulèvement -10px, shadow 60px) --- */
@keyframes pulse-nebula-violet {
    0%, 100% { transform: scale(1) translateY(0px); box-shadow: 0 0 0 transparent; }
    50% { transform: scale(1.18) translateY(-10px); box-shadow: 0 20px 60px rgba(162, 155, 254, 0.8); }
}
@keyframes pulse-nebula-cyan {
    0%, 100% { transform: scale(1) translateY(0px); box-shadow: 0 0 0 transparent; }
    50% { transform: scale(1.18) translateY(-10px); box-shadow: 0 20px 60px rgba(0, 206, 201, 0.8); }
}
@keyframes pulse-nebula-rose {
    0%, 100% { transform: scale(1) translateY(0px); box-shadow: 0 0 0 transparent; }
    50% { transform: scale(1.18) translateY(-10px); box-shadow: 0 20px 60px rgba(253, 121, 168, 0.8); }
}

/* --- 9. STATUT ET RÉVÉLATION --- */
#status-area {
    margin-top: 40px; text-align: center; color: #ffffff; font-size: 16px; font-weight: 500;
    background: rgba(0, 0, 0, 0.65); padding: 12px 24px; border-radius: 30px;
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1); box-shadow: 0 5px 15px rgba(0, 0, 0, 0.8);
    position: relative; z-index: 100;
}

#reveal-area {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    width: 100%; animation: popIn 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.reveal-title { font-size: 28px; font-weight: 600; color: #ffeb3b; margin-bottom: 40px; text-shadow: 0 0 20px rgba(255, 235, 59, 0.5); }
.match-message {
    font-size: 18px; color: #aaaaaa; margin-top: -25px; margin-bottom: 40px; text-align: center;
    font-weight: 300; letter-spacing: 1px; max-width: 80%;
    animation: fadeIn 1.5s ease-in-out 0.5s both; 
}
.couple-emojis { display: flex; gap: 50px; justify-content: center; }
.person-reveal { display: flex; flex-direction: column; align-items: center; }
.person-name { font-size: 16px; color: #888; margin-bottom: 15px; letter-spacing: 2px; text-transform: uppercase; }
.revealed-emoji {
    font-size: 70px; background: #111; width: 130px; height: 130px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 40px rgba(255, 255, 255, 0.2);
}

/* --- 10. EFFETS PHYSIQUES (Pluie d'émojis) --- */
#emoji-rain-container {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    pointer-events: none; z-index: 1; overflow: hidden;
}
.physics-emoji { position: absolute; top: 0; left: 0; display: flex; align-items: center; justify-content: center; opacity: 0.8; will-change: transform; }

/* --- 11. POPUP INSTALLATION IOS --- */
#ios-install-prompt {
    position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%);
    width: 90%; max-width: 400px; z-index: 1000; background: rgba(20, 0, 5, 0.85);
    backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 50, 80, 0.3); border-radius: 20px; padding: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8), 0 0 20px rgba(220, 20, 60, 0.2);
    display: flex; flex-direction: column; align-items: center; text-align: center;
    animation: statusSlideUp 0.6s ease-out;
}
.install-title { font-size: 18px; font-weight: 300; margin-bottom: 15px; color: #fff; }
.install-title span { font-style: italic; font-weight: 100; letter-spacing: 2px; color: #ffcccc; text-shadow: 0 0 10px rgba(220, 20, 60, 0.8); }
.install-steps { font-size: 14px; color: #ccc; line-height: 1.4; }
#close-install-btn { position: absolute; top: 10px; right: 15px; background: none; border: none; color: #888; font-size: 18px; cursor: pointer; }

/* --- 12. AVERTISSEMENT MODE PAYSAGE --- */
#landscape-warning {
    display: none; position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background-color: #000000; z-index: 9999; flex-direction: column; align-items: center;
    justify-content: center; text-align: center;
}
.warning-icon { font-size: 50px; margin-bottom: 20px; display: inline-block; animation: rotatePhone 2s infinite ease-in-out; }
.warning-content p { font-size: 24px; font-weight: 600; margin-bottom: 10px; color: #ffcccc; letter-spacing: 1px; }
.warning-content span { font-size: 14px; color: #888888; }
@media (pointer: coarse) and (orientation: landscape) {
    #landscape-warning { display: flex !important; }
    #emoji-rain-container, .screen, header, #ios-install-prompt { display: none !important; }
}

/* --- 13. ÉCRAN DE TRANSITION & QR CODE --- */
#transition-screen {
    display: none; flex-direction: column; align-items: center; justify-content: center;
    background-color: #000000; position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 50;
}
#transition-screen.active { display: flex; }
.waiting-hint {
    position: relative; z-index: 5; font-size: 18px; font-weight: 200; font-style: italic;
    letter-spacing: 2px; color: #ffcccc; text-align: center; padding: 0 30px;
    text-shadow: 0 0 15px rgba(220, 20, 60, 0.6); animation: fadeInOut 3.5s ease-in-out forwards;
}

#qr-modal {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(0, 0, 0, 0.95); z-index: 2000; display: flex; align-items: center; justify-content: center;
    backdrop-filter: blur(10px);
}
.qr-content { display: flex; flex-direction: column; align-items: center; animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.qr-content img {
    width: 280px; height: 280px; border-radius: 20px; border: 2px solid rgba(220, 20, 60, 0.5);
    box-shadow: 0 0 30px rgba(220, 20, 60, 0.3); margin-bottom: 25px;
}
.qr-content p {
    color: #ffcccc; font-style: italic; font-weight: 200; letter-spacing: 2px;
    margin-bottom: 30px; text-shadow: 0 0 10px rgba(220, 20, 60, 0.8);
}
#close-qr-btn { background: none; border: 1px solid #333; color: #888; padding: 10px 30px; border-radius: 20px; font-size: 14px; cursor: pointer; }

/* --- ANIMATIONS GLOBALES --- */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes breathe { 0% { transform: scale(0.9); opacity: 0.4; } 100% { transform: scale(1.1); opacity: 1; } }
@keyframes popIn { 0% { transform: scale(0.5); opacity: 0; } 80% { transform: scale(1.1); opacity: 1; } 100% { transform: scale(1); opacity: 1; } }
@keyframes sensualReveal { 
    0%   { opacity: 0; filter: blur(20px); transform: scale(0.95); } 
    40%  { opacity: 1; filter: blur(0px); transform: scale(1); } 
    70%  { opacity: 1; filter: blur(0px); transform: scale(1.02); } 
    100% { opacity: 0; filter: blur(15px); transform: scale(1.05); } 
}
@keyframes pulse-emoji {
    0% { transform: scale(1) translateY(0px); box-shadow: 0 0 0 rgba(255, 255, 255, 0); }
    50% { transform: scale(1.18) translateY(-8px); box-shadow: 0 15px 35px rgba(255, 255, 255, 0.4); }
    100% { transform: scale(1) translateY(0px); box-shadow: 0 0 0 rgba(255, 255, 255, 0); }
}
@keyframes rotatePhone { 0% { transform: rotate(-90deg); } 50% { transform: rotate(0deg); } 100% { transform: rotate(-90deg); } }
@keyframes fadeInOut {
    0% { opacity: 0; transform: scale(0.95); filter: blur(10px); }
    30% { opacity: 1; transform: scale(1); filter: blur(0px); }
    70% { opacity: 1; transform: scale(1); filter: blur(0px); }
    100% { opacity: 0; transform: scale(1.05); filter: blur(5px); }
}
@keyframes statusSlideUp { from { transform: translate(-50%, 100px); opacity: 0; } to { transform: translate(-50%, 0); opacity: 1; } }

/* --- 14. LA BOÎTE DE PANDORE (RIDEAU 🔞 - DESIGN ORACLE REVISITÉ) --- */
#pandora-area {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    width: 100vw; height: 100vh; position: fixed; top: 0; left: 0;
    background: radial-gradient(circle at center, #1a0000 0%, #050000 40%, #000000 100%);
    z-index: 3000;
    transform: translateY(-100%);
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

#pandora-area.active { transform: translateY(0); }

.pandora-title {
    font-size: 32px; color: #ff1a40; font-weight: 200; letter-spacing: 8px; text-transform: uppercase;
    text-shadow: 0 0 25px rgba(255, 26, 64, 0.6); margin-bottom: 15px;
}

.pandora-enigmatic { font-size: 16px; color: #888888; font-style: italic; margin-bottom: 60px; font-weight: 300; }

/* --- LE BOUTON ORACLE (Rotation tamisée, 100% Rouge) --- */
.glowing-btn {
    width: 180px; height: 180px; border-radius: 50%;
    /* Centre légèrement plus clair pour attirer l'œil */
    background: radial-gradient(circle at center, #3a0005 0%, #050000 100%);
    border: 2px solid rgba(200, 0, 40, 0.5);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; outline: none; position: relative;
    
    /* Pulsation plus rapide (3s) pour être plus perceptible */
    animation: oracle-throb 3s infinite alternate ease-in-out;
}

/* L'anneau de lumière scintillante qui tourne doucement (::before) */
.glowing-btn::before {
    content: ''; position: absolute;
    /* Un halo un peu plus large pour plus de luminosité */
    top: -15px; left: -15px; right: -15px; bottom: -15px;
    border-radius: 50%;
    
    /* QUE DU ROUGE : Un rouge vif et un rouge profond qui s'entremêlent */
    background: conic-gradient(
        from 0deg, 
        transparent 0%, 
        rgba(255, 0, 50, 0.8) 20%,  /* Rouge vif et lumineux */
        transparent 40%, 
        transparent 50%, 
        rgba(150, 0, 20, 0.8) 75%,  /* Rouge très sombre/sang */
        transparent 90%
    );
    
    animation: slow-oracle-spin 12s linear infinite;
    filter: blur(16px);
    z-index: -1; 
    opacity: 0.95; /* Plus d'opacité = plus lumineux */
}

/* Effet d'intensification quand on maintient le bouton appuyé */
.glowing-btn:active { 
    transform: scale(0.96) !important; 
    border-color: #ff0033;
    background: radial-gradient(circle at center, #5a000a 0%, #050000 100%);
    box-shadow: 0 0 80px rgba(255, 0, 51, 1), inset 0 0 30px rgba(255, 0, 51, 0.8) !important;
}

#pandora-emoji-display { font-size: 80px; transition: filter 0.1s; z-index: 2; opacity: 0.95; }
.slot-blur { filter: blur(5px); transform: scale(1.1); }

#pandora-result-text {
    margin-top: 50px; width: 85%; max-width: 400px; text-align: center; font-size: 18px;
    color: #ffcccc; line-height: 1.6; font-weight: 300; font-style: italic;
    text-shadow: 0 0 15px rgba(255, 50, 50, 0.5); animation: fadeIn 1.5s ease forwards;
}

/* --- LE TEXTE D'ATTENTE (Remplace le bouton) --- */
#pandora-wait-text {
    margin-top: 35px; 
    width: 90%; max-width: 400px; 
    text-align: center;
    font-size: 15px; font-style: italic; font-weight: 300;
    color: #ff1a40; letter-spacing: 2px;
    text-shadow: 0 0 15px rgba(255, 26, 64, 0.6);
    animation: sensual-wait-pulse 2.5s infinite alternate ease-in-out;
}

@keyframes sensual-wait-pulse {
    0% { opacity: 0.5; transform: scale(0.98); text-shadow: 0 0 10px rgba(255, 26, 64, 0.4); }
    100% { opacity: 1; transform: scale(1.02); text-shadow: 0 0 25px rgba(255, 26, 64, 1); }
}

/* Écran Cinématique d'Alerte */
#oracle-cinematic {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background: #000000; z-index: 4000;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.oracle-cine-text {
    color: #ff1a40; font-size: 22px; font-weight: 200; letter-spacing: 5px; text-align: center;
    text-shadow: 0 0 15px rgba(255, 26, 64, 0.6); font-style: italic;
    animation: fadeInOut 4s ease-in-out forwards;
}

/* --- ANIMATIONS GLOBALES ET NOUVELLES ANIMATIONS ORACLE --- */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes breathe { 0% { transform: scale(0.9); opacity: 0.4; } 100% { transform: scale(1.1); opacity: 1; } }
@keyframes popIn { 0% { transform: scale(0.5); opacity: 0; } 80% { transform: scale(1.1); opacity: 1; } 100% { transform: scale(1); opacity: 1; } }
@keyframes sensualReveal { 
    0%   { opacity: 0; filter: blur(20px); transform: scale(0.95); } 
    40%  { opacity: 1; filter: blur(0px); transform: scale(1); } 
    70%  { opacity: 1; filter: blur(0px); transform: scale(1.02); } 
    100% { opacity: 0; filter: blur(15px); transform: scale(1.05); } 
}
@keyframes pulse-emoji {
    0% { transform: scale(1) translateY(0px); box-shadow: 0 0 0 rgba(255, 255, 255, 0); }
    50% { transform: scale(1.18) translateY(-8px); box-shadow: 0 15px 35px rgba(255, 255, 255, 0.4); }
    100% { transform: scale(1) translateY(0px); box-shadow: 0 0 0 rgba(255, 255, 255, 0); }
}
@keyframes rotatePhone { 0% { transform: rotate(-90deg); } 50% { transform: rotate(0deg); } 100% { transform: rotate(-90deg); } }
@keyframes fadeInOut {
    0% { opacity: 0; transform: scale(0.95); filter: blur(10px); }
    30% { opacity: 1; transform: scale(1); filter: blur(0px); }
    70% { opacity: 1; transform: scale(1); filter: blur(0px); }
    100% { opacity: 0; transform: scale(1.05); filter: blur(5px); }
}
@keyframes statusSlideUp { from { transform: translate(-50%, 100px); opacity: 0; } to { transform: translate(-50%, 0); opacity: 1; } }

/* 🚨 PLUS D'AMPLITUDE POUR LE PULSE */
@keyframes oracle-throb {
    0% { 
        transform: scale(0.95); 
        box-shadow: 0 0 30px rgba(150, 0, 26, 0.4), inset 0 0 15px rgba(150, 0, 26, 0.2); 
    }
    100% { 
        transform: scale(1.06); 
        box-shadow: 0 0 80px rgba(255, 0, 40, 0.8), inset 0 0 30px rgba(255, 0, 40, 0.5); 
    }
}

/* Rotation légèrement plus rapide (12s) pour voir la lumière voyager */
@keyframes slow-oracle-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* --- LA BULLE DE REBOOT (Modes Classiques) --- */
#restart-destiny-btn {
    margin-top: 45px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #888888;
    padding: 10px 25px;
    border-radius: 30px;
    font-size: 13px; font-style: italic; letter-spacing: 3px;
    cursor: pointer; outline: none;
    backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px);
    transition: all 0.4s ease;
    animation: fadeIn 2s ease forwards;
}
#restart-destiny-btn:active {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff; border-color: #ffffff;
    transform: scale(0.95);
}

/* --- L'INDICATEUR SWIPE HAUT (Oracle) --- */
#pandora-swipe-hint {
    position: absolute; bottom: 25px;
    color: #ff1a40; font-size: 28px; font-weight: 200;
    opacity: 0.5; cursor: pointer;
    animation: sensual-float 2.5s infinite ease-in-out;
}
@keyframes sensual-float {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.3; }
    50% { transform: translateY(-10px) scale(1.1); opacity: 0.8; text-shadow: 0 0 15px rgba(255, 26, 64, 0.6); }
}