* {
            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;
}

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

h1 {
	color: #667eea;
	text-align: center;
	margin-bottom: 10px;
	font-size: 2em;
}
.description-niveau {
            background: #fff3cd;
            padding: 15px;
            border-radius: 10px;
            margin-bottom: 20px;
            border-left: 4px solid #ffc107;
        }

.description-niveau h2 {
            color: #856404;
            margin-bottom: 5px;
        }
.description-niveau h3 {
            color: #AA0000;
            margin-bottom: 5px;
        }
.nom {
	background: #fff3cd;
	padding: 15px;
	border-radius: 10px;
	margin-bottom: 20px;
	border-left: 4px solid #ffc107;
        }
		
.nom h2 {
            color: #856404;
            margin-bottom: 5px;
        }

.game-area {
	margin-top: 30px;
}


.input-group {
	display: flex;
	gap: 10px;
	margin: 20px 0;
}

input[type="number"] {
	flex: 1;
	padding: 15px;
	border: 2px solid #ddd;
	border-radius: 10px;
	font-size: 1.1em;
	transition: border 0.3s;
}

input[type="number"]:focus {
	outline: none;
	border-color: #667eea;
}

button {
	padding: 15px 30px;
	background: #667eea;
	color: white;
	border: none;
	border-radius: 10px;
	font-size: 1.1em;
	cursor: pointer;
	transition: all 0.3s;
	font-weight: bold;
}

button:hover {
	background: #5568d3;
	transform: translateY(-2px);
	box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

button:active {
	transform: translateY(0);
}

.message {
	background: #ffe5e5;
	color: #d63031;
	padding: 15px;
	border-radius: 10px;
	margin: 20px 0;
	font-size: 1.1em;
	text-align: center;
	font-weight: bold;
}



.stats {
	display: flex;
	justify-content: space-around;
	margin: 20px 0;
	flex-wrap: wrap;
	gap: 15px;
}

.stat-box {
	background: #f8f9fa;
	padding: 15px 25px;
	border-radius: 10px;
	text-align: center;
	min-width: 120px;
}

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

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

.historique {
	margin-top: 20px;
	padding: 15px;
	background: #f8f9fa;
	border-radius: 10px;
}

.historique h3 {
	color: #667eea;
	margin-bottom: 10px;
}

.tentatives-list {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.tentative {
	padding: 8px 15px;
	background: white;
	border-radius: 5px;
	border: 2px solid #ddd;
}

.btn-nouvelle-partie {
	width: 100%;
	margin-top: 20px;
	background: #00b894;
}

.btn-nouvelle-partie:hover {
	background: #00a085;
}

