* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: "Microsoft Yahei", sans-serif;
	text-decoration: none;
}

body {
	background-color: #f5f5f5;
	padding: 0 12px;
}


/* 全局统一最大宽度 */

.max-wrap {
	max-width: 1400px;
	margin: 0 auto;
	border-radius: 8px;
	overflow: hidden;
}


/* ========== 轮播Banner区域 比例修改为左75% 右25% ========== */

.banner-wrap {
	width: 100%;
	max-width: 1400px;
	margin: 2px auto 15px;
	display: flex;
	position: relative;
	border-radius: 8px;
	overflow: hidden;
}

.banner-left {
	flex: 0 0 75%;
	height: 400px;
	position: relative;
	overflow: hidden;
	background: #000;
}

.banner-right {
	flex: 0 0 25%;
	background: #4b2e83;
	padding: 10px;
	height: 400px;
	overflow-y: auto;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.banner-slide-item {
	width: 100%;
	height: 100%;
	display: none;
}

.banner-slide-item.active {
	display: block;
}

.banner-slide-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
	display: block;
}

.slide-prev,
.slide-next {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 36px;
	height: 36px;
	background: rgba(255, 255, 255, 0.3);
	color: #fff;
	border-radius: 50%;
	text-align: center;
	line-height: 36px;
	font-size: 18px;
	cursor: pointer;
	display: none;
	z-index: 10;
}

.banner-left:hover .slide-prev,
.banner-left:hover .slide-next {
	display: block;
}

.slide-prev {
	left: 12px;
}

.slide-next {
	right: 12px;
}


/* PC端导航核心：固定宽度、文字省略、圆角4px，高亮不撑满容器 */

.banner-right .game-nav-item {
	color: #ffffff;
	padding: 10px 14px;
	font-size: 20px;
	cursor: pointer;
	transition: 0.2s;
	border-radius: 4px;
	width: 100%;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	background: transparent;
}

.banner-right .game-nav-item.active {
	background: #6b48b8;
	color: #ffdd00;
	font-weight: 500;
	border-radius: 4px;
}

@media (hover: hover) {
	.banner-right .game-nav-item:hover {
		background: #603cad;
		color: #ffdd00;
		border-radius: 4px;
	}
}


/* ========== 最近更新栏 ========== */

.update-bar {
	max-width: 1400px;
	margin: 0 auto 15px;
	background: #932eff;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 6px 12px;
	color: #fff;
	height: 48px;
	border-radius: 8px;
}

.update-bar .more-btn {
	background: #fff;
	color: #932eff;
	border: none;
	padding: 3px 10px;
	border-radius: 4px;
	cursor: pointer;
}


/* ========== 游戏卡片列表 ========== */

.container {
	max-width: 1400px;
	margin: 0 auto;
	padding: 0;
}

.game-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 12px;
	margin-bottom: 24px;
}


/* 游戏卡片：参考图结构 + hover上浮阴影 */

.game-card {
	background: #fff;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
	display: flex;
	flex-direction: column;
	transition: all 0.2s ease;
}

.game-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.game-card-image {
	width: 100%;
	height: 180px;
	position: relative;
	background: #000;
}

