:root {
	--bg: #0b0f1a;
	--fg: #e8ecf6;
	--muted: #97a3bd;
	--accent: #8ea2ff;
	--accent-2: #c6b3ff;
	--ring: rgba(142, 162, 255, 0.4);
	--card-border: rgba(255, 255, 255, 0.08);
}

* { box-sizing: border-box; }

html, body { margin: 0; }

body {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	background: var(--bg);
	color: var(--fg);
	font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

/* Soft moonlit glow drifting behind the content. */
.aurora {
	position: fixed;
	inset: -30vh -10vw auto;
	height: 90vh;
	background:
		radial-gradient(40vw 40vw at 70% 10%, rgba(142, 162, 255, 0.18), transparent 70%),
		radial-gradient(35vw 35vw at 20% 0%, rgba(198, 179, 255, 0.14), transparent 70%);
	filter: blur(10px);
	pointer-events: none;
	z-index: 0;
}

.stage, footer { position: relative; z-index: 1; }

.stage {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	gap: 0.6rem;
	padding: clamp(2rem, 8vh, 6rem) 1.5rem;
}

.mark {
	display: block;
	margin-bottom: 0.8rem;
	filter: drop-shadow(0 12px 40px var(--ring));
	animation: float 7s ease-in-out infinite alternate;
}

h1 {
	font-size: clamp(2.4rem, 8vw, 4.2rem);
	line-height: 1.05;
	letter-spacing: -0.03em;
	margin: 0;
	background: linear-gradient(180deg, #fff, #b9c4e6);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.tagline {
	margin: 0.4rem 0 0;
	font-size: clamp(1rem, 2.6vw, 1.2rem);
	color: var(--muted);
}

.contact {
	margin-top: 1.4rem;
	display: inline-flex;
	align-items: center;
	padding: 0.6rem 1.2rem;
	border-radius: 999px;
	border: 1px solid var(--card-border);
	color: var(--fg);
	text-decoration: none;
	font-weight: 600;
	transition: border-color 0.2s ease, background 0.2s ease, transform 0.12s ease;
}

.contact:hover {
	border-color: var(--ring);
	background: rgba(255, 255, 255, 0.05);
	transform: translateY(-1px);
}

.contact:focus-visible {
	outline: none;
	box-shadow: 0 0 0 3px var(--ring);
}

footer {
	padding: 1.5rem;
	color: var(--muted);
	font-size: 0.85rem;
	text-align: center;
}

@media (prefers-reduced-motion: no-preference) {
	.aurora { animation: drift 18s ease-in-out infinite alternate; }
}

@media (prefers-reduced-motion: reduce) {
	.mark { animation: none; }
}

@keyframes drift {
	from { transform: translate3d(-2%, 0, 0) scale(1); }
	to { transform: translate3d(3%, 2%, 0) scale(1.08); }
}

@keyframes float {
	from { transform: translateY(-4px); }
	to { transform: translateY(6px); }
}
