/* Globel */
* {
	text-decoration: none;
	list-style: none;
	outline: none;
	-webkit-text-size-adjust: 100%;
	-moz-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
	margin: 0;
	padding: 0;
}

html,
body {
	font-family: "SourceHanSerifTW-Bold", Microsoft JhengHei, sans-serif;
	font-weight: 700;
}

body {
	overflow-x: hidden;
	width: 100%;
	min-width: 1920px;
	background: #fff;
	display: flex;
	min-height: 100vh;
	flex-direction: column;
}

button {
	border: none;
	background: transparent;
	padding: 0;
}

/* wrap */
.wrap {
	background: url("../images/bg.jpg") no-repeat center;
	height: 3960px;
	min-width: 1920px;
}

/* Header */
.nav_bar {
	position: absolute;
	top: 10px;
	right: 0;
	width: 350px;
	display: flex;
	justify-content: space-evenly;
	align-items: center;
}
.nav_bar a {
	position: relative;
	width: 90px;
	height: 90px;
}

.billing {
	background: url("../images/icon_billing.png") no-repeat;
}
.download {
	background: url("../images/icon_download.png") no-repeat;
}
.home {
	background: url("../images/icon_homepage.png") no-repeat;
}
.billing:hover {
	background: url("../images/icon_billing_hover.png") no-repeat;
}
.download:hover {
	background: url("../images/icon_download_hover.png") no-repeat;
}
.home:hover {
	background: url("../images/icon_homepage_hover.png") no-repeat;
}

.anniversary_bg {
	width: 100%;
	display: flex;
	justify-content: center;
	position: absolute;
	top: 190px;
	z-index: 2;
}

/* Section按鈕 */
.section_bar {
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	position: absolute;
	top: 685px;
	z-index: 3;
}

.section_bar a::before {
	content: "";
	position: absolute;
	background: url("../images/main_btns/main_btn_frame.png") no-repeat;
	width: 245px;
	height: 225px;
	background-size: contain;
	z-index: -1;
}
.section_bar a:hover::before {
	animation: rotateFrame 1.2s linear infinite;
}

.sec1_btn,
.sec2_btn,
.sec3_btn,
.sec4_btn {
	width: 245px;
	height: 225px;
	margin: 0 60px;
}

.sec1_btn {
	background: url("../images/main_btns/main_btn1.png") no-repeat;
}
.sec1_btn:hover,
.sec1_btn:focus {
	background: url("../images/main_btns/main_btn1_hover.png") no-repeat;
}
.sec2_btn {
	background: url("../images/main_btns/main_btn2.png") no-repeat;
}
.sec2_btn:hover,
.sec2_btn:focus {
	background: url("../images/main_btns/main_btn2_hover.png") no-repeat;
}
.sec3_btn {
	background: url("../images/main_btns/main_btn3.png") no-repeat;
}
.sec3_btn:hover,
.sec3_btn:focus {
	background: url("../images/main_btns/main_btn3_hover.png") no-repeat;
}
.sec4_btn {
	background: url("../images/main_btns/main_btn4.png") no-repeat;
}
.sec4_btn:hover,
.sec4_btn:focus {
	background: url("../images/main_btns/main_btn4_hover.png") no-repeat;
}

.main-title {
	background: url("../images/main_title.png") no-repeat;
	width: 286px;
	height: 121px;
	position: absolute;
	top: 110px;
	left: 817px;
}

.slogan {
	background: url("../images/slogan.png") no-repeat;
	width: 1103px;
	height: 495px;
	position: absolute;
	top: 152px;
	left: 409px;
}

.side-menu,
.fb-fans {
	display: flex;
	flex-direction: column;
	align-items: center;
	position: absolute;
	width: 200px;
	height: 2880px;
	top: 960px;
	right: 0;
	margin: 0 10px;
	z-index: 10;
}
.fb-fans {
	left: 0;
}
.fb-btn a {
	background: url("../images/fans_btn1.png") no-repeat;
	width: 210px;
	height: 515px;
	cursor: pointer;
}
.fb-btn img {
	width: 210px;
	height: 515px;
}

.side-title {
	background: url("../images/side_title.png") no-repeat;
	width: 196px;
	height: 82px;
	margin-bottom: 10px;
}

.side-btns,
.fb-btn {
	position: sticky;
	display: flex;
	flex-direction: column;
	align-items: center;
	top: 150px;
	padding-bottom: 45px;
}
.fb-btn {
	padding-top: 240px;
}

