:root {
	--color-primary: #938cf4;
	--color-primary-active: #4462f2;
	--color-sky: #c0efff;
	--color-white: #fff;
	--color-text-dark: #3d3c3d;
	--color-gray: #626262;
	--color-shadow-rgb: 32 29 68;
	--font-family-tc: "Noto Sans TC", sans-serif;
}

img {
	height: auto;
	padding: 0;
	margin: 0;
	display: block;
}
.page-content {
	width: 100%;
	display: flex;
	flex: 1;
	flex-direction: column;
	position: relative;
	align-items: center;
	padding: 3cqw 0 16cqw;
	&::after {
		content: "";
		position: absolute;
		bottom: 0;
		left: 0;
		width: 100cqw;
		aspect-ratio: 1171 / 136;
		background: url("/resources/footer.webp") no-repeat center / 100% auto;
		pointer-events: none;
	}
}
.btn {
	background: transparent;
	z-index: 100;
}

/* #region - BACKGROUND - */
.bg-scroll {
	background: var(--color-white);
	&::after {
		content: "";
		position: absolute;
		left: 0;
		top: 0;
		inset: 0;
		background: linear-gradient(180deg, var(--color-sky) 0%, transparent 60%);
		pointer-events: none;
	}
}
.bg-fill {
	background: transparent;
}
.bg-bottom {
	background-image: url(/resources/bg-bottom.webp);
	aspect-ratio: 1171/1190;
}
/* #endregion */

/* #region - SPLASH - */
.splash {
	background: linear-gradient(180deg, var(--color-sky) 0%, transparent 50%, var(--color-primary) 100%);
}
.sp__bar-fill {
	background: var(--color-primary);
}
.sp__pct {
	font-family: "Lato", sans-serif;
	font-weight: 400;
	font-style: normal;
	font-size: 4cqw;
	color: #a0a0a0;
}
/* #endregion */

/* #region - HEADER - */
.page-head {
	width: 100%;
	display: grid;
}
.btn-home .btn__image {
	width: 100%;
}
.btn--back {
	margin: 3cqw 0 0 4cqw;
	width: 6cqw;
	aspect-ratio: 1;
	display: grid;
	place-items: center;
	padding: 0;
	color: #757575;
	background: transparent;
	border: 0.5cqw solid currentColor;
	border-radius: 1.4cqw;
	&:active {
		color: var(--color-primary-active);
		filter: none;
	}
}
.btn--back__arrow {
	width: 2.5cqw;
	height: 0.275cqw;
	position: relative;
	display: block;
	background: currentColor;
	border-radius: 999px;
	&::before {
		content: "";
		width: 1.75cqw;
		height: 1.75cqw;
		position: absolute;
		left: 0.1cqw;
		top: 50%;
		border-left: 0.275cqw solid currentColor;
		border-bottom: 0.275cqw solid currentColor;
		transform: translateY(-50%) rotate(45deg);
		transform-origin: center;
	}
}
/* #endregion */

/* #region - BUTTON GROUP - */
.button-group {
	display: flex;
	align-items: center;
	gap: 3cqw;
}
.button-group .btn--group {
	filter: drop-shadow(0 0 1cqw rgb(var(--color-shadow-rgb) / 20%));
	.btn__image {
		width: 43.33cqw;
	}
}
/* #endregion */

/* #region - P00_HOME - */
.home {
	/* 強制撐開高度 */
	min-height: max(100%, calc(100cqw / (var(--base-ratio))));
}
.home .bg-layer {
	background: url(/resources/home-bg.webp) no-repeat center/cover;
}
.home__title {
	position: absolute;
	top: 39.5%;
	width: 79.66cqw;
}
.home__start-btn {
	position: absolute;
	top: 79.9%;
	filter: drop-shadow(0 0 1.28cqw rgb(var(--color-shadow-rgb) / 50%));
	.btn__image {
		width: 75.9cqw;
	}
}
/* #endregion */

/* #region - P01_INTRO - */
.intro .page-content {
	padding-top: 10cqw;
	gap: 8cqw;
}
.intro__map {
	width: 93.08cqw;
}
.intro__company {
	width: 88.80cqw;
}
.intro__enter-btn {
	margin-top: 4.8cqw;
	filter: drop-shadow(0 0 1.28cqw rgb(var(--color-shadow-rgb) / 50%));
	.btn__image {
		width: 75.9cqw;
	}
}
/* #endregion */

