body {
	margin: 0;
	background-color: #0a1628;
	background-image: url('bg-christmas.png');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	background-attachment: fixed;
	height: 100vh;
	overflow: hidden;
	font-family: 'Courier New', monospace;
	font-weight: bold;
	letter-spacing: 0.08em;
	color: rgba(255, 255, 255, 0.9);
}

#gameCanvas {
	display: block;
	touch-action: none;
	transform: translateZ(0);
}

.hud__score,
.pause-btn {
	position: fixed;
	font-size: calc(14px + 2vw + 1vh);
}

.hud__score {
	top: 0.65em;
	left: 0.65em;
	pointer-events: none;
	user-select: none;
}

.cube-count-lbl {
	font-size: 0.46em;
}

.pause-btn {
	position: fixed;
	top: 0;
	right: 0;
	padding: 0.8em 0.65em;
	cursor: pointer;
}

.pause-btn > div {
	position: relative;
	width: 0.8em;
	height: 0.8em;
	opacity: 0.75;
	transition: opacity 0.2s;
}

.pause-btn:hover > div {
	opacity: 1;
}

.pause-btn > div::before,
.pause-btn > div::after {
	content: '';
	display: block;
	width: 34%;
	height: 100%;
	position: absolute;
	background-color: #fff;
	border-radius: 2px;
}

.pause-btn > div::after {
	right: 0;
}

.slowmo {
	position: fixed;
	bottom: 0;
	width: 100%;
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.4s;
	will-change: opacity;
}

.slowmo::before {
	content: 'вќ„пёЏ SLOW-MO';
	display: block;
	font-size: calc(8px + 1vw + 0.5vh);
	margin-left: 0.5em;
	margin-bottom: 8px;
	color: #64b5f6;
	text-shadow: 0 0 10px rgba(100, 181, 246, 0.5);
}

.slowmo::after {
	content: '';
	display: block;
	position: fixed;
	bottom: 0;
	width: 100%;
	height: 1.5vh;
	background-color: rgba(0, 0, 0, 0.4);
	z-index: -1;
}

