:root {
        --bg-color: #f0f6fc;
        --card-bg: #ffffff;
        --text-main: #0b1c34;
        --text-muted: #4a5d78;
        --primary: #3b82f6;
        --primary-light: #bfdbfe;
        --accent: #ff7a59;
        --highlight: #fde047;
        --border-color: #d0e0f0;
        --grid-line: rgba(59, 130, 246, 0.08);
        --radius: 12px;
    }

    * {
        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-color);
        color: var(--text-main);
        line-height: 1.6;
        overflow-x: hidden;
        background-image: 
            linear-gradient(var(--grid-line) 1px, transparent 1px),
            linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
        background-size: 24px 24px;
    }

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

    img {
        max-width: 100%;
        display: block;
    }

    /* Header */
    header {
        position: fixed;
        top: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(8px);
        border-bottom: 1px solid var(--border-color);
        z-index: 100;
    }

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

    .brand {
        display: flex;
        align-items: center;
        gap: 10px;
        font-weight: 700;
        font-size: 20px;
        color: var(--text-main);
    }

    .brand img {
        height: 32px;
        width: auto;
        object-fit: contain;
    }

    .nav-links {
        display: none;
        gap: 24px;
        font-size: 15px;
        font-weight: 500;
    }

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

    .btn-download {
        background: var(--text-main);
        color: #fff;
        padding: 8px 16px;
        border-radius: 6px;
        font-size: 14px;
        font-weight: 600;
        transition: all 0.2s;
    }

    .btn-download:hover {
        background: var(--primary);
        transform: translateY(-1px);
    }

    /* Layout */
    main {
        margin-top: 60px;
        padding-bottom: 40px;
    }

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

    section {
        padding: 40px 0;
        border-bottom: 1px dashed var(--border-color);
    }

    .section-header {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-bottom: 24px;
    }

    .scene-num {
        font-family: monospace;
        background: var(--text-main);
        color: var(--bg-color);
        padding: 2px 8px;
        border-radius: 4px;
        font-size: 12px;
        letter-spacing: 1px;
    }

    .section-title {
        font-size: 22px;
        font-weight: 700;
    }

    /* Hero */
    .hero {
        padding-top: 60px;
        min-height: 80vh;
        display: flex;
        flex-direction: column;
        gap: 30px;
    }

    .hero-content h1 {
        font-size: 32px;
        line-height: 1.3;
        margin-bottom: 16px;
        color: var(--text-main);
    }

    .hero-content p {
        font-size: 16px;
        color: var(--text-muted);
        margin-bottom: 24px;
    }

    .hero-actions {
        display: flex;
        gap: 12px;
    }

    .btn {
        padding: 12px 24px;
        border-radius: 8px;
        font-size: 15px;
        font-weight: 600;
        text-align: center;
        cursor: pointer;
        transition: 0.2s;
        display: inline-block;
    }

    .btn-primary {
        background: var(--primary);
        color: #fff;
        border: none;
    }

    .btn-primary:hover {
        background: #2563eb;
    }

    .btn-outline {
        background: transparent;
        color: var(--text-main);
        border: 2px solid var(--text-main);
    }

    .btn-outline:hover {
        background: var(--text-main);
        color: #fff;
    }

    .hero-covers {
        display: flex;
        gap: 16px;
        overflow-x: auto;
        padding-bottom: 10px;
        scrollbar-width: none;
    }
    .hero-covers::-webkit-scrollbar {
        display: none;
    }

    .hero-cover-item {
        flex: 0 0 140px;
        position: relative;
    }

    .poster-wrap {
        aspect-ratio: 2 / 3;
        border-radius: var(--radius);
        overflow: hidden;
        background: #e2e8f0;
        margin-bottom: 8px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    }

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

    .cover-meta {
        font-size: 13px;
        color: var(--text-muted);
    }

    .cover-title {
        font-weight: 600;
        color: var(--text-main);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    /* Quick Index */
    .quick-index {
        background: #fff;
        border-radius: var(--radius);
        padding: 16px;
        display: flex;
        gap: 16px;
        overflow-x: auto;
        border: 1px solid var(--border-color);
    }

    .index-item {
        flex: 0 0 auto;
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 14px;
        padding-right: 16px;
        border-right: 1px solid var(--border-color);
    }

    .index-item:last-child {
        border-right: none;
    }

    .index-item span:first-child {
        font-family: monospace;
        color: var(--accent);
        font-weight: 700;
    }

    /* Grid Layouts */
    .plot-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .plot-card {
        display: flex;
        gap: 16px;
        background: #fff;
        padding: 16px;
        border-radius: var(--radius);
        border: 1px solid var(--border-color);
    }

    .plot-card .poster-wrap {
        flex: 0 0 100px;
        margin-bottom: 0;
    }

    .plot-info h3 {
        font-size: 18px;
        margin-bottom: 8px;
    }

    .plot-info p {
        font-size: 14px;
        color: var(--text-muted);
        margin-bottom: 12px;
    }

    .tag-list {
        display: flex;
        gap: 8px;
    }

    .tag {
        background: var(--primary-light);
        color: #1e3a8a;
        font-size: 12px;
        padding: 2px 8px;
        border-radius: 4px;
    }

    /* Updates List */
    .update-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .update-card {
        background: #fff;
        border-radius: var(--radius);
        padding: 12px;
        border: 1px solid var(--border-color);
    }

    .update-card .poster-wrap {
        margin-bottom: 12px;
    }

    /* Categories */
    .category-filters {
        display: flex;
        gap: 12px;
        overflow-x: auto;
        margin-bottom: 20px;
        padding-bottom: 8px;
    }

    .filter-btn {
        padding: 6px 16px;
        background: #fff;
        border: 1px solid var(--border-color);
        border-radius: 20px;
        font-size: 14px;
        white-space: nowrap;
        cursor: pointer;
    }

    .filter-btn.active {
        background: var(--text-main);
        color: #fff;
        border-color: var(--text-main);
    }

    /* Continue Watching */
    .history-list {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .history-row {
        display: flex;
        align-items: center;
        gap: 16px;
        background: #fff;
        padding: 12px;
        border-radius: var(--radius);
        border: 1px solid var(--border-color);
    }

    .history-row .poster-wrap {
        flex: 0 0 60px;
        margin-bottom: 0;
        border-radius: 8px;
    }

    .progress-info {
        flex: 1;
    }

    .progress-bar {
        height: 6px;
        background: #e2e8f0;
        border-radius: 3px;
        margin-top: 8px;
        overflow: hidden;
    }

    .progress-inner {
        height: 100%;
        background: var(--accent);
        width: 45%;
    }

    .btn-continue {
        font-size: 13px;
        color: var(--primary);
        font-weight: 600;
        white-space: nowrap;
    }

    /* Rank List */
    .rank-list {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .rank-item {
        display: flex;
        gap: 16px;
        align-items: center;
        background: #fff;
        padding: 12px;
        border-radius: var(--radius);
        border: 1px solid var(--border-color);
    }

    .rank-num {
        font-size: 24px;
        font-weight: 800;
        font-family: monospace;
        color: var(--primary-light);
        width: 36px;
        text-align: center;
    }

    .rank-item.top-3 .rank-num {
        color: var(--accent);
        font-size: 32px;
    }

    .rank-item .poster-wrap {
        flex: 0 0 60px;
        margin-bottom: 0;
    }

    .rank-info {
        flex: 1;
    }

    .rank-info h4 {
        font-size: 15px;
        margin-bottom: 4px;
    }

    .rank-info p {
        font-size: 12px;
        color: var(--text-muted);
    }

    /* Timeline */
    .timeline {
        display: flex;
        flex-direction: column;
        gap: 20px;
        position: relative;
        padding-left: 20px;
    }
    
    .timeline::before {
        content: '';
        position: absolute;
        left: 4px;
        top: 0;
        bottom: 0;
        width: 2px;
        background: var(--border-color);
    }

    .timeline-item {
        position: relative;
        display: flex;
        gap: 16px;
        align-items: center;
    }

    .timeline-item::before {
        content: '';
        position: absolute;
        left: -20px;
        width: 10px;
        height: 10px;
        background: var(--primary);
        border-radius: 50%;
        border: 2px solid #fff;
    }

    .timeline-date {
        font-size: 12px;
        color: var(--accent);
        font-weight: 600;
        width: 50px;
    }

    .timeline-item .poster-wrap {
        flex: 0 0 50px;
        margin-bottom: 0;
    }

    /* FAQ */
    .faq-list {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .faq-item {
        background: #fff;
        border: 1px solid var(--border-color);
        border-radius: var(--radius);
        overflow: hidden;
    }

    .faq-question {
        padding: 16px;
        font-weight: 600;
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .faq-answer {
        padding: 0 16px 16px;
        font-size: 14px;
        color: var(--text-muted);
        display: none;
    }

    .faq-item.active .faq-answer {
        display: block;
    }

    .faq-item.active .faq-question {
        color: var(--primary);
    }

    /* Download Section */
    .download-section {
        background: #e0f2fe;
        border-radius: var(--radius);
        padding: 32px 20px;
        text-align: center;
        border: 2px solid var(--primary-light);
    }

    .download-section h2 {
        margin-bottom: 16px;
    }

    .download-actions {
        display: flex;
        justify-content: center;
        gap: 16px;
        margin-top: 24px;
    }

    /* Footer */
    footer {
        background: #fff;
        border-top: 1px solid var(--border-color);
        padding: 32px 20px;
        font-size: 13px;
        color: var(--text-muted);
    }

    .footer-inner {
        max-width: 1200px;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .footer-links {
        display: flex;
        justify-content: center;
        gap: 16px;
        flex-wrap: wrap;
    }

    .footer-links a:hover {
        color: var(--primary);
    }

    /* Responsive */
    @media (min-width: 768px) {
        .hero {
            flex-direction: row;
            align-items: center;
            justify-content: space-between;
        }
        .hero-content {
            flex: 1;
            padding-right: 40px;
        }
        .hero-covers {
            flex: 1;
            display: flex;
            gap: 16px;
            overflow: visible;
        }
        .hero-cover-item {
            flex: 1;
        }
        .update-grid {
            grid-template-columns: repeat(3, 1fr);
        }
        .plot-grid {
            grid-template-columns: repeat(2, 1fr);
        }
        .history-list {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
        }
        .download-actions {
            justify-content: center;
        }
    }

    @media (min-width: 1024px) {
        .nav-links {
            display: flex;
        }
        .hero h1 {
            font-size: 48px;
        }
        .update-grid {
            grid-template-columns: repeat(4, 1fr);
        }
        .plot-grid {
            grid-template-columns: repeat(3, 1fr);
        }
        .rank-list {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 20px;
        }
    }