/* 全局样式 */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
}

body {
    background: url('/image/bg.jpg') no-repeat center center fixed;
    background-size: cover;
    background-color: #0A0A12;
    color: #F0E6D2;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

/* 导航栏 */
.navbar {
	height: 80px;
	background: linear-gradient(to bottom, #162A4D, #0E1A30);
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0 50px;
	position: fixed;
	width: 100%;
	z-index: 100;
	box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
	border-bottom: 1px solid #E4B04A;
}

.logo {
	display: flex;
	align-items: center;
}

.logo h1 {
	font-size: 36px;
	background: linear-gradient(to right, #E4B04A, #F0E6D2);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	text-shadow: 0 0 10px rgba(228, 176, 74, 0.3);
	font-weight: bold;
	letter-spacing: 2px;
}

.logo .subtitle {
	font-size: 16px;
	color: #C12C1F;
	margin-left: 15px;
	font-weight: bold;
	text-shadow: 0 0 5px rgba(193, 44, 31, 0.5);
	display:none;
}

.nav-links {
	display: flex;
	gap: 30px;
}

.nav-links a {
	color: #F0E6D2;
	text-decoration: none;
	font-size: 16px;
	transition: all 0.3s;
	position: relative;
}

.nav-links a:hover {
	color: #E4B04A;
}

.nav-links a::after {
	content: '';
	position: absolute;
	bottom: -5px;
	left: 0;
	width: 0;
	height: 2px;
	background: #E4B04A;
	transition: width 0.3s;
}

.nav-links a:hover::after {
	width: 100%;
}

/* 主视觉区 */
.hero {
	height: 100vh;
	background: url('/image/bg.jpg') no-repeat center center;
	background-size: cover;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	padding-top: 80px;
	position: relative;
	overflow: hidden;
}

.hero::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(10, 10, 18, 0.5);
	z-index: 1;
}

.hero-content {
	position: relative;
	z-index: 2;
}

.hero h2 {
	font-size: 72px;
	margin-bottom: 20px;
	background: linear-gradient(to bottom, #E4B04A, #C12C1F);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	text-shadow: 0 0 20px rgba(228, 176, 74, 0.5);
	letter-spacing: 5px;
}

.hero p {
	font-size: 24px;
	margin-bottom: 40px;
	color: #F0E6D2;
	text-shadow: 0 0 10px rgba(193, 44, 31, 0.5);
}

.hero-buttons {
	display: flex;
	gap: 30px;
	margin-top:50px;
}

.btn {
	padding: 15px 40px;
	border-radius: 5px;
	font-size: 18px;
	font-weight: bold;
	text-decoration: none;
	transition: all 0.3s;
	position: relative;
	overflow: hidden;
}

.btn-download {
	background: linear-gradient(to right, #E4B04A, #C12C1F);
	color: #0A0A12;
	box-shadow: 0 0 15px rgba(228, 176, 74, 0.5);
}

.btn-register {
	background: rgba(193, 44, 31, 0.3);
	color: #F0E6D2;
	border: 2px solid #C12C1F;
	box-shadow: 0 0 15px rgba(193, 44, 31, 0.5);
}

.btn:hover {
	transform: translateY(-5px);
	box-shadow: 0 5px 20px rgba(228, 176, 74, 0.8);
}

/* 特色板块 */
.features {
	padding: 80px 50px;
	background: url('/image/bg2.jpg') repeat;
}

.section-title {
	text-align: center;
	margin-bottom: 60px;
	position: relative;
}

.section-title h3 {
	font-size: 36px;
	color: #E4B04A;
	display: inline-block;
	padding: 0 30px;
	background: linear-gradient(to right, transparent, #0A0A12, transparent);
}

.section-title::before,
.section-title::after {
	content: '';
	position: absolute;
	top: 50%;
	width: 200px;
	height: 2px;
	background: linear-gradient(to right, transparent, #E4B04A, transparent);
}

.section-title::before {
	left: 0;
}

.section-title::after {
	right: 0;
}

.features-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 30px;
}

.feature-card {
	background: rgba(22, 42, 77, 0.5);
	border: 1px solid #E4B04A;
	border-radius: 10px;
	padding: 30px;
	text-align: center;
	transition: all 0.3s;
	position: relative;
	overflow: hidden;
}

.feature-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 10px 30px rgba(228, 176, 74, 0.3);
}

.feature-icon {
	width: 80px;
	height: 80px;
	margin: 0 auto 20px;
	background-color: #0A0A12;
	border: 2px solid #E4B04A;
	border-radius: 50%;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 32px;
	color: #E4B04A;
}

.feature-card h4 {
	font-size: 20px;
	margin-bottom: 15px;
	color: #F0E6D2;
}

.feature-card p {
	font-size: 14px;
	color: #e2e0e0;
}

/* 职业展示区 */
.classes {
	padding: 80px 50px;
	background-color: #0E1A30;
}

.classes-slider {
	display: flex;
	overflow-x: auto;
	gap: 30px;
	padding: 20px 0;
	scroll-snap-type: x mandatory;
}

.class-card {
	min-width: 300px;
	height: 400px;
	background: linear-gradient(to bottom, #162A4D, #0A0A12);
	border-radius: 10px;
	overflow: hidden;
	position: relative;
	scroll-snap-align: start;
	transition: all 0.3s;
}

.class-card:hover {
	transform: scale(1.05);
	box-shadow: 0 0 30px rgba(228, 176, 74, 0.5);
}

.class-image {
	width: 100%;
	height: 70%;
	background-color: #333;
	background-size: cover;
	background-position: center;
}

.class-info {
	padding: 20px;
	height: 30%;
}

.class-info h4 {
	font-size: 22px;
	color: #E4B04A;
	margin-bottom: 10px;
}

.class-info p {
	font-size: 14px;
	color: #A0A0A0;
}

/* 新闻区 */
.news {
	padding: 80px 50px;
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: 50px;
    background-color: #0A0A12;
}

.news-video {
	background-color: #000;
	height: 400px;
	border: 2px solid #E4B04A;
}

.news-list {
	list-style: none;
}

.news-list li {
	padding: 15px 0;
	border-bottom: 1px solid #162A4D;
}

.news-list li::before {
	content: '🐉';
	margin-right: 10px;
}

.news-list a {
	color: #F0E6D2;
	text-decoration: none;
	transition: all 0.3s;
}

.news-list a:hover {
	color: #E4B04A;
	padding-left: 5px;
}

/* 页脚 */
footer {
	background: linear-gradient(to bottom, #0E1A30, #0A0A12);
	padding: 50px;
	text-align: center;
	position: relative;
}

footer::before {
	content: '';
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 80%;
	height: 2px;
	background: linear-gradient(to right, transparent, #E4B04A, transparent);
}

.social-links {
	display: flex;
	justify-content: center;
	gap: 20px;
	margin: 30px 0;
}

.social-links a {
	color: #F0E6D2;
	font-size: 24px;
	transition: all 0.3s;
}

.social-links a:hover {
	color: #E4B04A;
	transform: translateY(-5px);
}

.copyright {
	font-size: 14px;
	color: #A0A0A0;
}

/** 文章 **/
.article-container {
	max-width: 1000px;
	margin: 0px auto;
	padding: 110px 50px;
	color: #333;
	line-height: 1.6;
	background: #ffffff;
}
.article-header {
	text-align: center;
	margin-bottom: 30px;
	border-bottom: 1px solid #eee;
	padding-bottom: 20px;
}
.article-title {
	font-size: 28px;
	margin-bottom: 10px;
	color: #2c3e50;
}
.article-meta {
	color: #7f8c8d;
	font-size: 14px;
}
.article-content {
	font-size: 16px;
}
.article-content img {
	max-width: 100%;
	height: auto;
	display: block;
	margin: 20px auto;
	border-radius: 4px;
}
.article-content h2 {
	font-size: 22px;
	margin: 30px 0 15px;
	color: #2c3e50;
	border-left: 4px solid #e74c3c;
	padding-left: 10px;
}
.article-content p {
	margin-bottom: 15px;
}
.article-footer {
	margin-top: 40px;
	padding-top: 20px;
	border-top: 1px solid #eee;
	text-align: center;
}
.back-to-list {
	display: inline-block;
	padding: 8px 20px;
	background-color: #e74c3c;
	color: white;
	text-decoration: none;
	border-radius: 4px;
	margin-top: 20px;
}