*, *::before, *::after { box-sizing: border-box; }

html, body {
	margin: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
	background: #000;
}

body { position: relative; }

canvas {
	position: fixed;
	inset: 0;
	width: 100%;
	height: 100%;
	display: block;
	background: #000;
	pointer-events: none;
	z-index: 0;
}

.top-right {
	position: fixed;
	top: 60px;
	right: 0;
	width: 20px;
	height: 115px;
	z-index: 4;
	display: block;
}

.top-right-rect {
	position: absolute;
	inset: 0;
	background: #2665e4a6;
	border-radius: 20px 0 0 20px;
}

.top-right-rect::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 55%;
	transform: translate(-50%, -50%);
	width: 0;
	height: 0;
	border-top: 5px solid transparent;
	border-bottom: 5px solid transparent;
	border-right: 8px solid #000;
}

.center-stack {
	position: fixed;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	z-index: 1;
	pointer-events: none;
}

.center-text {
	display: block;
	color: #fff;
	font-family: "Consolas", "Cascadia Mono", "Courier New", monospace;
	font-size: clamp(18px, 3.2vw, 42px);
	font-weight: 400;
	letter-spacing: 0.04em;
	user-select: none;
	text-align: center;
	opacity: 0.85;
	text-shadow:
		0 0 10px rgba(0, 120, 255, 0.85),
		0 0 22px rgba(0, 120, 255, 0.7),
		0 0 44px rgba(0, 120, 255, 0.45);
	will-change: transform, opacity;
	transform-origin: center center;
}

.tagline {
	font-family: "Consolas", "Cascadia Mono", "Courier New", monospace;
	font-size: clamp(11px, 1.4vw, 15px);
	color: rgba(140, 200, 255, 0.65);
	letter-spacing: 0.12em;
	text-align: center;
	margin-top: 10px;
	min-height: 1.4em;
	user-select: none;
	pointer-events: none;
}

.auth-buttons {
	margin-top: 16px;
	display: flex;
	gap: 10px;
	z-index: 1;
	pointer-events: auto;
}

.auth-btn {
	display: inline-block;
	padding: 6px 14px;
	color: #cfe9ff;
	text-decoration: none;
	font-family: "Consolas", "Cascadia Mono", "Courier New", monospace;
	font-size: 13px;
	letter-spacing: 0.04em;
	background: none;
	border: none;
	cursor: pointer;
}

.auth-btn:hover {
	text-shadow:
		0 0 10px rgba(0, 120, 255, 0.85),
		0 0 22px rgba(0, 120, 255, 0.7),
		0 0 44px rgba(0, 120, 255, 0.45);
}

.start-overlay {
	position: fixed;
	inset: 0;
	display: grid;
	place-items: center;
	background: rgba(0, 0, 0, 1);
	color: #fff;
	font-family: Arial, Helvetica, sans-serif;
	font-size: clamp(14px, 2.2vw, 20px);
	letter-spacing: 0.05em;
	z-index: 10;
	cursor: pointer;
	user-select: none;
	text-align: center;
	padding: 24px;
}

.start-overlay.hidden { display: none; }

