:root {
	color-scheme: dark;
	--ink: #f1dcc0;
	--ink-soft: rgba(241, 220, 192, 0.78);
	--black: #080604;
	--panel: rgba(14, 9, 7, 0.88);
	--panel-alt: rgba(24, 15, 11, 0.96);
	--blood: #a31917;
	--blood-dark: #5f0c0c;
	--gold: #caa34a;
	--line: rgba(202, 163, 74, 0.68);
	--line-soft: rgba(202, 163, 74, 0.24);
}

html, body {
	min-height: 100%;
	margin: 0;
}

body {
	background:
		radial-gradient(ellipse at top, rgba(52, 31, 23, 0.76), rgba(10, 7, 6, 0.99) 55%),
		linear-gradient(180deg, #120c09 0%, #050403 100%);
	color: var(--ink);
	font-family: "EB Garamond", Garamond, "Times New Roman", serif;
	letter-spacing: 0.01em;
}

body::before {
	content: "";
	position: fixed;
	inset: 0;
	pointer-events: none;
	background:
		linear-gradient(135deg, rgba(255, 255, 255, 0.02) 25%, transparent 25%) 0 0 / 8px 8px,
		linear-gradient(315deg, rgba(255, 255, 255, 0.015) 25%, transparent 25%) 0 0 / 10px 10px;
	mix-blend-mode: soft-light;
	opacity: 0.22;
}

a {
	color: inherit;
}

.site-shell {
	width: min(1440px, calc(100vw - 32px));
	margin: 0 auto;
	padding: 28px 0 40px;
}

.hero,
.feature-strip article,
.showcase-copy,
.play-copy,
.showcase-panel,
.playframe-wrap {
	border: 1px solid var(--line-soft);
	background:
		linear-gradient(180deg, rgba(18, 12, 9, 0.94), rgba(7, 5, 4, 0.97)),
		radial-gradient(circle at top, rgba(255, 255, 255, 0.05), transparent 48%);
	box-shadow:
		0 26px 70px rgba(0, 0, 0, 0.48),
		inset 0 0 0 1px rgba(255, 240, 210, 0.03);
}

.hero {
	display: grid;
	grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
	gap: 28px;
	padding: 28px;
	position: relative;
	overflow: hidden;
}

.hero::before,
.hero::after {
	content: "";
	position: absolute;
	inset: 14px;
	pointer-events: none;
	border: 1px solid rgba(202, 163, 74, 0.2);
}

.hero::after {
	inset: 20px;
	border-color: rgba(202, 163, 74, 0.08);
}

.hero-copy {
	position: relative;
	z-index: 1;
	padding-right: 10px;
}

.eyebrow {
	margin: 0 0 10px;
	font-size: 0.92rem;
	text-transform: uppercase;
	letter-spacing: 0.24em;
	color: rgba(241, 220, 192, 0.72);
}

.hero h1,
.showcase-copy h2,
.play-copy h2 {
	margin: 0;
	font-family: "Pirata One", "Times New Roman", serif;
	font-weight: 400;
	color: #e5c59a;
	text-shadow: 0 0 18px rgba(0, 0, 0, 0.65);
}

.hero h1 {
	margin: 0;
	line-height: 1;
}

.hero-logo-img {
	display: block;
	width: 100%;
	max-width: 520px;
	height: auto;
	filter: drop-shadow(0 4px 24px rgba(0, 0, 0, 0.72)) drop-shadow(0 0 8px rgba(202, 163, 74, 0.28));
}

.lede,
.showcase-copy p,
.play-copy p,
.feature-strip p,
.bullet-points li {
	font-size: 1.14rem;
	line-height: 1.6;
	color: var(--ink-soft);
}

.lede {
	max-width: 60ch;
	margin: 18px 0 0;
}

.hero-actions,
.player-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 22px;
}

.music-panel {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
	gap: 16px;
	align-items: center;
	margin-top: 18px;
	padding: 16px 18px;
	border: 1px solid rgba(202, 163, 74, 0.22);
	background:
		linear-gradient(180deg, rgba(11, 7, 6, 0.94), rgba(24, 15, 11, 0.92)),
		radial-gradient(circle at top left, rgba(163, 25, 23, 0.18), transparent 36%);
}

.music-panel-copy h3 {
	margin: 0;
	font-family: "Pirata One", "Times New Roman", serif;
	font-size: 1.7rem;
	font-weight: 400;
	color: #f0d4a8;
}

