/* ===========================================
   ProctoredGames — base styles
   =========================================== */

:root {
	--bg: #0e1224;
	--bg-raised: #17181b;
	--line: #2a2c30;
	--text: #f2f1ee;
	--text-dim: #9a9ca1;
	--accent: #5ee6a8;
	--accent-dim: #2f5f4c;
	--font-display: "Gorditas", "Segoe UI", sans-serif;
	--font-body: "Boogaloo", "Segoe UI", sans-serif;
	--max-width: 1100px;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	scrollbar-gutter: stable;
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font-body);
	line-height: 1.6;
}

a {
	color: inherit;
	text-decoration: none;
}

img {
	max-width: 100%;
	display: block;
}

/* ---------- Layout helpers ---------- */

.wrap {
	max-width: var(--max-width);
	margin: 0 auto;
	padding: 0 24px;
}

/* ---------- Header / Nav ---------- */

.site-header {
	border-bottom: 1px solid var(--line);
	position: sticky;
	top: 0;
	background: rgba(14, 18, 36, 0.9);
	backdrop-filter: blur(8px);
	z-index: 10;
}

.site-header .wrap {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 72px;
}

.logo {
	display: flex;
	align-items: center;
	gap: 10px;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1.25rem;
	letter-spacing: -0.01em;
}

.logo img {
	width: 32px;
	height: 32px;
	image-rendering: pixelated;
}

.logo span {
	color: var(--accent);
}

.nav-tabs {
	display: flex;
	gap: 8px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.nav-tabs a {
	display: block;
	padding: 8px 16px;
	border-radius: 999px;
	font-size: 0.95rem;
	color: var(--text-dim);
	transition: background 0.15s ease, color 0.15s ease;
}

.nav-tabs a:hover {
	background: var(--bg-raised);
	color: var(--text);
}

.nav-tabs a.active {
	background: var(--accent);
	color: #08110d;
	font-weight: 600;
}

/* ---------- Hero ---------- */

.hero {
	padding: 96px 0 64px;
	border-bottom: 1px solid var(--line);
}

.eyebrow {
	color: var(--accent);
	font-size: 0.85rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	margin-bottom: 16px;
}

.hero h1 {
	font-family: var(--font-display);
	font-size: clamp(2.25rem, 5vw, 3.5rem);
	line-height: 1.1;
	margin: 0 0 20px;
	max-width: 16ch;
}

.hero p {
	color: var(--text-dim);
	font-size: 1.15rem;
	max-width: 55ch;
	margin: 0 0 32px;
}

/* ---------- Buttons ---------- */

.btn {
	display: inline-block;
	padding: 12px 24px;
	border: 3px solid #ffffff;
	border-radius: 8px;
	font-weight: 600;
	font-size: 0.95rem;
	background: #090b14;
	color: var(--text);
	transition: all 50ms ease-in;
	transform: scale(1);
}

.btn:hover {
	border-color: #338bff;
	background: #000000;
	transform: scale(1.05) rotate(1deg);
}

.btn-primary {
	color: var(--accent);
}

.btn-ghost {
	margin-left: 12px;
}

/* ---------- Cards / Grid ---------- */

.section {
	padding: 64px 0;
	border-bottom: 1px solid var(--line);
}

.section h2 {
	font-family: var(--font-display);
	font-size: 1.75rem;
	margin: 0 0 8px;
}

.section .lede {
	color: var(--text-dim);
	margin: 0 0 40px;
	max-width: 60ch;
}

.grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.card {
	background: var(--bg-raised);
	border: 1px solid var(--line);
	border-radius: 12px;
	padding: 24px;
}

.card h3 {
	font-family: var(--font-display);
	margin: 0 0 8px;
	font-size: 1.1rem;
}

.card p {
	color: var(--text-dim);
	margin: 0;
	font-size: 0.95rem;
}

/* ---------- Footer ---------- */

.site-footer {
	padding: 40px 0;
	color: var(--text-dim);
	font-size: 0.9rem;
}

.site-footer .wrap {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.site-footer a:hover {
	color: var(--text);
}

/* ---------- Responsive ---------- */

@media (max-width: 720px) {
	.site-header .wrap {
		flex-direction: column;
		height: auto;
		padding: 16px 24px;
		gap: 12px;
	}

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

	.site-footer .wrap {
		flex-direction: column;
		gap: 8px;
		text-align: center;
	}
}
