/* Reset rapide */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Corps de page avec fond animé rouge/noir */
body {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #0a0a0a, #8b0000, #0a0a0a);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    color: #fff;
}

/* Animation de fond */
@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Conteneur du jeu */
.game-container {
    background: rgba(20, 0, 0, 0.6);
    backdrop-filter: blur(15px);
    padding: 2.5rem 2rem;
    border-radius: 25px;
    text-align: center;
    width: 380px;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.7), 0 15px 30px rgba(0,0,0,0.5);
    animation: fadeInUp 1s ease-out;
}

/* Animation fadeIn */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px);}
    to { opacity: 1; transform: translateY(0);}
}

/* Titre du jeu */
.game-container h1 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 10px #ff0000, 0 0 20px #ff0000, 0 0 30px #ff0000;
    letter-spacing: 1px;
}

/* Conteneur des boutons */
.choices-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 3rem;
}

/* Boutons de choix néon rouge */
.choice-btn {
    background: rgba(255,0,0,0.1);
    color: #ff4d4d;
    border: 2px solid #ff0000;
    padding: 0.9rem 2rem;
    margin: 0.6rem 0;
    font-size: 1rem;
    border-radius: 15px;
    cursor: pointer;
    width: 220px;
    transition: all 0.4s ease;
    box-shadow: 0 0 5px #ff0000, 0 5px 15px rgba(0,0,0,0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.choice-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 0 20px #ff0000, 0 8px 25px rgba(0,0,0,0.7);
    background: rgba(255,0,0,0.2);
}

/* Affichage du résultat */
.result {
    margin-top: 1.5rem;
    font-size: 1.4rem;
    font-weight: bold;
    padding: 1.2rem;
    border-radius: 15px;
    background: rgba(255,0,0,0.15);
    box-shadow: 0 0 10px rgba(255,0,0,0.5);
    transition: all 0.4s ease;
    animation: pop 0.4s ease forwards;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Couleurs selon résultat */
.result.win {
    background: rgba(255,0,0,0.8);
    color: #fff;
    text-shadow: 0 0 10px #ff4d4d, 0 0 20px #ff0000;
}

.result.lose {
    background: rgba(120,0,0,0.8);
    color: #fff;
    text-shadow: 0 0 10px #ff0000, 0 0 20px #8b0000;
}

.result.tie {
    background: rgba(180,0,0,0.8);
    color: #fff;
    text-shadow: 0 0 10px #ff6666, 0 0 20px #ff3333;
}

/* Animation résultat */
@keyframes pop {
    0% { transform: scale(0.5); opacity: 0; }
    60% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(1); }
}

/* Footer du jeu */
.game-footer {
    margin-top: 1.5rem;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
}

/* Responsive */
@media(max-width: 420px){
    .game-container {
        width: 90%;
        padding: 2rem 1.5rem;
    }
    .choice-btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.95rem;
        width: 100%;
    }
    .result {
        font-size: 1.2rem;
    }
}
