/* medusasmaze.com landing page. No framework; the art is the game's own pixel art. */
:root {
	--bg: #14161c; --panel: #1e2230; --text: #eceef4; --dim: #a9b0c2;
	--accent: #4fb68c; --accent-ink: #0d1f17; --stone: #9aa0aa; --danger: #e05a4f;
	color-scheme: dark;
}
* { box-sizing: border-box; }
html { background: var(--bg); }
body {
	margin: 0; color: var(--text); font: 18px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	background:
		linear-gradient(rgba(20, 22, 28, .88), rgba(20, 22, 28, .97) 60%),
		url(floor.png) 0 0 / 128px 112px repeat;
	image-rendering: pixelated;
	min-height: 100vh;
}
main { max-width: 980px; margin: 0 auto; padding: 32px 20px 48px; text-align: center; }
.px { image-rendering: pixelated; image-rendering: crisp-edges; }
h1 {
	font-size: clamp(44px, 9vw, 96px); line-height: 1; margin: 12px 0 8px; letter-spacing: .02em;
	font-weight: 900; text-transform: uppercase;
	text-shadow: 0 4px 0 #2b6b52, 0 8px 0 #183c2f, 0 10px 18px rgba(0, 0, 0, .6);
}
.tagline { font-size: clamp(18px, 2.6vw, 24px); color: var(--dim); max-width: 34em; margin: 12px auto 28px; }
.lineup { width: min(100%, 580px); height: auto; margin: 8px auto 0; display: block; }
.actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; align-items: stretch; margin: 8px 0 40px; }
.btn {
	display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 28px;
	border-radius: 12px; font-size: 20px; font-weight: 700; text-decoration: none; border: 0; cursor: pointer;
	font-family: inherit; white-space: nowrap;
}
.btn.primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 4px 0 #2b6b52; }
.btn.primary:hover { filter: brightness(1.08); }
.btn.secondary { background: #3a4156; color: var(--text); }
.btn:focus-visible, input:focus-visible { outline: 3px solid #ffd166; outline-offset: 3px; }
form.join { display: flex; gap: 8px; }
form.join input {
	width: 9.5em; min-height: 56px; padding: 0 14px; border-radius: 12px; border: 2px solid #3a4156;
	background: #0f1116; color: var(--text); font: 700 20px/1 ui-monospace, Menlo, monospace;
	letter-spacing: .15em; text-transform: uppercase;
}
form.join input::placeholder { letter-spacing: .02em; color: #7d8496; font-weight: 400; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.how { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; list-style: none; padding: 0; margin: 0 0 40px; text-align: left; }
.how li { background: var(--panel); border-radius: 14px; padding: 18px 20px; display: flex; gap: 16px; align-items: flex-start; }
.how img { width: 48px; height: 66px; flex: none; }
.how h2 { font-size: 19px; margin: 0 0 4px; }
.how p { margin: 0; color: var(--dim); font-size: 16px; }
.platforms { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; color: var(--dim); font-size: 16px; padding: 0; list-style: none; }
.platforms li { border: 1px solid #3a4156; border-radius: 999px; padding: 6px 14px; }
.platforms strong { color: var(--text); }
footer { color: #8a91a3; font-size: 14px; margin-top: 32px; }
.error { color: #ff8f86; min-height: 1.5em; margin: -28px 0 20px; font-size: 16px; }
@media (max-width: 560px) {
	main { padding-top: 20px; }
	.actions { display: grid; grid-template-columns: minmax(0, 1fr); }
	form.join input { flex: 1; width: auto; min-width: 0; }
}
