/* 全局样式 */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	line-height: 1.6;
	color: #333;
	background-color: #f5f5f5;
	scroll-behavior: smooth;
}

/* 动画效果 */
@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes pulse {
	0% {
		transform: scale(1);
	}
	50% {
		transform: scale(1.05);
	}
	100% {
		transform: scale(1);
	}
}

@keyframes slideIn {
	from {
		opacity: 0;
		transform: translateX(-20px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

/* 容器样式 */
.container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

/* 头部样式 */
.header {
	background-color: #2c2c2c;
	color: #fff;
	padding: 15px 0;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.logo {
	display: flex;
	align-items: center;
	gap: 15px;
}

.logo-img {
	width: 60px;
	height: 60px;
	object-fit: contain;
}

.logo-text {
	font-size: 24px;
	font-weight: bold;
	color: #4CAF50;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* 导航样式 */
.nav {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.nav-list {
	display: flex;
	list-style: none;
	gap: 20px;
}

.nav-item {
	position: relative;
}

.nav-link {
	color: #fff;
	text-decoration: none;
	font-size: 16px;
	font-weight: 500;
	padding: 8px 12px;
	border-radius: 4px;
	transition: all 0.3s ease;
}

.nav-link:hover {
	background-color: #4CAF50;
	color: #fff;
}

/* 移动菜单按钮 */
.mobile-menu-btn {
	display: none;
	background: none;
	border: none;
	color: #fff;
	font-size: 24px;
	cursor: pointer;
}

/* 英雄区域 */
.hero {
	background-image: url('rc_images/iwebaqnwbmcdbgtrawuf0qijbrbrq8aqq2m4uqmcor__mnaab9inc8kxcaajrmnpcmnszs5jcmvhdg9ycgal0gaif_a.png');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	padding: 100px 0;
	color: #fff;
	text-align: center;
	position: relative;
}

.hero::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.5);
	z-index: 1;
}

.hero .container {
	position: relative;
	z-index: 2;
}

.hero-title {
	font-size: 48px;
	font-weight: bold;
	margin-bottom: 20px;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
	animation: fadeIn 1s ease-in-out;
}

.hero-subtitle {
	font-size: 24px;
	margin-bottom: 40px;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
	animation: fadeIn 1s ease-in-out 0.3s both;
}

.hero-buttons {
	animation: fadeIn 1s ease-in-out 0.6s both;
}

/* 按钮样式 */
.btn {
	display: inline-block;
	padding: 12px 24px;
	border-radius: 4px;
	text-decoration: none;
	font-weight: 600;
	transition: all 0.3s ease;
	cursor: pointer;
	position: relative;
	overflow: hidden;
}

.btn::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
	transition: left 0.5s ease;
}

.btn:hover::before {
	left: 100%;
}

.btn-primary {
	background-color: #4CAF50;
	color: #fff;
	margin-right: 15px;
}

.btn-primary:hover {
	background-color: #45a049;
	transform: translateY(-2px);
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
	background-color: #fff;
	color: #4CAF50;
	border: 2px solid #4CAF50;
}

.btn-secondary:hover {
	background-color: #4CAF50;
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-large {
	font-size: 18px;
	padding: 15px 30px;
	background-color: #4CAF50;
	color: #fff;
}

.btn-large:hover {
	background-color: #45a049;
	transform: translateY(-2px);
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* 特色区域 */
.features {
	padding: 80px 0;
	background-color: #fff;
}

.section-title {
	font-size: 36px;
	font-weight: bold;
	text-align: center;
	margin-bottom: 60px;
	color: #333;
}

.features-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 30px;
}

.feature-card {
	background-color: #f9f9f9;
	padding: 30px;
	border-radius: 8px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	transition: all 0.3s ease;
	border-top: 4px solid #4CAF50;
	animation: fadeIn 0.8s ease-in-out;
}

.feature-card:nth-child(1) {
	animation-delay: 0.2s;
}

.feature-card:nth-child(2) {
	animation-delay: 0.4s;
}

.feature-card:nth-child(3) {
	animation-delay: 0.6s;
}

.feature-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
	animation: pulse 2s infinite;
}

.feature-title {
	font-size: 20px;
	font-weight: bold;
	margin-bottom: 15px;
	color: #4CAF50;
}

.feature-description {
	font-size: 16px;
	color: #666;
}

/* 乐趣区域 */
.fun {
	padding: 60px 0;
	background-color: #f0f0f0;
	text-align: center;
}

.fun-text {
	font-size: 20px;
	color: #666;
	margin-top: 20px;
}

/* 联系区域 */
.contact {
	padding: 80px 0;
	background-color: #2c2c2c;
	color: #fff;
	text-align: center;
}

.contact .section-title {
	color: #fff;
}

/* 关于页面 */
.about {
	padding: 80px 0;
	background-color: #fff;
}

.about-content {
	display: flex;
	flex-direction: column;
	gap: 40px;
}

.server-info {
	background-color: #f9f9f9;
	padding: 30px;
	border-radius: 8px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	border-left: 4px solid #4CAF50;
}

.server-info p {
	margin-bottom: 10px;
	font-size: 16px;
	color: #333;
}

.server-info a {
	color: #4CAF50;
	text-decoration: none;
	transition: color 0.3s ease;
}

.server-info a:hover {
	color: #45a049;
	text-decoration: underline;
}

.server-status {
	text-align: center;
}

/* 页脚 */
.footer {
	background-color: #1a1a1a;
	color: #999;
	padding: 30px 0;
	text-align: center;
}

.footer-text {
	font-size: 14px;
}

/* 响应式设计 */
@media (max-width: 768px) {
	.logo-text {
		font-size: 20px;
	}

	.nav-list {
		position: fixed;
		top: 0;
		right: -100%;
		height: 100vh;
		width: 80%;
		background-color: #2c2c2c;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		gap: 30px;
		transition: right 0.3s ease;
		z-index: 1000;
	}

	.nav-list.active {
		right: 0;
	}

	.mobile-menu-btn {
		display: block;
		z-index: 1001;
	}

	.hero-title {
		font-size: 36px;
	}

	.hero-subtitle {
		font-size: 20px;
	}

	.hero-buttons {
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 15px;
	}

	.btn-primary {
		margin-right: 0;
	}

	.features-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 480px) {
	.logo-img {
		width: 40px;
		height: 40px;
	}

	.logo-text {
		font-size: 18px;
	}

	.hero-title {
		font-size: 28px;
	}

	.hero-subtitle {
		font-size: 16px;
	}

	.section-title {
		font-size: 28px;
	}

	.feature-card {
		padding: 20px;
	}
}