html,
body {
	padding: 0;
	margin: 0;
	overflow: hidden;

	background: #1a1245;
	color: white;
}

html,
body,
canvas {
	touch-action: none;
	touch-action-delay: none;
}

#notSupportedWrap {
	margin: 2em auto 1em auto;
	width: 75%;
	max-width: 45em;
	border: 2px solid #aaa;
	border-radius: 1em;
	padding: 2em;
	background-color: #f0f0f0;
	font-family: "Segoe UI", Frutiger, "Frutiger Linotype", "Dejavu Sans", "Helvetica Neue", Arial, sans-serif;
	color: black;
}

#notSupportedTitle {
	font-size: 1.8em;
}

.notSupportedMessage {
	font-size: 1.2em;
}

.notSupportedMessage em {
	color: #888;
}



/* Overlay Container */
#overlay-container {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	/* Allow clicks to pass through */
	z-index: 1000;
	overflow: hidden;
}

/* Stars */
.star {
	position: absolute;
	background: white;
	border-radius: 50%;
	box-shadow: 0 0 10px white;
	opacity: 0.8;
	animation: twinkle 3s infinite ease-in-out;
}

.star-1 {
	top: 10%;
	left: 20%;
	width: 4px;
	height: 4px;
	animation-delay: 0s;
}

.star-2 {
	top: 30%;
	left: 80%;
	width: 3px;
	height: 3px;
	animation-delay: 1s;
}

.star-3 {
	top: 70%;
	left: 10%;
	width: 5px;
	height: 5px;
	animation-delay: 2s;
}

.star-4 {
	top: 80%;
	left: 90%;
	width: 2px;
	height: 2px;
	animation-delay: 0.5s;
}

.star-5 {
	top: 50%;
	left: 50%;
	width: 3px;
	height: 3px;
	animation-delay: 1.5s;
}

@keyframes twinkle {

	0%,
	100% {
		opacity: 0.4;
		transform: scale(1);
	}

	50% {
		opacity: 1;
		transform: scale(1.5);
	}
}

/* Floating Planets (Decorative circles) */
.planet {
	position: absolute;
	border-radius: 50%;
	opacity: 0.3;
	filter: blur(2px);
	animation: float 20s infinite linear;
}

.planet-1 {
	top: 15%;
	left: -50px;
	width: 60px;
	height: 60px;
	background: radial-gradient(circle, #ff6b6b, #c0392b);
	animation-duration: 25s;
}

.planet-2 {
	bottom: 15%;
	right: -40px;
	width: 80px;
	height: 80px;
	background: radial-gradient(circle, #f1c40f, #f39c12);
	animation-duration: 30s;
	animation-direction: reverse;
}


@keyframes float {
	0% {
		transform: translate(0, 0) rotate(0deg);
	}

	50% {
		transform: translate(20px, 30px) rotate(10deg);
	}

	100% {
		transform: translate(0, 0) rotate(0deg);
	}
}

/* Play Button Overlay */
#play-button-overlay {
	position: absolute;
	/* Approximate position based on observation: Center screen, slightly below middle */
	top: 55%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 180px;
	/* Estimated size */
	height: 70px;
	pointer-events: none;
	/* Let clicks pass through */
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 1001;
}

.pulse-ring {
	position: absolute;
	width: 100%;
	height: 100%;
	border-radius: 40px;
	/* Matches button roundness */
	box-shadow: 0 0 0 0 rgba(255, 200, 0, 0.7);
	animation: pulse-yellow 2s infinite;
}

@keyframes pulse-yellow {
	0% {
		transform: scale(0.95);
		box-shadow: 0 0 0 0 rgba(255, 200, 0, 0.7);
	}

	70% {
		transform: scale(1.1);
		box-shadow: 0 0 0 20px rgba(255, 200, 0, 0);
	}

	100% {
		transform: scale(0.95);
		box-shadow: 0 0 0 0 rgba(255, 200, 0, 0);
	}
}