:root {
	--card-bg: rgba(20, 22, 28, 0.55);
	--text-color: #f5f6f8;
	--text-muted: #c7cbd1;
	--accent: #6ee7ff;
}

* {
	box-sizing: border-box;
}

html, body {
	height: 100%;
	margin: 0;
	overscroll-behavior-y: none;
}

body {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	color: var(--text-color);
	background: #0f1116;
	overflow-x: hidden;
}

.bg-layer {
	position: fixed;
	inset: 0;
	background-size: cover;
	background-position: center;
	opacity: 0;
	transition: opacity 1.8s ease-in-out;
	z-index: 0;
}

.bg-layer.is-visible {
	opacity: 1;
}

.bg-overlay {
	position: fixed;
	inset: 0;
	background: linear-gradient(120deg, rgba(15, 17, 22, 0.75), rgba(15, 17, 22, 0.45));
	z-index: 1;
}

.page {
	position: relative;
	z-index: 2;
	min-height: 100%;
	min-height: 100dvh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: max(32px, env(safe-area-inset-top)) max(32px, env(safe-area-inset-right)) max(32px, env(safe-area-inset-bottom)) max(32px, env(safe-area-inset-left));
}

.card {
	max-width: 560px;
	width: 100%;
	background: var(--card-bg);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 18px;
	padding: 40px 44px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.card h1 {
	margin: 0 0 20px;
	font-size: 1.9rem;
	font-weight: 700;
	letter-spacing: -0.01em;
}

.card p {
	margin: 0 0 16px;
	font-size: 1.05rem;
	line-height: 1.6;
	color: var(--text-muted);
}

.card p:last-child {
	margin-bottom: 0;
}

.card a {
	color: var(--accent);
	text-decoration: none;
	border-bottom: 1px solid transparent;
	transition: border-color 0.2s ease;
}

.card a:hover {
	border-bottom-color: var(--accent);
}

@media (max-width: 480px) {
	.card {
		padding: 28px 26px;
	}

	.card h1 {
		font-size: 1.5rem;
	}

	.card p {
		font-size: 0.98rem;
	}
}
