/* 全局样式 */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	background-color: #121212;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
	line-height: 1.6;
	color: #e0e0e0;
}

a {
  text-decoration: none;
}

.container {
	width: 55%;
	margin: 0 auto;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	background-color: #1e1e1e;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

/* 头部样式 */
header {
	background-color: #3a1f70;
	/* 深紫色背景，暗色调 */
	color: white;
	padding: 15px 20px;
	position: sticky;
	top: 0;
	z-index: 1000;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.logo-container {
	display: flex;
	align-items: center;
}

.logo {
	width: 40px;
	height: 40px;
	margin-right: 10px;
}

.app-name {
	font-size: 1.5rem;
	font-weight: bold;
}

nav ul {
	display: flex;
	list-style: none;
}

nav ul li {
	margin-left: 20px;
}

nav ul li a {
	color: white;
	text-decoration: none;
	font-size: 1rem;
	transition: color 0.3s;
}

nav ul li a:hover {
	color: #ffd700;
	/* 金色高亮 */
}

/* 主要内容区域 */
main {
	flex: 1;
	padding: 20px;
}

/* 尾部样式 */
footer {
	background-color: #3a1f70;
	color: white;
	text-align: center;
	padding: 15px;
	margin-top: auto;
}

/* 响应式设计 */
@media (max-width: 1024px) {
	.container {
		width: 70%;
	}
}

@media (max-width: 768px) {
	.container {
		width: 85%;
	}

	header {
		flex-direction: column;
		padding: 10px;
	}

	.logo-container {
		margin-bottom: 10px;
	}

	nav ul {
		justify-content: center;
		flex-wrap: wrap;
	}

	nav ul li {
		margin: 0 10px;
	}
}

@media (max-width: 480px) {
	.container {
		width: 100%;
	}

	.app-name {
		font-size: 1.2rem;
	}

	nav ul li a {
		font-size: 0.9rem;
	}
}

/* 截图展示区域样式 */
.screenshots-section {
	padding: 30px 0;
}

.section-title {
	text-align: center;
	margin-bottom: 30px;
	color: #b39ddb;
	font-size: 1.8rem;
}

/* 下载板块样式 */
.download-section {
	padding: 40px 0;
	background: linear-gradient(135deg, #6f42c1 0%, #8a5cf6 100%);
	color: white;
	margin-top: 20px;
}

.download-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 40px;
	padding: 0 20px;
	max-width: 1200px;
	margin: 0 auto;
}

.download-info {
	flex: 1;
	min-width: 300px;
	text-align: center;
}

.app-title {
	font-size: 2.5rem;
	margin-bottom: 15px;
	font-weight: bold;
}

.app-slogan {
	font-size: 1.2rem;
	margin-bottom: 30px;
	opacity: 0.9;
}

.download-button {
	background-color: white;
	color: #6f42c1;
	border: none;
	padding: 15px 40px;
	font-size: 1.1rem;
	font-weight: bold;
	border-radius: 30px;
	cursor: pointer;
	transition: all 0.3s ease;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.download-button:hover {
	transform: translateY(-3px);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.app-intro {
	flex: 1;
	min-width: 300px;
	background-color: rgba(255, 255, 255, 0.1);
	padding: 30px;
	border-radius: 15px;
	backdrop-filter: blur(10px);
}

.intro-title {
	font-size: 1.5rem;
	margin-bottom: 20px;
	border-bottom: 2px solid rgba(255, 255, 255, 0.3);
	padding-bottom: 10px;
}

.intro-content {
	line-height: 1.8;
	font-size: 1.05rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
	.download-container {
		flex-direction: column;
		text-align: center;
	}

	.app-title {
		font-size: 2rem;
	}

	.app-slogan {
		font-size: 1rem;
	}

	.download-button {
		padding: 12px 30px;
		font-size: 1rem;
	}

	.app-intro {
		padding: 20px;
	}

	.intro-title {
		font-size: 1.3rem;
	}

	.intro-content {
		font-size: 1rem;
	}
}

/* PC端弹性布局 */
.screenshots-container-desktop {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	gap: 30px;
	padding: 0 20px;
}

.screenshot-item {
	flex: 0 0 auto;
	width: 250px;
}

.screenshot-item img {
	width: 250px;
	height: 450px;
	object-fit: contain;
	border-radius: 10px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
	transition: transform 0.3s ease;
	border: 1px solid #333;
}

.screenshot-item img:hover {
	transform: translateY(-10px);
}

/* 移动端轮播图 */
.screenshots-container-mobile {
	display: none;
	width: 100%;
	max-width: 250px;
	margin: 0 auto;
	overflow: hidden;
}

.swiper-container {
	width: 100%;
	height: 450px;
	overflow: hidden;
}

.swiper-slide {
	display: flex;
	justify-content: center;
	align-items: center;
	overflow: hidden;
}

.swiper-slide img {
	width: 100%;
	height: 450px;
	object-fit: contain;
	max-width: 250px;
}

.swiper-pagination-bullet-active {
	background-color: #6f42c1 !important;
}

/* 隐藏轮播图指示器 */
.swiper-pagination {
	display: none !important;
}

/* 更多版本区域样式 */
.versions-section {
	padding: 30px 0;
	background-color: #f8f5ff;
	margin-top: 30px;
}

.versions-container {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	justify-content: center;
	padding: 0 20px;
}

.version-item {
	flex: 0 0 calc(33.333% - 20px);
	min-width: 250px;
	background-color: white;
	border-radius: 8px;
	padding: 15px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	display: flex;
	justify-content: space-between;
	align-items: center;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.version-item:hover {
	transform: translateY(-3px);
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.version-info .app-name {
	color: #333;
	font-weight: bold;
	margin-bottom: 3px;
}

.version-info h3 {
	color: #6f42c1;
	margin-bottom: 5px;
}

.version-date,
.version-size {
	font-size: 0.9rem;
	color: #666;
	margin: 2px 0;
}

.download-btn {
	background-color: #afd79e;
	color: white;
	border: none;
	padding: 8px 15px;
	border-radius: 5px;
	cursor: pointer;
	font-size: 0.9rem;
	transition: background-color 0.3s ease;
}

.download-btn:hover {
	background-color: #5a32a3;
}

/* 响应式设计 */
@media (max-width: 768px) {
	.version-item {
		flex: 0 0 calc(50% - 15px);
		min-width: 200px;
	}
}

@media (max-width: 480px) {
	.version-item {
		flex: 0 0 100%;
		min-width: unset;
	}
}

/* 帮助中心板块样式 */
.help-section {
	padding: 30px 0;
	margin-top: 30px;
}

.help-container {
	max-width: 800px;
	margin: 0 auto;
	padding: 0 20px;
}

.faq-item {
	margin-bottom: 15px;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.faq-question {
	background-color: white;
	padding: 15px 20px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	cursor: pointer;
	transition: background-color 0.3s ease;
}

.faq-question:hover {
	background-color: #f8f5ff;
}

.faq-question h3 {
	font-size: 16px;
	color: #333;
	margin: 0;
}

.faq-toggle {
	background: none;
	border: none;
	color: #6f42c1;
	font-size: 18px;
	cursor: pointer;
	transition: transform 0.3s ease;
}

.faq-toggle.active {
	transform: rotate(45deg);
}

.faq-answer {
	background-color: white;
	padding: 0 20px;
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer.active {
	max-height: 200px;
	padding: 0 20px 20px;
}

.faq-answer p {
	color: #666;
	line-height: 1.6;
	margin: 0;
}

/* 用户评价板块样式 */
.reviews-section {
	padding: 30px 0;
	background-color: #f9f9f9;
	margin-top: 30px;
}

.reviews-container {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	justify-content: center;
	padding: 0 20px;
}

.review-card {
	flex: 0 0 calc(50% - 20px);
	min-width: 300px;
	background-color: white;
	border-radius: 10px;
	padding: 20px;
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.review-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	margin-bottom: 15px;
}

.user-info {
	display: flex;
	align-items: center;
}

.user-avatar {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background-color: #6f42c1;
	display: flex;
	justify-content: center;
	align-items: center;
	margin-right: 12px;
}

.avatar-text {
	color: white;
	font-weight: bold;
	font-size: 18px;
}

.user-name {
	font-size: 16px;
	margin-bottom: 5px;
}

.rating {
	color: #ffd700;
}

.rating i {
	margin-right: 2px;
}

.review-date {
	color: #999;
	font-size: 14px;
}

.review-content {
	color: #333;
	line-height: 1.6;
	font-size: 15px;
}

/* 响应式设计 */
@media (max-width: 768px) {
	.review-card {
		flex: 0 0 100%;
		min-width: unset;
	}
}

/* 响应式设计 - 移动端显示轮播图，隐藏弹性布局 */
@media (max-width: 768px) {
	.screenshots-container-desktop {
		display: none;
	}

	.screenshots-container-mobile {
		display: block;
	}
}