:root {
        --primary: #E63946;
        --primary-hover: #d62839;
        --secondary: #1D3557;
        --accent: #F4A261;
        --bg-light: #FFFCF9;
        --bg-dark: #1A1A1A;
        --text-main: #2B2B2B;
        --text-muted: #666;
        --gradient-main: linear-gradient(135deg, #E63946, #F4A261, #E63946);
    }

    * { margin: 0; padding: 0; box-sizing: border-box; }
    body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; color: var(--text-main); background-color: var(--bg-light); line-height: 1.6; overflow-x: hidden; }
    a { text-decoration: none; color: inherit; }
    img { max-width: 100%; height: auto; display: block; object-fit: cover; }
    ul { list-style: none; }
    button, input { border: none; outline: none; font-family: inherit; }

    /* Header */
    header { background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,0.05); position: sticky; top: 0; z-index: 100; }
    .header-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; height: 64px; display: flex; justify-content: space-between; align-items: center; }
    .logo-area { display: flex; align-items: center; gap: 10px; font-weight: bold; font-size: 18px; color: var(--secondary); }
    .logo-area img { height: 32px; width: auto; border-radius: 4px; }
    .nav-desktop { display: none; }
    .nav-desktop a { margin: 0 12px; font-size: 15px; color: var(--text-muted); transition: color 0.3s; }
    .nav-desktop a:hover, .nav-desktop a.active { color: var(--primary); font-weight: 500; }
    .header-actions { display: flex; align-items: center; gap: 12px; }
    .mobile-menu-btn { display: block; background: none; font-size: 24px; color: var(--secondary); cursor: pointer; }
    
    /* Mobile Nav */
    .nav-mobile-overlay { display: none; position: fixed; top: 64px; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.5); z-index: 99; }
    .nav-mobile { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; padding: 10px 0; box-shadow: 0 4px 10px rgba(0,0,0,0.1); z-index: 100; }
    .nav-mobile a { padding: 12px 24px; border-bottom: 1px solid #f0f0f0; color: var(--text-main); font-size: 16px; }
    .nav-mobile.open { display: flex; }
    .nav-mobile-overlay.open { display: block; }

    /* Hero Section */
    .hero { position: relative; background: url('images/poster-1.webp') center/cover no-repeat; padding: 60px 20px 40px; min-height: 500px; display: flex; align-items: center; }
    .hero::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(to right, rgba(0,0,0,0.9), rgba(0,0,0,0.4)); z-index: 1; }
    .hero-content { position: relative; z-index: 2; max-width: 1200px; margin: 0 auto; width: 100%; }
    .hero h1 { font-size: 32px; color: #fff; margin-bottom: 20px; line-height: 1.3; text-shadow: 0 2px 4px rgba(0,0,0,0.5); max-width: 600px; }
    .hero p.desc { color: #eee; font-size: 16px; margin-bottom: 30px; max-width: 500px; }
    .download-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }
    .download-btns a { display: inline-flex; align-items: center; justify-content: center; padding: 10px 20px; border-radius: 8px; font-weight: 500; color: #fff; transition: transform 0.2s, background 0.2s; font-size: 15px; }
    .btn-android { background: #3DDC84; color: #000; }
    .btn-ios { background: #555; }
    .btn-web { background: #0078D7; }
    .btn-harmony { background: #E63946; }
    .download-btns a:hover { transform: translateY(-2px); opacity: 0.9; }
    
    /* Hero Images */
    .hero-imgs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 20px; }
    .hero-imgs img { border-radius: 8px; width: 100%; height: 200px; object-fit: cover; box-shadow: 0 4px 12px rgba(0,0,0,0.3); }
    
    /* Marquee */
    .marquee-wrapper { background: var(--bg-dark); color: #fff; overflow: hidden; padding: 10px 0; white-space: nowrap; position: relative; z-index: 2; }
    .marquee-content { display: inline-block; animation: marquee 20s linear infinite; font-size: 16px; font-weight: bold; background: var(--gradient-main); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
    @keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

    /* General Section */
    .section { padding: 40px 20px; }
    .container { max-width: 1200px; margin: 0 auto; }
    .sec-title { text-align: center; font-size: 24px; margin-bottom: 10px; color: var(--secondary); }
    .sec-subtitle { text-align: center; color: var(--text-muted); margin-bottom: 30px; font-size: 14px; }

    /* Backgrounds */
    .bg-pink { background: #FFF0F2; }
    .bg-blue { background: #EEF5FA; }
    .bg-yellow { background: #FFF9E6; }
    .bg-purple { background: #F6EFFC; }
    .bg-green { background: #EFF9F0; }
    .bg-gray { background: #F5F5F5; }

    /* Section 1: Similar Modified (Card Grid) */
    .card-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
    .drama-card { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.05); display: flex; flex-direction: column; }
    .drama-card img { height: 220px; width: 100%; }
    .drama-info { padding: 15px; }
    .drama-info h3 { font-size: 18px; margin-bottom: 8px; color: var(--text-main); }
    .drama-info p { font-size: 13px; color: var(--text-muted); margin-bottom: 10px; }
    .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
    .tags span { background: #F0F0F0; color: var(--text-muted); font-size: 12px; padding: 2px 8px; border-radius: 4px; }
    .meta-date { font-size: 12px; color: var(--primary); font-weight: 500; }

    /* Section 2: Completed Dramas (List) */
    .completed-list { display: flex; flex-direction: column; gap: 15px; }
    .comp-item { background: #fff; border-radius: 10px; display: flex; padding: 10px; align-items: center; gap: 15px; box-shadow: 0 2px 8px rgba(0,0,0,0.04); }
    .comp-item img { width: 80px; height: 100px; border-radius: 6px; object-fit: cover; flex-shrink: 0; }
    .comp-text { flex: 1; }
    .comp-text h3 { font-size: 16px; margin-bottom: 5px; }
    .comp-text p { font-size: 13px; color: var(--text-muted); }
    .comp-text .date { display: block; margin-top: 4px; font-size: 12px; color: var(--primary); }

    /* Section 3: Weekly List (Ranking) */
    .rank-list { display: flex; flex-direction: column; gap: 10px; max-width: 800px; margin: 0 auto; }
    .rank-item { display: flex; align-items: center; background: #fff; padding: 12px 20px; border-radius: 50px; box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
    .rank-num { width: 24px; height: 24px; border-radius: 50%; background: #eee; display: flex; justify-content: center; align-items: center; font-weight: bold; font-size: 14px; color: #999; margin-right: 15px; flex-shrink: 0; }
    .rank-item:nth-child(1) .rank-num { background: #FFD700; color: #fff; }
    .rank-item:nth-child(2) .rank-num { background: #C0C0C0; color: #fff; }
    .rank-item:nth-child(3) .rank-num { background: #CD7F32; color: #fff; }
    .rank-title { flex: 1; font-size: 15px; font-weight: 500; }
    .rank-tag { font-size: 12px; color: var(--primary); background: rgba(230, 57, 70, 0.1); padding: 2px 8px; border-radius: 10px; }

    /* Section 4: Reviews (Aesthetic) */
    .review-grid { display: grid; grid-template-columns: 1fr; gap: 15px; }
    .review-card { background: #fff; padding: 20px; border-radius: 12px; box-shadow: 0 4px 15px rgba(0,0,0,0.03); border: 1px solid #f0f0f0; }
    .review-header { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
    .review-header img { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--accent); }
    .review-header .user-name { font-weight: 600; font-size: 14px; color: var(--secondary); }
    .review-content { font-size: 14px; color: #444; line-height: 1.5; }
    .review-date { display: block; text-align: right; font-size: 12px; color: #999; margin-top: 10px; }

    /* Section 5: Member Benefits (Table/Q&A) */
    .faq-list { display: flex; flex-direction: column; gap: 15px; max-width: 800px; margin: 0 auto; }
    .faq-item { background: #fff; border-radius: 10px; overflow: hidden; border: 1px solid #e0e0e0; }
    .faq-q { background: #f8f9fa; padding: 15px 20px; font-weight: 600; font-size: 15px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
    .faq-q::after { content: '+'; font-size: 20px; color: var(--primary); }
    .faq-item.active .faq-q::after { content: '-'; }
    .faq-a { padding: 0 20px; max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease; font-size: 14px; color: var(--text-muted); }
    .faq-item.active .faq-a { padding: 15px 20px; max-height: 200px; }

    /* Section 6: Privacy & Feedback (Two Col) */
    .two-col { display: flex; flex-direction: column; gap: 20px; }
    .privacy-box, .feedback-box { flex: 1; background: #fff; padding: 25px; border-radius: 12px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); }
    .privacy-box h3, .feedback-box h3 { font-size: 18px; margin-bottom: 15px; color: var(--secondary); }
    .privacy-box p, .feedback-box p { font-size: 14px; color: var(--text-muted); margin-bottom: 10px; }
    .feedback-form input, .feedback-form textarea { width: 100%; padding: 10px; border: 1px solid #ddd; border-radius: 6px; margin-bottom: 10px; font-size: 14px; }
    .feedback-form button { background: var(--secondary); color: #fff; padding: 10px 20px; border-radius: 6px; cursor: pointer; width: 100%; font-size: 15px; }

    /* Section 7: Timetable (Timeline) */
    .timeline { position: relative; max-width: 600px; margin: 0 auto; padding-left: 30px; }
    .timeline::before { content: ''; position: absolute; left: 10px; top: 0; bottom: 0; width: 2px; background: var(--accent); }
    .time-item { position: relative; margin-bottom: 25px; }
    .time-item::before { content: ''; position: absolute; left: -24px; top: 5px; width: 10px; height: 10px; border-radius: 50%; background: var(--primary); border: 2px solid #fff; box-shadow: 0 0 0 2px var(--accent); }
    .time-label { font-weight: bold; color: var(--primary); margin-bottom: 5px; font-size: 15px; }
    .time-content { background: #fff; padding: 12px 15px; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.04); font-size: 14px; }

    /* Bottom Download */
    .bottom-dl { text-align: center; background: #fff; padding: 40px 20px; border-top: 1px solid #eee; }
    .bottom-dl h2 { font-size: 22px; margin-bottom: 20px; color: var(--secondary); }
    .steps { display: flex; flex-direction: column; gap: 15px; max-width: 600px; margin: 0 auto 30px; text-align: left; }
    .step { display: flex; gap: 10px; align-items: flex-start; }
    .step-num { background: var(--accent); color: #fff; width: 24px; height: 24px; border-radius: 50%; display: flex; justify-content: center; align-items: center; font-weight: bold; font-size: 14px; flex-shrink: 0; }
    .step p { font-size: 14px; color: var(--text-muted); margin-top: 2px; }
    .bottom-img { max-width: 300px; margin: 0 auto 20px; border-radius: 12px; box-shadow: 0 10px 20px rgba(0,0,0,0.1); }

    /* Floating Download Bar */
    .floating-bar { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); background: rgba(29, 53, 87, 0.95); backdrop-filter: blur(10px); padding: 10px 20px; border-radius: 50px; display: flex; align-items: center; gap: 15px; box-shadow: 0 8px 30px rgba(0,0,0,0.2); z-index: 999; width: calc(100% - 40px); max-width: 400px; border: 1px solid rgba(255,255,255,0.2); }
    .floating-bar img { width: 36px; height: 36px; border-radius: 6px; }
    .floating-info { flex: 1; overflow: hidden; }
    .floating-info h4 { color: #fff; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 2px; }
    .floating-info p { color: #ccc; font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .floating-btn { background: var(--primary); color: #fff; padding: 8px 16px; border-radius: 20px; font-size: 13px; font-weight: bold; white-space: nowrap; }

    /* Modal for iOS Baidu App */
    .modal-overlay { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.7); z-index: 1000; justify-content: center; align-items: center; }
    .modal-content { background: #fff; padding: 30px 20px; border-radius: 12px; width: 80%; max-width: 320px; text-align: center; position: relative; }
    .modal-content p { font-size: 15px; color: #333; margin-bottom: 20px; line-height: 1.5; }
    .modal-content .copy-box { background: #f5f5f5; padding: 10px; border-radius: 6px; font-size: 13px; color: #666; word-break: break-all; margin-bottom: 20px; border: 1px dashed #ccc; }
    .modal-content .copy-btn { background: var(--primary); color: #fff; border: none; padding: 10px 30px; border-radius: 20px; font-size: 15px; cursor: pointer; }
    .modal-content .close-btn { position: absolute; top: 10px; right: 15px; font-size: 20px; color: #999; cursor: pointer; background: none; border: none; }

    /* Footer */
    footer { background: var(--bg-dark); color: #888; padding: 40px 20px 20px; font-size: 13px; text-align: center; }
    .footer-nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 15px; margin-bottom: 20px; }
    .footer-nav a { color: #aaa; }
    .footer-nav a:hover { color: #fff; }
    .footer-info { margin-bottom: 15px; line-height: 1.8; }
    .footer-info a { color: #aaa; transition: color 0.2s; }
    .footer-info a:hover { color: #fff; }
    .footer-time { font-size: 12px; color: #555; margin-top: 15px; }

    /* Responsive */
    @media (min-width: 768px) {
        .nav-desktop { display: flex; }
        .mobile-menu-btn { display: none; }
        .nav-mobile, .nav-mobile-overlay { display: none !important; }
        .hero h1 { font-size: 42px; }
        .hero p.desc { font-size: 18px; }
        .hero-imgs img { height: 280px; }
        .card-grid { grid-template-columns: repeat(2, 1fr); }
        .review-grid { grid-template-columns: repeat(2, 1fr); }
        .two-col { flex-direction: row; }
        .steps { flex-direction: row; flex-wrap: wrap; justify-content: center; }
        .step { flex-direction: column; align-items: center; text-align: center; width: 120px; }
        .bottom-img { max-width: 400px; }
    }

    @media (min-width: 1024px) {
        .hero { padding: 80px 20px; min-height: 600px; }
        .hero h1 { font-size: 48px; }
        .hero-imgs { grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 900px; }
        .hero-imgs img { height: 320px; }
        .card-grid { grid-template-columns: repeat(3, 1fr); }
        .review-grid { grid-template-columns: repeat(3, 1fr); }
        .floating-bar { bottom: 30px; padding: 12px 24px; }
    }