/* =========================
   基本樣式
========================= */
body {
	margin: 0;
	font-family: Arial, sans-serif;
	background-color: #fff;
	color: #000;
	overflow-x: hidden;
}

/* =========================
   Header
========================= */
header {
	opacity: 0;
	transform: translateY(-20px);
	transition: opacity 1s ease, transform 1s ease;
	pointer-events: none;
	/* 避免一開始可以點 */
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 20px 40px;
	border-bottom: 1px solid rgba(0, 0, 0, 0.12);
	position: relative;
	z-index: 10;
	/* 確保 header 在 hero-bg 上方 */
}

header.active {
	opacity: 1;
	transform: translateY(0);
	pointer-events: auto;
	/* 動畫完成可以點 */
}

.header-right {
	display: flex;
	align-items: center;
	gap: 16px;
	/* EN 跟 Menu 的距離 */
}

.title img {
	height: 42px;
	width: auto;
	display: block;
}

.title a {
	color: inherit;
	/* 繼承父元素 .title 的顏色 */
	text-decoration: none;
	/* 移除下劃線 */
}

.header-center-title {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	font-size: clamp(29px, 4vw, 23px);
	font-weight: 700;
	line-height: 1;
	color: #eb1670;
	letter-spacing: 0.02em;
	white-space: nowrap;
	pointer-events: none;
}

/* =========================
   按鈕
========================= */
.lang-btn,
.menu-btn {
	font-size: 18px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 600;
	cursor: pointer;
	transition:
		transform 0.2s ease,
		box-shadow 0.2s ease;
}

.lang-btn img {
	width: 50px;
	height: 50px;
	display: block;
}

.menu-btn {
	gap: 6px;
	padding: 10px 20px;
	background-color: #fff;
	color: #ff4fa3;
	font-size: 16px;
	border-radius: 9px;
	box-shadow: 0 6px 14px rgba(255, 79, 163, 0.35);
}

.menu-btn:hover {
	transform: scale(1.05);
	box-shadow: 0 10px 22px rgba(255, 79, 163, 0.45);
}

/* =========================
   Page Hero
========================= */
.page-hero {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	overflow: hidden;
	z-index: 0;
	pointer-events: none;
}

.page-hero video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* =========================
   Menu
========================= */
.side-menu {
	position: fixed;
	top: 20px;
	/* 跟按鈕對齊 */
	right: 20px;
	/* 跟按鈕對齊 */
	width: 120px;
	background-color: #fff;
	border-radius: 20px;
	padding: 30px 20px;
	overflow: visible;
	box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
	transform: translateY(-150%);
	/* 初始隱藏在上方 */
	z-index: 10000;
}

.side-menu.open {
	animation: menuDrop 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes menuDrop {
	0% {
		transform: translateY(-150%);
	}

	20% {
		transform: translateY(50px);
		/* 超過目標位置 */
	}

	40% {
		transform: translateY(-40px);
		/* 超過目標位置 */
	}

	60% {
		transform: translateY(30px);
		/* 超過目標位置 */
	}

	80% {
		transform: translateY(-20px);
		/* 回彈 */
	}

	90% {
		transform: translateY(10px);
		/* 再回彈 */
	}

	100% {
		transform: translateY(0);
		/* 停在最終位置 */
	}
}

.side-menu.open .menu-item:nth-child(1) {
	transition-delay: 0.5s;
}

.side-menu.open .menu-item:nth-child(2) {
	transition-delay: 0.8s;
}

.side-menu.open .menu-item:nth-child(3) {
	transition-delay: 1.1s;
}

.side-menu.open .menu-item:nth-child(4) {
	transition-delay: 1.4s;
}

.side-menu.open .menu-item:nth-child(5) {
	transition-delay: 1.7s;
}

.side-menu.open .menu-item:nth-child(6) {
	transition-delay: 2.0s;
}

.side-menu.open .menu-item:nth-child(7) {
	transition-delay: 2.3s;
}

/* Menu 項目動畫 */
.side-menu .menu-item {
	font-size: 18px;
	padding: 12px 10px;
	margin-bottom: 10px;
	color: #ff4fa3;
	font-weight: 600;
	border-radius: 12px;
	display: block;
	text-decoration: none;
	opacity: 0;
	transform: translateY(-30px);
	/* 從上方滑入 */
	transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
		opacity 0.4s ease;
}

.side-menu.open .menu-item {
	opacity: 1;
	transform: translateY(0);
}

.menu-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.4);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease;
	z-index: 1500;
}

