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

html {
	height: 100%;
	overflow-x: hidden;
}

body {
	background: #000;
	min-height: 100%;
	min-height: 100dvh;
	width: 100%;
	overflow-x: hidden;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	font-family: "Lato", sans-serif;
	color: #fff;
	text-align: center;
	padding: 2rem;
	overflow: hidden;
}

.slide {
	visibility: hidden;
	position: fixed;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 2rem;
	text-align: center;

	/* Hidden by default */
	opacity: 0;
	pointer-events: none;
}

.slide.active {
	visibility: visible;
	animation: fadeUp 0.6s 0.4s ease both;
	pointer-events: all;
}

.slide.exit {
	visibility: visible;
	animation: fadeOut 0.4s ease both;
	pointer-events: none;
}

h1 {
	font-family: "Playfair Display", serif;
	font-size: clamp(2.5rem, 7vw, 5rem);
	letter-spacing: 0.02em;
	margin-bottom: 1rem;
	animation: fadeDown 0.8s ease both;
}

h2 {
	font-family: "Lato", sans-serif;
	font-weight: 300;
	font-size: clamp(1rem, 2.5vw, 1.4rem);
	max-width: 600px;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.65);
	margin-bottom: 3rem;
	animation: fadeDown 0.8s 0.15s ease both;
}

.form-wrap {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1.2rem;
	animation: fadeUp 0.8s 0.3s ease both;
}

/* Radial white glow behind the input */
.form-wrap::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 480px;
	height: 220px;
	background: radial-gradient(
		ellipse at center,
		rgba(255, 255, 255, 0.18) 0%,
		rgba(255, 255, 255, 0.1) 40%,
		transparent 70%
	);
	pointer-events: none;
	border-radius: 50%;
}

input[type="text"] {
	width: 340px;
	max-width: 90vw;
	padding: 0.9rem 1.4rem;
	font-size: 1.25rem;
	font-family: "Lato", sans-serif;
	font-weight: 300;
	background: rgba(255, 255, 255, 0.07);
	border: 1px solid rgba(255, 255, 255, 0.25);
	border-radius: 999px;
	color: #fff;
	outline: none;
	transition:
		border-color 0.3s,
		background 0.3s,
		box-shadow 0.3s;
	text-align: center;
}

input[type="text"]::placeholder {
	color: rgba(255, 255, 255, 0.3);
}

input[type="text"]:focus {
	border-color: rgba(255, 255, 255, 0.7);
	background: rgba(255, 255, 255, 0.11);
	box-shadow: 0 0 28px rgba(255, 255, 255, 0.12);
}

button {
	width: 340px;
	max-width: 90vw;
	padding: 0.9rem 1.4rem;
	font-size: 1.25rem;
	font-family: "Lato", sans-serif;
	font-weight: 400;
	letter-spacing: 0.08em;
	background: #fff;
	color: #000;
	border: none;
	border-radius: 999px;
	cursor: pointer;
	transition:
		background 0.2s,
		transform 0.15s,
		box-shadow 0.2s;
}

button:hover {
	background: rgba(255, 255, 255, 0.88);
	box-shadow: 0 0 24px rgba(255, 255, 255, 0.25);
	transform: translateY(-1px);
}

button:active {
	transform: translateY(0);
}

a {
	color: white;
}

@keyframes fadeDown {
	from {
		opacity: 0;
		transform: translateY(-18px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}
@keyframes fadeUp {
	from {
		opacity: 0;
		transform: translateY(18px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes fadeOut {
	from {
		opacity: 1;
		transform: translateY(0);
	}
	to {
		opacity: 0;
		transform: translateY(-18px);
	}
}

.quote {
	position: relative;
	padding-left: 1rem;
}

.quote::before {
	content: "\201C";
	position: absolute;
	left: 0;
	top: 0;
	font-family: Didot, "Bodoni MT", Georgia, serif;
	font-size: 4em;
	color: rgba(255, 255, 255, 0.2);
	line-height: 1;
}
