/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* 导航栏样式 */
.navbar {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

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

.logo img {
    width: 40px;
    height: 40px;
    margin-right: 10px;
}

.logo span {
    font-size: 24px;
    font-weight: bold;
    color: #ff6b6b;
}

.nav-links {
    display: flex;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links li a {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    transition: color 0.3s;
}

.nav-links li a:hover,
.nav-links li.active a {
    color: #ff6b6b;
}

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    color: #333;
    cursor: pointer;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 999;
    padding: 20px 0;
}

.mobile-menu ul li {
    text-align: center;
    margin-bottom: 15px;
}

.mobile-menu ul li a {
    font-size: 16px;
    font-weight: 500;
    color: #333;
}

.mobile-menu ul li.active a {
    color: #ff6b6b;
}

/* 首页样式 */
.home-section {
    padding-top: 90px;
}

/* 轮播图样式 */
.slideshow {
    position: relative;
    height: 500px;
    overflow: hidden;
    margin-bottom: 60px;
}

.slides {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.slide-content h2 {
    font-size: 48px;
    margin-bottom: 20px;
}

.slide-content p {
    font-size: 20px;
    margin-bottom: 30px;
    max-width: 600px;
}

.download-btn {
    display: inline-block;
    background-color: #ff6b6b;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    padding: 12px 36px;
    border-radius: 30px;
    transition: background-color 0.3s;
}

.download-btn:hover {
    background-color: #ff4949;
}

.slide-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
}

.slide-indicators span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    margin: 0 8px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.slide-indicators span.active {
    background-color: #fff;
}

/* Hero区域样式 */
.hero {
    display: flex;
    align-items: center;
    margin-bottom: 80px;
}

.hero-content {
    flex: 1;
    text-align: center;
    padding-right: 40px;
}

.hero-content img {
    width: 180px;
    height: 180px;
    border-radius: 30px;
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.hero-content h1 {
    font-size: 42px;
    margin-bottom: 20px;
    color: #333;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
    color: #666;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.download-buttons {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.btn {
    display: flex;
    align-items: center;
    background-color: #333;
    color: #fff;
    padding: 12px 24px;
    border-radius: 10px;
    margin: 0 10px;
    transition: background-color 0.3s;
}

.android-btn {
    background-color: #3dd1e7;
}

.android-btn:hover {
    background-color: #2bb0c5;
}

.ios-btn {
    background-color: #333;
}

.ios-btn:hover {
    background-color: #1a1a1a;
}

.btn i {
    font-size: 30px;
    margin-right: 10px;
}

.btn-text {
    text-align: left;
}

.small-text {
    font-size: 12px;
}

.big-text {
    font-size: 16px;
    font-weight: bold;
}

.other-versions-link {
    display: inline-flex;
    align-items: center;
    color: #ff6b6b;
    font-size: 16px;
    font-weight: 500;
}

.other-versions-link i {
    margin-left: 5px;
}

.app-screenshot {
    flex: 1;
}

.app-screenshot img {
    width: 100%;
    max-width: 400px;
    border-radius: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* 特色功能样式 */
.features {
    margin-bottom: 80px;
}

.features h2 {
    font-size: 32px;
    text-align: center;
    margin-bottom: 40px;
    color: #333;
}

.feature-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.feature-card {
    flex: 0 0 calc(25% - 20px);
    background-color: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    margin-bottom: 30px;
}

.feature-card .icon {
    width: 70px;
    height: 70px;
    background-color: #ffeeee;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.feature-card .icon i {
    font-size: 30px;
    color: #ff6b6b;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #333;
}

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

/* 数据统计样式 */
.stats {
    display: flex;
    justify-content: space-around;
    background-color: #fff;
    padding: 40px 0;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 80px;
}

.stat-item {
    text-align: center;
}

.stat-item h3 {
    font-size: 36px;
    font-weight: bold;
    color: #ff6b6b;
    margin-bottom: 10px;
}

.stat-item p {
    font-size: 16px;
    color: #666;
}

/* 其他版本样式 */
.versions-section {
    padding: 80px 0;
    background-color: #fff;
}

.versions-section h2 {
    font-size: 32px;
    text-align: center;
    margin-bottom: 40px;
    color: #333;
}

.version-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.version-card {
    flex: 0 0 calc(25% - 20px);
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    margin-bottom: 30px;
}

.version-card img {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
}

.version-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #333;
}

.version-card .version,
.version-card .size,
.version-card .date {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.features-list {
    margin-bottom: 20px;
    text-align: left;
}

.features-list p {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.features-list p i {
    color: #4caf50;
    margin-right: 8px;
}

/* 漫画推荐样式 */
.recommendations-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.recommendations-section h2 {
    font-size: 32px;
    text-align: center;
    margin-bottom: 40px;
    color: #333;
}

.comic-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 40px;
}

.comic-item {
    flex: 0 0 calc(25% - 20px);
    background-color: #fff;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
}

.comic-image {
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
}

.comic-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.3s;
}

.comic-item:hover .comic-image img {
    transform: scale(1.05);
}

.comic-item h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}

.comic-item p {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    flex-grow: 1;
}

.comic-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 14px;
}

