:root {
	--cream: #faf6f1;
	--ink: #1a1a1a;
	--rose: #c45c5c;
	--rose-soft: #e8a0a0;
	--gold: #c4a35a;
	--sage: #7d9b8a;
}

.page {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 2rem 1.5rem;
	position: relative;
}

@keyframes float {

	0%,
	100% {
		transform: translate(0, 0);
	}

	50% {
		transform: translate(20px, -30px);
	}
}

@keyframes pulse {

	0%,
	100% {
		opacity: 0.2;
		transform: translateX(-50%) scale(1);
	}

	50% {
		opacity: 0.35;
		transform: translateX(-50%) scale(1.1);
	}
}

.card {
	position: relative;
	z-index: 1;
	max-width: 520px;
	width: 100%;
	text-align: center;
	background: rgba(255, 255, 255, 0.72);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border: 1px solid rgba(255, 255, 255, 0.9);
	border-radius: 28px;
	padding: 3rem 2.5rem 2.75rem;
	box-shadow:
		0 4px 24px rgba(26, 26, 26, 0.04),
		0 24px 64px rgba(196, 92, 92, 0.08);
	animation: cardIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes cardIn {
	from {
		opacity: 0;
		transform: translateY(28px) scale(0.97);
	}

	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

.icon-wrap {
	width: 88px;
	height: 88px;
	margin: 0 auto 1.75rem;
	border-radius: 50%;
	background: linear-gradient(145deg, #f8e8e8, #fff5f5);
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 8px 24px rgba(196, 92, 92, 0.15);
	animation: iconPop 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s both;
	position: relative;
}

.icon-wrap::after {
	content: '';
	position: absolute;
	inset: -6px;
	border-radius: 50%;
	border: 2px solid rgba(196, 92, 92, 0.2);
	animation: ring 1.2s ease-out 0.5s both;
}

@keyframes iconPop {
	from {
		opacity: 0;
		transform: scale(0.4);
	}

	to {
		opacity: 1;
		transform: scale(1);
	}
}

@keyframes ring {
	from {
		opacity: 1;
		transform: scale(0.85);
	}

	to {
		opacity: 0;
		transform: scale(1.25);
	}
}

.checkmark {
	width: 40px;
	height: 40px;
}

.checkmark path {
	stroke: var(--purple);
	stroke-width: 3px;
	stroke-linecap: round;
	stroke-linejoin: round;
	fill: none;
	stroke-dasharray: 48;
	stroke-dashoffset: 48px;
	animation: .6s .7s forwards drawCheck;
}

@keyframes drawCheck {
	to {
		stroke-dashoffset: 0;
	}
}

.label {
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--theme_color1);
	margin-bottom: .85rem;
	font-size: .75rem;
	font-weight: 600;
	animation: .7s .45s both fadeUp;
	display: inline-block;
}

h1 {
	font-size: clamp(2.4rem, 6vw, 3.25rem);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.02em;
	margin-bottom: 1rem;
	animation: fadeUp 0.7s ease 0.55s both;
}

.message {
	font-size: 1.05rem;
	line-height: 1.7;
	color: #5a5a5a;
	max-width: 100%;
	margin: 0 auto 2rem;
	animation: fadeUp 0.7s ease 0.65s both;
}

@keyframes fadeUp {
	from {
		opacity: 0;
		transform: translateY(14px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.divider {
	width: 48px;
	height: 2px;
	background: linear-gradient(90deg, transparent, var(--purple), transparent);
	margin: 0 auto 2rem;
	animation: fadeUp 0.7s ease 0.7s both;
}

.actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	justify-content: center;
	animation: fadeUp 0.7s ease 0.8s both;
}

.thankyou_btn {
	background: var(--navy);
	font-size: 14px;
	padding: 7px 18px;
	border-radius: 50px;
	font-weight: 600;
	color: #FFF;
	transition: all 0.5s ease;
}

.confetti {
	position: fixed;
	inset: 0;
	pointer-events: none;
	z-index: 2;
	overflow: hidden;
}

.confetti span {
	position: absolute;
	width: 8px;
	height: 8px;
	border-radius: 2px;
	opacity: 0;
	animation: confettiFall 3.5s ease-out forwards;
}

@keyframes confettiFall {
	0% {
		opacity: 1;
		transform: translateY(-20px) rotate(0deg);
	}

	100% {
		opacity: 0;
		transform: translateY(100vh) rotate(720deg);
	}
}

@media (max-width: 480px) {
	.card {
		padding: 2.25rem 1.5rem 2rem;
		border-radius: 22px;
	}

	.actions {
		flex-direction: column;
	}

	.btn {
		width: 100%;
	}
}