/* 基础样式 */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: "Arial", sans-serif;
	background-color: #050a30;
	color: #fff;
	overflow-x: hidden;
	line-height: 1.6;
}

.container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

/* 导航栏样式 */
.navbar {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	background-color: rgba(5, 10, 48, 0.8);
	backdrop-filter: blur(10px);
	transition: all 0.3s ease;
	border-bottom: 1px solid rgba(64, 158, 255, 0.1);
}

.navbar-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: 80px;
}

.logo {
	display: flex;
	align-items: center;
	font-size: 20px;
	font-weight: bold;
	color: #fff;
}

.logo img {
	height: 40px;
	margin-right: 10px;
}

.nav-menu {
	display: flex;
	list-style: none;
}

.nav-item {
	margin-left: 30px;
	position: relative;
}

.nav-link {
	color: #fff;
	text-decoration: none;
	font-size: 14px;
	transition: color 0.3s ease;
	padding: 5px 0;
	display: inline-block;
}

.nav-link:hover,
.nav-link.active {
	color: #409eff;
}

.nav-link.active::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 2px;
	background-color: #409eff;
}

/* 二维码浮窗 */
.qrcode-float {
	position: fixed;
	top: 90px;
	right: 20px;
	z-index: 999;
	background-color: #0f174a;
	border-radius: 8px;
	padding: 15px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
	display: none;
	border: 1px solid rgba(64, 158, 255, 0.2);
	text-align: center;
}

.qrcode-float.show {
	display: block;
	animation: fadeIn 0.3s ease;
}

.qrcode-img {
	width: 120px;
	height: 120px;
	background-color: #fff;
	padding: 5px;
	margin-bottom: 10px;
	margin: 0 auto 10px;
}

.qrcode-info {
	text-align: center;
	font-size: 12px;
	color: #ccc;
	line-height: 1.5;
}

.qrcode-trigger {
	position: fixed;
	top: 20px;
	right: 20px;
	z-index: 1000;
	width: 50px;
	height: 50px;
	background-color: #165dff;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: 0 2px 10px rgba(22, 93, 255, 0.5);
	transition: all 0.3s ease;
	border: 1px solid rgba(255, 255, 255, 0.1);
}

.qrcode-trigger:hover {
	transform: scale(1.05);
	background-color: #409eff;
}

/* 头部区域 */
.header-banner {
	height: 300px;
	background: url("../img//website/PChearBGC1.jpg") no-repeat;
	background-size: 100% 400px;
	position: relative;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	margin-top: 80px;
}

.header-banner::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: radial-gradient(circle at 30% 40%, rgba(64, 158, 255, 0.2) 0%, transparent 40%),
		radial-gradient(circle at 70% 60%, rgba(123, 97, 255, 0.2) 0%, transparent 40%);
}

.banner-content {
	position: relative;
	z-index: 2;
}

.banner-title {
	font-size: 36px;
	font-weight: 600;
	margin-bottom: 10px;
	color: #fff;
}

/* 新闻资讯区域 */
.news-section {
	padding: 60px 0;
	background-color: #050a30;
}

.news-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
}

.news-card {
	background-color: rgba(16, 25, 85, 0.5);
	border-radius: 8px;
	overflow: hidden;
	transition: all 0.3s ease;
	border: 1px solid rgba(64, 158, 255, 0.1);
	height: 100%;
	display: flex;
	flex-direction: column;
}

.news-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
	border-color: rgba(64, 158, 255, 0.3);
}

.news-image {
	height: 180px;
	background-color: #1e293b;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #888;
	font-size: 40px;
}

