:root {
        --primary-color: #FF6B00;
        --primary-hover: #E65F00;
        --bg-dark: #121212;
        --bg-light: #1E1E1E;
        --bg-section: #2A2A2A;
        --text-main: #F5F5F5;
        --text-sub: #A0A0A0;
        --card-bg: #333333;
        --border-color: #444444;
    }

    * {
        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-dark);
        color: var(--text-main);
        line-height: 1.6;
        overflow-x: hidden;
        padding-bottom: 80px; /* Space for floating window */
    }

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

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

    /* 导航栏 */
    .header {
        background-color: rgba(18, 18, 18, 0.95);
        position: sticky;
        top: 0;
        z-index: 100;
        border-bottom: 1px solid var(--border-color);
        backdrop-filter: blur(10px);
    }

    .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;
    }

    .logo-area img {
        height: 32px;
        border-radius: 6px;
    }

    .logo-text {
        font-size: 1.2rem;
        font-weight: bold;
        color: var(--primary-color);
    }

    .nav-links {
        display: none;
    }

    @media (min-width: 768px) {
        .nav-links {
            display: flex;
            gap: 20px;
            font-size: 0.95rem;
            color: var(--text-sub);
        }
        .nav-links a:hover {
            color: var(--primary-color);
        }
    }

    /* 首屏区域 */
    .hero {
        position: relative;
        padding: 60px 20px;
        background: linear-gradient(135deg, #1A1A1A 0%, #2C1A0A 100%);
        overflow: hidden;
    }

    .hero-bg {
        position: absolute;
        top: 0;
        right: -10%;
        width: 60%;
        height: 100%;
        opacity: 0.3;
        mask-image: linear-gradient(to left, rgba(0,0,0,1), rgba(0,0,0,0));
        -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,1), rgba(0,0,0,0));
        z-index: 1;
    }

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

    .hero-content {
        position: relative;
        z-index: 2;
        max-width: 1200px;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        gap: 30px;
    }

    .hero-text h1 {
        font-size: 2.2rem;
        color: var(--text-main);
        margin-bottom: 16px;
        line-height: 1.2;
    }

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

    .hero-text p {
        font-size: 1rem;
        color: var(--text-sub);
        margin-bottom: 24px;
        max-width: 500px;
    }

    .download-btns {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
    }

    .btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 10px 24px;
        border-radius: 30px;
        font-size: 0.95rem;
        font-weight: bold;
        transition: all 0.3s ease;
        cursor: pointer;
        border: none;
    }

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

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

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

    .btn-outline:hover {
        border-color: var(--primary-color);
        color: var(--primary-color);
    }

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

    .hero-carousel img {
        height: 200px;
        width: auto;
        border-radius: 12px;
        box-shadow: 0 8px 16px rgba(0,0,0,0.5);
        flex-shrink: 0;
        transition: transform 0.3s;
    }

    .hero-carousel img:hover {
        transform: scale(1.05);
    }

    @media (min-width: 768px) {
        .hero-content {
            flex-direction: row;
            align-items: center;
        }
        .hero-text {
            flex: 1;
        }
        .hero-carousel {
            flex: 1;
            justify-content: flex-end;
        }
        .hero-carousel img {
            height: 320px;
        }
    }

    /* 通用区块样式 */
    .section {
        padding: 60px 20px;
        max-width: 1200px;
        margin: 0 auto;
    }

    .section-header {
        text-align: center;
        margin-bottom: 40px;
    }

    .section-header h2 {
        font-size: 1.8rem;
        color: var(--text-main);
        margin-bottom: 10px;
    }

    .section-header p {
        color: var(--text-sub);
        font-size: 0.95rem;
    }

    /* 真人爽剧 */
    .shuangju-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 24px;
    }

    .shuangju-card {
        background: var(--bg-light);
        border-radius: 16px;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        transition: transform 0.3s;
    }

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

    .shuangju-card img {
        width: 100%;
        aspect-ratio: 3/4;
    }

    .card-info {
        padding: 16px;
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .card-info h3 {
        font-size: 1.1rem;
        margin-bottom: 8px;
        color: var(--text-main);
    }

    .card-tags {
        display: flex;
        gap: 8px;
        margin-bottom: 12px;
    }

    .tag {
        font-size: 0.75rem;
        padding: 2px 8px;
        border-radius: 4px;
        background: rgba(255, 107, 0, 0.15);
        color: var(--primary-color);
    }

    .card-desc {
        font-size: 0.85rem;
        color: var(--text-sub);
        margin-bottom: 12px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .card-meta {
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 0.8rem;
        color: var(--text-sub);
    }

    /* 原创精品 */
    .yuanchuang-layout {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }

    @media (min-width: 1024px) {
        .yuanchuang-layout {
            flex-direction: row;
            align-items: flex-start;
        }
    }

    .yc-left {
        flex: 1;
        display: grid;
        grid-template-columns: 1fr;
        gap: 16px;
    }

    @media (min-width: 768px) {
        .yc-left {
            grid-template-columns: 1fr 1fr;
        }
    }

    .yc-item {
        background: var(--bg-light);
        padding: 16px;
        border-radius: 12px;
        border-left: 4px solid var(--primary-color);
    }

    .yc-item h3 {
        font-size: 1.05rem;
        margin-bottom: 6px;
    }

    .yc-item p {
        font-size: 0.85rem;
        color: var(--text-sub);
    }

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

    .yc-right img {
        height: 280px;
        width: auto;
        border-radius: 12px;
        flex-shrink: 0;
    }

    @media (min-width: 1024px) {
        .yc-right img {
            height: 400px;
        }
    }

    /* 上新日历 - 纵向时间轴 */
    .timeline-section {
        background-color: var(--bg-light);
        padding: 60px 20px;
    }

    .timeline-container {
        max-width: 800px;
        margin: 0 auto;
        position: relative;
    }

    .timeline-container::before {
        content: '';
        position: absolute;
        top: 0;
        left: 20px;
        height: 100%;
        width: 2px;
        background: var(--border-color);
    }

    .timeline-item {
        position: relative;
        padding-left: 50px;
        margin-bottom: 30px;
    }

    .timeline-item::before {
        content: '';
        position: absolute;
        left: 15px;
        top: 6px;
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background: var(--primary-color);
        border: 2px solid var(--bg-light);
    }

    .timeline-time {
        font-size: 0.9rem;
        font-weight: bold;
        color: var(--primary-color);
        margin-bottom: 4px;
    }

    .timeline-title {
        font-size: 1.1rem;
        color: var(--text-main);
        margin-bottom: 4px;
    }

    .timeline-desc {
        font-size: 0.85rem;
        color: var(--text-sub);
    }

    /* 短剧工坊 */
    .gongfang-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
    }

    @media (min-width: 768px) {
        .gongfang-grid {
            grid-template-columns: 1fr 1fr;
        }
    }

    .gf-card {
        background: var(--bg-section);
        border-radius: 16px;
        overflow: hidden;
        display: flex;
        flex-direction: column;
    }

    .gf-card img {
        width: 100%;
        height: 200px;
    }

    .gf-content {
        padding: 16px;
    }

    .gf-content h3 {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }

    .gf-content p {
        font-size: 0.85rem;
        color: var(--text-sub);
    }

    /* 短剧题材 */
    .ticai-tags {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        justify-content: center;
    }

    .ticai-tag {
        background: var(--card-bg);
        padding: 8px 20px;
        border-radius: 30px;
        font-size: 0.95rem;
        color: var(--text-main);
        border: 1px solid var(--border-color);
        transition: all 0.3s;
    }

    .ticai-tag:hover {
        background: var(--primary-color);
        border-color: var(--primary-color);
    }

    /* 热门神评 */
    .comment-list {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .comment-item {
        display: flex;
        gap: 12px;
        background: var(--bg-light);
        padding: 16px;
        border-radius: 12px;
    }

    .comment-avatar {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        flex-shrink: 0;
    }

    .comment-avatar img {
        width: 100%;
        height: 100%;
        border-radius: 50%;
    }

    .comment-body h4 {
        font-size: 0.9rem;
        color: var(--text-main);
        margin-bottom: 4px;
    }

    .comment-body p {
        font-size: 0.85rem;
        color: var(--text-sub);
    }

    /* 隐私安全 / 问答 */
    .faq-item {
        background: var(--bg-light);
        margin-bottom: 12px;
        border-radius: 12px;
        overflow: hidden;
    }

    .faq-question {
        padding: 16px;
        font-size: 1rem;
        font-weight: bold;
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
        background: var(--bg-section);
    }

    .faq-answer {
        padding: 16px;
        font-size: 0.9rem;
        color: var(--text-sub);
        border-top: 1px solid var(--border-color);
    }

    /* 安装步骤 */
    .steps-container {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 800px;
        margin: 0 auto;
    }

    @media (min-width: 768px) {
        .steps-container {
            grid-template-columns: repeat(3, 1fr);
        }
    }

    .step-card {
        text-align: center;
        padding: 24px;
        background: var(--bg-section);
        border-radius: 16px;
    }

    .step-num {
        font-size: 2rem;
        font-weight: bold;
        color: var(--primary-color);
        margin-bottom: 12px;
    }

    .step-card h3 {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }

    .step-card p {
        font-size: 0.85rem;
        color: var(--text-sub);
    }

    /* 底部下载区 */
    .footer-download {
        text-align: center;
        padding: 60px 20px;
        background: linear-gradient(180deg, var(--bg-dark) 0%, #1A0D00 100%);
    }

    .footer-download h2 {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }

    .footer-download .download-btns {
        justify-content: center;
        margin-bottom: 40px;
    }

    /* 页脚 */
    .footer {
        background-color: #0A0A0A;
        padding: 40px 20px 20px;
        text-align: center;
        font-size: 0.8rem;
        color: #666;
        border-top: 1px solid var(--border-color);
    }

    .footer p {
        margin-bottom: 8px;
    }

    .footer a {
        color: #888;
    }

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

    /* 浮动下载窗口 */
    .floating-download {
        position: fixed;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        background: rgba(30, 30, 30, 0.95);
        border: 1px solid var(--primary-color);
        padding: 8px 16px;
        border-radius: 30px;
        display: flex;
        align-items: center;
        gap: 12px;
        box-shadow: 0 4px 20px rgba(0,0,0,0.5);
        z-index: 999;
        backdrop-filter: blur(10px);
    }

    .floating-download img {
        width: 24px;
        height: 24px;
        border-radius: 4px;
    }

    .floating-download span {
        font-size: 0.9rem;
        color: var(--text-main);
    }

    .floating-btn {
        background: var(--primary-color);
        color: #fff;
        padding: 6px 16px;
        border-radius: 20px;
        font-size: 0.85rem;
        font-weight: bold;
    }

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

    .modal-content {
        background: var(--bg-light);
        padding: 24px;
        border-radius: 16px;
        text-align: center;
        max-width: 90%;
        width: 320px;
    }

    .modal-content p {
        margin-bottom: 16px;
        font-size: 1rem;
        color: var(--text-main);
    }

    .modal-content input {
        width: 100%;
        padding: 10px;
        margin-bottom: 16px;
        border-radius: 8px;
        border: 1px solid var(--border-color);
        background: var(--bg-dark);
        color: var(--text-main);
        text-align: center;
    }

    .modal-content button {
        width: 100%;
        padding: 10px;
        border-radius: 8px;
        background: var(--primary-color);
        color: #fff;
        border: none;
        font-weight: bold;
        cursor: pointer;
    }