.music-panel-copy p {
	margin: 8px 0 0;
	font-size: 1.02rem;
	color: var(--ink-soft);
}

.music-panel-controls {
	display: grid;
	gap: 12px;
	width: 100%;
}

.music-track-field {
	display: grid;
	gap: 8px;
	width: 100%;
}

.music-field-label {
	font-size: 0.84rem;
	text-transform: uppercase;
	letter-spacing: 0.18em;
	color: rgba(241, 220, 192, 0.72);
}

.music-select {
	box-sizing: border-box;
	width: 100%;
	min-width: 100%;
	padding: 12px 14px;
	border: 1px solid rgba(202, 163, 74, 0.38);
	background: rgba(8, 6, 4, 0.92);
	color: var(--ink);
	font: inherit;
	letter-spacing: 0.03em;
}

.music-select:focus-visible,
.music-toggle:focus-within .music-toggle__rail {
	outline: 2px solid rgba(223, 178, 72, 0.9);
	outline-offset: 2px;
}

.music-toggle {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	width: 100%;
	padding: 0;
	border: 0;
	background: transparent;
	color: inherit;
	cursor: pointer;
	user-select: none;
	text-align: left;
}

.music-toggle__rail {
	position: relative;
	flex: 0 0 72px;
	height: 34px;
	border: 1px solid rgba(202, 163, 74, 0.62);
	border-radius: 999px;
	background: linear-gradient(180deg, rgba(72, 42, 33, 0.98), rgba(24, 15, 11, 0.98));
	box-shadow: inset 0 0 0 1px rgba(255, 240, 210, 0.04);
	transition: background 0.2s ease, border-color 0.2s ease;
}

.music-toggle__rail::after {
	content: "";
	position: absolute;
	left: 4px;
	top: 4px;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: linear-gradient(180deg, #f1dcc0, #caa34a);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.36);
	transition: transform 0.2s ease;
}

.music-toggle input:checked + .music-toggle__rail {
	border-color: rgba(223, 178, 72, 0.9);
	background: linear-gradient(180deg, rgba(157, 22, 22, 0.98), rgba(95, 12, 12, 0.98));
}

.music-toggle input:checked + .music-toggle__rail::after {
	transform: translateX(38px);
}

.music-toggle__text {
	min-width: 3ch;
	text-align: right;
	font-size: 0.9rem;
	text-transform: uppercase;
	letter-spacing: 0.18em;
	color: rgba(241, 220, 192, 0.76);
}

.music-status {
	margin: 0;
	font-size: 0.9rem;
	line-height: 1.45;
	color: rgba(241, 220, 192, 0.7);
}

.cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 13px 18px;
	border: 1px solid var(--line);
	background: linear-gradient(180deg, rgba(61, 32, 28, 0.96), rgba(24, 15, 11, 0.96));
	color: var(--ink);
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-size: 0.98rem;
	cursor: pointer;
	box-shadow: 0 8px 26px rgba(0, 0, 0, 0.35);
}

.cta.primary {
	background: linear-gradient(180deg, rgba(157, 22, 22, 0.96), rgba(95, 12, 12, 0.96));
	border-color: rgba(223, 178, 72, 0.72);
}

.cta:hover {
	border-color: var(--gold);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 18px rgba(202, 163, 74, 0.28);
}

.cta.primary:hover {
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 22px rgba(163, 25, 23, 0.55);
}

.hero-stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	margin-top: 22px;
	max-width: 900px;
}

.hero-stats div {
	padding: 14px 14px 13px;
	background: rgba(8, 6, 4, 0.46);
	border: 1px solid rgba(202, 163, 74, 0.22);
}

.hero-stats span {
	display: block;
	font-size: 0.82rem;
	text-transform: uppercase;
	letter-spacing: 0.2em;
	color: rgba(241, 220, 192, 0.66);
}

.hero-stats strong {
	display: block;
	margin-top: 4px;
	font-size: 1.02rem;
	font-weight: 600;
	color: #f2e0c8;
}

.hero-visual {
	position: relative;
	z-index: 1;
	display: grid;
	place-items: center;
	padding: 8px;
}

.sigil-stack {
	position: relative;
	width: min(100%, 560px);
}

.sigil,
.poster {
	display: block;
	width: 100%;
	height: auto;
	border: 1px solid rgba(202, 163, 74, 0.38);
	box-shadow: 0 18px 48px rgba(0, 0, 0, 0.5);
}