.menu-overlay.show {
	opacity: 1;
	visibility: visible;
}

.menu-item {
	font-size: 22px;
	padding: 15px;
	margin-bottom: 15px;
	cursor: pointer;
	display: block;
	text-decoration: none;
	color: #000;
	border-radius: 6px;
	position: relative;
	overflow: hidden;
	text-align: center;
}

.menu-item::before {
	content: "";
	position: absolute;
	inset: 0;
	background: #ff8ac2;
	opacity: 0;
	transform: translateX(-30%);
	transition:
		opacity 0.25s ease,
		transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
	z-index: -1;
}

.menu-item:hover {
	color: #fff;
	transform: translateX(8px) scale(1.03);
}

.menu-item:hover::before {
	opacity: 1;
	transform: translateX(0);
}

.side-menu .menu-item span {
	display: inline-block;
	transform-style: preserve-3d;
	backface-visibility: hidden;
}

.side-menu .menu-item:hover span {
	animation: textRoll 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes textRoll {
	from {
		transform: rotateX(0deg);
	}

	to {
		transform: rotateX(360deg);
	}
}

/* ===== Menu 子選單（展覽資訊展開） ===== */
.menu-item-expandable {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	cursor: pointer;
	user-select: none;
}

.menu-expand-arrow {
	font-size: 14px;
	transition: transform 0.3s ease;
	display: inline-block;
}

.menu-item-expandable.expanded .menu-expand-arrow {
	transform: rotate(180deg);
}

.menu-sub-list {
	display: none;
	padding: 0 0px 0px;
	margin-top: -22px;
}

.menu-sub-list.open {
	display: block;
}

.menu-sub-line-wrap {
	display: flex;
	align-items: flex-start;
}

.menu-sub-line-col {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding-top: 16px;
}

.menu-sub-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background-color: #ff4fa3;
	flex-shrink: 0;
}

.menu-sub-connector {
	width: 2px;
	flex: 1;
	min-height: 28px;
	background-color: #ff4fa3;
}

.menu-sub-links {
	display: flex;
	flex-direction: column;
	gap: 0;
	flex: 1;
}

.menu-sub-item {
	display: block;
	color: #ff4fa3;
	font-size: 17px;
	font-weight: 500;
	text-decoration: none;
	padding: 8px 6px;
	border-radius: 6px;
	text-align: center;
	transition: color 0.2s ease, background 0.2s ease;
}

.menu-sub-item:hover {
	color: #ff4fa3;
	background: rgba(255, 79, 163, 0.07);
}

/* =========================
   Page Overlay
========================= */
#pageOverlayFake {
	position: fixed;
	inset: 0;
	opacity: 1;
	pointer-events: none;
	transition: opacity 1s ease;
	/* 可調整淡出時間 */
	backdrop-filter: blur(20px);
	/*可選，加點模糊感*/
	z-index: 9999;
	display: flex;
}

.overlay-block {
	flex: 0.1;
	filter: blur(10px);
	transition: filter 0.8s ease;
}


/* 淡出效果 */
#pageOverlayFake.hidden {
	opacity: 0;
}

/* =========================
   Page Content Animation
========================= */
#pageContentFake {
	transform: translateY(-50%);
	padding-top: 1000px;
}

#pageContentFake.active {
	transform: translateY(0);
}

#pageContent {
	transform: translateY(-50%);
	transition: transform 2s ease;
}

#pageContent.active {
	transform: translateY(0);
}

/* =========================
   Footer
========================= */
footer {
	display: flex;
	justify-content: center;
	gap: 30px;
	padding: 20px;
	font-size: 14px;
	flex-wrap: wrap;
}

