:root {
        --rainbow: linear-gradient(135deg, #ff4b4b, #ff9f1a, #ffd400, #2ecc71, #2196f3, #7C4DFF);
        --primary: #7C4DFF;
        --bg-light: #F7F8FA;
        --text-main: #222;
        --text-muted: #666;
        --radius: 16px;
        --shadow: 0 4px 20px rgba(0,0,0,0.06);
        --shadow-hover: 0 12px 30px rgba(0,0,0,0.12);
    }
    * { box-sizing: border-box; margin: 0; padding: 0; }
    body {
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
        background-color: #fff;
        color: var(--text-main);
        line-height: 1.6;
        -webkit-font-smoothing: antialiased;
    }
    a { text-decoration: none; color: inherit; }
    img { max-width: 100%; display: block; }
    ul { list-style: none; }
    .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
    .btn {
        display: inline-flex; align-items: center; justify-content: center;
        background: var(--rainbow); color: #fff; font-weight: bold;
        border-radius: 24px; padding: 10px 24px; border: none; cursor: pointer;
        transition: transform 0.2s, box-shadow 0.2s;
    }
    .btn:hover { transform: translateY(-2px); box-shadow: 0 6px 15px rgba(124, 77, 255, 0.3); }

    /* Header */
    header {
        position: sticky; top: 0; z-index: 100;
        background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(12px);
        border-bottom: 1px solid #eee;
    }
    .nav-inner {
        display: flex; align-items: center; justify-content: space-between;
        height: 64px;
    }
    .logo-group { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 900; }
    .logo-group img { height: 32px; border-radius: 8px; }
    .nav-links { display: flex; gap: 24px; font-size: 15px; }
    .nav-links a:hover { color: var(--primary); }
    .nav-right { display: flex; align-items: center; gap: 16px; }
    .search-box {
        background: var(--bg-light); border-radius: 20px; padding: 8px 16px;
        border: 1px solid #ddd; font-size: 14px; outline: none; width: 200px;
    }
    .hamburger { display: none; flex-direction: column; gap: 4px; cursor: pointer; }
    .hamburger span { width: 24px; height: 3px; background: #333; border-radius: 2px; }

    /* Hero */
    .hero {
        padding: 60px 0; background: var(--bg-light); position: relative; overflow: hidden;
    }
    .hero::before {
        content: ''; position: absolute; top: -20%; left: -10%; width: 50%; height: 80%;
        background: radial-gradient(circle, rgba(124,77,255,0.1) 0%, transparent 70%); z-index: 0;
    }
    .hero-inner { display: flex; gap: 40px; align-items: center; position: relative; z-index: 1; }
    .hero-text { flex: 1; }
    .hero-text h1 { font-size: 42px; line-height: 1.2; margin-bottom: 16px; font-weight: 900; }
    .hero-text h1 span { background: var(--rainbow); -webkit-background-clip: text; color: transparent; }
    .hero-sub { color: var(--text-muted); font-size: 16px; margin-bottom: 24px; }
    .download-badges { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
    .badge {
        background: #fff; border: 1px solid #eee; border-radius: 8px; padding: 8px 16px;
        font-size: 14px; font-weight: bold; display: flex; align-items: center; gap: 6px;
    }
    .qr-section { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
    .qr-box {
        width: 80px; height: 80px; background: #eee; border-radius: 8px;
        display: flex; align-items: center; justify-content: center; font-size: 12px; color: #999;
    }
    .trust-text { font-size: 12px; color: #999; }
    .stats-bar {
        display: flex; gap: 30px; font-size: 14px; color: var(--text-muted); margin-top: 24px;
    }
    .stats-bar strong { color: var(--primary); font-weight: bold; }

    .hero-visuals { flex: 1; position: relative; display: flex; justify-content: center; }
    .phone-mockup {
        width: 200px; height: 400px; background: #fff; border-radius: 24px; border: 6px solid #222;
        box-shadow: var(--shadow-hover); overflow: hidden; position: relative;
    }
    .phone-mockup img { width: 100%; height: 100%; object-fit: cover; }
    .phone-mockup:nth-child(1) { transform: translateX(30px) translateY(20px) rotate(5deg); z-index: 1; }
    .phone-mockup:nth-child(2) { transform: translateY(-20px); z-index: 2; }
    .phone-mockup:nth-child(3) { transform: translateX(-30px) translateY(30px) rotate(-5deg); z-index: 0; }
    .floating-bubble {
        position: absolute; background: rgba(255, 75, 75, 0.9); color: #fff;
        padding: 6px 12px; border-radius: 20px; font-size: 14px; font-weight: bold; z-index: 3;
        box-shadow: 0 4px 10px rgba(255,75,75,0.3);
    }

    /* Section Globals */
    section { padding: 60px 0; }
    .section-title { font-size: 28px; font-weight: 900; margin-bottom: 32px; display: flex; align-items: center; gap: 10px; }
    .section-title::after {
        content: ''; flex: 1; height: 4px; background: var(--rainbow); border-radius: 2px; max-width: 60px;
    }

    /* Scroll Cards */
    .scroll-row { display: flex; gap: 20px; overflow-x: auto; padding-bottom: 20px; scrollbar-width: none; }
    .scroll-row::-webkit-scrollbar { display: none; }
    .card {
        flex: 0 0 160px; background: #fff; border-radius: var(--radius);
        box-shadow: var(--shadow); overflow: hidden; transition: transform 0.3s, box-shadow 0.3s;
        cursor: pointer; position: relative;
    }
    .card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
    .card-img { width: 100%; aspect-ratio: 3/4; overflow: hidden; position: relative; }
    .card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
    .card:hover .card-img img { transform: scale(1.05); }
    .tag {
        position: absolute; top: 8px; left: 8px; padding: 2px 8px; border-radius: 12px;
        font-size: 12px; font-weight: bold; color: #fff; z-index: 1;
    }
    .tag.exclusive { background: var(--rainbow); }
    .tag.free { background: #2ecc71; }
    .tag.hot { background: #ff4b4b; }
    .card-info { padding: 12px; }
    .card-title { font-weight: bold; font-size: 15px; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .card-episodes { font-size: 12px; color: var(--text-muted); margin-bottom: 6px; }
    .card-tags { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 8px; }
    .pill { font-size: 10px; background: var(--bg-light); color: var(--text-muted); padding: 2px 6px; border-radius: 4px; }
    .card-heat { font-size: 12px; color: #ff4b4b; font-weight: bold; }

    /* Rankings */
    .rankings { background: var(--bg-light); }
    .ranking-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
    .rank-col { background: #fff; border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
    .rank-col h3 { font-size: 18px; margin-bottom: 16px; border-bottom: 2px solid #eee; padding-bottom: 10px; }
    .rank-item { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
    .rank-num {
        width: 24px; height: 24px; border-radius: 6px; display: flex; align-items: center; justify-content: center;
        font-weight: bold; font-size: 14px; color: #fff; flex-shrink: 0;
    }
    .rank-num.top1 { background: #FFB300; }
    .rank-num.top2 { background: #B0BEC5; }
    .rank-num.top3 { background: #CD7F32; }
    .rank-num.top4, .rank-num.top5 { background: #eee; color: #999; }
    .rank-img { width: 40px; height: 53px; border-radius: 6px; object-fit: cover; }
    .rank-info { flex: 1; overflow: hidden; }
    .rank-title { font-size: 14px; font-weight: bold; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .rank-meta { font-size: 12px; color: var(--text-muted); }
    .rank-top1-card { border: 2px solid rgba(124,77,255,0.2); background: rgba(124,77,255,0.05); border-radius: 12px; padding: 10px; display: flex; gap: 12px; margin-bottom: 16px; align-items: center; }
    .rank-top1-card img { width: 60px; height: 80px; border-radius: 8px; object-fit: cover; }
    .rank-top1-text h4 { font-size: 16px; margin-bottom: 4px; }
    .rank-top1-text p { font-size: 12px; color: var(--text-muted); }

    /* Categories */
    .category-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
    .cat-card {
        background: #fff; border: 1px solid #eee; border-radius: var(--radius); padding: 16px;
        display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
        font-size: 14px; font-weight: bold; transition: all 0.3s;
    }
    .cat-card:hover { border-color: transparent; background: var(--rainbow); color: #fff; transform: translateY(-3px); }
    .cat-icon { font-size: 24px; }

    /* Exclusive */
    .banner {
        background: linear-gradient(90deg, rgba(255,75,75,0.1), rgba(124,77,255,0.1));
        border: 2px solid; border-image: var(--rainbow) 1; padding: 16px 24px; border-radius: var(--radius);
        display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px;
    }

    /* Feature */
    .feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
    .feature-card { background: #fff; border-radius: var(--radius); padding: 24px; text-align: center; box-shadow: var(--shadow); }
    .feature-icon { font-size: 32px; margin-bottom: 12px; }
    .feature-card h3 { font-size: 16px; margin-bottom: 8px; }
    .feature-card p { font-size: 13px; color: var(--text-muted); }

    /* Reviews */
    .reviews { background: var(--bg-light); }
    .review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
    .review-card { background: #fff; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
    .review-header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
    .avatar { width: 48px; height: 48px; border-radius: 50%; background: #ddd; object-fit: cover; }
    .stars { color: #FFB300; font-size: 14px; }
    .review-text { font-size: 14px; color: #444; }

    /* CTA */
    .cta-section { background: var(--rainbow); color: #fff; padding: 80px 0; }
    .cta-inner { display: flex; align-items: center; justify-content: space-between; }
    .cta-text h2 { font-size: 32px; margin-bottom: 12px; }
    .cta-text p { font-size: 16px; opacity: 0.9; margin-bottom: 24px; }
    .cta-btns { display: flex; gap: 12px; flex-wrap: wrap; }
    .cta-btns .btn { background: #fff; color: var(--primary); }
    .cta-qr { background: #fff; padding: 20px; border-radius: var(--radius); text-align: center; color: #333; }

    /* Footer */
    footer { background: #222; color: #aaa; padding: 40px 0 20px; font-size: 14px; }
    .footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-bottom: 40px; }
    .footer-col h4 { color: #fff; margin-bottom: 16px; font-size: 16px; }
    .footer-col li { margin-bottom: 8px; }
    .footer-col a:hover { color: #fff; }
    .footer-bottom { border-top: 1px solid #444; padding-top: 20px; text-align: center; font-size: 12px; color: #777; }
    .footer-bottom a { color: #777; text-decoration: underline; }

    /* Mobile Nav & Download Bar */
    .mobile-nav-menu { display: none; position: absolute; top: 64px; left: 0; width: 100%; background: #fff; flex-direction: column; padding: 20px; box-shadow: var(--shadow); }
    .mobile-nav-menu.active { display: flex; }
    .mobile-nav-menu a { padding: 12px 0; border-bottom: 1px solid #eee; }
    
    .mobile-download-bar {
        display: none; position: fixed; bottom: 0; left: 0; width: 100%;
        background: var(--rainbow); color: #fff; padding: 12px 20px;
        align-items: center; justify-content: space-between; z-index: 99;
    }
    .mobile-download-bar .btn { background: #fff; color: var(--primary); padding: 8px 16px; font-size: 14px; }
    .close-bar { cursor: pointer; font-size: 20px; margin-left: 10px; }

    /* Responsive */
    @media (max-width: 1024px) {
        .hero-text h1 { font-size: 32px; }
        .category-grid { grid-template-columns: repeat(4, 1fr); }
        .feature-grid { grid-template-columns: repeat(2, 1fr); }
    }
    @media (max-width: 768px) {
        .nav-links, .search-box, .nav-right .btn { display: none; }
        .hamburger { display: flex; }
        .hero-inner { flex-direction: column; text-align: center; }
        .hero-text h1 { font-size: 28px; }
        .download-badges, .qr-section, .stats-bar { justify-content: center; }
        .hero-visuals { margin-top: 40px; flex-direction: row; transform: scale(0.8); }
        .ranking-grid, .review-grid, .footer-grid { grid-template-columns: 1fr; }
        .category-grid { grid-template-columns: repeat(3, 1fr); }
        .cta-inner { flex-direction: column; text-align: center; gap: 30px; }
        .mobile-download-bar { display: flex; }
        body { padding-bottom: 60px; }
        .rank-col { display: none; }
        .rank-col.active { display: block; }
        .mobile-tabs { display: flex; gap: 10px; margin-bottom: 20px; overflow-x: auto; }
        .mobile-tabs button { background: #fff; border: 1px solid #eee; padding: 8px 16px; border-radius: 20px; white-space: nowrap; }
        .mobile-tabs button.active { background: var(--primary); color: #fff; border-color: var(--primary); }
    }
    @media (min-width: 769px) {
        .mobile-tabs { display: none; }
    }