/* game inner page styles */

/* -- nav overrides -- */
.navbar {
	padding: 0 0;
	margin-bottom: 0;
}
#bs-example-navbar-collapse-1 {
	display: flex !important;
	align-items: center !important;
	justify-content: flex-start;
	min-height: 70px;
}
.navbar-header {
	display: flex;
	align-items: center;
}
.nav-right-group {
	display: flex;
	align-items: center;
	margin-left: 30px;
	flex: 1;
}
.game-nav {
	margin-left: 0;
	display: flex;
	align-items: center;
	width: auto;
}
.game-nav > li {
	float: none;
	padding: 0;
}
.game-nav > li > a {
	font-size: 13px;
	padding: 0 20px;
	line-height: 70px;
	line-height: normal;
	color: #999;
	font-family: 'NotoSans-Regular';
}
.game-nav > li > a:hover,
.game-nav > li > a.active {
	color: #ffc600;
}
.nav-about {
	font-size: 14px !important;
	padding: 0 16px !important;
}
.navbar-nav.game-nav {
	float: none;
}
.game-nav + .search {
	float: none;
	width: auto;
	padding-top: 0;
	margin-left: 140px;
}
.game-nav + .search form {
	width: 260px;
}
.nav-email {
	margin-left: auto;
	display: flex;
	align-items: center;
	padding: 0 10px;
	text-decoration: none;
}
.nav-email-icon {
	width: 22px;
	height: 22px;
}
.lang-switch {
	margin-left: 10px;
}
.lang-switch > li > a {
	color: #999;
	font-size: 13px;
	padding-top: 0;
	line-height: normal;
}
.lang-switch .dropdown-menu {
	background: #111111;
	min-width: 80px;
}
.lang-switch .dropdown-menu > li > a {
	color: #999;
	padding: 6px 14px;
	font-size: 12px;
}
.lang-switch .dropdown-menu > li > a:hover {
	color: #ffc600;
	background: #222;
}

/* collapse navbar-collapse layout */
.navbar-header .logo {
	width: auto !important;
	padding-left: 10px;
}
.navbar-header .logo a img {
	width: auto !important;
	height: 55px !important;
}
#bs-example-navbar-collapse-1 .navbar-right {
	margin-left: auto;
	float: none !important;
}

/* -- game hero section -- */
.game-hero {
	padding: 2em 0 0 0;
}
.game-hero-row {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	position: relative;
}

/* left: game tabs */
.game-tabs {
	display: flex;
	flex-direction: column;
	gap: 10px;
	flex-shrink: 0;
	padding-top: 10px;
	position: absolute;
	left: -90px;
	top: 0;
}
.game-tab {
	width: 72px;
	height: 72px;
	border-radius: 8px;
	overflow: hidden;
	border: 2px solid transparent;
	cursor: pointer;
	opacity: 0.5;
	transition: opacity 0.3s, border-color 0.3s;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #111;
}
.game-tab img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.game-tab:hover {
	opacity: 0.8;
}
.game-tab.active {
	opacity: 1;
	border-color: #ffc600;
}

/* left: game icon box */
.game-icon-box {
	width: 402px;
	flex-shrink: 0;
}
.game-icon-inner {
	width: 402px;
	height: 408px;
	background: #111111;
	border-radius: 12px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}
.game-icon-inner img {
	max-width: 42%;
	max-height: 55%;
	object-fit: contain;
	margin-bottom: 12px;
}
.game-icon-title {
	color: #ffc600;
	font-size: 18px;
	font-family: 'NotoSans-Bold', sans-serif;
	margin: 0 0 6px 0;
	text-align: center;
}
.game-icon-subtitle {
	color: #fff;
	font-size: 12px;
	font-family: 'NotoSans-Regular', sans-serif;
	margin: 0;
	text-align: center;
}

/* right: game screenshot + carousel */
.game-screenshot-box {
	flex: 1;
}
.game-screenshot-slider {
	position: relative;
	width: 724px;
	height: 407px;
	overflow: hidden;
	border-radius: 12px;
}
.carousel-slides {
	position: relative;
	width: 100%;
	height: 100%;
	display: flex;
	transition: transform 0.5s ease;
}
.carousel-slide {
	min-width: 100%;
	position: relative;
	height: 100%;
}
.carousel-slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.carousel-caption {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 14px 20px;
	color: #fff;
	font-size: 16px;
	font-family: 'NotoSans-Bold', sans-serif;
	background: linear-gradient(transparent, rgba(0,0,0,0.6));
}
.carousel-bar {
	position: absolute;
	bottom: 40px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 8px;
	z-index: 2;
}
.carousel-bar-item {
	display: block;
	width: 50px;
	height: 4px;
	background: rgba(255,255,255,0.3);
	border-radius: 2px;
}
.carousel-bar-item.active {
	background: #fff;
}

