:root {
        --bg-dark: #0B0B10;
        --surface-dark: #16161F;
        --surface-hover: #1F1F2A;
        --primary: #FF4757;
        --text-main: #F2F2F5;
        --text-muted: #8C8C9E;
        --border-color: #2A2A35;
        --radius-sm: 8px;
        --radius-md: 16px;
        --radius-lg: 24px;
    }

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

    body {
        background-color: var(--bg-dark);
        color: var(--text-main);
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
        line-height: 1.5;
        -webkit-font-smoothing: antialiased;
    }

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

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

    /* App 界面外壳 */
    .app-shell {
        max-width: 480px;
        margin: 0 auto;
        background-color: var(--bg-dark);
        min-height: 100vh;
        position: relative;
        border-left: 1px solid var(--border-color);
        border-right: 1px solid var(--border-color);
    }

    /* 顶部导航 */
    .app-header {
        padding: 16px 20px 0;
        position: sticky;
        top: 0;
        background-color: rgba(11, 11, 16, 0.95);
        backdrop-filter: blur(10px);
        z-index: 100;
    }

    .brand-row {
        display: flex;
        align-items: center;
        gap: 8px;
        margin-bottom: 16px;
    }

    .brand-logo {
        height: 32px;
        width: auto;
        border-radius: var(--radius-sm);
    }

    .brand-name {
        font-size: 20px;
        font-weight: 700;
        letter-spacing: 1px;
    }

    .channel-nav {
        display: flex;
        gap: 24px;
        overflow-x: auto;
        padding-bottom: 12px;
        scrollbar-width: none;
    }

    .channel-nav::-webkit-scrollbar {
        display: none;
    }

    .nav-item {
        font-size: 16px;
        color: var(--text-muted);
        white-space: nowrap;
        position: relative;
        padding-bottom: 4px;
    }

    .nav-item.active {
        color: var(--text-main);
        font-size: 18px;
        font-weight: 700;
    }

    .nav-item.active::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 20px;
        height: 3px;
        background-color: var(--primary);
        border-radius: 2px;
    }

    /* 搜索栏 */
    .search-row {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-bottom: 20px;
    }

    .search-box {
        flex: 1;
        background-color: var(--surface-dark);
        border-radius: 20px;
        padding: 10px 16px;
        display: flex;
        align-items: center;
        gap: 8px;
        color: var(--text-muted);
        font-size: 14px;
    }

    .search-icon {
        width: 16px;
        height: 16px;
        fill: currentColor;
    }

    .filter-btn {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background-color: var(--primary);
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        box-shadow: 0 4px 12px rgba(255, 71, 87, 0.3);
    }

    .filter-btn svg {
        width: 20px;
        height: 20px;
        fill: #fff;
    }

    /* 首屏主视觉 */
    .main-visual {
        padding: 0 20px;
        margin-bottom: 32px;
    }

    .hero-card {
        position: relative;
        border-radius: var(--radius-md);
        overflow: hidden;
        aspect-ratio: 16/9;
        background-color: var(--surface-dark);
    }

    .hero-card img {
        width: 100%;
        height: 100%;
    }

    .hero-info {
        padding: 16px 0;
    }

    .hero-title {
        font-size: 24px;
        font-weight: 700;
        margin-bottom: 8px;
        line-height: 1.2;
    }

    .hero-desc {
        font-size: 14px;
        color: var(--text-muted);
        margin-bottom: 16px;
        line-height: 1.6;
    }

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

    .tag {
        font-size: 12px;
        color: var(--primary);
        background-color: rgba(255, 71, 87, 0.1);
        padding: 4px 10px;
        border-radius: 4px;
        border: 1px solid rgba(255, 71, 87, 0.2);
    }

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

    .btn-download {
        flex: 1;
        background-color: var(--primary);
        color: #fff;
        text-align: center;
        padding: 14px;
        border-radius: 24px;
        font-size: 16px;
        font-weight: 600;
        transition: transform 0.2s, background-color 0.2s;
    }

    .btn-download:active {
        transform: scale(0.98);
        background-color: #E03746;
    }

    /* 区块通用标题 */
    .section-header {
        display: flex;
        justify-content: space-between;
        align-items: flex-end;
        padding: 0 20px;
        margin-bottom: 16px;
    }

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

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

    /* 剧集网格 */
    .poster-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
        padding: 0 20px;
        margin-bottom: 40px;
    }

    .poster-card {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .poster-img-wrap {
        position: relative;
        aspect-ratio: 2/3;
        border-radius: var(--radius-sm);
        overflow: hidden;
        background-color: var(--surface-dark);
    }

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

    .ep-tag {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        padding: 24px 8px 8px;
        background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 100%);
        color: #fff;
        font-size: 11px;
        text-align: right;
    }

    .poster-title {
        font-size: 14px;
        font-weight: 500;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .poster-meta {
        font-size: 11px;
        color: var(--text-muted);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    /* 分类区 */
    .category-list {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        padding: 0 20px;
        margin-bottom: 40px;
    }

    .category-item {
        background-color: var(--surface-dark);
        border: 1px solid var(--border-color);
        border-radius: 20px;
        padding: 10px 16px;
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .category-name {
        font-size: 14px;
        font-weight: 500;
    }

    .category-desc {
        font-size: 12px;
        color: var(--text-muted);
    }

    /* 体验区 */
    .experience-section {
        background-color: var(--surface-dark);
        border-radius: var(--radius-lg);
        margin: 0 20px 40px;
        padding: 24px;
    }

    .exp-list {
        display: flex;
        flex-direction: column;
        gap: 20px;
        margin-bottom: 24px;
    }

    .exp-item {
        display: flex;
        gap: 12px;
        align-items: flex-start;
    }

    .exp-icon {
        width: 32px;
        height: 32px;
        background-color: rgba(255, 71, 87, 0.15);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        color: var(--primary);
        font-weight: bold;
    }

    .exp-text h3 {
        font-size: 15px;
        font-weight: 600;
        margin-bottom: 4px;
    }

    .exp-text p {
        font-size: 13px;
        color: var(--text-muted);
        line-height: 1.4;
    }

    .screenshot-wall {
        display: flex;
        gap: 12px;
        overflow-x: auto;
        padding-bottom: 12px;
        scrollbar-width: none;
    }
    
    .screenshot-wall::-webkit-scrollbar {
        display: none;
    }

    .screenshot-wall img {
        height: 240px;
        width: auto;
        border-radius: var(--radius-sm);
        border: 1px solid var(--border-color);
    }

    /* 底部导航 (App 风格) */
    .bottom-nav {
        position: fixed;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        max-width: 480px;
        background-color: rgba(11, 11, 16, 0.95);
        backdrop-filter: blur(10px);
        border-top: 1px solid var(--border-color);
        display: flex;
        justify-content: space-around;
        padding: 10px 0 20px;
        z-index: 100;
    }

    .bn-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 4px;
        color: var(--text-muted);
        font-size: 10px;
    }

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

    .bn-icon {
        width: 24px;
        height: 24px;
        fill: currentColor;
    }

    /* 页脚 */
    .site-footer {
        padding: 40px 20px 100px;
        text-align: center;
        font-size: 12px;
        color: var(--text-muted);
        border-top: 1px solid var(--border-color);
        background-color: var(--bg-dark);
    }

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

    .footer-links a {
        color: var(--text-muted);
    }

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

    .time-stamp {
        margin-bottom: 12px;
        opacity: 0.6;
    }

    /* 桌面端适配 */
    @media (min-width: 768px) {
        .app-shell {
            max-width: 768px;
            border-radius: var(--radius-lg);
            margin: 20px auto;
            border: 1px solid var(--border-color);
            padding-bottom: 20px;
        }

        .poster-grid {
            grid-template-columns: repeat(4, 1fr);
            gap: 16px;
        }

        .bottom-nav {
            display: none;
        }

        .site-footer {
            padding-bottom: 40px;
        }
        
        .screenshot-wall img {
            height: 320px;
        }
    }

    @media (min-width: 1024px) {
        .app-shell {
            max-width: 1024px;
        }

        .poster-grid {
            grid-template-columns: repeat(5, 1fr);
        }
        
        .category-list {
            justify-content: center;
        }
        
        .hero-card {
            aspect-ratio: 21/9;
        }
    }