.game-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.game-card-info {
	padding: 12px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.game-card-title {
	font-size: 18px;
	font-weight: bold;
	color: #111;
}

.game-card-meta {
	display: flex;
	align-items: center;
	gap: 6px;
	flex-wrap: wrap;
}

.game-card-rating {
	color: #f5b700;
	font-size: 14px;
	font-weight: bold;
}

.game-card-tags {
	display: flex;
	gap: 6px;
	flex-wrap: wrap;
}

.game-card-tag {
	background: #f0f0f0;
	color: #666;
	padding: 2px 8px;
	border-radius: 4px;
	font-size: 13px;
}

.game-card-desc {
	font-size: 14px;
	color: #555;
	line-height: 1.6;
	min-height: 44px;
}

.game-card-action {
	margin-top: 4px;
}

.game-card-action .btn {
	display: inline-block;
	width: 100%;
	padding: 10px;
	background: #007bff;
	color: #fff;
	text-align: center;
	border-radius: 6px;
	text-decoration: none;
	font-size: 15px;
	font-weight: bold;
}

.game-card-action .btn:hover {
	background: #0056b3;
}


/* ========== 分页控件【电脑带规整边框，自适应优化】 ========== */

.page-box {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin: 30px 0;
	flex-wrap: wrap;
	background: #ffffff;
	padding: 16px 20px;
	border-radius: 12px;
	border: 1px solid #e8e8e8;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
	width: fit-content;
	margin-left: auto;
	margin-right: auto;
}

.page-box button {
	padding: 8px 18px;
	border: 1px solid #ddd;
	border-radius: 6px;
	background: #ffffff;
	cursor: pointer;
	font-size: 16px;
	transition: background-color 0.2s ease;
}

.page-box button:hover:not(:disabled) {
	background-color: #e9ecef;
}

.page-box input {
	width: 60px;
	/*padding: 8px 4px;*/
	border: 1px solid #ddd;
	border-radius: 6px;
	text-align: center;
	font-size: 16px;
	margin-bottom: 0;
}


/* 禁用按钮样式 */

.page-box button:disabled {
	background: #f5f5f5;
	color: #bbbbbb;
	cursor: not-allowed;
	border-color: #eee;
}


/* 当前激活页码蓝色圆角 */

.page-box button.page-num.active {
	background: #007bff;
	color: #fff;
	border-color: #007bff;
}

.page-box button.page-num.active:hover {
	background: #0069d9;
}

.page-box span {
	font-size: 16px;
	color: #666;
}

.page-num-wrap {
	display: flex;
	gap: 8px;
	align-items: center;
}


/* ========== 三步引导区域 ========== */

.step-area {
	max-width: 1400px;
	margin: 40px auto;
	text-align: center;
	padding: 0;
}

.step-area h2 {
	font-size: 22px;
	margin-bottom: 8px;
}

.step-area .sub-title {
	color: #666;
	font-size: 16px;
	margin-bottom: 30px;
}

.step-row {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}


/* 步骤卡片hover动效 */

.step-item {
	border: 1px solid #eee;
	padding: 20px 16px;
	background: #fff;
	border-radius: 8px;
	transition: all 0.2s ease;
}

.step-item:hover {
	transform: translateY(-4px);
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.step-item h4 {
	font-size: 22px;
	margin-bottom: 10px;
}

.step-item p {
	font-size: 16px;
	color: #555;
	line-height: 1.6;
}


/* ========== 下载区域 ========== */

.download-area {
	background: #007bff;
	padding: 40px 12px;
	text-align: center;
	color: #fff;
	border-radius: 8px;
	max-width: 1400px;
	margin: 0 auto;
}

.download-area h2 {
	font-size: 22px;
	margin-bottom: 8px;
}

.download-area .sub-desc {
	font-size: 16px;
	opacity: 0.9;
	margin-bottom: 30px;
}


/* 外层盒子整体hover动效 */

.download-platform-wrap {
	background: #fff;
	width: 700px;
	margin: 0 auto;
	padding: 24px;
	border-radius: 8px;
	color: #333;
	transition: all 0.2s ease;
}

.download-platform-wrap:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}


/* 下载平台大标题置顶 */

.download-platform-wrap>h3 {
	font-size: 1.8rem;
	text-align: center;
	margin-bottom: 24px;
}

.platform-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
}


/* 独立平台卡片 Windows/安卓分别卡片 + hover */

.platform-item {
	background: #ffffff;
	padding: 20px 16px;
	border-radius: 8px;
	border: 1px solid #efefef;
	transition: all 0.2s ease;
}

.platform-item:hover {
	transform: translateY(-4px);
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.11);
}

.platform-item h4 {
	font-size: 24px;
	font-weight: bold;
	margin: 8px 0;
}

.platform-item p {
	font-size: 15px;
	color: #666;
	margin: 6px 0 16px;
}

.download-btn {
	display: block;
	width: 100%;
	padding: 12px;
	background: #3468e0;
	color: #fff;
	border: none;
	border-radius: 6px;
	cursor: pointer;
	margin-bottom: 8px;
	font-size: 17px;
	text-decoration: none;
	text-align: center;
}