/* carousel buttons */
.carousel-btn {
	position: absolute;
	width: 52px;
	height: 52px;
	display: block;
	z-index: 2;
	opacity: 0.85;
	transition: opacity 0.3s;
}
.carousel-btn:hover {
	opacity: 1;
}
.carousel-btn img {
	width: 52px;
	height: 52px;
}
.carousel-left {
	top: 150px;
	left: 15px;
}
.carousel-right {
	top: 150px;
	right: 15px;
}
/* -- game overview section -- */
.game-overview {
	padding: 2em 0 0 0;
}
.game-overview-box {
	max-width: 1140px;
	min-height: 278px;
	background: #111111;
	border-radius: 12px;
	padding: 4em 2.5em 2em 4.5em;
	margin: 0 auto;
}
.overview-title {
	color: #fff;
	font-size: 17px;
	font-family: 'AlibabaPuHuiTi_3_65_Medium', 'NotoSans-Bold', sans-serif;
	margin-bottom: 1.5em;
	text-transform: uppercase;
	letter-spacing: 1px;
}
.overview-content, .news-article {
	color: #cfcfcf;
	font-size: 14px;
	font-family: 'NotoSerif-Regular';
	line-height: 1.8em;
}
.overview-content p, .news-article p {
	margin-bottom: 3.0em;
}
.overview-content h3, .news-article h3 {
	color: #fff;
	font-size: 16px;
	font-family: 'NotoSans-Bold', sans-serif;
	margin: 3.0em 0 1.6em 0;
}
.overview-content h3:first-child, .news-article h3:first-child {
	margin-top: 0;
}
.overview-content p:last-child, .news-article p:last-child {
	margin-bottom: 0;
}
.overview-share {
	display: flex;
	align-items: center;
	gap: 2px;
	margin-top: 1.5em;
}
.overview-share span {
	color: #fff;
	font-size: 18px;
	font-family: 'NotoSans-Regular', sans-serif;
}
.share-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	text-decoration: none;
	transition: background 0.2s;
}
.share-icon:hover {
	background: #333;
}

/* -- responsive -- */
@media (max-width: 1200px) {
	.game-screenshot-slider {
		width: 100%;
		height: auto;
		aspect-ratio: 724 / 407;
	}
	.game-overview-box {
		width: 100%;
	}
	.game-hero-row {
		flex-wrap: wrap;
	}
	.game-tabs {
		position: static;
		flex-direction: row;
		width: 100%;
		justify-content: center;
		padding-top: 0;
		padding-bottom: 10px;
	}
	.game-icon-box {
		width: 35%;
	}
	.game-icon-inner {
		width: 100%;
		height: auto;
		aspect-ratio: 402 / 408;
	}
	.game-screenshot-box {
		width: 62%;
		flex: none;
	}
}

@media (max-width: 991px) {
	.game-hero-row {
		flex-direction: column;
	}
	.game-tabs {
		position: static;
		flex-direction: row;
		gap: 8px;
		padding-top: 0;
	}
	.game-tab {
		width: 56px;
		height: 56px;
		border-radius: 6px;
	}
	.game-icon-box,
	.game-screenshot-box {
		width: 100%;
	}
	.game-icon-inner {
		width: 100%;
		height: auto;
		aspect-ratio: 402 / 408;
	}
	.game-screenshot-slider {
		width: 100%;
		height: auto;
	}
	.carousel-btn {
		top: 50%;
		transform: translateY(-50%);
	}
	.carousel-left {
		left: 8px;
	}
	.carousel-right {
		right: 8px;
	}
	.game-overview-box {
		padding: 1.5em;
	}
}

/* footer nav */
.footer-nav {
	padding: 1.2em 0 2em 0;
}
.footer-nav-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.footer-logo {
	display: flex;
	align-items: center;
	gap: 10px;
	padding-left: 120px;
}
.footer-logo img {
	height: 45px;
	width: auto;
}
.footer-logo span {
	color: #fff;
	font-size: 16px;
	font-family: 'NotoSans-Bold';
	letter-spacing: 1px;
}
.footer-logo .footer-logo-accent {
	color: #ffc600;
}
.footer-links {
	display: flex;
	align-items: center;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 30px;
	padding-right: 165px;
}
.footer-links li a {
	color: #fff;
	font-size: 13px;
	font-family: 'NotoSans-Regular';
	text-decoration: none;
}
.footer-links li a:hover {
	color: #ffc600;
}

/* copyright footer */
.copyright {
	padding: 1em 0 2em 0;
	text-align: center;
	padding-right: 120px;
}
.copyright p {
	color: #666;
	font-size: 15px;
	font-family: "NotoSans-Regular", sans-serif;
	margin: 0;
}
