.index_ul {
	padding-left:20px;
}

.text-left {
	text-align: left !important;
}

.img_figure {
	margin: 15px 0;
}

.game-container {
	max-width: 1200px;
	margin: 20px auto;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 20px;
}

.game-item {
	position: relative;
	background-color: #192233;
	text-align: center;
	border-radius: 10px;
	overflow: hidden;
	transition: transform 0.3s ease;
}

.game-item img {
	width: 100%;
	display: block;
	transition: transform 0.3s ease;
}

.game-item h3 {
	margin: 10px 0;
	font-size: 18px;
}

/* 按钮样式 */
.game-buttons {
	display: none; /* 默认隐藏按钮 */
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 2; /* 确保按钮在蒙版之上 */
	flex-direction: column;
	gap: 10px;
}

.game-buttons a {
	display: inline-block;
	padding: 8px 20px;
	font-size: 14px;
	color: #fff;
	border-radius: 5px;
	text-decoration: none;
	transition: background-color 0.3s ease, transform 0.2s ease;
	text-align: center;
}

.btn-play {
	background-color: #e74c3c;
	font-weight:700;
}

.btn-demo {
	background-color: #3498db;
}

.game-buttons a:hover {
	transform: scale(1.1);
}

/* 灰色蒙版 */
.game-overlay {
	display: none; /* 默认隐藏蒙版 */
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5); /* 半透明灰色 */
	z-index: 1;
	transition: opacity 0.3s ease;
}

/* 鼠标悬停效果（大屏幕） */
@media (min-width: 830px) {
	.game-item:hover .game-buttons {
		display: flex; /* 显示按钮 */
	}

	.game-item:hover .game-overlay {
		display: block; /* 显示蒙版 */
	}

	.game-item:hover img {
		transform: scale(1.1); /* 图片放大效果 */
	}
}

/* 小屏幕按钮默认显示 */
@media (max-width: 830px) {
.height-img {
	height:120px;
	overflow: hidden; /* 超出容器的部分隐藏 */
	position: relative; /* 相对定位 */
}
.height-img img {
	width: 100%; /* 图片宽度默认占满父容器 */
	height: 100%; /* 图片高度默认占满父容器 */
	object-fit: cover;  图片缩放以完全适应父容器，不超过高度 */
	object-position: center; /* 图片居中显示 */
}	
	.game-buttons {
		display: flex; /* 按钮始终显示 */
		position: static;
		transform: none;
		margin-top: 10px;
	}

	.game-buttons a {
		padding: 12px 40px;
		font-size: 18px;
	}
}

@media (max-width: 500px) {
	/*.game-container {
		grid-template-columns: 2fr;
	} */
}

/** buzou **/
.step {
	display: flex;
	align-items: center;
	margin-bottom: 20px;
	background-color: #192233;
	border-radius: 10px;
	overflow: hidden;
	flex-wrap: wrap; /* 自动换行 */
}

.step-number {
	flex: 0 0 50px; /* 固定宽度 */
	background-color: #2c3e50;
	color: #fff;
	border-radius:6px;
	font-size: 24px;
	font-weight: bold;
	display: flex;
	align-items: center;
	justify-content: center;
}

.step-content {
	flex: 1;
	display: flex;
	gap: 20px;
	padding: 20px;
	flex-direction: row; /* 默认左右排列 */
}

.step-text {
	flex: 1;
	display: flex;
	align-items: center; /* 水平居中 */
	text-align: left; /* 文本内容居中 */
	/* flex-direction: column;  使文字内容垂直排列 */
}

.step-text2{
	display: flex;
	align-items: center;
	flex-direction: column;
	justify-content: center;
}

.step-text h3 {
	font-size: 20px;
	margin-bottom: 10px;
}

.step-text p {
	font-size: 16px;
}

.step-image {
	flex: 1;
	text-align: center;
}

.step-image img {
	max-width: 100%;
	border-radius: 10px;
}

/* 响应式设计 */
@media (max-width: 768px) {
	.step-content {
		flex-direction: column; /* 改为上下排列，图片在上 */
	}

	.step-image {
		order: 1; /* 图片在上 */
	}

	.step-text {
		order: 2; /* 文字在下 */
		margin-top: 20px;
	}
}

/** img left text right */
.main-content{
	padding:10px 20px;
	border-radius: 8px;
}

.left-img-section {
	display: flex;
	align-items: center;
	background-color: #192233;
	border-radius: 10px;
	overflow: hidden;
	gap: 10px;
	flex-wrap: wrap; /* 自适应换行 */
}

/* 图片模块 */
.left-img-image {
	flex: 1;
	text-align: center;
	padding: 10px;
}

.left-img-image img {
	max-width: 100%;
	border-radius: 10px;
}

/* 文字模块 */
.left-img-content {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 20px;
	padding: 20px;
}

.left-img-content h2 {
	font-size: 24px;
	margin-bottom: 10px;
}

.left-img-content ul {
	list-style: none;
	padding: 0;
}

.left-img-content ul li {
	margin-bottom: 10px;
	padding-left: 20px;
	position: relative;
}

.left-img-content ul li::before {
	content: "•";
	position: absolute;
	left: 0;
	color: #3498db;
	font-size: 20px;
}

.left-img-button {
	display: inline-block;
	background-color: #3498db;
	color: #fff;
	padding: 10px 20px;
	border-radius: 5px;
	text-decoration: none;
	text-align: center;
	font-weight: bold;
	margin-top: 10px;
	max-width: 200px;
}

/* 响应式设计 */
@media (max-width: 1000px) {
	.left-img-section {
		flex-direction: column; /* 改为上下排列 */
	}

	.left-img-image {
		margin-bottom: 20px;
	}

	.left-img-content {
		align-items: center;
	}

	.left-img-button {
		margin: 0 auto;
	}
}