* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	/*font-family: "Microsoft YaHei", system-ui, sans-serif;*/
}

body {
	background-color: #f3f4f6;
}


/* 顶部头部横幅 */

.top-header {
	/*background: linear-gradient(130deg, #0a1024, #120b2b);*/
	background: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)), url("https://www.lxgame.cc/wp-content/uploads/2026/07/1782984114-c130027ae55014b.webp");
	padding: 60px 20px;
	text-align: center;
	color: #ffffff;
	position: relative;
}

.top-header h1 {
	font-size: 28px;
	font-weight: 600;
	margin-bottom: 14px;
	color: #fff;
}

.top-desc {
	font-size: 15px;
	color: #c8d0e0;
	margin-bottom: 26px;
}

.header-buttons {
	display: flex;
	gap: 14px;
	justify-content: center;
}

.btn-blue {
	background-color: #2563eb;
	color: #fff;
	border: none;
	padding: 10px 24px;
	border-radius: 6px;
	font-size: 14px;
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 6px;
}

.ziti_a {
	color: #fff;
}

.btn-green {
	background-color: #16a34a;
	color: #fff;
	border: none;
	padding: 10px 24px;
	border-radius: 6px;
	font-size: 14px;
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 6px;
}


/* 主体容器 最大宽度1400px */

.main-wrap {
	max-width: 1320px;
	margin: 52px auto;
	padding: 0 20px;
}

.section-title {
	text-align: center;
	margin-bottom: 42px;
}

.section-title h2 {
	font-size: 26px;
	color: #111827;
	margin-bottom: 8px;
}

.section-title small {
	font-size: 13px;
	color: #6b7280;
}


/* 卡片网格布局 2行3列 */

.card-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 26px;
}

.tutorial-card {
	background: #ffffff;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 2px 14px rgba(0, 0, 0, 0.05);
	transition: all 0.25s ease;
}

.tutorial-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.09);
}


/* ========== 【修改1】图片容器自适应，替换固定高度为比例自适应 ========== */

.card-img-box {
	width: 100%;
	aspect-ratio: 16 / 9;
	/* 统一16:9封面比例，所有屏幕自适应 */
	background-color: #0c0c30;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	overflow: hidden;
}

.card-img-box::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 3px;
	z-index: 2;
}


/* 新增图片样式 + 放大过渡 */

.card-img-box img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	/* 图片铺满不变形 */
	transition: transform 0.6s ease;
	/* 平滑过渡 */
}


/* 鼠标悬浮放大1.2倍 */

.card-img-box:hover img {
	transform: scale(1.2);
}


/* 卡片文字信息区域 */

.card-content {
	padding: 18px;
}

.card-title {
	font-size: 16px;
	font-weight: 600;
	color: #111;
	margin-bottom: 7px;
}

.card-sub-text {
	font-size: 12px;
	color: #666;
	line-height: 1.4;
	margin-bottom: 14px;
}

.card-footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 12px;
	color: #888;
}

.view-count i {
	margin-right: 4px;
}

.view-detail {
	color: #2563eb;
	cursor: pointer;
}

.go-btn {
	background-color: #2563eb;
	color: #fff;
	border: none;
	padding: 4px 12px;
	border-radius: 4px;
	font-size: 12px;
	cursor: pointer;
}


/* 视频弹窗遮罩层 */

.video-modal-mask {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background-color: rgba(0, 0, 0, 0.65);
	display: none;
	align-items: center;
	justify-content: center;
	z-index: 9999;
	padding: 20px;
}

.modal-container {
	width: min(52rem, 90vw);
	background-color: #fff;
	border-radius: 10px;
	overflow: hidden;
	position: relative;
}


/* 弹窗关闭按钮 */

.modal-close {
	position: absolute;
	top: 12px;
	right: 12px;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.3);
	border: none;
	color: #fff;
	font-size: 18px;
	cursor: pointer;
	z-index: 10;
}


/* ========== 【修改2】弹窗视频区域自适应16:9，移除固定高度 ========== */

.modal-video-area {
	width: 100%;
	aspect-ratio: 16 / 9;
	background-color: #000;
	display: flex;
	align-items: center;
	justify-content: center;
}

.modal-video-area video {
	width: 100%;
	height: 100%;
	display: block;
}


/* 弹窗下半文字介绍区域 */

.modal-desc-area {
	padding: 24px 28px;
}

.modal-desc-area h3 {
	font-size: 22px;
	color: #111;
	margin-bottom: 10px;
}

.modal-tag-text {
	font-size: 14px;
	color: #555;
	margin-bottom: 18px;
}

.pan-link-list {
	padding-left: 10px;
}

.pan-link-list p {
	margin: 8px 0;
	font-size: 14px;
	color: #333;
}

.pan-link-list a {
	color: #2563eb;
	text-decoration: none;
}


/* 响应式适配 */


/* 平板：2列 */

@media (max-width: 1024px) {
	.card-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}


/* 手机：1列 */

@media (max-width: 640px) {
	.card-grid {
		grid-template-columns: 1fr;
	}
	.top-header h1 {
		font-size: 22px;
	}
	.modal-desc-area {
		padding: 16px;
	}
	.modal-desc-area h3 {
		font-size: 18px;
	}
}

.site-content {
	padding: 0px;
}

.term-bar {
	display: none;
}


/*.lang__4 {*/


/*	display: none;*/


/*}*/