.footer-bar {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	padding: 14px 28px;
	width: fit-content;
	margin: 0 auto 40px;
	font-size: 14px;
	color: #333;
	border-top: 1px solid #9a9a9a;
}

.footer-bar .dot {
	color: #777;
}

.footer-bar .social {
	display: flex;
	gap: 12px;
	margin-left: 20px;
}

.footer-bar .social i {
	font-size: 22px;
	transition: transform .2s ease;
}

.footer-bar .social i:hover {
	transform: scale(1.15);
}

/* ===== 內容區塊（專刊資訊） ===== */
.content {
	width: 1200px;
	margin: 120px auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 120px;
	font-family: "Noto Sans TC", sans-serif;
}

.content-text {
	width: 520px;
}

.content-title {
	font-size: 40px;
	font-weight: 700;
	line-height: 1.3;
	margin-bottom: 30px;
}

.content-desc {
	font-size: 15px;
	color: #8f8f8f;
	line-height: 1.9;
	margin-bottom: 50px;
}

.price-row {
	display: flex;
	align-items: center;
	gap: 50px;
	margin-bottom: 14px;
}

.price-text {
	font-size: 34px;
	font-weight: 700;
}

.buy-btn {
	background: #F1027C;
	color: #fff;
	padding: 15px 35px;
	font-size: 20px;
	font-weight: 700;
	text-decoration: none;
	display: inline-block;
	border-radius: 34px;
}

.buy-note {
	position: relative;
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 23px;
	color: #9a9a9a;
}

.buy-note .tooltip {
	position: absolute;
	top: 44px;
	left: 20%;
	transform: translateX(-50%);
	padding: 8px 14px;
	border-radius: 32px;
	background: rgba(255, 255, 255, 0.95);
	border: 1px solid rgba(0, 0, 0, 0.12);
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
	color: #333;
	font-size: 13px;
	white-space: nowrap;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.2s ease;
}

.buy-note:hover .tooltip,
.buy-note:focus-within .tooltip {
	opacity: 1;
}

.content-image {
	width: 520px;
}

.content-image img {
	width: 148%;
	display: block;
}

/* ===== 首頁底部嵌入區塊 ===== */
.designer-slider {
	position: relative;
	width: min(1210px, 92vw);
	height: auto;
	margin: 60px auto 160px;
	perspective: none;
}

.fp-iframe {
	display: block;
	width: 100%;
	height: 560px;
	border: 0;
	border-radius: 12px;
	background: #f8f8f8;
}

@media (max-width: 1024px) {
	.fp-iframe {
		height: 500px;
	}
}

@media (max-width: 768px) {
	.designer-slider {
		width: 94vw;
		margin: 40px auto 120px;
	}

	.fp-iframe {
		height: 420px;
		border-radius: 10px;
	}
}
.full-width-intro {
	position: relative;
	width: 100%;
	min-height: 800px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	background: url("../assets/images/20260314/首頁概念底圖.png") no-repeat center top;
	background-size: cover;
}

.full-width-intro .full-image {
	display: none;
}

.text-side-by-side {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	margin: 80px auto;
	padding: 0 20px;
	position: relative;
	z-index: 5;
}

.text-left {
	position: relative;
	top: -45px;
}
.text-left h2 {
	font-size: 48px;
	font-weight: 700;
	margin-bottom: 10px;
	color: #eb1670;
}

.text-left .subtitle {
	font-size: 16px;
	color: #eb1670;
	letter-spacing: 1px;
}

.text-right {
	max-width: 1000px;
	/* 控制右邊文字不要太遠 */
	margin-left: 60px;
	/* 留白讓左側標題突出 */
	border-left: 1px solid rgba(0, 0, 0, 0.12);
	padding-left: 40px;
}

.text-right .description {
	font-size: 27px;
	line-height: 1.8;
	color: rgba(0, 0, 0, 0.55);
	margin: 0;
	/* 移除多餘間距 */
}

.buy-note a,
.buy-note a:visited,
.buy-note a:hover,
.buy-note a:active {
	color: #9a9a9a;
}