:root {
	--bg: #05050c;
	--bg-soft: #120f22;
	--panel: rgba(15, 16, 28, 0.84);
	--panel-solid: #141323;
	--text: #f4f7fb;
	--muted: #b3adc8;
	--white: #ffffff;
	--obsidian: #0b0b17;
	--grove: #92c849;
	--grove-dark: #4d7a25;
	--amethyst: #9c72ff;
	--cyan: #8f73d9;
	--gold: #c7d7a2;
	--danger: #ff6b6b;
	--border: rgba(174, 146, 255, 0.2);
	--shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	scroll-behavior: smooth;
}

body {
	--mouse-x: 50%;
	--mouse-y: 14%;
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	background:
		radial-gradient(circle at var(--mouse-x) var(--mouse-y), rgba(146, 200, 73, 0.12), transparent 24%),
		radial-gradient(circle at 20% 10%, rgba(132, 176, 70, 0.16), transparent 30%),
		radial-gradient(circle at 78% 18%, rgba(156, 114, 255, 0.2), transparent 30%),
		radial-gradient(circle at 50% 90%, rgba(133, 102, 230, 0.11), transparent 36%),
		var(--bg);
	color: var(--text);
	min-height: 100vh;
	line-height: 1.6;
	overflow-x: hidden;
}

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

.page-shell {
	width: min(1180px, calc(100% - 32px));
	margin: 0 auto;
}

header {
	position: sticky;
	top: 0;
	z-index: 20;
	backdrop-filter: blur(18px);
	background: rgba(7, 8, 13, 0.72);
	border-bottom: 1px solid var(--border);
	transition: background 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

header.is-scrolled {
	background: rgba(7, 8, 13, 0.9);
	border-color: rgba(255, 255, 255, 0.2);
	box-shadow: 0 16px 30px rgba(0, 0, 0, 0.3);
}

.nav {
	height: 74px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.brand {
	display: flex;
	align-items: center;
	gap: 14px;
	font-weight: 800;
	letter-spacing: 0.02em;
}

.brand-mark {
	width: 72px;
	height: 72px;
	display: grid;
	place-items: center;
	flex: 0 0 72px;
	margin: -14px 0;
	background: transparent;
	box-shadow: none;
	overflow: hidden;
}

.brand-logo {
	width: 100%;
	height: 100%;
	object-fit: contain;
	filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.35));
}

.brand small {
	display: block;
	color: var(--muted);
	font-weight: 600;
	font-size: 0.72rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	margin-top: -3px;
}

nav ul {
	list-style: none;
	display: flex;
	gap: 20px;
	color: var(--muted);
	font-weight: 650;
	font-size: 0.95rem;
}

nav a:hover {
	color: var(--white);
}

.nav-actions {
	display: flex;
	align-items: center;
	gap: 10px;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 42px;
	padding: 0 18px;
	border-radius: 999px;
	font-weight: 800;
	border: 1px solid transparent;
	transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
	cursor: pointer;
	white-space: nowrap;
}

.btn:hover {
	transform: translateY(-2px);
}

.btn-primary {
	background: linear-gradient(135deg, var(--grove), var(--cyan));
	color: #111113;
	box-shadow: 0 14px 34px rgba(98, 214, 127, 0.18);
}

.btn-secondary {
	border-color: var(--border);
	color: var(--text);
	background: rgba(255, 255, 255, 0.04);
}

.hero {
	padding: 96px 0 72px;
	position: relative;
}

.hero-grid {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: 48px;
	align-items: center;
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	padding: 8px 12px;
	border: 1px solid rgba(98, 214, 127, 0.26);
	background: rgba(98, 214, 127, 0.08);
	border-radius: 999px;
	color: #d5ffe0;
	font-weight: 800;
	font-size: 0.86rem;
	margin-bottom: 22px;
}

.pulse {
	width: 9px;
	height: 9px;
	background: var(--grove);
	border-radius: 999px;
	box-shadow: 0 0 0 7px rgba(98, 214, 127, 0.13);
}

h1 {
	font-size: clamp(3rem, 7vw, 6.8rem);
	line-height: 0.92;
	letter-spacing: -0.08em;
	margin-bottom: 24px;
}

.gradient-text {
	background: linear-gradient(135deg, #fff, #beffd0 36%, #c7b4ff 78%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.hero-copy {
	color: var(--muted);
	font-size: 1.18rem;
	max-width: 720px;
	margin-bottom: 30px;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-bottom: 28px;
}

.server-ip-card {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	width: min(560px, 100%);
	padding: 14px 16px;
	border: 1px solid var(--border);
	border-radius: 20px;
	background: rgba(255, 255, 255, 0.045);
	box-shadow: var(--shadow);
}

.server-ip-card span {
	color: var(--muted);
	font-size: 0.85rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.12em;
}

.server-ip-card strong {
	display: block;
	font-size: 1.12rem;
	letter-spacing: 0.02em;
}

.copy-button {
	border: 0;
	border-radius: 14px;
	padding: 10px 14px;
	background: var(--grove);
	color: #111113;
	font-weight: 900;
	cursor: pointer;
	transition: transform 180ms ease, background 180ms ease;
}

.copy-button:hover {
	transform: translateY(-1px);
}

.copy-button.is-copied {
	background: var(--cyan);
}

.hero-card {
	border: 1px solid var(--border);
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)), var(--panel);
	border-radius: 34px;
	box-shadow: var(--shadow);
	overflow: hidden;
	position: relative;
	min-height: 520px;
}