.slowmo__bar {
	height: 1.5vh;
	background: linear-gradient(90deg, #64b5f6 0%, #e3f2fd 100%);
	transform-origin: 0 0;
	box-shadow: 0 0 10px rgba(100, 181, 246, 0.6);
}

.menus::before {
	content: '';
	pointer-events: none;
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background-color: #000;
	opacity: 0;
	transition: opacity 0.2s;
	transition-timing-function: ease-in;
}

.menus.has-active::before {
	opacity: 0.12;
	transition-duration: 0.4s;
	transition-timing-function: ease-out;
}

.menus.interactive-mode::before {
	opacity: 0.04;
}

.menu {
	pointer-events: none;
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	display: flex;
	flex-direction: column;
	justify-content: safe center;
	align-items: center;
	user-select: none;
	text-align: center;
	color: rgba(255, 255, 255, 0.95);
	opacity: 0;
	visibility: hidden;
	transform: translateY(30px);
	transition-property: opacity, visibility, transform;
	transition-duration: 0.2s;
	transition-timing-function: ease-in;
	padding: 60px 20px;
	box-sizing: border-box;
	overflow-y: auto;
}

.menu.active {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	transition-duration: 0.4s;
	transition-timing-function: ease-out;
}

.menus.interactive-mode .menu.active {
	opacity: 0.7;
}

.menus:not(.interactive-mode) .menu.active > * {
	pointer-events: auto;
}

h1 {
	font-size: 4.5rem;
	line-height: 0.95;
	text-align: center;
	font-weight: bold;
	margin: 0 0.65em 1em;
	background: linear-gradient(135deg, #c62828 0%, #f44336 30%, #ffd700 60%, #4caf50 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	text-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
	letter-spacing: 0.1em;
}

@media (max-width: 768px) {
	h1 {
		font-size: 3rem;
		letter-spacing: 0.05em;
		margin: 0 0.5em 0.8em;
	}
}

@media (max-width: 480px) {
	h1 {
		font-size: 2.2rem;
		letter-spacing: 0.03em;
		margin: 0 0.3em 0.6em;
	}
}

h2 {
	font-size: 1.2rem;
	line-height: 1;
	text-align: center;
	font-weight: bold;
	margin: -1em 0.65em 1em;
	color: rgba(255, 255, 255, 0.8);
}

.final-score-lbl {
	font-size: 5rem;
	margin: -0.2em 0 0;
	background: linear-gradient(135deg, #ffd700 0%, #ffeb3b 50%, #fff8e1 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.high-score-lbl {
	font-size: 1.2rem;
	margin: 0 0 2.5em;
	color: rgba(255, 255, 255, 0.7);
}

button {
	display: block;
	position: relative;
	width: 220px;
	padding: 14px 24px;
	background: transparent;
	border: 2px solid rgba(198, 40, 40, 0.5);
	outline: none;
	user-select: none;
	font-family: 'Courier New', monospace;
	font-weight: bold;
	font-size: 1.4rem;
	color: #fff;
	opacity: 0.8;
	transition: all 0.3s;
	margin: 0.5em 0;
	border-radius: 4px;
	cursor: pointer;
}

button::before {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: linear-gradient(135deg, rgba(198, 40, 40, 0.3) 0%, rgba(76, 175, 80, 0.2) 100%);
	transform: scale(0, 0);
	opacity: 0;
	transition: opacity 0.3s, transform 0.3s;
	border-radius: 2px;
	z-index: -1;
}

button:active {
	opacity: 1;
	border-color: rgba(198, 40, 40, 0.8);
}

button:active::before {
	transform: scale(1, 1);
	opacity: 1;
}

@media (min-width: 1025px) {
	button:hover {
		opacity: 1;
		border-color: rgba(198, 40, 40, 0.8);
		box-shadow: 0 0 20px rgba(198, 40, 40, 0.4);
	}

	button:hover::before {
		transform: scale(1, 1);
		opacity: 1;
	}
}

.onboarding-screen {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	display: flex;
	justify-content: center;
	align-items: flex-start;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	z-index: 1000;
	background-color: #0a1628;
	background-image: url('bg-christmas.png');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	background-attachment: fixed;
	transition: opacity 0.5s ease, visibility 0.5s ease;
	padding: 1rem;
}

.onboarding-screen.hidden {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
}

.onboarding-content {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2rem;
	max-width: 600px;
	width: 100%;
	padding: 1.5rem;
	text-align: center;
	margin: auto;
}

@media (max-width: 768px) {
	.onboarding-content {
		gap: 1.5rem;
		padding: 1rem;
		padding-top: 2rem;
		padding-bottom: 2rem;
	}
}

@media (max-width: 480px) {
	.onboarding-content {
		gap: 1rem;
		padding: 0.75rem;
		padding-top: 1.5rem;
		padding-bottom: 1.5rem;
	}
}

.onboarding-title {
	font-size: 4rem;
	line-height: 0.95;
	font-weight: bold;
	margin: 0;
	background: linear-gradient(135deg, #c62828 0%, #f44336 30%, #ffd700 60%, #4caf50 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	text-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
	letter-spacing: 0.1em;
	animation: pulse 2s ease-in-out infinite;
}

@media (max-width: 768px) {
	.onboarding-title {
		font-size: 3rem;
		letter-spacing: 0.05em;
	}
}

@media (max-width: 480px) {
	.onboarding-title {
		font-size: 2.2rem;
		letter-spacing: 0.03em;
		margin-bottom: 0.5rem;
	}
}

@keyframes pulse {
	0%, 100% {
		transform: scale(1);
	}
	50% {
		transform: scale(1.05);
	}
}

.onboarding-rules {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	width: 100%;
}

@media (max-width: 768px) {
	.onboarding-rules {
		gap: 1rem;
	}
}

@media (max-width: 480px) {
	.onboarding-rules {
		gap: 0.75rem;
	}
}

.rule-item {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 1rem;
	background: rgba(198, 40, 40, 0.15);
	border: 2px solid rgba(255, 215, 0, 0.4);
	border-radius: 12px;
	backdrop-filter: blur(10px);
	transition: all 0.3s ease;
	animation: slideIn 0.6s ease backwards;
}

@media (max-width: 768px) {
	.rule-item {
		padding: 0.875rem;
		gap: 0.875rem;
		border-radius: 10px;
	}
}

@media (max-width: 480px) {
	.rule-item {
		padding: 0.75rem;
		gap: 0.75rem;
		border-radius: 8px;
		border-width: 1.5px;
	}
}

.rule-item:nth-child(1) { animation-delay: 0.1s; }
.rule-item:nth-child(2) { animation-delay: 0.2s; }
.rule-item:nth-child(3) { animation-delay: 0.3s; }
.rule-item:nth-child(4) { animation-delay: 0.4s; }

@keyframes slideIn {
	from {
		opacity: 0;
		transform: translateX(-30px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

@media (min-width: 1025px) {
	.rule-item:hover {
		background: rgba(198, 40, 40, 0.25);
		border-color: rgba(255, 215, 0, 0.7);
		transform: translateX(5px);
	}
}

.rule-icon {
	font-size: 2rem;
	flex-shrink: 0;
}

@media (max-width: 768px) {
	.rule-icon {
		font-size: 1.75rem;
	}
}

@media (max-width: 480px) {
	.rule-icon {
		font-size: 1.5rem;
	}
}

.rule-item p {
	margin: 0;
	font-size: 1.1rem;
	color: rgba(255, 255, 255, 0.9);
	text-align: left;
	flex: 1;
	line-height: 1.4;
}

@media (max-width: 768px) {
	.rule-item p {
		font-size: 1rem;
		line-height: 1.3;
	}
}

@media (max-width: 480px) {
	.rule-item p {
		font-size: 0.9rem;
		line-height: 1.25;
	}
}

.play-button {
	--white: #fff8e1;
	--purple-100: #ffcdd2;
	--purple-200: #ef9a9a;
	--purple-300: #e57373;
	--purple-400: #c62828;
	--purple-500: #8b0000;
	--radius: 18px;
	
	border-radius: var(--radius);
	outline: none;
	cursor: pointer;
	font-size: 23px;
	font-family: 'Courier New', monospace;
	background: transparent;
	letter-spacing: -1px;
	border: 0;
	position: relative;
	width: 220px;
	height: 80px;
	transform: rotate(353deg) skewX(4deg);
}

@media (max-width: 768px) {
	.play-button {
		width: 200px;
		height: 72px;
		font-size: 20px;
		--radius: 16px;
	}
}

@media (max-width: 480px) {
	.play-button {
		width: 180px;
		height: 65px;
		font-size: 18px;
		--radius: 14px;
		transform: rotate(353deg) skewX(3deg);
	}
}

.play-button .bg {
	position: absolute;
	inset: 0;
	border-radius: inherit;
	filter: blur(1px);
}

.play-button .bg::before,
.play-button .bg::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: calc(var(--radius) * 1.1);
	background: var(--purple-500);
}

.play-button .bg::before {
	filter: blur(5px);
	transition: all 0.3s ease;
	box-shadow:
		-7px 6px 0 0 rgb(115 75 155 / 40%),
		-14px 12px 0 0 rgb(115 75 155 / 30%),
		-21px 18px 4px 0 rgb(115 75 155 / 25%),
		-28px 24px 8px 0 rgb(115 75 155 / 15%),
		-35px 30px 12px 0 rgb(115 75 155 / 12%),
		-42px 36px 16px 0 rgb(115 75 155 / 8%),
		-56px 42px 20px 0 rgb(115 75 155 / 5%);
}

.play-button .wrap {
	border-radius: inherit;
	overflow: hidden;
	height: 100%;
	transform: translate(6px, -6px);
	padding: 3px;
	background: linear-gradient(
		to bottom,
		var(--purple-100) 0%,
		var(--purple-400) 100%
	);
	position: relative;
	transition: all 0.3s ease;
}

.play-button .outline {
	position: absolute;
	overflow: hidden;
	inset: 0;
	opacity: 0;
	outline: none;
	border-radius: inherit;
	transition: all 0.4s ease;
}

.play-button .outline::before {
	content: "";
	position: absolute;
	inset: 2px;
	width: 120px;
	height: 300px;
	margin: auto;
	background: linear-gradient(
		to right,
		transparent 0%,
		white 50%,
		transparent 100%
	);
	animation: spin 3s linear infinite;
	animation-play-state: paused;
}

.play-button .content {
	pointer-events: none;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 1;
	position: relative;
	height: 100%;
	gap: 16px;
	border-radius: calc(var(--radius) * 0.85);
	font-weight: 600;
	transition: all 0.3s ease;
	background: linear-gradient(
		to bottom,
		var(--purple-300) 0%,
		var(--purple-400) 100%
	);
	box-shadow:
		inset -2px 12px 11px -5px var(--purple-200),
		inset 1px -3px 11px 0px rgb(0 0 0 / 35%);
}

.play-button .content::before {
	content: "";
	inset: 0;
	position: absolute;
	z-index: 10;
	width: 80%;
	top: 45%;
	bottom: 35%;
	opacity: 0.7;
	margin: auto;
	background: linear-gradient(to bottom, transparent, var(--purple-400));
	filter: brightness(1.3) blur(5px);
}

.play-button .char {
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	justify-content: center;
}

.play-button .char span {
	display: block;
	color: transparent;
	position: relative;
}

.play-button .char.state-1 span {
	animation: charAppear 1.2s ease backwards calc(var(--i) * 0.03s);
}

.play-button .char.state-1 span::before,
.play-button .char span::after {
	content: attr(data-label);
	position: absolute;
	color: var(--white);
	text-shadow: -1px 1px 2px var(--purple-500);
	left: 0;
}

.play-button .char span::before {
	opacity: 0;
	transform: translateY(-100%);
}

.play-button .char.state-2 {
	position: absolute;
	left: 80px;
}

.play-button .char.state-2 span::after {
	opacity: 1;
}

.play-button .icon {
	animation: resetArrow 0.8s cubic-bezier(0.7, -0.5, 0.3, 1.2) forwards;
	z-index: 10;
}

.play-button .icon div,
.play-button .icon div::before,
.play-button .icon div::after {
	height: 3px;
	border-radius: 1px;
	background-color: var(--white);
}

.play-button .icon div::before,
.play-button .icon div::after {
	content: "";
	position: absolute;
	right: 0;
	transform-origin: center right;
	width: 14px;
	border-radius: 15px;
	transition: all 0.3s ease;
}

.play-button .icon div {
	position: relative;
	width: 24px;
	box-shadow: -2px 2px 5px var(--purple-400);
	transform: scale(0.9);
	background: linear-gradient(to bottom, var(--white), var(--purple-100));
	animation: swingArrow 1s ease-in-out infinite;
	animation-play-state: paused;
}

.play-button .icon div::before {
	transform: rotate(44deg);
	top: 1px;
	box-shadow: 1px -2px 3px -1px var(--purple-400);
	animation: rotateArrowLine 1s linear infinite;
	animation-play-state: paused;
}

.play-button .icon div::after {
	bottom: 1px;
	transform: rotate(316deg);
	box-shadow: -2px 2px 3px 0 var(--purple-400);
	background: linear-gradient(200deg, var(--white), var(--purple-100));
	animation: rotateArrowLine2 1s linear infinite;
	animation-play-state: paused;
}

.play-button .path {
	position: absolute;
	z-index: 12;
	bottom: 0;
	left: 0;
	right: 0;
	stroke-dasharray: 150 480;
	stroke-dashoffset: 150;
	pointer-events: none;
}

.play-button .splash {
	position: absolute;
	top: 0;
	left: 0;
	pointer-events: none;
	stroke-dasharray: 60 60;
	stroke-dashoffset: 60;
	transform: translate(-17%, -31%);
	stroke: var(--purple-300);
}

.play-button:hover .char.state-1 span::before {
	animation: charAppear 0.7s ease calc(var(--i) * 0.03s);
}

.play-button:hover .char.state-1 span::after {
	opacity: 1;
	animation: charDisappear 0.7s ease calc(var(--i) * 0.03s);
}

.play-button:hover .wrap {
	transform: translate(8px, -8px);
}

.play-button:hover .outline {
	opacity: 1;
}

.play-button:hover .outline::before,
.play-button:hover .icon div::before,
.play-button:hover .icon div::after,
.play-button:hover .icon div {
	animation-play-state: running;
}

.play-button:active .bg::before {
	filter: blur(5px);
	opacity: 0.7;
	box-shadow:
		-7px 6px 0 0 rgb(115 75 155 / 40%),
		-14px 12px 0 0 rgb(115 75 155 / 25%),
		-21px 18px 4px 0 rgb(115 75 155 / 15%);
}

.play-button:active .content {
	box-shadow:
		inset -1px 12px 8px -5px rgba(71, 0, 137, 0.4),
		inset 0px -3px 8px 0px var(--purple-200);
}

.play-button:active .outline {
	opacity: 0;
}

.play-button:active .wrap {
	transform: translate(3px, -3px);
}

.play-button:active .splash {
	animation: splash 0.8s cubic-bezier(0.3, 0, 0, 1) forwards 0.05s;
}

.play-button:focus .path {
	animation: path 1.6s ease forwards 0.2s;
}

.play-button:focus .icon {
	animation: arrow 1s cubic-bezier(0.7, -0.5, 0.3, 1.5) forwards;
}

.play-button .char.state-2 span::after,
.play-button:focus .char.state-1 span {
	animation: charDisappear 0.5s ease forwards calc(var(--i) * 0.03s);
}

.play-button:focus .char.state-2 span::after {
	animation: charAppear 1s ease backwards calc(var(--i) * 0.03s);
}

@keyframes spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

@keyframes charAppear {
	0% {
		transform: translateY(50%);
		opacity: 0;
		filter: blur(20px);
	}
	20% {
		transform: translateY(70%);
		opacity: 1;
	}
	50% {
		transform: translateY(-15%);
		opacity: 1;
		filter: blur(0);
	}
	100% {
		transform: translateY(0);
		opacity: 1;
	}
}

@keyframes charDisappear {
	0% {
		transform: translateY(0);
		opacity: 1;
	}
	100% {
		transform: translateY(-70%);
		opacity: 0;
		filter: blur(3px);
	}
}

@keyframes arrow {
	0% { opacity: 1; }
	50% {
		transform: translateX(60px);
		opacity: 0;
	}
	51% {
		transform: translateX(-200px);
		opacity: 0;
	}
	100% {
		transform: translateX(-128px);
		opacity: 1;
	}
}

@keyframes swingArrow {
	50% { transform: translateX(5px) scale(0.9); }
}

@keyframes rotateArrowLine {
	50% { transform: rotate(30deg); }
	80% { transform: rotate(55deg); }
}

@keyframes rotateArrowLine2 {
	50% { transform: rotate(330deg); }
	80% { transform: rotate(300deg); }
}

@keyframes resetArrow {
	0% { transform: translateX(-128px); }
	100% { transform: translateX(0); }
}

@keyframes path {
	from { stroke: white; }
	to {
		stroke-dashoffset: -480;
		stroke: #f9c6fe;
	}
}

@keyframes splash {
	to {
		stroke-dasharray: 2 60;
		stroke-dashoffset: -60;
	}
}

.policy-screen {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 2000;
	background-color: rgba(10, 22, 40, 0.95);
	background-image: url('bg-christmas.png');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	backdrop-filter: blur(10px);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.4s ease, visibility 0.4s ease;
}

.policy-screen.active {
	opacity: 1;
	visibility: visible;
}

.policy-content {
	background: rgba(10, 30, 50, 0.95);
	border: 2px solid rgba(255, 215, 0, 0.4);
	border-radius: 20px;
	padding: 2rem;
	max-width: 800px;
	max-height: 85vh;
	width: 90%;
	display: flex;
	flex-direction: column;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(255, 215, 0, 0.3);
	overflow: hidden;
}

.policy-title {
	font-size: 2.5rem;
	margin: 0 0 1.5rem 0;
	background: linear-gradient(135deg, #c62828 0%, #ffd700 50%, #4caf50 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	text-align: center;
	flex-shrink: 0;
}

.policy-scroll {
	flex: 1;
	overflow-y: auto;
	padding-right: 10px;
	margin-bottom: 1.5rem;
}

.policy-scroll::-webkit-scrollbar {
	width: 8px;
}

.policy-scroll::-webkit-scrollbar-track {
	background: rgba(255, 215, 0, 0.1);
	border-radius: 4px;
}

.policy-scroll::-webkit-scrollbar-thumb {
	background: rgba(255, 215, 0, 0.5);
	border-radius: 4px;
}

.policy-scroll::-webkit-scrollbar-thumb:hover {
	background: rgba(255, 215, 0, 0.7);
}

.policy-section {
	margin-bottom: 2rem;
	padding-bottom: 1.5rem;
	border-bottom: 1px solid rgba(255, 215, 0, 0.2);
	animation: fadeInUp 0.5s ease backwards;
}

.policy-section:nth-child(1) { animation-delay: 0.1s; }
.policy-section:nth-child(2) { animation-delay: 0.2s; }
.policy-section:nth-child(3) { animation-delay: 0.3s; }
.policy-section:nth-child(4) { animation-delay: 0.4s; }
.policy-section:nth-child(5) { animation-delay: 0.5s; }
.policy-section:nth-child(6) { animation-delay: 0.6s; }
.policy-section:nth-child(7) { animation-delay: 0.7s; }
.policy-section:nth-child(8) { animation-delay: 0.8s; }

.policy-section:last-child {
	border-bottom: none;
	margin-bottom: 0;
	padding-bottom: 0;
}

.policy-section h2 {
	font-size: 1.4rem;
	margin: 0 0 0.8rem 0;
	color: #ffd700;
	text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.policy-section p {
	font-size: 1rem;
	line-height: 1.6;
	margin: 0;
	color: rgba(255, 255, 255, 0.85);
	text-align: justify;
}

.policy-close-btn {
	width: 100%;
	margin-top: 1rem;
	flex-shrink: 0;
}

@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.settings-list {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	margin-bottom: 2rem;
	width: 280px;
}

@media (max-width: 480px) {
	.settings-list {
		width: 260px;
		gap: 1rem;
		margin-bottom: 1.5rem;
	}
	
	.setting-item {
		padding: 0.8rem 1rem;
	}
	
	.setting-label {
		font-size: 1rem;
	}
	
	.toggle-switch {
		width: 50px;
		height: 28px;
	}
	
	.toggle-slider::before {
		height: 22px;
		width: 22px;
		left: 1px;
		bottom: 1px;
	}
	
	.toggle-switch input:checked + .toggle-slider::before {
		transform: translateX(22px);
	}
}

.setting-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1rem 1.5rem;
	background: rgba(198, 40, 40, 0.15);
	border: 2px solid rgba(255, 215, 0, 0.4);
	border-radius: 12px;
	backdrop-filter: blur(10px);
}

.setting-label {
	font-size: 1.1rem;
	color: rgba(255, 255, 255, 0.9);
}

.toggle-switch {
	position: relative;
	display: inline-block;
	width: 60px;
	height: 34px;
	cursor: pointer;
}

.toggle-switch input {
	opacity: 0;
	width: 0;
	height: 0;
}

.toggle-slider {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(100, 100, 100, 0.5);
	border-radius: 34px;
	transition: all 0.4s ease;
	border: 2px solid rgba(255, 255, 255, 0.2);
}

.toggle-slider::before {
	content: '';
	position: absolute;
	height: 26px;
	width: 26px;
	left: 2px;
	bottom: 2px;
	background: white;
	border-radius: 50%;
	transition: all 0.4s ease;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.toggle-switch input:checked + .toggle-slider {
	background: linear-gradient(135deg, #4caf50 0%, #81c784 100%);
	border-color: rgba(76, 175, 80, 0.8);
	box-shadow: 0 0 15px rgba(76, 175, 80, 0.5);
}

.toggle-switch input:checked + .toggle-slider::before {
	transform: translateX(26px);
}

.toggle-switch input:focus + .toggle-slider {
	box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.menu--settings h1 {
	margin-top: 20px;
	padding-top: 10px;
	overflow: visible;
}
