:root {
    --bg-color: #f0f4f8;
    --card-bg: #ffffff;
    --primary: #0077b6;
    --success: #2a9d8f;
    --warning: #f4a261;
    --danger: #e63946;
    --text-dark: #2b2d42;
    --text-light: #6c757d;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-dark);
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.game-container {
    width: 100%;
    max-width: 600px;
    background: var(--card-bg);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    text-align: center;
    box-sizing: border-box;
}

h1 {
    font-size: 1.5rem;
    margin-top: 0;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Barre de vie */
.health-section {
    margin-bottom: 30px;
}
.health-label {
    display: flex;
    justify-content: space-between;
    font-weight: bold;
    margin-bottom: 8px;
    font-size: 0.9rem;
}
.health-bar-container {
    width: 100%;
    height: 20px;
    background-color: #e9ecef;
    border-radius: 10px;
    overflow: hidden;
}
.health-bar {
    width: 100%;
    height: 100%;
    background-color: var(--success);
    transition: width 0.4s ease, background-color 0.4s ease;
}

/* Zone de la situation (Milieu) */
.situation-box {
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 40px;
    font-weight: 500;
    padding: 0 10px;
}

/* Grille des choix */
.choices-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.btn-choice {
    background-color: var(--card-bg);
    color: var(--text-dark);
    border: 2px solid #e2e8f0;
    padding: 16px 20px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
}

.btn-choice:hover {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 119, 182, 0.2);
}

/* Écran de fin / Recommencer */
.btn-restart {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 1rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    margin-top: 20px;
    display: none;
}
.btn-restart:hover {
    background-color: #0096c7;
}