.fb-fans .fb-btn a::before {
	content: "";
	background: url("../images/fans_btn_light.png") no-repeat;
	position: absolute;
	left: 50%;
	top: 62.5%;
	transform: translate(-50%, -50%) scale(1);
	width: 210px;
	height: 515px;
	pointer-events: none;
	z-index: -1;
	animation: glowPulse 2s ease-in-out infinite;
}

.fb-fans .fb-btn a:hover {
	background: url("../images/fans_btn2.png") no-repeat;
}

.side-btns {
	margin: 10px 0;
}
.side-btns a {
	width: 128px;
	height: 117px;
	margin: 10px 0;
}

.side-btns a::before {
	content: "";
	background: url("../images/side_btn_frame.png") no-repeat;
	width: 128px;
	height: 117px;
	position: absolute;
	opacity: 0;
	transform: rotate(0deg);
	transform-origin: center;
	transition: opacity 0.25s ease, transform 0.35s ease;
	pointer-events: none;
	z-index: -1;
}

.side-btns a:hover::before,
.side-btns a.active::before {
	opacity: 1;
	transform: rotate(180deg);
}

.top {
	background: url("../images/top.png") no-repeat;
	width: 77px;
	height: 77px;
	cursor: pointer;
}
.top:hover {
	background: url("../images/top_hover.png") no-repeat;
}

/* Side menu */
.side-btn1 {
	background: url("../images/side_btn1.png") no-repeat;
}
.side-btn2 {
	background: url("../images/side_btn2.png") no-repeat;
}
.side-btn3 {
	background: url("../images/side_btn3.png") no-repeat;
}
.side-btn4 {
	background: url("../images/side_btn4.png") no-repeat;
}
.side-btn1:hover,
.side-btn1.active {
	background: url("../images/side_btn1_hover.png") no-repeat;
}
.side-btn2:hover,
.side-btn2.active {
	background: url("../images/side_btn2_hover.png") no-repeat;
}
.side-btn3:hover,
.side-btn3.active {
	background: url("../images/side_btn3_hover.png") no-repeat;
}
.side-btn4:hover,
.side-btn4.active {
	background: url("../images/side_btn4_hover.png") no-repeat;
}

/* Main */
.main {
	height: 2880px;
	position: relative;
	top: 960px;
}

.section {
	max-width: 1920px;
	margin: 0 auto;
	position: relative;
	display: flex;
	justify-content: center;
}

.title {
	width: 490px;
	height: 91px;
	position: absolute;
	top: 50px;
}

.info_content ul {
	margin-left: 18px;
}

.info_content li {
	list-style-type: "※";
}

.info_title {
	font-size: 24px;
	margin-bottom: 5px;
}
.info_content {
	font-size: 18px;
	font-family: "Microsoft JhengHei UI";
}

/* Sec1 */
#sec1 {
	height: 960px;
}

.sec1_title {
	background: url("../images/sec1_title.png") no-repeat center;
	top: 100px;
}

.sec1-info {
	background: url("../images/text_bg1.png") no-repeat;
	width: 730px;
	height: 533px;
	position: absolute;
	top: 258px;
	left: 223px;
	display: flex;
	justify-content: center;
	align-items: center;
	color: rgba(54, 29, 17, 1);
}
.sec1-info-container {
	position: absolute;
	width: 82%;
	height: 85%;
	line-height: 1.5;
	letter-spacing: 1px;
}

.sec1-box1,
.sec1-box2,
.sec1-box3 {
	width: 100%;
	height: auto;
}

.sec1-box2 {
	margin: 20px 0;
}

.sec1-table {
	background: url("../images/table1.png") no-repeat;
	width: 724px;
	height: 468px;
	position: absolute;
	top: 290px;
	left: 980px;
}

/* Sec2 */
#sec2 {
	height: 960px;
}

.sec2_title {
	background: url("../images/sec2_title.png") no-repeat center;
}

.sec2-info {
	background: url("../images/text_bg2.png") no-repeat;
	width: 779px;
	height: 588px;
	position: absolute;
	top: 184px;
	left: 277px;
	display: flex;
	justify-content: center;
	align-items: center;
	color: rgba(54, 29, 17, 1);
}
.sec2-info-container {
	position: absolute;
	width: 69%;
	height: 60%;
	line-height: 1.5;
	letter-spacing: 1px;
}

.sec2-box1,
.sec2-box2,
.sec2-box3 {
	width: 100%;
	height: auto;
}

.sec2-box2 {
	margin: 20px 0;
}

.sec2-table {
	background: url("../images/table2.png") no-repeat;
	width: 599px;
	height: 278px;
	position: absolute;
	top: 645px;
	left: 800px;
}

