:root {
	--pt-bg-base: #050505;
	--pt-bg-gradient: radial-gradient(circle at center, #1a1505 0%, #050505 60%);
	--pt-gold-primary: #D4AF37;
	--pt-gold-bright: #F5D76E;
	--pt-gold-soft: #E8C95A;
	--pt-text-white: #FFFFFF;
	--pt-text-secondary: #BDBDBD;
	--pt-border-subtle: rgba(212, 175, 55, 0.20);
	--pt-border-strong: rgba(212, 175, 55, 0.45);
	--pt-font-display: "Playfair Display", "Georgia", serif;
	--pt-font-sans: "Inter", "Helvetica Neue", sans-serif;
}

.pt-thankyou-page {
	position: relative;
	width: 100%;
	min-height: 100vh;
	background: var(--pt-bg-base);
	background-image: var(--pt-bg-gradient);
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	font-family: var(--pt-font-sans);
	color: var(--pt-text-white);
	padding: 4rem 2rem;
	box-sizing: border-box;
}

/* Background & Atmosphere */
.pt-thankyou-ambient {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 80vw;
	height: 80vw;
	max-width: 800px;
	max-height: 800px;
	transform: translate(-50%, -50%);
	background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, rgba(5, 5, 5, 0) 70%);
	pointer-events: none;
	animation: pt-pulse-ambient 8s infinite alternate ease-in-out;
}

@keyframes pt-pulse-ambient {
	0% { opacity: 0.5; transform: translate(-50%, -50%) scale(0.95); }
	100% { opacity: 1; transform: translate(-50%, -50%) scale(1.05); }
}

/* Side Decorations */
.pt-thankyou-side-decor {
	position: absolute;
	top: 0;
	bottom: 0;
	width: 15vw;
	background: linear-gradient(90deg, rgba(255,255,255,0.01) 0%, transparent 100%);
	backdrop-filter: blur(10px);
	pointer-events: none;
	border-left: 1px solid rgba(255,255,255,0.03);
}
.left-decor { left: -5vw; transform: skewX(-10deg); }
.right-decor { right: -5vw; transform: skewX(10deg); border-left: none; border-right: 1px solid rgba(255,255,255,0.03); background: linear-gradient(-90deg, rgba(255,255,255,0.01) 0%, transparent 100%); }

/* Content Layout */
.pt-thankyou-content {
	position: relative;
	z-index: 10;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	max-width: 900px;
	width: 100%;
}

/* Icon */
.pt-thankyou-icon-wrapper {
	margin-bottom: 2rem;
	animation: pt-reveal-scale 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.pt-thankyou-icon {
	width: 100px;
	height: 100px;
	border-radius: 50%;
	border: 3px solid var(--pt-gold-primary);
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	box-shadow: 0 0 30px rgba(212, 175, 55, 0.3), inset 0 0 20px rgba(212, 175, 55, 0.2);
	background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(0,0,0,0.8));
	transform-style: preserve-3d;
}
.pt-thankyou-icon::before {
	content: '';
	position: absolute;
	inset: -10px;
	border-radius: 50%;
	border: 1px solid var(--pt-border-subtle);
	animation: pt-spin-slow 20s linear infinite;
}
.pt-thankyou-icon svg {
	filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.8));
}