.log-btn {
	width: 100%;
	padding: 8px;
	border: 1px solid #ced4da;
	background: #fff;
	border-radius: 6px;
	cursor: pointer;
	font-size: 15px;
	color: #007bff;
}

.platform-icon {
	font-size: 40px;
	color: #0072cc;
}

.android-icon {
	color: #00c95b;
}


/* ========== 更新日志弹窗 ========== */

.mask {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.6);
	z-index: 99;
	display: none;
}

.log-popup {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 90%;
	max-width: 700px;
	background: #fff;
	border-radius: 8px;
	z-index: 100;
	display: none;
	overflow: hidden;
}

.popup-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 14px 20px;
	border-bottom: 1px solid #eee;
}

.popup-header h2 {
	font-size: 20px;
}

.close-popup {
	font-size: 24px;
	cursor: pointer;
	color: #666;
}

.log-content {
	padding: 16px 20px;
	max-height: 70vh;
	overflow-y: auto;
}

.log-version-item {
	border: 1px solid #e1e8f0;
	border-radius: 6px;
	margin-bottom: 12px;
	overflow: hidden;
}

.version-title {
	background: #cce0ff;
	padding: 10px 14px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	cursor: pointer;
}

.version-detail {
	padding: 12px 14px;
	display: none;
}

.version-detail.show {
	display: block;
}

.version-detail li {
	list-style: none;
	padding: 6px 0;
	font-size: 15px;
	display: flex;
	align-items: center;
	gap: 8px;
}

.version-detail li i {
	color: #27ae60;
}


/* 安卓日志默认隐藏 */

.android-log {
	display: none;
}

.win-log {
	display: block;
}


/* ========== 响应式适配（平板+手机自适应分页大小） ========== */

@media screen and (max-width: 992px) and (min-width: 577px) {
	.banner-wrap {
		flex-direction: column;
	}
	.banner-left {
		flex: none;
		width: 100%;
		height: 300px;
	}
	.banner-right {
		flex: none;
		width: 100%;
		height: auto;
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 8px;
		padding: 12px;
	}
	.banner-right .game-nav-item {
		width: 100%;
		font-size: 17px;
		padding: 9px 12px;
		border-radius: 4px;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}
	.game-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	.step-row {
		grid-template-columns: repeat(1, 1fr);
		gap: 12px;
	}
	.download-platform-wrap {
		width: 100%;
	}
	.page-box {
		gap: 6px;
		padding: 12px 14px;
	}
	.page-box button {
		padding: 6px 12px;
		font-size: 14px;
	}
	.page-num-wrap {
		gap: 6px;
	}
}

@media screen and (max-width: 576px) {
	.banner-wrap {
		flex-direction: column;
	}
	.banner-left {
		height: 220px;
	}
	.banner-right {
		flex: none;
		width: 100%;
		height: auto;
		display: flex;
		flex-direction: column;
		gap: 6px;
		padding: 10px;
	}
	.banner-right .game-nav-item {
		width: 100%;
		font-size: 16px;
		padding: 8px 12px;
		border-radius: 4px;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}
	.game-grid {
		grid-template-columns: repeat(1, 1fr);
	}
	.platform-row {
		grid-template-columns: repeat(1, 1fr);
	}
	.step-row {
		grid-template-columns: repeat(1, 1fr);
		gap: 12px;
	}
	.game-card-image {
		height: 160px;
	}
	.download-platform-wrap {
		width: 100%;
	}
	.page-box {
		gap: 4px;
		padding: 10px 8px;
	}
	.page-box button {
		padding: 5px 10px;
		font-size: 13px;
	}
	.page-box input {
		width: 45px;
		padding: 3px 4px;
		height: 27px;
		line-height: 27px;
	}
	.page-num-wrap {
		gap: 4px;
	}
}

.term-bar {
	display: none;
}

.lang__4 {
	display: none;

}

.site-content {
	padding-bottom: 20px;
	padding-top: 0;
}
