:root {
	--night: #0b0a10;
	--paper: #f3ebe1;
	--ink: #2d2622;
	--ink-soft: #6b5f57;
	--copper: #d9824a;
	--gold: #f2a629;
	--display: "Lilita One", system-ui, sans-serif;
	--body: "Josefin Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--body);
	-webkit-font-smoothing: antialiased;
}

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

.icon {
	display: inline-block;
	width: 18px;
	height: 18px;
	background: currentColor;
	-webkit-mask: var(--m) center / contain no-repeat;
	mask: var(--m) center / contain no-repeat;
}

.icon.steam { --m: url("../img/icons/steam.png"); }
.icon.x { --m: url("../img/icons/x.png"); }
.icon.discord { --m: url("../img/icons/discord.png"); }
.icon.mail { --m: url("../img/icons/mail.png"); }
.icon.link { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M10 14a5 5 0 0 0 7 0l3-3a5 5 0 0 0-7-7l-1 1'/%3E%3Cpath d='M14 10a5 5 0 0 0-7 0l-3 3a5 5 0 0 0 7 7l1-1'/%3E%3C/svg%3E"); }

.topbar {
	position: fixed;
	inset: 0 0 auto 0;
	z-index: 10;
	display: flex;
	align-items: center;
	gap: 28px;
	padding: 14px 32px;
	background: rgba(11, 10, 16, 0.94);
	backdrop-filter: blur(8px);
	box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
	color: #fff;
}

.badge {
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: var(--paper);
	display: grid;
	place-items: center;
	flex: none;
}

.badge img {
	width: 32px;
	filter: brightness(0) saturate(100%) invert(14%) sepia(9%) saturate(1083%) hue-rotate(338deg);
}

.menu {
	margin-left: auto;
	display: flex;
	gap: 30px;
}

.menu a {
	font-weight: 600;
	font-size: 15px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	opacity: 0.85;
	transition: opacity 0.15s, color 0.15s;
}

.menu a:hover { opacity: 1; color: var(--gold); }

.socials {
	display: flex;
	gap: 10px;
}

.round {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 2px solid currentColor;
	display: grid;
	place-items: center;
	transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.round:hover {
	background: #fff;
	color: var(--night);
	border-color: #fff;
}

.hero {
	position: relative;
	background: radial-gradient(ellipse 70% 60% at 30% 40%, #1d1726, var(--night) 70%);
	color: #fff;
	padding: 150px 32px 170px;
}

.hero-inner {
	max-width: 1120px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr 1.2fr;
	align-items: center;
	gap: 64px;
}

.emblem {
	width: min(100%, 360px);
	justify-self: center;
	transform: rotate(-6deg);
	filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5));
}

.hero-text { text-align: right; }

.hero h1 {
	margin: 0;
	font-family: var(--display);
	font-weight: 400;
	font-size: clamp(54px, 8vw, 96px);
	line-height: 0.95;
	text-transform: uppercase;
	background: linear-gradient(180deg, var(--gold), var(--copper));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.hero .lead {
	margin: 18px 0 0 auto;
	max-width: 520px;
	font-size: 26px;
	font-weight: 700;
	line-height: 1.3;
}

.hero p {
	margin: 16px 0 0 auto;
	max-width: 520px;
	font-size: 19px;
	line-height: 1.55;
	color: #c9c2cf;
}

.cta {
	display: inline-block;
	margin-top: 34px;
	padding: 16px 30px 13px;
	background: #2a2333;
	color: #f6d9bf;
	font-weight: 700;
	font-size: 15px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	border-radius: 4px;
	box-shadow: 0 6px 0 #17121d;
	transition: transform 0.12s, box-shadow 0.12s, background 0.15s;
}

.cta:hover {
	background: #3a3047;
	transform: translateY(2px);
	box-shadow: 0 4px 0 #17121d;
}

.wave {
	position: absolute;
	left: 0;
	bottom: -1px;
	width: 100%;
	height: 90px;
	fill: var(--paper);
}

.paper {
	max-width: 1220px;
	margin: 0 auto;
	padding: 40px 32px 120px;
}

.section-title {
	margin: 0 0 36px;
	text-align: center;
	font-family: var(--display);
	font-weight: 400;
	font-size: 44px;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	color: var(--ink);
}

.section-title::after {
	content: "";
	display: block;
	width: 64px;
	height: 4px;
	margin: 14px auto 0;
	border-radius: 2px;
	background: var(--copper);
}

.grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 56px 32px;
}

.capsule {
	position: relative;
	display: block;
	aspect-ratio: 1232 / 706;
	border-radius: 6px;
	overflow: hidden;
	box-shadow: 0 14px 30px -12px rgba(45, 30, 20, 0.55);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.capsule img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

a.capsule:hover {
	transform: translateY(-6px);
	box-shadow: 0 22px 40px -14px rgba(45, 30, 20, 0.65);
}

.capsule .icon.link {
	position: absolute;
	top: 14px;
	right: 14px;
	width: 22px;
	height: 22px;
	color: #fff;
	opacity: 0.8;
	filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.6));
}

.meta {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-top: 18px;
}

.meta h3 {
	margin: 0;
	font-size: 19px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding-top: 3px;
}

.platform {
	display: flex;
	align-items: center;
	padding-left: 14px;
	border-left: 2px solid #d3c5b6;
	color: var(--copper);
	transition: color 0.15s;
}

.platform .icon { width: 24px; height: 24px; }
.platform:hover { color: var(--ink); }

.tag {
	margin-left: auto;
	flex: none;
	white-space: nowrap;
	padding: 6px 11px 3px;
	border-radius: 3px;
	background: var(--copper);
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.tag.dev { background: var(--gold); color: var(--ink); }
.tag.cancelled { background: #8f8178; }

.game p {
	margin: 12px 0 0;
	font-size: 17px;
	line-height: 1.55;
	color: var(--ink-soft);
}

.about {
	max-width: 760px;
	margin: 110px auto 0;
	text-align: center;
}

.about p {
	margin: 0;
	font-size: 20px;
	line-height: 1.65;
	color: var(--ink-soft);
}

.contact {
	position: relative;
	background: var(--night);
	color: #fff;
	text-align: center;
	padding: 150px 32px 50px;
}

.wave.flip {
	top: -1px;
	bottom: auto;
}

.contact h2 {
	margin: 0;
	font-family: var(--display);
	font-weight: 400;
	font-size: 56px;
	text-transform: uppercase;
	background: linear-gradient(180deg, var(--gold), var(--copper));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.contact-inner > p {
	margin: 12px 0 0;
	font-size: 19px;
	color: #c9c2cf;
}

.socials.big {
	justify-content: center;
	margin-top: 34px;
}

.socials.big .round { width: 48px; height: 48px; }
.socials.big .icon { width: 22px; height: 22px; }

.contact .copy {
	margin-top: 60px;
	font-size: 15px;
	color: #7d7586;
}

@media (max-width: 860px) {
	.topbar { padding: 12px 18px; gap: 16px; }
	.menu { display: none; }
	.socials { margin-left: auto; }
	.hero { padding: 120px 22px 130px; }
	.hero-inner { grid-template-columns: 1fr; gap: 36px; }
	.emblem { width: 180px; }
	.hero-text { text-align: center; }
	.hero .lead, .hero p { margin-left: auto; margin-right: auto; }
	.grid { grid-template-columns: 1fr; }
	.paper { padding: 30px 20px 90px; }
}
