:root {
	--primary: #1a1a1a;
	--secondary: #8b1a1a;
	--ctblue: #1e5a8f;
	--accent: #ffcc00;
	--dark: #121212;
	--light: #f0f0f0;
	--metal: #c0a080;
	--gray-800: #222222;
	--gray-700: #333333;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: 'Arial Narrow', Arial, sans-serif;
	background: var(--dark);
	color: var(--light);
	line-height: 1.6;
	overflow-x: hidden;
	background-image: 
		linear-gradient(rgba(26, 26, 26, 0.1) 1px, transparent 1px),
		linear-gradient(90deg, rgba(26, 26, 26, 0.1) 1px, transparent 1px);
	background-size: 30px 30px;
}

h1, h2, h3, h4, h5 {
	font-family: 'Orbitron', sans-serif;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

/* 战术网格覆盖 */
.grid-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: 
		linear-gradient(rgba(26, 26, 26, 0.1) 1px, transparent 1px),
		linear-gradient(90deg, rgba(26, 26, 26, 0.1) 1px, transparent 1px);
	background-size: 30px 30px;
	pointer-events: none;
	z-index: -1;
}

/* Header & Navigation */
.cs-nav {
	background: rgba(10, 10, 10, 0.95);
	position: sticky;
	top: 0;
	z-index: 1000;
	border-bottom: 2px solid var(--accent);
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.header-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 15px 0;
}

.logo {
	display: flex;
	align-items: center;
}

.logo-text {
	font-family: 'Orbitron', sans-serif;
	font-size: 24px;
	font-weight: 900;
	text-transform: uppercase;
	color: var(--accent);
	letter-spacing: 2px;
	text-shadow: 0 0 10px rgba(255, 204, 0, 0.3);
}

.logo i {
	color: var(--accent);
	margin-right: 10px;
	font-size: 28px;
}

nav ul {
	display: flex;
	list-style: none;
}

nav li {
	margin-left: 15px;
}

nav a {
	color: var(--light);
	text-decoration: none;
	font-weight: 500;
	font-size: 16px;
	padding: 8px 15px;
	border-radius: 4px;
	transition: all 0.3s ease;
	position: relative;
	text-transform: uppercase;
	font-family: 'Orbitron', sans-serif;
}

nav a:hover {
	color: var(--accent);
	background: rgba(255, 204, 0, 0.1);
}

nav a::after {
	content: '';
	position: absolute;
	bottom: -5px;
	left: 0;
	width: 0;
	height: 2px;
	background: var(--accent);
	transition: width 0.3s ease;
}

nav a:hover::after {
	width: 100%;
}

.ct-button {
	background: var(--ctblue);
	color: white;
}

.t-button {
	background: var(--secondary);
	color: white;
}

.accent-button {
	background: var(--accent);
	color: black;
	font-weight: bold;
}

.nav-btn {
	display: none;
	background: transparent;
	border: none;
	color: var(--light);
	font-size: 24px;
	cursor: pointer;
}

/* Hero Slider */
.slider {
	height: 80vh;
	min-height: 500px;
	position: relative;
	overflow: hidden;
	margin-bottom: 60px;
	border: 2px solid var(--gray-700);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
}

.slide {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	transition: opacity 1s ease-in-out;
	background-size: cover;
	background-position: center;
	display: flex;
	align-items: center;
}

.slide.active {
	opacity: 1;
	z-index: 10;
}

.slide-content {
	max-width: 800px;
	padding: 40px;
	background: rgba(10, 10, 10, 0.85);
	border-left: 5px solid var(--accent);
	margin-left: 10%;
	animation: fadeInUp 1s ease;
}

.slide h2 {
	font-size: 3.5rem;
	margin-bottom: 20px;
	color: var(--accent);
	text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.slide p {
	font-size: 1.2rem;
	margin-bottom: 30px;
	color: var(--light);
}

.btn {
	display: inline-block;
	padding: 12px 30px;
	background: var(--accent);
	color: #000;
	text-decoration: none;
	font-weight: 700;
	border-radius: 4px;
	text-transform: uppercase;
	letter-spacing: 1px;
	transition: all 0.3s ease;
	border: 2px solid transparent;
	font-family: 'Orbitron', sans-serif;
}

.btn:hover {
	background: transparent;
	color: var(--accent);
	border-color: var(--accent);
	transform: translateY(-3px);
	box-shadow: 0 5px 15px rgba(255, 204, 0, 0.3);
}

.btn-outline {
	background: transparent;
	color: var(--accent);
	border: 2px solid var(--accent);
	margin-left: 15px;
}

.btn-outline:hover {
	background: var(--accent);
	color: #000;
}

/* Game Features */
.section-title {
	text-align: center;
	margin-bottom: 60px;
	position: relative;
}

.section-title h2 {
	font-size: 2.5rem;
	display: inline-block;
	color: var(--accent);
	padding: 0 20px;
	position: relative;
}

.section-title h2::before,
.section-title h2::after {
	content: '';
	position: absolute;
	top: 50%;
	height: 2px;
	width: 40px;
	background: var(--accent);
}

.section-title h2::before {
	left: -50px;
}

.section-title h2::after {
	right: -50px;
}

.features {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 30px;
	margin-bottom: 80px;
}

.cs-card {
	background: var(--gray-800);
	border: 1px solid var(--gray-700);
	border-radius: 8px;
	padding: 30px;
	text-align: center;
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.cs-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 10px 25px rgba(255, 204, 0, 0.2);
	border-color: var(--accent);
}

.feature-icon {
	font-size: 50px;
	color: var(--accent);
	margin-bottom: 20px;
}

.cs-card h3 {
	font-size: 1.8rem;
	margin-bottom: 15px;
	color: var(--accent);
}

/* Game Modes */
.modes {
	background: rgba(10, 10, 10, 0.7);
	padding: 80px 0;
	margin-bottom: 80px;
	border-top: 1px solid rgba(255, 204, 0, 0.2);
	border-bottom: 1px solid rgba(255, 204, 0, 0.2);
}

.modes-container {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 30px;
}

.mode-card {
	background: var(--gray-800);
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
	transition: all 0.3s ease;
	border: 1px solid var(--gray-700);
}

.mode-card:hover {
	transform: scale(1.03);
	box-shadow: 0 10px 25px rgba(255, 204, 0, 0.2);
	border-color: var(--accent);
}

.mode-img {
	height: 200px;
	background-size: cover;
	background-position: center;
	position: relative;
}

.mode-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.6);
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.mode-card:hover .mode-overlay {
	opacity: 1;
}

