@charset "utf-8";
/*
    Theme Name: 漫画主题
    Theme URI: 
    Author: 阿叶
    Author URI: 
    Description:
    Version: 0.0.1
*/
/* 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

body {
    background: #f8f9fa;
    color: #333;
    line-height: 1.6;
    padding-top: 70px;
}
a,a:hover {
    text-decoration: none;
}
.line-1 {
	overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.line-2 {
	display: -webkit-box;
	overflow: hidden;
	-webkit-box-orient: vertical;
	text-overflow: ellipsis;
	-webkit-line-clamp: 2;
}
.line-3 {
	display: -webkit-box;
	overflow: hidden;
	-webkit-box-orient: vertical;
	text-overflow: ellipsis;
	-webkit-line-clamp: 3;
}
.line-4 {
	display: -webkit-box;
	overflow: hidden;
	-webkit-box-orient: vertical;
	text-overflow: ellipsis;
	-webkit-line-clamp: 4;
}

/* 头部导航 */
.page-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
}

.nav-container {
    max-width: 1098px;
    margin: 0 auto;
    padding: 16px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: #3fa436;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-link {
    color: #555;
    text-decoration: none;
    transition: color 0.3s;
}

.nav-link:hover {
    color: #3fa436;
}

/* 主容器 */
.main-wrap {
    max-width: 1098px;
    margin: 0 auto;
    background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

/* 顶部区域 */
.top-section {
    padding: 50px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    background: linear-gradient(135deg, #3fa436, #78d570);
    color: white;
}

.top-content {
    flex: 1;
}

.main-title {
	font-weight: bold;
    font-size: 32px;
    margin-bottom: 24px;
    line-height: 1.2;
}

.top-text {
    font-size: 17.6px;
    opacity: 0.95;
    margin-bottom: 32px;
}

.main-btn {
    display: inline-block;
    padding: 12px 30px;
    background: #ff5722;
    color: white;
    border-radius: 32px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.main-btn:hover {
    background: #ff5722;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(255,71,87,0.3);
}

.top-show {
	width: 520px;
	margin-left: 30px;
}
.top-show .show-box {
	white-space: nowrap;
	overflow-x: scroll;
}
.top-show .show-box::-webkit-scrollbar {
	width: 10px;
	height: 8px;
	cursor: pointer;
	background: #fff;
}
.top-show .show-box::-webkit-scrollbar-thumb {
	background: #ddd;
	cursor: pointer;
}

.top-show .show-box img {
	height: 280px;
	border-radius: 8px;
}

/* 版本下载区 */
.version-section {
    padding: 64px 50px;
}

.sec-title {
	font-weight: bold;
    text-align: center;
    font-size: 28px;
    margin-bottom: 48px;
}

.version-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: center;
}

.version-card {
    flex: 1 1 calc(33.333% - 32px);
    padding: 24px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border: 1px solid #eee;
    text-align: center;
    min-width: 280px;
}

.version-name {
	font-weight: bold;
    font-size: 18px;
    color: #2d3436;
    margin-bottom: 16px;
}
.version-name a {
    font-size: 18px;
    color: #2d3436;
}

.version-info {
    color: #666;
    font-size: 15.2px;
    margin-bottom: 24px;
}

.down-btn {
    display: inline-block;
    padding: 10px 24px;
    background: #3fa436;
    color: white;
    border-radius: 32px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}

.down-btn:hover {
    background: #298521;
}

/* 文章资讯区 */
.article-section {
    padding: 64px 50px;
    background: #f8f9fb;
}

.article-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
}

.article-card {
    flex: 1 1 calc(50% - 32px);
    background: white;
    border-radius: 12.8px;
    padding: 24px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.article-card:hover {
    transform: translateY(-5px);
}

.article-title {
	font-weight: bold;
    font-size: 17px;
    color: #2d3436;
    margin-bottom: 12.8px;
}

.article-desc {
    color: #666;
    font-size: 15.2px;
    margin-bottom: 16px;
    line-height: 1.6;
}

.article-date {
    color: #999;
    font-size: 13.6px;
}

/* 用户评价区 - 瀑布流布局 */
.comment-section {
    padding: 48px 50px;
}

.comment-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    align-items: flex-start;
}

.comment-item {
    flex: 1 1 calc(33.333% - 32px);
    background: white;
    padding: 24px;
    border-radius: 12.8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    min-width: 280px;
    display: flex;
    flex-direction: column;
    max-width: 33%;
}

.user-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.user-name {
    font-size: 16px;
    font-weight: 600;
    color: #2d3436;
}

.comment-star {
    color: #ffd700;
    font-size: 14px;
}

.comment-text {
    color: #555;
    line-height: 1.6;
    margin-bottom: 16px;
    flex-grow: 1;
}

.comment-date {
    color: #999;
    font-size: 13px;
    text-align: right;
}

/* 页脚 */
.page-footer {
    text-align: center;
    padding: 32px;
    background: #2d3436;
    color: #eee;
}

.content-section {
    background: #f8f9fb;
    padding: 64px 50px;
}
.content-section p {
    margin-bottom: 15px;
    line-height: 30px;
}
.content-section h3 {
    margin: 15px 0;
    font-size: 17px;
    font-weight: bold;
}
.atime {
    margin-top: 10px;
    color: #fff;
    font-size: 13px;
    opacity: .6;
}

@media (max-width: 768px) {
	.nav-container {
		display: block;
		text-align: center;
	}
    .nav-links {
    	display: none;
    }
    .top-section {
    	display: block;
    	padding: 20px;
    }
    .top-text {
    	font-size: 16px;
    	margin-bottom: 15px;
    }
    .main-title {
    	font-size: 24px;
    }
    .main-btn {
    	padding: 8px 24px;
    	display: block;
    	text-align: center;
    	margin-bottom: 20px;
    }
    .top-show {
    	width: 100%;
    	margin-left: 0;
    }
    .top-show .show-box img {
    	height: 188px;
    }
    .sec-title {
    	font-size: 22px;
    	margin-bottom: 30px;
    }
    .version-grid {
    	gap: 15px
    }
    .version-section {
    	padding: 20px;
    }
    .version-card {
    	padding: 15px;
    }
    .version-name {
    	font-size: 17px;
    }
    .version-info {
    	font-size: 14px;
    	margin-bottom: 15px;
    }
    .down-btn {
    	padding: 8px 16px;
    	font-size: 14px;
    }
    .article-grid {
    	gap: 15px
    }
    .article-section {
    	padding: 20px;
    }
    .article-card {
    	flex: 1 1 calc(100% - 32px)
    }
    .comment-section {
    	padding: 20px;
    }
    .comment-date {
    	text-align: left;
    	font-size: 12px;
    	color: #ccc;
    }
    .comment-item {
    	padding: 15px;
    	max-width: 100%;
    }
    .comment-text {
    	font-size: 14px;
    }
}
.home-links {
        font-size: 12px;
    color: #999;
    display: flex;
}
.home-links ul {
    list-style: none;
    display: flex;
}
.home-links ul li a {
    font-size: 12px;
    color: #999;
}