:root {
        --bg-dark: #0B0B10;
        --bg-darker: #060608;
        --accent: #FF4757;
        --text-main: #F2F2F5;
        --text-muted: #8C8C9A;
        --card-bg: #15151E;
        --nav-bg: rgba(11, 11, 16, 0.95);
        --border-color: #222230;
    }

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

    body {
        font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", Helvetica, Arial, sans-serif;
        background-color: var(--bg-dark);
        color: var(--text-main);
        line-height: 1.5;
        -webkit-font-smoothing: antialiased;
        overflow-x: hidden;
        padding-bottom: 60px; /* Space for mobile bottom nav */
    }

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

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

    /* Top Channel Bar (App style) */
    .app-top-bar {
        position: sticky;
        top: 0;
        z-index: 100;
        background-color: var(--bg-dark);
        padding: 12px 16px 0;
        border-bottom: 1px solid var(--border-color);
    }

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

    .channel-item {
        font-size: 16px;
        color: var(--text-muted);
        white-space: nowrap;
        position: relative;
        cursor: pointer;
    }

    .channel-item.active {
        color: #fff;
        font-weight: 600;
        font-size: 18px;
    }

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

    .search-filter-row {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 12px 0;
    }

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

    .search-box::before {
        content: '🔍';
        margin-right: 8px;
        font-size: 14px;
    }

    .filter-btn {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        background-color: var(--accent);
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        font-size: 18px;
        flex-shrink: 0;
    }

    /* Hero Section */
    .hero-section {
        padding: 16px;
    }

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

    .brand-logo {
        height: 36px;
        border-radius: 8px;
    }

    .brand-name {
        font-size: 24px;
        font-weight: 700;
        color: #fff;
    }

    .hero-text {
        margin-bottom: 20px;
    }

    .hero-text h1 {
        font-size: 26px;
        line-height: 1.3;
        margin-bottom: 8px;
    }

    .hero-text p {
        color: var(--text-muted);
        font-size: 14px;
    }

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

    .btn-download {
        background-color: var(--accent);
        color: #fff;
        padding: 10px 20px;
        border-radius: 24px;
        font-size: 15px;
        font-weight: 600;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border: none;
    }

    .btn-download.secondary {
        background-color: #1A1A24;
        color: var(--text-main);
        border: 1px solid var(--border-color);
    }

    .main-visual {
        width: 100%;
        aspect-ratio: 16 / 9;
        object-fit: cover;
        border-radius: 12px;
        margin-top: 16px;
    }

    /* App Section Container */
    .app-section {
        padding: 24px 16px 0;
    }

    .section-header {
        display: flex;
        justify-content: space-between;
        align-items: flex-end;
        margin-bottom: 16px;
    }

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

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

    /* Featured Drama (Banner style) */
    .featured-banner {
        display: block;
        position: relative;
        border-radius: 12px;
        overflow: hidden;
    }

    .featured-img {
        width: 100%;
        aspect-ratio: 16 / 9;
        object-fit: cover;
    }

    .featured-info {
        padding: 12px 0;
    }

    .featured-title {
        font-size: 20px;
        font-weight: 700;
        margin-bottom: 8px;
    }

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

    .tag {
        font-size: 12px;
        color: var(--accent);
        background-color: rgba(255, 71, 87, 0.1);
        padding: 2px 8px;
        border-radius: 4px;
    }

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

    /* Poster Grid (3 Columns typical for this app style) */
    .poster-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

    .poster-card {
        display: block;
    }

    .poster-wrap {
        position: relative;
        width: 100%;
        aspect-ratio: 2 / 3;
        border-radius: 8px;
        overflow: hidden;
        background-color: var(--card-bg);
    }

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

    .update-tag {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        padding: 16px 8px 6px;
        background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
        font-size: 12px;
        color: #fff;
        text-align: center;
    }

    .poster-name {
        font-size: 14px;
        margin-top: 8px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        color: var(--text-main);
    }

    /* Category List */
    .category-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        margin-top: 12px;
    }

    .category-item {
        background-color: var(--card-bg);
        padding: 16px;
        border-radius: 12px;
        border: 1px solid var(--border-color);
    }

    .category-name {
        font-size: 16px;
        font-weight: 600;
        margin-bottom: 4px;
        color: var(--accent);
    }

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

    /* Screenshot Gallery */
    .screenshot-scroll {
        display: flex;
        overflow-x: auto;
        gap: 12px;
        padding-bottom: 12px;
        scrollbar-width: none;
    }

    .screenshot-scroll::-webkit-scrollbar {
        display: none;
    }

    .screenshot-item {
        flex: 0 0 auto;
        width: 200px;
        border-radius: 12px;
        overflow: hidden;
        border: 1px solid var(--border-color);
    }

    .screenshot-item img {
        width: 100%;
        height: auto;
    }

    .feature-bullets {
        margin-top: 16px;
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .bullet-item {
        display: flex;
        align-items: center;
        gap: 12px;
        font-size: 15px;
    }

    .bullet-icon {
        width: 32px;
        height: 32px;
        border-radius: 50%;
        background-color: rgba(255, 71, 87, 0.1);
        color: var(--accent);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 16px;
        font-weight: bold;
    }

    /* Bottom Nav (App style) */
    .bottom-nav {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background-color: var(--nav-bg);
        display: flex;
        justify-content: space-around;
        padding: 8px 0 16px;
        border-top: 1px solid var(--border-color);
        z-index: 100;
        backdrop-filter: blur(10px);
    }

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

    .nav-item.active {
        color: var(--accent);
    }

    .nav-icon {
        font-size: 20px;
    }

    /* Footer */
    .site-footer {
        margin-top: 40px;
        padding: 24px 16px;
        border-top: 1px solid var(--border-color);
        text-align: center;
        color: var(--text-muted);
        font-size: 12px;
    }

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

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

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

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

    /* Desktop Responsive */
    @media (min-width: 768px) {
        .app-top-bar {
            padding: 16px 24px 0;
        }
        .hero-section, .app-section {
            padding: 24px;
            max-width: 900px;
            margin: 0 auto;
        }
        .poster-grid {
            grid-template-columns: repeat(4, 1fr);
            gap: 16px;
        }
        .category-list {
            grid-template-columns: repeat(3, 1fr);
        }
        .screenshot-item {
            width: 240px;
        }
        .bottom-nav {
            max-width: 900px;
            left: 50%;
            transform: translateX(-50%);
            border-radius: 16px 16px 0 0;
            border-left: 1px solid var(--border-color);
            border-right: 1px solid var(--border-color);
        }
    }

    @media (min-width: 1024px) {
        .poster-grid {
            grid-template-columns: repeat(5, 1fr);
        }
        body {
            padding-bottom: 0;
        }
        .bottom-nav {
            display: none; /* Hide app nav on very wide desktop, rely on top nav */
        }
        .app-top-bar {
            max-width: 900px;
            margin: 0 auto;
            border-bottom: none;
            border-radius: 0 0 16px 16px;
            border-left: 1px solid var(--border-color);
            border-right: 1px solid var(--border-color);
            border-bottom: 1px solid var(--border-color);
        }
    }