:root {
	--bg: #0f1115;
	--panel: #161a22;
	--text: #e6e8ef;
	--muted: #9aa3b2;
	--accent: #7cc7ff;
	--accent-2: #a78bfa;
	--ww-icon-url: url('./img/game_icon.webp');
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body.landing {
	margin: 0;
	font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
	background: var(--bg);
	color: var(--text);
	display: grid;
	place-items: start center;
}

body.landing .wrap { width: min(960px, 92vw); padding: 40px 0 80px; }
body.landing header { text-align: center; margin: 32px 0 28px; }
body.landing header h1 { margin: 0; font-size: clamp(32px, 6vw, 56px); letter-spacing: .2px; }
body.landing header p { margin: 8px 0 0; font-size: clamp(14px, 2.5vw, 16px); color: var(--muted); }
body.landing h2 { margin: 28px 0 44px; font-size: 18px; font-weight: 600; color: var(--muted); letter-spacing: .3px; }

body.landing .projects {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 16px;
}

body.landing .project-card {
	position: relative;
	display: flex;
	flex-direction: column;
	border-radius: 14px;
	background: var(--panel);
	border: 1px solid #242b3a;
	box-shadow: 0 8px 24px rgba(0,0,0,0.25);
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	transition: transform .15s ease, box-shadow .2s ease;
}
body.landing .project-card:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0,0,0,0.32); }

body.landing .project-visual { position: relative; min-height: 0; aspect-ratio: 1 / 1; width: 100%; }
body.landing .project-bg {
	position: absolute; inset: 0;
	background-image: var(--ww-icon-url), linear-gradient(135deg, rgba(255,255,255,0.04), rgba(0,0,0,0.12));
	background-position: center, center;
	background-size: contain, cover;
	background-repeat: no-repeat, no-repeat;
	filter: saturate(1) contrast(1.02);
}
body.landing .project-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(2,6,14,0.15), rgba(2,6,14,0.6)); }
body.landing .project-content {
	position: relative;
	z-index: 0;
	display: grid;
	gap: 6px;
	padding: 14px;
	align-content: start;
	background: #121722;
	border-top: 1px solid #242b3a;
}
body.landing .project-title { font-size: 16px; font-weight: 700; }
body.landing .project-sub { font-size: 13px; color: var(--muted); }

body.landing .support-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-top: 12px;
	padding: 10px 14px;
	height: 40px;
	line-height: 1;
	border-radius: 10px;
	background: linear-gradient(90deg, var(--accent), var(--accent-2));
	color: #0a0c10;
		font-weight: 700;
	text-decoration: none;
	border: none;
	box-shadow: 0 8px 18px rgba(124,199,255,0.15);
}
body.landing .support-btn:hover { box-shadow: 0 10px 22px rgba(124,199,255,0.22); transform: translateY(-1px); }
body.landing .support-btn:focus { outline: none; box-shadow: 0 0 0 3px rgba(124,199,255,0.25); }


@media (max-width: 520px) {
	body.landing .wrap { width: 94vw; padding-top: 28px; }
	body.landing header { margin-top: 8px; }
}