.hero-card::before {
	content: "";
	position: absolute;
	inset: -2px;
	background: linear-gradient(135deg, rgba(98, 214, 127, 0.25), transparent 35%), linear-gradient(315deg, rgba(166, 117, 255, 0.28), transparent 40%);
	pointer-events: none;
}

.js-tilt {
	transform-style: preserve-3d;
	transition: transform 240ms ease, box-shadow 240ms ease;
}

.block-art {
	position: absolute;
	inset: 28px;
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	grid-auto-rows: 56px;
	gap: 10px;
	transform: rotate(-5deg);
	opacity: 0.95;
	transition: transform 240ms ease;
}

.cube {
	border-radius: 14px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 20px 30px rgba(0, 0, 0, 0.25);
}

.obs { background: linear-gradient(135deg, #070810, #17182c); }
.leaf { background: linear-gradient(135deg, #12391f, #62d67f); }
.amy { background: linear-gradient(135deg, #37215f, #a675ff); }
.stone { background: linear-gradient(135deg, #28313f, #778294); }
.glow { background: linear-gradient(135deg, #154653, #61d8ff); }

.floating-panel {
	position: absolute;
	left: 28px;
	right: 28px;
	bottom: 28px;
	padding: 22px;
	border-radius: 26px;
	border: 1px solid var(--border);
	background: rgba(7, 8, 13, 0.78);
	backdrop-filter: blur(18px);
}

.floating-panel h2 {
	font-size: 1.25rem;
	margin-bottom: 8px;
}

.floating-panel p {
	color: var(--muted);
	font-size: 0.96rem;
}

section {
	padding: 72px 0;
}

.section-heading {
	max-width: 760px;
	margin-bottom: 34px;
}

.section-heading h2 {
	font-size: clamp(2rem, 4vw, 3.6rem);
	line-height: 1;
	letter-spacing: -0.05em;
	margin-bottom: 14px;
}

.section-heading p {
	color: var(--muted);
	font-size: 1.08rem;
}

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

.card {
	padding: 26px;
	border-radius: 28px;
	border: 1px solid var(--border);
	background: var(--panel);
	min-height: 230px;
	box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
}

.card-icon {
	width: 50px;
	height: 50px;
	border-radius: 18px;
	display: grid;
	place-items: center;
	background: rgba(98, 214, 127, 0.11);
	border: 1px solid rgba(98, 214, 127, 0.22);
	margin-bottom: 18px;
	font-size: 1.4rem;
}

.card h3 {
	font-size: 1.25rem;
	margin-bottom: 8px;
}

.card p {
	color: var(--muted);
}

.modes {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
}

.mode-card {
	border-radius: 26px;
	overflow: hidden;
	background: var(--panel-solid);
	border: 1px solid var(--border);
}

.mode-top {
	height: 150px;
	background: linear-gradient(135deg, rgba(98, 214, 127, 0.28), rgba(166, 117, 255, 0.16)), linear-gradient(45deg, #10131d 25%, #171b29 25%, #171b29 50%, #10131d 50%, #10131d 75%, #171b29 75%);
	background-size: auto, 36px 36px;
	display: grid;
	place-items: center;
	font-size: 3rem;
}

.mode-body {
	padding: 20px;
}

.mode-body h3 {
	margin-bottom: 6px;
}

.mode-body p {
	color: var(--muted);
	font-size: 0.95rem;
}

.cta {
	padding: 44px;
	border-radius: 34px;
	border: 1px solid rgba(98, 214, 127, 0.24);
	background: linear-gradient(135deg, rgba(98, 214, 127, 0.16), rgba(166, 117, 255, 0.12)), var(--panel);
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 24px;
	align-items: center;
	box-shadow: var(--shadow);
}

.cta h2 {
	font-size: clamp(2rem, 4vw, 3.2rem);
	line-height: 1;
	letter-spacing: -0.05em;
	margin-bottom: 10px;
}

.cta p {
	color: var(--muted);
	max-width: 760px;
}

footer {
	border-top: 1px solid var(--border);
	padding: 32px 0;
	color: var(--muted);
}

.footer-grid {
	display: flex;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
}

.reveal {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity 500ms ease, transform 500ms ease;
}

.reveal.is-visible {
	opacity: 1;
	transform: translateY(0);
}

@media (max-width: 940px) {
	nav ul {
		display: none;
	}

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

	.hero-card {
		min-height: 420px;
	}

	.cards,
	.modes {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 620px) {
	.nav-actions .btn-secondary {
		display: none;
	}

	.hero {
		padding-top: 62px;
	}

	.cards,
	.modes {
		grid-template-columns: 1fr;
	}

	.server-ip-card {
		align-items: flex-start;
		flex-direction: column;
	}

	.copy-button {
		width: 100%;
	}

	.cta {
		padding: 28px;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation: none !important;
		transition: none !important;
	}
}
