* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.game-container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    padding: 40px;
    max-width: 600px;
    width: 100%;
}

h1 {
    text-align: center;
    color: #667eea;
    margin-bottom: 30px;
    font-size: 2.5em;
}

.score-board {
    display: flex;
    justify-content: space-around;
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
}

.score-item {
    text-align: center;
}

.score-label {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 5px;
}

.score-value {
    font-size: 2em;
    font-weight: bold;
    color: #667eea;
}

.choices-display {
    display: flex;
    justify-content: space-around;
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    min-height: 80px;
}

.choice-item {
    text-align: center;
}

.choice-label {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 10px;
}

.choice-value {
    font-size: 2em;
}

.buttons-container {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    justify-content: center;
}

button {
    flex: 1;
    padding: 20px;
    font-size: 1.2em;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

button:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

button:active:not(:disabled) {
    transform: translateY(-1px);
}

button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

#feu {
    background: linear-gradient(135deg, #ff6b6b, #ee5a6f);
    color: white;
}

#eau {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    color: white;
}

#terre {
    background: linear-gradient(135deg, #c9a961, #8b7355);
    color: white;
}

.message {
    text-align: center;
    padding: 20px;
    border-radius: 10px;
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 20px;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.message.victory {
    background: #d4edda;
    color: #155724;
}

.message.defeat {
    background: #f8d7da;
    color: #721c24;
}

.message.draw {
    background: #fff3cd;
    color: #856404;
}

.message.game-over {
    background: #667eea;
    color: white;
    font-size: 1.5em;
}

.reset-button {
    width: 100%;
    background: #667eea;
    color: white;
    margin-top: 20px;
}

.reset-button:hover {
    background: #5568d3;
}