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

body {
	font-family: 'Nunito', Arial, sans-serif;
	background: linear-gradient(135deg, #A29BFE, #74B9FF, #55EFC4);
	color: #2D3436;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

header {
	text-align: center;
	padding: 40px 16px 16px;
}

header h1 {
	font-family: 'Comic Sans MS', cursive;
	font-size: 2.2rem;
	color: #FFFFFFDD;
	text-shadow: 3px 3px 0px #6C5CE7;
	margin-bottom: 8px;
}

header h2 {
	font-weight: 700;
	font-size: 1.1rem;
	color: #FFFFFFCC;
}

main {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 24px;
	padding: 32px 16px 40px;
}

.carte-jeu {
	width: 100%;
	max-width: 500px;
	background: #FFFFFF;
	border-radius: 16px;
	padding: 24px;
	box-shadow: 0 4px 15px #00000015;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.carte-jeu:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 25px #00000025;
}

.carte-jeu h3 {
	font-family: 'Fredoka One', cursive;
	font-size: 1.3rem;
	color: #6C5CE7;
	margin-bottom: 6px;
}

.carte-jeu p {
	color: #636E72;
	font-weight: 600;
	font-size: 0.95rem;
	margin-bottom: 16px;
}

.btn-play {
	font-family: 'Fredoka One', cursive;
	font-size: 16px;
	color: #FFFFFF;
	text-decoration: none;
	text-shadow: 0px 1px 0px #00000044;
	background: #00B894;
	display: inline-block;
	padding: 12px 28px;
	border-radius: 8px;
	position: relative;
	top: 0;
	box-shadow: inset 0 1px 0 #55EFC4, 0 8px 0 #008E76;
	transition: all 0.1s ease;
	cursor: pointer;
}

.btn-play:hover {
	background: #00D2A4;
}

.btn-play:active {
	top: 6px;
	box-shadow: inset 0 1px 0 #55EFC4, inset 0 -3px 0 #008E76;
}

.btn-retour {
	font-family: 'Fredoka One', cursive;
	font-size: 14px;
	color: #FFFFFF;
	text-decoration: none;
	text-shadow: 0px 1px 0px #00000044;
	background: #FF9F43;
	display: inline-block;
	padding: 10px 20px;
	border-radius: 8px;
	margin: 16px;
	position: relative;
	top: 0;
	box-shadow: inset 0 1px 0 #FFBE76, 0 6px 0 #E17055;
	transition: all 0.1s ease;
}

.btn-retour:hover {
	background: #FFBE76;
}

.btn-retour:active {
	top: 4px;
	box-shadow: inset 0 1px 0 #FFBE76, inset 0 -3px 0 #E17055;
}

footer {
	text-align: center;
	padding: 16px 12px;
	color: #FFFFFFCC;
	font-weight: 600;
	font-size: 0.85rem;
}

footer a {
	color: #FFFFFF;
}

footer a:hover {
	color: #FFEAA7;
}

/* RESPONSIVE */
@media (max-width: 600px) {
	header h1 {
		font-size: 1.5rem;
	}

	.carte-jeu {
		padding: 20px 16px;
	}

	.carte-jeu h3 {
		font-size: 1.1rem;
	}
}