:root {
	--bg-deep: #06130f;
	--bg: #0a2119;
	--surface: #123428;
	--surface-hover: #194536;
	--border: rgba(233, 241, 232, 0.16);
	--text: #f2f0e8;
	--muted: #aebdb3;
	--cyan: #8de2ef;
	--violet: #9656b8;
}

* {
	box-sizing: border-box;
}

html {
	min-height: 100%;
	background: var(--bg-deep);
}

body {
	min-width: 320px;
	min-height: 100vh;
	margin: 0;
	padding-top: 5.4rem;
	color: var(--text);
	background:
		linear-gradient(145deg, var(--bg-deep) 0%, var(--bg) 48%, #0d2a20 100%);
	font-family: "Fredoka", system-ui, sans-serif;
	letter-spacing: 0;
}

button,
a {
	font: inherit;
}

button {
	color: inherit;
}

.siteMain {
	width: min(100% - 2.5rem, 1180px);
	margin: 0 auto;
	padding: 2rem 0 6rem;
}

.siteView[hidden] {
	display: none;
}

.homeHero {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	min-height: min(50vh, 40rem);
	text-align: center;
}

.heroLogo {
	width: min(30vw, 21rem);
	height: auto;
	filter: drop-shadow(0 1.5rem 2.5rem rgba(0, 0, 0, 0.28));
}

.heroTagline {
	margin: 1.25rem 0 0;
	color: var(--text);
	font-size: clamp(1.1rem, 2vw, 1.6rem);
	font-weight: 600;
}

.aboutSection {
	padding: 2rem 5%;
}

.aboutIntro {
	max-width: 50rem;
	margin: 2rem 0 3rem;
	color: var(--muted);
	font-family: system-ui, sans-serif;
	font-size: clamp(1rem, 1.6vw, 1.2rem);
	line-height: 1.7;
}

.roleGrid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1px;
	background: var(--border);
	border: 1px solid var(--border);
}

.roleCard {
	min-height: 18rem;
	padding: 2rem;
	background: var(--surface);
}

.roleNumber {
	margin: 0 0 4rem;
	color: var(--cyan);
	font-size: 0.8rem;
}

.roleCard h2 {
	margin: 0 0 0.8rem;
	font-size: 1.5rem;
}

.roleCard > p:last-child {
	margin: 0;
	color: var(--muted);
	font-family: system-ui, sans-serif;
	line-height: 1.6;
}

.viewHeader {
	padding-bottom: 1.5rem;
	border-bottom: 1px solid var(--border);
}

.viewKicker {
	margin: 0 0 0.35rem;
	color: var(--cyan);
	font-size: 0.82rem;
	font-weight: 600;
	text-transform: uppercase;
}

h1,
h2,
p {
	letter-spacing: 0;
}

h1 {
	margin: 0;
	font-size: clamp(2rem, 3vw, 3rem);
	line-height: 1.05;
}

.gameList {
	margin-top: 1.5rem;
	border-top: 1px solid var(--border);
}

.gameEntry {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 2rem;
	padding: 1.5rem;
	border-bottom: 1px solid var(--border);
	color: var(--text);
	background: var(--surface);
	text-decoration: none;
	transition: background 160ms ease;
}

.gameEntry:hover,
.gameEntry:focus-visible {
	background: var(--surface-hover);
}

.gameEntry h2 {
	margin: 0 0 0.3rem;
	font-size: 1.35rem;
}

.gameEntry p {
	margin: 0;
	color: var(--muted);
	font-family: system-ui, sans-serif;
	font-size: 0.95rem;
}

.entryAction {
	flex: none;
	color: var(--cyan);
	font-weight: 700;
}

.siteFooter {
	display: grid;
	gap: 0.55rem;
	margin-top: 4rem;
	color: var(--muted);
	font-family: system-ui, sans-serif;
	font-size: 0.9rem;
	text-align: center;
}

.siteFooterLinks {
	display: flex;
	justify-content: center;
	gap: 2rem;
}

.siteFooter a {
	color: var(--muted);
	text-decoration: underline;
	text-underline-offset: 0.18em;
}

.siteFooter a:hover,
.siteFooter a:focus-visible {
	color: var(--text);
}
