/* Import Libre Baskerville font */
@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&display=swap');

:root {
	--mr-bg-color: #fafafa;
	--mr-primary: #8b4513;
	--mr-secondary: #d2691e;
	--mr-accent: #f4a460;
	--mr-text: #2f2f2f;
	--mr-light-text: #ffffff;
	--mr-dark-accent: #654321;
	--mr-gray-light: #f5f5dc;
	--mr-gray: #8b7355;
	--mr-shadow: 0 8px 25px rgba(139, 69, 19, 0.15);
	--mr-transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
	--mr-border-radius: 12px;
	--mr-gradient-primary: linear-gradient(135deg, #8b4513 0%, #d2691e 100%);
	--mr-gradient-secondary: linear-gradient(135deg, #f4a460 0%, #deb887 100%);
	--mr-gradient-bg: linear-gradient(135deg, #fafafa 0%, #f5f5dc 100%);
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: 'Libre Baskerville', serif;
	background: var(--mr-gradient-bg);
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--mr-text);
}

.thank-you-container {
	text-align: center;
	padding: 2rem;
	max-width: 600px;
	width: 100%;
}

.thank-you-content {
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(10px);
	padding: 4rem 3rem;
	border-radius: var(--mr-border-radius);
	box-shadow: var(--mr-shadow);
	border: 1px solid rgba(139, 69, 19, 0.1);
	animation: fadeInUp 1s ease-out;
}

.check-mark {
	width: 120px;
	height: 120px;
	margin: 0 auto 3rem;
	position: relative;
}

.check-mark svg {
	width: 100%;
	height: 100%;
}

.check-mark__circle {
	stroke: var(--mr-primary);
	stroke-width: 2;
	stroke-dasharray: 166;
	stroke-dashoffset: 166;
	animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.check-mark__check {
	stroke: var(--mr-primary);
	stroke-width: 2;
	stroke-dasharray: 48;
	stroke-dashoffset: 48;
	animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes stroke {
	100% {
		stroke-dashoffset: 0;
	}
}

@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

h1 {
	font-family: 'Libre Baskerville', serif;
	font-size: 3.6rem;
	margin-bottom: 2rem;
	color: var(--mr-dark-accent);
	background: var(--mr-gradient-primary);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

p {
	font-size: 1.8rem;
	margin-bottom: 2rem;
	line-height: 1.6;
	color: var(--mr-text);
}

.back-button {
	display: inline-block;
	background: var(--mr-gradient-primary);
	color: var(--mr-light-text);
	padding: 1.6rem 3.2rem;
	text-decoration: none;
	border-radius: var(--mr-border-radius);
	font-size: 1.8rem;
	font-weight: 600;
	transition: var(--mr-transition);
	box-shadow: var(--mr-shadow);
	margin-top: 2rem;
}

.back-button:hover {
	transform: translateY(-3px);
	box-shadow: 0 12px 35px rgba(139, 69, 19, 0.25);
}

@media (max-width: 768px) {
	.thank-you-content {
		padding: 3rem 2rem;
	}
	
	h1 {
		font-size: 3rem;
	}
	
	p {
		font-size: 1.6rem;
	}
	
	.back-button {
		padding: 1.4rem 2.8rem;
		font-size: 1.6rem;
	}
}

@media (max-width: 480px) {
	.thank-you-container {
		padding: 1rem;
	}
	
	.thank-you-content {
		padding: 2rem 1.5rem;
	}
	
	h1 {
		font-size: 2.5rem;
	}
	
	p {
		font-size: 1.4rem;
	}
	
	.check-mark {
		width: 100px;
		height: 100px;
		margin-bottom: 2rem;
	}
}