.sigil {
	position: absolute;
	right: 18px;
	top: 18px;
	width: 128px;
	height: 128px;
	border-radius: 999px;
	background: rgba(12, 8, 6, 0.88);
	padding: 10px;
	object-fit: cover;
	box-shadow:
		0 18px 42px rgba(0, 0, 0, 0.45),
		0 0 0 1px rgba(202, 163, 74, 0.42),
		inset 0 0 0 1px rgba(255, 240, 210, 0.04);
}

.poster {
	filter: sepia(0.18) contrast(1.03) brightness(0.94);
}

.poster-caption {
	margin: 10px 2px 0;
	font-family: "Pirata One", "Times New Roman", serif;
	font-size: 1.1rem;
	letter-spacing: 0.04em;
	color: rgba(241, 220, 192, 0.6);
	text-align: center;
}

.divider {
	margin: 0;
	text-align: center;
	color: var(--gold);
	font-size: 1.1rem;
	opacity: 0.55;
	position: relative;
}

.divider::before,
.divider::after {
	content: "";
	position: absolute;
	top: 50%;
	width: calc(50% - 28px);
	border-top: 1px solid var(--line-soft);
}

.divider::before {
	left: 0;
}

.divider::after {
	right: 0;
}

main {
	margin-top: 24px;
	display: grid;
	gap: 24px;
}

.feature-strip {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.feature-strip article {
	padding: 18px 18px 16px;
	border-left: 2px solid var(--blood-dark);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.feature-strip article:hover {
	border-left-color: var(--blood);
	box-shadow:
		0 26px 70px rgba(0, 0, 0, 0.48),
		inset 0 0 0 1px rgba(255, 240, 210, 0.03),
		-2px 0 18px rgba(163, 25, 23, 0.22);
}

.feature-strip h2,
.showcase-copy h2,
.play-copy h2 {
	font-size: 2.2rem;
	line-height: 0.95;
	margin-bottom: 10px;
}

.showcase {
	display: grid;
	grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1.18fr);
	gap: 18px;
	align-items: stretch;
}

.showcase.reverse {
	grid-template-columns: minmax(420px, 1.18fr) minmax(0, 0.82fr);
}

.showcase-copy,
.play-copy {
	padding: 20px 22px 22px;
}

.showcase-panel {
	padding: 14px;
}

.showcase-panel img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: sepia(0.22) contrast(1.02) brightness(0.94);
}

.showcase-panel.wide img {
	min-height: 360px;
}

.bullet-points {
	margin: 16px 0 0 18px;
	padding: 0;
}

.bullet-points li {
	margin: 6px 0;
}

.play-section {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	gap: 18px;
	align-items: start;
}

.playframe-wrap {
	padding: 14px;
}

.playframe {
	display: block;
	width: 100%;
	height: min(74vh, 820px);
	border: 1px solid rgba(202, 163, 74, 0.36);
	background: #060403;
}

.player-note {
	margin: 10px 0 0;
	font-size: 0.94rem;
	color: rgba(241, 220, 192, 0.66);
	text-align: center;
}

.downloads {
	border: 1px solid var(--line-soft);
	background:
		linear-gradient(180deg, rgba(18, 12, 9, 0.94), rgba(7, 5, 4, 0.97)),
		radial-gradient(circle at top, rgba(255, 255, 255, 0.05), transparent 48%);
	box-shadow:
		0 26px 70px rgba(0, 0, 0, 0.48),
		inset 0 0 0 1px rgba(255, 240, 210, 0.03);
	padding: 22px 24px 26px;
	display: grid;
	gap: 22px;
}

.downloads-intro p {
	font-size: 1.06rem;
	line-height: 1.6;
	color: var(--ink-soft);
	max-width: 70ch;
	margin: 6px 0 0;
}

.downloads-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 18px;
}

.download-card {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 12px;
	padding: 18px 18px 16px;
	border: 1px solid rgba(202, 163, 74, 0.66);
	background:
		linear-gradient(180deg, rgba(18, 11, 8, 0.94), rgba(6, 4, 3, 0.98)),
		radial-gradient(circle at top, rgba(255, 255, 255, 0.04), transparent 48%);
	text-decoration: none;
	text-align: left;
	min-height: 330px;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, transform 0.2s ease;
	overflow: hidden;
}

.download-card:hover {
	border-color: var(--gold);
	background:
		linear-gradient(180deg, rgba(20, 13, 9, 0.92), rgba(10, 7, 5, 0.98)),
		radial-gradient(circle at top, rgba(255, 255, 255, 0.06), transparent 48%);
	box-shadow: 0 12px 34px rgba(0, 0, 0, 0.42), 0 0 18px rgba(202, 163, 74, 0.22);
	transform: translateY(-2px);
}