.news-image-cover {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.news-content {
	padding: 20px;
	flex-grow: 1;
	display: flex;
	flex-direction: column;
}

.news-title {
	font-size: 18px;
	margin-bottom: 15px;
	color: #fff;
	line-height: 1.4;
	flex-grow: 1;
}

.news-date {
	font-size: 12px;
	color: #888;
	text-align: right;
}

/* 右侧边栏 */
.sidebar-container {
	display: flex;
	gap: 30px;
	margin-top: 30px;
}

.main-content {
	flex: 1;
}

.sidebar {
	width: 280px;
	display: flex;
	flex-direction: column;
	gap: 30px;
}

.sidebar-card {
	background-color: rgba(16, 25, 85, 0.5);
	border-radius: 8px;
	overflow: hidden;
	border: 1px solid rgba(64, 158, 255, 0.1);
}

.sidebar-banner {
	padding: 20px;
	background: linear-gradient(135deg, #165dff 0%, #409eff 100%);
	text-align: center;
}

.sidebar-banner-title {
	font-size: 16px;
	margin-bottom: 15px;
	color: #fff;
	line-height: 1.4;
}

.sidebar-button {
	background-color: #fff;
	color: #165dff;
	border: none;
	padding: 8px 20px;
	border-radius: 4px;
	font-size: 14px;
	cursor: pointer;
	transition: all 0.3s ease;
}

.sidebar-button:hover {
	background-color: #f0f0f0;
}

/* 页脚 */
.footer {
	background-color: #0a123f;
	padding: 60px 0 30px;
	border-top: 1px solid rgba(64, 158, 255, 0.1);
	margin-top: 60px;
}

.footer-content {
	display: flex;
	justify-content: space-between;
	margin-bottom: 40px;
}

.footer-logo {
	display: flex;
	align-items: center;
	font-size: 20px;
	font-weight: bold;
	margin-bottom: 20px;
	color: #fff;
}

.footer-logo img {
	height: 40px;
	margin-right: 10px;
}

.footer-tagline {
	font-size: 14px;
	color: #b0b0b0;
	margin-bottom: 20px;
	max-width: 300px;
	line-height: 1.7;
}

.social-links {
	display: flex;
	gap: 15px;
}

.social-link {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background-color: rgba(255, 255, 255, 0.1);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #b0b0b0;
	transition: all 0.3s ease;
	border: 1px solid rgba(64, 158, 255, 0.1);
}

.social-link:hover {
	background-color: #409eff;
	color: #fff;
	transform: translateY(-3px);
}

.footer-column {
	min-width: 200px;
}

.footer-column-title {
	font-size: 18px;
	margin-bottom: 20px;
	color: #fff;
	font-weight: 500;
}

.footer-links {
	list-style: none;
}

.footer-link {
	margin-bottom: 12px;
}

.footer-link a {
	color: #b0b0b0;
	text-decoration: none;
	font-size: 14px;
	transition: color 0.3s ease;
}

.footer-link a:hover {
	color: #409eff;
}

.footer-bottom {
	text-align: center;
	padding-top: 30px;
	border-top: 1px solid rgba(255, 255, 255, 0.05);
	font-size: 13px;
	color: #888;
}

.footer-bottom-links {
	display: flex;
	justify-content: center;
	gap: 20px;
	margin-top: 10px;
}

.footer-bottom-link {
	color: #888;
	text-decoration: none;
	transition: color 0.3s ease;
}

.footer-bottom-link:hover {
	color: #409eff;
}

/* 动画效果 */
@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(10px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* 响应式调整 */
@media (max-width: 1200px) {
	.news-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 768px) {
	.nav-menu {
		display: none;
	}

	.news-grid {
		grid-template-columns: 1fr;
	}

	.sidebar-container {
		flex-direction: column;
	}

	.sidebar {
		width: 100%;
	}

	.footer-content {
		flex-direction: column;
		gap: 40px;
	}

	.banner-title {
		font-size: 28px;
	}
}

/* 页面固定浮窗 */
.card {
	position: fixed;
	right: 20px;
	/* top: 100px; */
	bottom: 10px;
	width: 200px;
	z-index: 2;
}

.intro-image-container {
	padding: 16px;
	background: linear-gradient(122deg, #132775 7.71%, #2e3091 93.32%);
	border-radius: 12px;
	border-radius: 12px;
	overflow: hidden;
	margin-bottom: 16px;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.img-placeholder {
	width: 100%;
	border-radius: 12px;
}
