@font-face {
    font-family: 'pl';
    src: url('pl.ttf') format('truetype');
    font-display: swap;
    font-weight: 500;
    font-style: normal;
}

body {
	margin: 0;
	overflow: hidden;
	background-color: #0a0a0a;
}

/* Création d'un conteneur pour l'effet de lueur */
.chamber-container {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	box-shadow:
		inset 0 0 50px #303030, /* Lueur profonde */
		inset 0 0 30px #404040, /* Lueur moyenne */
		inset 0 0 15px #505050; /* Lueur intense */
}

canvas {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: radial-gradient(
		circle at center,
		rgba(15, 15, 15, 0.97) 0%,
		rgba(20, 20, 20, 0.98) 70%,
		rgba(35, 35, 35, 1) 100%
		);
	mix-blend-mode: screen; /* Permet de mélanger les effets de lumière */
}

.control-panel {
	position: fixed;
	top: 20px;
	right: -180px;
	background: rgba(15, 15, 15, 0.9);
	padding: 15px;
	border-radius: 10px 0 0 10px;
	transition: right 0.3s ease;
	z-index: 1000;
	display: flex;
	flex-direction: column;
	gap: 10px;
	border: 1px solid #1a4020;
	box-shadow: 0 0 10px rgba(45, 45, 45, 0.5);
}

.control-panel:hover {
	right: 0;
}

.handle {
	position: absolute;
	left: -30px;
	top: 50%;
	transform: translateY(-50%);
	width: 30px;
	height: 60px;
	background: rgba(15, 15, 15, 0.9);
	border-radius: 10px 0 0 10px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	border-left: 1px solid #303030;
	border-top: 1px solid #303030;
	border-bottom: 1px solid #303030;
	box-shadow: -5px 0 10px rgba(45, 45, 45, 0.3);
}

.handle::after {
	content: "⚙️";
	font-size: 20px;
}

button {
	background: #303030;
	color: #bcbcbc;
	border: 1px solid #909090;
	padding: 8px 15px;
	cursor: pointer;
	border-radius: 5px;
	width: 150px;
	transition: all 0.2s;
	text-shadow: 0 0 5px rgba(185, 185, 185, 0.5);
}

button:hover {
	background: #242424;
	box-shadow: 0 0 10px rgba(45, 45, 45, 0.5);
}

#gammaButton.active {
	background: #202020;
	border-color: #303030;
	color: #a0a0a0;
}