.mode-content {
	padding: 25px;
}

.mode-content h3 {
	color: var(--accent);
	font-size: 1.8rem;
	margin-bottom: 15px;
}

/* Download Section */
.download {
	text-align: center;
	padding: 80px 0;
	margin-bottom: 80px;
}

.download-content {
	max-width: 800px;
	margin: 0 auto;
}

.download h2 {
	font-size: 2.8rem;
	margin-bottom: 30px;
	color: var(--accent);
}

.download p {
	font-size: 1.2rem;
	margin-bottom: 40px;
	color: var(--light);
}

.stats {
	display: flex;
	justify-content: center;
	gap: 50px;
	margin-bottom: 40px;
	flex-wrap: wrap;
}

.stat-item {
	text-align: center;
}

.stat-number {
	font-size: 3rem;
	font-family: 'Orbitron', sans-serif;
	color: var(--accent);
	margin-bottom: 10px;
}

/* Footer */
footer {
	background: rgba(5, 5, 5, 0.95);
	padding: 60px 0 30px;
	border-top: 2px solid var(--accent);
}

.footer-content {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 40px;
	margin-bottom: 40px;
}

.footer-logo {
	font-size: 2rem;
	margin-bottom: 20px;
	color: var(--accent);
	font-family: 'Orbitron', sans-serif;
}

.footer-links h3 {
	color: var(--accent);
	margin-bottom: 20px;
	font-size: 1.5rem;
}

.footer-links ul {
	list-style: none;
}

.footer-links li {
	margin-bottom: 10px;
}

.footer-links a {
	color: var(--light);
	text-decoration: none;
	transition: color 0.3s ease;
}

.footer-links a:hover {
	color: var(--accent);
}

.social-icons {
	display: flex;
	gap: 15px;
	margin-top: 20px;
}

.social-icons a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	background: rgba(255, 255, 255, 0.1);
	color: var(--light);
	border-radius: 50%;
	transition: all 0.3s ease;
}

.social-icons a:hover {
	background: var(--accent);
	transform: translateY(-5px);
	color: black;
}

.copyright {
	text-align: center;
	padding-top: 30px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	color: var(--light);
}

/* Animations */
@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes pulse {
	0% { box-shadow: 0 0 0 0 rgba(255, 204, 0, 0.7); }
	70% { box-shadow: 0 0 0 10px rgba(255, 204, 0, 0); }
	100% { box-shadow: 0 0 0 0 rgba(255, 204, 0, 0); }
}

.pulse {
	animation: pulse 2s infinite;
}

/* Responsive Design */
@media (max-width: 992px) {
	.slide-content {
		margin-left: 5%;
		max-width: 600px;
	}
	
	.slide h2 {
		font-size: 2.8rem;
	}
}

@media (max-width: 768px) {
	.header-container {
		padding: 15px 20px;
	}
	
	.nav-btn {
		display: block;
	}
	
	nav ul {
		position: fixed;
		top: 80px;
		left: -100%;
		flex-direction: column;
		background: rgba(10, 10, 10, 0.95);
		width: 100%;
		height: calc(100vh - 80px);
		padding: 40px 0;
		transition: left 0.3s ease;
	}
	
	nav ul.active {
		left: 0;
	}
	
	nav li {
		margin: 15px 0;
		text-align: center;
	}
	
	.slide-content {
		margin: 0 auto;
		max-width: 90%;
	}
	
	.slide h2 {
		font-size: 2.2rem;
	}
	
	.section-title h2::before,
	.section-title h2::after {
		width: 20px;
	}
	
	.section-title h2::before {
		left: -30px;
	}
	
	.section-title h2::after {
		right: -30px;
	}
	
	.btn-container {
		display: flex;
		flex-direction: column;
		gap: 15px;
	}
	
	.btn {
		margin: 0;
	}
}

@media (max-width: 480px) {
	.logo-text {
		font-size: 18px;
	}
	
	.slide h2 {
		font-size: 1.8rem;
	}
	
	.slide p {
		font-size: 1rem;
	}
	
	.section-title h2 {
		font-size: 2rem;
	}
	
	.section-title h2::before,
	.section-title h2::after {
		width: 10px;
	}
	
	.section-title h2::before {
		left: -20px;
	}
	
	.section-title h2::after {
		right: -20px;
	}
}

/* 特别为模式卡片内的标题链接移除下划线 */
.container h3 a {
    text-decoration: none !important;
    color: var(--accent);
}

.container h3 a:hover {
    text-decoration: none !important;
    color: var(--metal);
}