.author {
    color: #666;
}

.rating {
    color: #ffc107;
    font-weight: 500;
}

.read-now {
    display: inline-flex;
    align-items: center;
    color: #ff6b6b;
    font-size: 16px;
    font-weight: 500;
    margin-top: auto;
}

.read-now i {
    margin-left: 5px;
}

/* 用户评价样式 */
.reviews-section {
    padding: 80px 0;
    background-color: #fff;
}

.reviews-section h2 {
    font-size: 32px;
    text-align: center;
    margin-bottom: 40px;
    color: #333;
}

.review-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.review-card {
    flex: 0 0 calc(33.33% - 20px);
    background-color: #f8f9fa;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.user-info {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.user-info img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
}

.user-details {
    flex: 1;
}

.user-details h4 {
    font-size: 16px;
    margin-bottom: 5px;
    color: #333;
}

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

.review-content {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
}

/* 页脚样式 */
.footer {
    background-color: #333;
    color: #fff;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-logo {
    flex: 0 0 30%;
}

.footer-logo img {
    width: 50px;
    height: 50px;
    margin-bottom: 15px;
}

.footer-logo span {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
    display: block;
}

.footer-logo p {
    font-size: 16px;
    color: #ccc;
}

.footer-links {
    flex: 0 0 60%;
    display: flex;
    justify-content: space-between;
}

.link-group h4 {
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.link-group h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: #ff6b6b;
}

.link-group ul li {
    margin-bottom: 10px;
}

.link-group ul li a {
    font-size: 14px;
    color: #ccc;
    transition: color 0.3s;
}

.link-group ul li a:hover {
    color: #ff6b6b;
}

.social-icons {
    display: flex;
}

.social-icons a {
    width: 36px;
    height: 36px;
    background-color: #444;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    transition: background-color 0.3s;
}

.social-icons a:hover {
    background-color: #ff6b6b;
}

.copyright {
    text-align: center;
    font-size: 14px;
    color: #aaa;
    padding-top: 20px;
    border-top: 1px solid #444;
}

/* 响应式样式 */
@media (max-width: 992px) {
    .feature-card,
    .version-card {
        flex: 0 0 calc(50% - 20px);
    }

    .review-card {
        flex: 0 0 calc(50% - 20px);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .mobile-menu.active {
        display: block;
    }

    .slideshow {
        height: 300px;
    }

    .slide-content h2 {
        font-size: 32px;
    }

    .slide-content p {
        font-size: 16px;
    }

    .hero {
        flex-direction: column;
    }

    .hero-content {
        padding-right: 0;
        margin-bottom: 40px;
    }

    .comic-item {
        flex: 0 0 calc(50% - 20px);
    }
}

@media (max-width: 576px) {
    .feature-card,
    .version-card,
    .review-card,
    .comic-item {
        flex: 0 0 100%;
    }

    .stats {
        flex-direction: column;
    }

    .stat-item {
        margin-bottom: 20px;
    }

    .footer-content {
        flex-direction: column;
    }

    .footer-logo {
        margin-bottom: 40px;
    }

    .footer-links {
        flex-direction: column;
    }

    .link-group {
        margin-bottom: 30px;
    }
}