.level-up {
	background: url("../images/level_up.png") no-repeat;
	width: 648px;
	height: 540px;
	position: absolute;
	top: 100px;
	right: 200px;
}

/* Sec3 */
#sec3 {
	height: 960px;
}

.sec3_title {
	background: url("../images/sec3_title.png") no-repeat center;
	z-index: 3;
	top: 190px;
}

.sec3-info {
	background: url("../images/text_bg3.png") no-repeat;
	width: 1292px;
	height: 874px;
	position: absolute;
	top: 40px;
	left: 315px;
	display: flex;
	justify-content: center;
	align-items: center;
	color: rgba(54, 29, 17, 1);
}

.sec3-info-container {
	width: 78%;
	height: 52%;
	line-height: 1.5;
	letter-spacing: 1px;
	position: absolute;
	top: 30%;
	text-shadow: 1px 1px 15px rgba(255, 255, 255, 1),
		-1px 1px 15px rgba(255, 255, 255, 1),
		1px -1px 15px rgba(255, 255, 255, 1),
		-1px -1px 15px rgba(255, 255, 255, 1);
}

.sec3-info .info_title {
	margin: 0;
	width: 130px;
	text-align: center;
}

.sec3-box1 {
	font-family: "SourceHanSerifTW-Heavy";
	font-style: italic;
	color: rgba(175, 34, 34, 1);
	font-size: 24px;
	line-height: 35px;
	text-align: center;
	margin-bottom: 30px;
}

.sec3-box2,
.sec3-box3,
.sec3-box4 {
	display: flex;
	align-items: baseline;
	justify-content: center;
	margin-bottom: 20px;
}

.sec3-info .info_content {
	width: 80%;
}

.sec3-info .ps {
	color: rgba(180, 117, 68, 1);
}

.sec3-decoration {
	background: url("../images/deco.png") no-repeat;
	width: 1589px;
	height: 208px;
	position: absolute;
	bottom: -10px;
	z-index: 3;
}

/* Footer */
.footer-wrapper {
	font-family: "Microsoft JhengHei UI";
	position: relative;
	color: #fff;
	font-size: 12px;
	text-align: center;
	letter-spacing: 1px;
	line-height: 15px;
	background: #3d2113;
	width: 100%;
	height: 120px;
	display: flex;
	justify-content: center;
	align-items: center;
}
.footerbox {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-evenly;
	max-width: 1920px;
	width: 75%;
	overflow: hidden;
}
.footer-logo {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	margin-right: 10px;
	height: 100px;
	width: 550px;
}
.footer-logo img {
	max-width: 200px;
	margin: 0 10px;
}
.spec {
	text-align: left;
}
.spec .dg-mail a {
	color: rgba(42, 188, 214, 1);
	margin-right: 10px;
	text-decoration: underline;
}
.spec .dg-mail a:hover {
	color: rgb(31, 155, 177);
}
.grade {
	max-width: 440px;
	display: flex;
	align-items: center;
	justify-content: space-around;
}
.grade ul {
	text-align: left;
	margin-left: 10px;
	list-style: none;
}
.grade li:nth-child(4) {
	color: rgba(42, 188, 214, 1);
}

.logo-digeam {
	background: url("../images/footer/digeam_logo.png") no-repeat;
	width: 253px;
	height: 61px;
}

.logo-mgame {
	background: url("../images/footer/mgame_logo.png") no-repeat;
	width: 169px;
	height: 61px;
}

.grade-icon {
	background: url("../images/footer/15plus.png") no-repeat;
	width: 56px;
	height: 56px;
}

/*---- Scrollbar ----*/
::-webkit-scrollbar {
	width: 0px;
}

@keyframes rotateFrame {
	from {
		transform: rotate(0deg);
	}
	to {
		transform: rotate(360deg);
	}
}

@keyframes glowPulse {
	0%,
	100% {
		transform: translate(-50%, -50%) scale(1);
	}
	50% {
		transform: translate(-50%, -50%) scale(1.06);
	}
}

@media (prefers-reduced-motion: reduce) {
	.fb-fans .fb-btn::before {
		animation: none;
		opacity: 0.9;
	}
}

/* Fonts */
@font-face {
	font-family: "SourceHanSerifTW-Bold";
	src: url("../fonts/SourceHanSerifTW-Bold.otf") format("opentype");
	font-display: swap;
}

@font-face {
	font-family: "SourceHanSerifTW-Heavy";
	src: url("../fonts/SourceHanSerifTW-Heavy.otf") format("opentype");
	font-display: swap;
}