.download-card::before {
	content: "";
	position: absolute;
	inset: 12px;
	border: 1px solid rgba(202, 163, 74, 0.14);
	pointer-events: none;
}

.download-card::after {
	content: "";
	position: absolute;
	left: 18px;
	right: 18px;
	bottom: 18px;
	height: 2px;
	background: linear-gradient(90deg, transparent, rgba(202, 163, 74, 0.55), transparent);
	pointer-events: none;
}

.download-art {
	height: 152px;
	border: 1px solid rgba(202, 163, 74, 0.28);
	background:
		radial-gradient(circle at 50% 35%, rgba(202, 163, 74, 0.2), transparent 42%),
		linear-gradient(180deg, rgba(12, 8, 6, 0.82), rgba(6, 4, 3, 0.98));
	box-shadow: inset 0 0 0 1px rgba(255, 240, 210, 0.03);
	position: relative;
	overflow: hidden;
}

.download-art::before,
.download-art::after {
	content: "";
	position: absolute;
	inset: 12px;
	border: 1px solid rgba(202, 163, 74, 0.1);
	pointer-events: none;
}

.download-art::after {
	inset: auto 14px 14px;
	height: 2px;
	border: 0;
	background: linear-gradient(90deg, transparent, rgba(202, 163, 74, 0.45), transparent);
}

.download-card .platform {
	font-family: "Pirata One", "Times New Roman", serif;
	font-size: 2.18rem;
	line-height: 0.95;
	color: #e5c59a;
	letter-spacing: 0.03em;
}

.download-card .dl-detail {
	font-size: 0.8rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba(241, 220, 192, 0.56);
}

.download-card .dl-copy {
	font-size: 1.05rem;
	line-height: 1.58;
	color: rgba(241, 220, 192, 0.82);
}

.download-card .dl-cta {
	margin-top: auto;
	padding: 12px 18px;
	border: 1px solid rgba(202, 163, 74, 0.66);
	background:
		linear-gradient(180deg, rgba(86, 16, 15, 0.98), rgba(47, 8, 8, 0.98)),
		radial-gradient(circle at top, rgba(255, 255, 255, 0.06), transparent 52%);
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-size: 0.9rem;
	text-align: center;
	color: #f3ddb9;
	box-shadow: 0 8px 22px rgba(0, 0, 0, 0.32);
}

.download-windows .download-art {
	background:
		radial-gradient(circle at 30% 30%, rgba(223, 178, 72, 0.2), transparent 38%),
		linear-gradient(135deg, rgba(40, 20, 18, 0.94), rgba(8, 6, 4, 0.98));
}

.download-macos .download-art {
	background:
		radial-gradient(circle at 70% 30%, rgba(223, 178, 72, 0.18), transparent 40%),
		linear-gradient(135deg, rgba(23, 14, 12, 0.94), rgba(8, 6, 4, 0.98));
}

.download-linux .download-art {
	background:
		radial-gradient(circle at 50% 34%, rgba(223, 178, 72, 0.16), transparent 38%),
		linear-gradient(135deg, rgba(16, 14, 13, 0.94), rgba(8, 6, 4, 0.98));
}

.download-soundtrack .download-art {
	background:
		radial-gradient(circle at 35% 28%, rgba(241, 220, 192, 0.92), rgba(241, 220, 192, 0) 22%),
		linear-gradient(180deg, rgba(157, 22, 22, 0.94), rgba(95, 12, 12, 0.96));
}

@media (max-width: 1100px) {
	.hero,
	.showcase,
	.showcase.reverse,
	.play-section,
	.feature-strip {
		grid-template-columns: 1fr;
	}

	.hero h1 {
		max-width: none;
	}

	.hero-stats {
		grid-template-columns: 1fr;
	}

	.sigil-stack {
		max-width: 600px;
	}

	.downloads-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 900px) {
	.music-panel {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 700px) {
	.site-shell {
		width: min(100vw - 20px, 100%);
		padding-top: 12px;
	}

	.hero,
	.showcase-copy,
	.play-copy,
	.feature-strip article,
	.playframe-wrap {
		padding-left: 16px;
		padding-right: 16px;
	}

	.hero {
		padding-top: 18px;
		padding-bottom: 18px;
	}

	.sigil {
		width: 92px;
		height: 92px;
		top: 10px;
		right: 10px;
	}
}
