:root {
        --primary-yellow: #ffd600;
        --secondary-yellow: #ffb300;
        --dark-yellow: #e6a800;
        --text-dark: #2c2c2c;
        --text-light: #666;
        --bg-light: #fffdf5;
        --btn-red: #e53935;
        --btn-red-hover: #c62828;
        --card-bg: #ffffff;
        --border-radius: 12px;
        --shadow: 0 4px 12px rgba(230, 168, 0, 0.15);
    }

    * {
        box-sizing: border-box;
        margin: 0;
        padding: 0;
    }

    body {
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
        background-color: var(--bg-light);
        color: var(--text-dark);
        line-height: 1.6;
        overflow-x: hidden;
    }

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

    /* 导航条 */
    header {
        background: linear-gradient(135deg, #fff9e6, #ffecb3);
        box-shadow: 0 2px 10px rgba(0,0,0,0.05);
        position: sticky;
        top: 0;
        z-index: 1000;
        border-bottom: 2px solid var(--primary-yellow);
    }

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

    .logo-area {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 20px;
        font-weight: bold;
        color: var(--text-dark);
    }

    .logo-area img {
        height: 32px;
        width: auto;
    }

    .nav-links {
        display: flex;
        gap: 20px;
        align-items: center;
    }

    .nav-links a {
        font-size: 15px;
        font-weight: 500;
        color: var(--text-dark);
        transition: color 0.3s;
    }

    .nav-links a:hover {
        color: var(--btn-red);
    }

    .toggle-btn {
        display: none;
        background: var(--primary-yellow);
        border: none;
        padding: 8px 16px;
        border-radius: 6px;
        font-weight: bold;
        cursor: pointer;
        color: var(--text-dark);
    }

    /* 滚动横幅 */
    .marquee-bar {
        background: var(--secondary-yellow);
        color: #fff;
        padding: 8px 0;
        font-size: 14px;
        overflow: hidden;
        white-space: nowrap;
        position: relative;
    }

    .marquee-content {
        display: inline-block;
        animation: marquee 20s linear infinite;
    }

    .marquee-content span {
        margin: 0 20px;
    }

    @keyframes marquee {
        0% { transform: translateX(100%); }
        100% { transform: translateX(-100%); }
    }

    /* 首屏 */
    .hero {
        max-width: 1200px;
        margin: 30px auto;
        padding: 0 20px;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 40px;
        align-items: center;
    }

    .hero-text h1 {
        font-size: 36px;
        line-height: 1.3;
        margin-bottom: 15px;
        color: var(--text-dark);
    }

    .hero-text h1 span {
        color: var(--dark-yellow);
    }

    .hero-text p {
        font-size: 16px;
        color: var(--text-light);
        margin-bottom: 25px;
    }

    .download-btn {
        display: inline-block;
        background-color: var(--btn-red);
        color: #fff;
        padding: 14px 32px;
        font-size: 18px;
        font-weight: bold;
        border-radius: 30px;
        box-shadow: 0 4px 15px rgba(229, 57, 53, 0.4);
        transition: background 0.3s, transform 0.2s;
        cursor: pointer;
        border: none;
        text-align: center;
    }

    .download-btn:hover {
        background-color: var(--btn-red-hover);
        transform: translateY(-2px);
    }

    .update-time {
        display: block;
        margin-top: 15px;
        font-size: 12px;
        color: #888;
    }

    /* 轮播图 */
    .carousel-wrapper {
        position: relative;
        overflow: hidden;
        border-radius: var(--border-radius);
        box-shadow: var(--shadow);
        background: #fff;
        aspect-ratio: 4/3;
        max-width: 400px;
        margin: 0 auto;
    }

    .carousel-track {
        display: flex;
        transition: transform 0.4s ease;
        height: 100%;
    }

    .carousel-slide {
        min-width: 100%;
        height: 100%;
        position: relative;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #f0f0f0;
    }

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

    .play-icon {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 60px;
        height: 60px;
        background: rgba(0, 0, 0, 0.5);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 2px solid rgba(255,255,255,0.8);
    }

    .play-icon::after {
        content: '';
        display: block;
        width: 0;
        height: 0;
        border-style: solid;
        border-width: 10px 0 10px 18px;
        border-color: transparent transparent transparent #fff;
        margin-left: 5px;
    }

    /* 通用区块 */
    section {
        padding: 40px 20px;
    }

    .section-title {
        text-align: center;
        font-size: 28px;
        margin-bottom: 10px;
        color: var(--text-dark);
        position: relative;
        display: inline-block;
        left: 50%;
        transform: translateX(-50%);
    }

    .section-title::after {
        content: '';
        display: block;
        width: 60%;
        height: 4px;
        background: var(--primary-yellow);
        margin: 8px auto 0;
        border-radius: 2px;
    }

    .section-desc {
        text-align: center;
        color: var(--text-light);
        margin-bottom: 30px;
        font-size: 15px;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }

    .grid-container {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 20px;
        max-width: 1200px;
        margin: 0 auto;
    }

    .card {
        background: var(--card-bg);
        border-radius: var(--border-radius);
        overflow: hidden;
        box-shadow: var(--shadow);
        transition: transform 0.3s;
        position: relative;
        border: 1px solid #ffe082;
    }

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

    .card-img-wrapper {
        position: relative;
        aspect-ratio: 3/4;
        overflow: hidden;
        cursor: pointer;
    }

    .card-img-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s;
    }

    .card:hover .card-img-wrapper img {
        transform: scale(1.05);
    }

    .card-content {
        padding: 12px;
    }

    .card-content p {
        font-size: 14px;
        color: var(--text-dark);
        line-height: 1.4;
    }

    /* 具体区块样式微调 */
    #manga-library .card-content p {
        font-size: 13px;
        color: var(--text-light);
    }
    
    #original .card-content p {
        font-weight: 500;
    }

    #recommend .card-content p {
        background: #fff9e6;
        padding: 8px;
        border-radius: 6px;
        font-size: 13px;
    }

    #ranking .card-img-wrapper::after {
        content: 'TOP';
        position: absolute;
        top: 8px;
        right: 8px;
        background: rgba(229, 57, 53, 0.9);
        color: #fff;
        padding: 2px 8px;
        border-radius: 4px;
        font-size: 12px;
        font-weight: bold;
    }

    .stats {
        display: flex;
        justify-content: space-between;
        margin-top: 8px;
        font-size: 12px;
        color: #888;
    }

    /* 关于香蕉 */
    .about-area {
        max-width: 800px;
        margin: 0 auto;
        background: #fff;
        padding: 30px;
        border-radius: var(--border-radius);
        box-shadow: var(--shadow);
        border-left: 6px solid var(--primary-yellow);
    }

    .about-area p {
        margin-bottom: 15px;
        font-size: 15px;
        line-height: 1.8;
        color: var(--text-dark);
    }

    /* 常见问题 */
    .faq-list {
        max-width: 800px;
        margin: 0 auto;
    }

    .faq-item {
        background: #fff;
        margin-bottom: 10px;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 2px 8px rgba(0,0,0,0.05);
        border: 1px solid #ffe082;
    }

    .faq-question {
        padding: 15px 20px;
        font-weight: bold;
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
        background: #fffdf5;
        color: var(--text-dark);
        border-bottom: 1px solid transparent;
        transition: background 0.2s;
    }
    
    .faq-question:hover {
        background: #fff9e6;
    }

    .faq-question::after {
        content: '+';
        font-size: 20px;
        color: var(--dark-yellow);
    }

    .faq-item.active .faq-question::after {
        content: '-';
    }

    .faq-item.active .faq-question {
        border-bottom: 1px solid #ffe082;
    }

    .faq-answer {
        padding: 0 20px;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, padding 0.3s ease;
        background: #fff;
        font-size: 14px;
        color: var(--text-light);
    }

    .faq-item.active .faq-answer {
        padding: 15px 20px;
        max-height: 200px;
    }

    /* 网友热议 */
    .review-section {
        max-width: 800px;
        margin: 0 auto;
    }
    
    .accordion-item {
        background: #fff;
        margin-bottom: 10px;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 2px 8px rgba(0,0,0,0.05);
        border: 1px solid #ffe082;
    }

    .accordion-header {
        padding: 15px 20px;
        font-weight: bold;
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
        background: #fffdf5;
        color: var(--text-dark);
    }

    .accordion-header::after {
        content: '▼';
        font-size: 12px;
        color: var(--dark-yellow);
        transition: transform 0.3s;
    }

    .accordion-item.active .accordion-header::after {
        transform: rotate(180deg);
    }

    .accordion-body {
        padding: 0 20px;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, padding 0.3s ease;
        background: #fff;
        font-size: 14px;
        color: var(--text-light);
    }

    .accordion-item.active .accordion-body {
        padding: 15px 20px;
        max-height: 200px;
    }

    .comment-box {
        margin-top: 30px;
        background: #fff;
        padding: 20px;
        border-radius: var(--border-radius);
        box-shadow: var(--shadow);
        border: 1px solid #ffe082;
    }

    .comment-box h3 {
        font-size: 18px;
        margin-bottom: 15px;
        color: var(--text-dark);
    }

    .comment-box textarea {
        width: 100%;
        height: 80px;
        padding: 12px;
        border: 1px solid #ddd;
        border-radius: 8px;
        resize: none;
        font-family: inherit;
        font-size: 14px;
        margin-bottom: 15px;
        outline: none;
    }

    .comment-box textarea:focus {
        border-color: var(--dark-yellow);
    }

    .comment-box button {
        background: var(--primary-yellow);
        color: var(--text-dark);
        border: none;
        padding: 10px 24px;
        font-size: 16px;
        font-weight: bold;
        border-radius: 20px;
        cursor: pointer;
        transition: background 0.3s;
    }

    .comment-box button:hover {
        background: var(--secondary-yellow);
    }

    /* 页脚 */
    footer {
        background: #fff;
        border-top: 1px solid #eee;
        padding: 20px 20px;
        text-align: center;
        font-size: 12px;
        color: #999;
        margin-top: 40px;
    }

    footer p {
        margin-bottom: 8px;
    }
    
    footer a {
        color: #999;
        text-decoration: none;
    }
    
    footer a:hover {
        color: var(--text-dark);
    }

    /* 弹窗模态 */
    .modal-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.6);
        z-index: 2000;
        align-items: center;
        justify-content: center;
    }

    .modal-overlay.show {
        display: flex;
    }

    .modal-box {
        background: #fff;
        padding: 30px;
        border-radius: var(--border-radius);
        max-width: 400px;
        width: 90%;
        text-align: center;
        box-shadow: 0 10px 30px rgba(0,0,0,0.2);
        position: relative;
    }
    
    .modal-box p {
        font-size: 16px;
        margin-bottom: 20px;
        color: var(--text-dark);
        font-weight: bold;
    }
    
    .modal-box .download-btn {
        padding: 10px 24px;
        font-size: 16px;
        display: inline-block;
        width: 100%;
    }
    
    .modal-close {
        margin-top: 15px;
        background: none;
        border: none;
        color: #999;
        cursor: pointer;
        font-size: 14px;
    }

    /* 响应式 */
    @media (max-width: 1024px) {
        .hero {
            gap: 20px;
        }
        .hero-text h1 {
            font-size: 28px;
        }
        .nav-links {
            gap: 12px;
        }
        .nav-links a {
            font-size: 14px;
        }
    }

    @media (max-width: 768px) {
        .nav-links {
            display: none;
            flex-direction: column;
            position: absolute;
            top: 100%;
            left: 0;
            width: 100%;
            background: #fff9e6;
            padding: 20px;
            box-shadow: 0 4px 10px rgba(0,0,0,0.1);
            border-bottom: 2px solid var(--primary-yellow);
        }

        .nav-links.active {
            display: flex;
        }

        .toggle-btn {
            display: block;
        }

        .hero {
            grid-template-columns: 1fr;
            text-align: center;
            margin: 20px auto;
        }

        .carousel-wrapper {
            max-width: 320px;
            margin-top: 20px;
        }

        .grid-container {
            grid-template-columns: repeat(2, 1fr);
            gap: 12px;
        }
        
        .about-area {
            padding: 20px;
        }
        
        .hero-text h1 {
            font-size: 24px;
        }
    }