/* #region - P02_MENU - */
.menu__buttons {
	display: grid;
	align-items: center;
	gap: 4cqw;
}
.btn--menu {
	filter: drop-shadow(0 0 1.54cqw rgb(var(--color-shadow-rgb) / 20%));
	.btn__image {
		width: 82.48cqw;
	}
}
/* #endregion */

/* #region - P03_EXHIBIT - */
.exhibit .bg-bottom {
	background-image: url(/resources/bg-bottom-empty.webp);
}
.exhibit .page-content {
	gap: 3cqw;
}
.poster-area {
	width: 89.32cqw;
	.progress-bar {
		width: 80%;
		&::after {
			background: var(--color-primary);
		}
	}
	.poster-img {
		filter: drop-shadow(0 0 1.54cqw rgb(var(--color-shadow-rgb) / 20%));
	}
}
/* #endregion */

/* #region - P04_FEEDBACK - */
.feedback-panel {
	width: 88cqw;
	box-sizing: border-box;
	padding: 8cqw 6.18cqw;
	color: var(--color-white);
	background: linear-gradient(26deg, var(--color-gray) 0%, #414141 74%, var(--color-text-dark) 100%);
	border-radius: 7cqw;
	.step {
		padding: 0;
	}
}
.feedback-heading {
	margin-bottom: 6cqw;
	text-align: center;
	font-family: var(--font-family-tc);
	color: var(--color-white);
}
.feedback-heading__zh,
.feedback-heading__en {
	margin: 0;
	color: inherit;
	font-family: inherit;
	font-weight: 700;
}
.feedback-heading__zh {
	font-size: 5cqw;
	line-height: 9.53cqw;
	letter-spacing: 0.5em;
	text-indent: 0.5em;
}
.feedback-heading__en {
	font-size: 3.5cqw;
	line-height: 6.31cqw;
	letter-spacing: 0.005em;
}
.feedback__form {
	align-items: center;
	gap: 5cqw;
}
.form-field {
	width: 75.64cqw;
	gap: 1.5cqw;
	color: var(--color-white);
	font-family: var(--font-family-tc);
}
.label {
	display: flex;
	flex-direction: column;
	margin-left: 2cqw;
	gap: 0.4cqw;
	color: inherit;
	font-family: inherit;
	font-weight: 400;
}
.label__zh {
	font-size: 3.8cqw;
	line-height: 1.5;
}
.label__en {
	font-size: 3.1cqw;
	line-height: 1.5;
}
.step-01 .label {
	flex-direction: row;
	align-items: baseline;
	gap: 1.5cqw;
}
.feedback .input {
	width: 75.64cqw;
	height: 8.46cqw;
	box-sizing: border-box;
	padding: 0 5cqw;
	border: 0;
	border-radius: 999px;
	background: var(--color-white);
	color: var(--color-text-dark);
	font-family: var(--font-family-tc);
	font-size: 3.3cqw;
}
.feedback .input::placeholder {
	color: #c3c3c3;
	opacity: 1;
}
.feedback textarea.input {
	height: 45cqw;
	padding: 5cqw;
	border-radius: 4cqw;
}

.feedback .button-group {
	margin-top: 6cqw;
	.btn--group .btn__image {
		width: auto;
		height: 9.6cqw;
	}

}
.form-status-overlay {
	--col-status: var(--color-primary);
	--text-status: 700 4cqw var(--font-family-tc);
}
.form-status-overlay .status-panel {
	color: var(--color-text-dark);
	background: linear-gradient(180deg, var(--color-white) 0%, #eefaff 55%, #e9e7ff 100%);
	box-shadow: 0 1cqw 4cqw rgb(var(--color-shadow-rgb) / 25%);
}
.form-status-overlay .loader {
	border-color: rgb(147 140 244 / 25%);
	border-top-color: var(--color-primary);
}
.form-status-overlay .icon-success {
	color: var(--color-primary);
}
.form-status-overlay .icon-error {
	color: var(--color-gray);
}
.form-status-overlay #statusBtn {
	background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-primary-active) 100%);
	border-radius: 999px;
}
/* #endregion */