@keyframes pt-reveal-scale {
	0% { opacity: 0; transform: scale(0.85) translateY(20px); }
	100% { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes pt-spin-slow {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

/* Typography */
.pt-thankyou-title {
	font-family: var(--pt-font-display);
	font-size: clamp(3rem, 6vw, 5.5rem);
	font-weight: 600;
	margin: 0 0 0.5rem 0;
	line-height: 1.1;
	letter-spacing: -1px;
	opacity: 0;
	animation: pt-fade-up 1s 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.pt-thankyou-title .gold-text {
	color: var(--pt-gold-primary);
}

.pt-thankyou-subtitle {
	font-size: 0.85rem;
	letter-spacing: 4px;
	text-transform: uppercase;
	color: var(--pt-text-white);
	margin-bottom: 2rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	opacity: 0;
	animation: pt-fade-up 1s 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.pt-thankyou-divider {
	width: 40px;
	height: 2px;
	background: var(--pt-gold-primary);
	box-shadow: 0 0 8px var(--pt-gold-primary);
}

.pt-thankyou-message {
	color: var(--pt-text-secondary);
	font-size: 1.1rem;
	line-height: 1.6;
	max-width: 650px;
	margin: 0 auto 3.5rem auto;
	font-weight: 300;
	opacity: 0;
	animation: pt-fade-up 1s 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Features Grid */
.pt-thankyou-features {
	display: flex;
	flex-wrap: nowrap;
	justify-content: center;
	gap: 2rem;
	margin-bottom: 3.5rem;
	width: 100%;
	opacity: 0;
	animation: pt-fade-up 1s 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.pt-thankyou-feature {
	display: flex;
	align-items: center;
	gap: 1rem;
	position: relative;
	padding: 0 1rem;
	transition: all 0.3s ease;
}
.pt-thankyou-feature:not(:last-child)::after {
	content: '';
	position: absolute;
	right: -1rem;
	top: 50%;
	transform: translateY(-50%);
	height: 30px;
	width: 1px;
	background: var(--pt-border-subtle);
}
.pt-thankyou-feature:hover {
	transform: translateY(-3px);
}
.feature-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
}
.pt-thankyou-feature:hover .feature-icon {
	filter: drop-shadow(0 0 5px var(--pt-gold-soft));
	transform: scale(1.1);
}
.feature-title {
	font-size: 0.85rem;
	color: var(--pt-text-secondary);
	text-align: left;
	line-height: 1.3;
	font-weight: 400;
}
.pt-thankyou-feature:hover .feature-title {
	color: var(--pt-text-white);
}

/* Button */
.pt-thankyou-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	padding: 1.1rem 2.5rem;
	background: linear-gradient(135deg, var(--pt-gold-bright) 0%, var(--pt-gold-primary) 100%);
	color: #000;
	text-decoration: none;
	border-radius: 50px;
	font-weight: 600;
	font-size: 0.95rem;
	letter-spacing: 1px;
	box-shadow: 0 10px 25px rgba(212, 175, 55, 0.2);
	position: relative;
	overflow: hidden;
	transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
	opacity: 0;
	animation: pt-fade-up 1s 1.1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.pt-thankyou-btn::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
	transition: left 0.6s ease;
}
.pt-thankyou-btn:hover {
	transform: translateY(-3px);
	box-shadow: 0 15px 35px rgba(212, 175, 55, 0.4);
	color: #000;
}
.pt-thankyou-btn:hover::before {
	left: 100%;
}
.pt-thankyou-btn svg {
	transition: transform 0.3s ease;
}
.pt-thankyou-btn:hover svg {
	transform: translateX(6px);
}

/* Footer */
.pt-thankyou-footer {
	margin-top: 3.5rem;
	font-size: 0.75rem;
	letter-spacing: 3px;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.4);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	opacity: 0;
	animation: pt-fade-up 1s 1.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.pt-thankyou-footer-divider {
	width: 30px;
	height: 1px;
	background: var(--pt-border-strong);
}

/* Light Trails */
.pt-thankyou-trails {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 40vh;
	pointer-events: none;
	opacity: 0.6;
	overflow: hidden;
}
.pt-thankyou-trails svg {
	width: 150%;
	height: 100%;
	position: absolute;
	bottom: 0;
	left: -25%;
}
.pt-thankyou-trails .trail {
	fill: none;
	stroke: url(#gold-gradient);
	stroke-width: 1px;
	filter: drop-shadow(0 0 4px var(--pt-gold-primary));
}
.pt-thankyou-trails .t1 { stroke: rgba(212, 175, 55, 0.3); animation: pt-wave 15s infinite alternate linear; }
.pt-thankyou-trails .t2 { stroke: rgba(212, 175, 55, 0.15); animation: pt-wave 20s infinite alternate-reverse linear; }

@keyframes pt-wave {
	0% { transform: translateX(0) scaleY(1); }
	100% { transform: translateX(5%) scaleY(1.1); }
}

/* Particles */
.pt-thankyou-particles {
	position: absolute;
	inset: 0;
	pointer-events: none;
	z-index: 1;
}
.pt-thankyou-particle {
	position: absolute;
	background: var(--pt-gold-soft);
	border-radius: 50%;
	box-shadow: 0 0 10px var(--pt-gold-bright);
	opacity: 0;
	animation: pt-float 10s infinite ease-in-out;
}
.p1 { width: 4px; height: 4px; top: 20%; left: 30%; animation-delay: 0s; }
.p2 { width: 2px; height: 2px; top: 40%; left: 70%; animation-delay: 2s; }
.p3 { width: 5px; height: 5px; top: 70%; left: 20%; animation-delay: 4s; }
.p4 { width: 3px; height: 3px; top: 15%; left: 80%; animation-delay: 1s; }
.p5 { width: 4px; height: 4px; top: 80%; left: 80%; animation-delay: 5s; }
.p6 { width: 2px; height: 2px; top: 50%; left: 10%; animation-delay: 3s; }
.p7 { width: 3px; height: 3px; top: 90%; left: 50%; animation-delay: 6s; }
.p8 { width: 5px; height: 5px; top: 30%; left: 50%; animation-delay: 2.5s; }

@keyframes pt-float {
	0% { transform: translateY(0) scale(1); opacity: 0; }
	20% { opacity: 0.8; }
	80% { opacity: 0.8; }
	100% { transform: translateY(-100px) scale(0); opacity: 0; }
}

/* Animations Core */
@keyframes pt-fade-up {
	0% { opacity: 0; transform: translateY(20px); filter: blur(4px); }
	100% { opacity: 1; transform: translateY(0); filter: blur(0); }
}

/* Responsive Design */
@media (max-width: 1024px) {
	.pt-thankyou-features {
		flex-wrap: wrap;
		max-width: 600px;
	}
	.pt-thankyou-feature {
		width: calc(50% - 1rem);
		justify-content: center;
	}
	.pt-thankyou-feature:not(:last-child)::after {
		display: none;
	}
	.pt-thankyou-side-decor {
		display: none;
	}
}

@media (max-width: 768px) {
	.pt-thankyou-page {
		padding: 3rem 1.5rem;
	}
	.pt-thankyou-title {
		font-size: clamp(2.5rem, 8vw, 3.5rem);
	}
	.pt-thankyou-subtitle {
		text-align: center;
		font-size: 0.75rem;
	}
	.pt-thankyou-message {
		font-size: 1rem;
		margin-bottom: 2.5rem;
	}
}

@media (max-width: 480px) {
	.pt-thankyou-icon {
		width: 80px;
		height: 80px;
	}
	.pt-thankyou-icon svg {
		width: 36px;
		height: 36px;
	}
	.pt-thankyou-features {
		flex-direction: column;
		gap: 1.5rem;
		align-items: center;
	}
	.pt-thankyou-feature {
		width: 100%;
		justify-content: center;
	}
	.pt-thankyou-btn {
		width: 100%;
		padding: 1rem 1.5rem;
	}
}

/* Prefers Reduced Motion */
@media (prefers-reduced-motion: reduce) {
	.pt-thankyou-page *,
	.pt-thankyou-page *::before,
	.pt-thankyou-page *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
	.pt-thankyou-particles,
	.pt-thankyou-ambient,
	.pt-thankyou-trails {
		display: none !important;
	}
	.pt-thankyou-title,
	.pt-thankyou-subtitle,
	.pt-thankyou-message,
	.pt-thankyou-features,
	.pt-thankyou-btn,
	.pt-thankyou-footer {
		opacity: 1;
		transform: none;
		filter: none;
	}
}