/**
 * 感謝頁面樣式
 * 包含首圖和感謝訊息內容
 */

/* ========== 頁面容器 ========== */
body.page-template-thankyou {
	background: radial-gradient(138.13% 156.21% at 50% 158.58%, #000 0%, #0D1340 100%);
}

.thankyou-page {
	width: 100%;
	background: radial-gradient(138.13% 156.21% at 50% 158.58%, #000 0%, #0D1340 100%);
}

/* ========== 首圖區塊 ========== */
.thankyou-hero {
	width: 100%;
	margin: 0;
	padding: 0;
	position: absolute;
	overflow: hidden;
}

.thankyou-hero .hero-image {
	width: 100%;
	height: auto;
	display: block;
	object-fit: cover;
}

.hero-rwd-image {
	display: none;
}

/* ========== 主內容區 ========== */
.thankyou-main {
	padding: 413px 0 253px;
	display: flex;
	justify-content: center;
	align-items: center;
}

.thankyou-main .container {
	max-width: 1440px;
	width: 100%;
}

.thank-you-title {
	color: #FFF;
	text-align: center;
	font-family: inherit;
	font-size: 250px;
	font-style: italic;
	font-weight: 700;
	line-height: 244px; /* 97.6% */
}

.thankyou-content {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 2rem;
	margin-top: 65px;
}

/* ========== 感謝訊息 ========== */
.thankyou-message {
	color: #FFF;
font-family: Inter;
font-size: 36px;
font-style: normal;
font-weight: 400;
line-height: 81.071px; /* 225.198% */
}

/* ========== 按鈕區域 ========== */
.thankyou-actions {
}

.btn-home {
	padding: 0 24px;
	width: 324px;
	height: 66px;
	color: #FFF;
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	font-size: 1.75rem;
	background: var(--0001, linear-gradient(20deg, #0D1340 -4.11%, #131949 -2.09%, #1B2155 1.96%, #1F265C 7.02%, #21285E 21.19%, #262D62 30.29%, #363E6F 40.41%, #515A85 53.57%, #7681A3 66.73%, #A6B2CA 80.89%, #DFEEF9 96.07%, #E3F2FC 97.09%));
	cursor: pointer;
	transition: all var(--transition-base);
	box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
	justify-content: space-between;
}

.btn-home:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(228, 228, 228, 0.571);
	color: #FFF;
	text-decoration: none;
}

.btn-home .arrow-img {
	width: 40px;
	height: 24px;
	transition: transform var(--transition-base);
}

.btn-home:hover .arrow-img {
	transform: translateX(4px);
}

/* ========== 響應式：平板 (≤1024px) ========== */
@media (max-width: 1024px) {
	.thankyou-main {
		padding: 3rem 1rem 4rem;
	}

	.thankyou-content {
		padding: 2.5rem 1.5rem;
		gap: 1.75rem;
	}

	.thankyou-message {
		font-size: 1.25rem;
	}

	.btn-home {
		padding: 0.875rem 1.75rem;
		font-size: 1rem;
	}
}

/* ========== 響應式：手機 (≤480px) ========== */
@media (max-width: 480px) {
	.thankyou-page {
		min-height: 65vh;
	}
	.thankyou-hero .hero-image {
		display: none;
	}

	.hero-rwd-image {
		display: block;
		width: 100%;
	}

	.thank-you-title {
		color: #FFF;
		text-align: center;
		font-size: 64.061px;
		font-style: italic;
		font-weight: 700;
		line-height: 62.524px; /* 97.6% */
	}
	.thankyou-main {
		padding: 150px 0 108px;
	}

	.thankyou-content {
		padding: 0;
		gap: 0;
		margin-top: 5px;
	}

	.thankyou-message {
		font-size: 1.125rem;
		line-height: 66.071px;
	}

	.btn-home {
		width: 108px;
		height: 22px;
		font-size: 0.9375rem;
		gap: 0.5rem;
		padding: 0 8px;
		background: var(--0001, linear-gradient(5deg, #0D1340 -4.11%, #131949 -2.09%, #1B2155 1.96%, #1F265C 7.02%, #21285E 21.19%, #262D62 30.29%, #363E6F 40.41%, #515A85 53.57%, #7681A3 66.73%, #A6B2CA 80.89%, #DFEEF9 96.07%, #E3F2FC 97.09%));
	}

	.btn-home .arrow-img {
		width: 13.301px;
		height: 8px;
	}
}
