* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
        }
        html, body {
            width: 100%;
            min-height: 100vh;
            background: #0b1219;
        }
        body {
            display: flex;
            justify-content: center;
            align-items: flex-start;
            padding: 0;
        }
        .app {
            width: 100%;
            max-width: 100%;
            min-height: 100vh;
            background: transparent;
            /* 背景圖 */
            background-image: url("img/bg2.png");
            background-size: cover;
            display: flex;
            flex-direction: column;
            padding-bottom: 76px; /* 為底部菜單留空間 */
            position: relative;
        }
        /* 所有卡片半透明磨砂效果 */
        .glass-card {
            background: rgba(15, 26, 38, 0.7);
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
            border: 1px solid rgba(255, 255, 255, 0.06);
        }

        /* ===== 頂部 (無圓角) ===== */
        .header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 20px 20px 12px;
            background: rgba(15, 26, 38, 0.6);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
            flex-shrink: 0;
        }
        .brand {
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .brand-icon {
            background: rgba(30, 49, 66, 0.8);
            color: #e0b87a;
            width: 40px;
            height: 40px;
            border-radius: 14px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
            box-shadow: 0 4px 10px rgba(0,0,0,0.3);
            border: 1px solid rgba(212, 175, 110, 0.2);
        }
        .brand-text {
            font-weight: 700;
            font-size: 18px;
            letter-spacing: -0.3px;
            color: #eaeef3;
        }
        .brand-text span {
            color: #d4af6e;
        }

        .lang-btn {
            background: rgba(26, 41, 56, 0.7);
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: 40px;
            padding: 6px 16px 6px 12px;
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 14px;
            font-weight: 500;
            color: #cfdde9;
            cursor: pointer;
            transition: 0.2s;
            box-shadow: 0 2px 8px rgba(0,0,0,0.2);
            backdrop-filter: blur(4px);
        }
        .lang-btn i {
            font-size: 22px;
            color: #9bb7d0;
        }
        .lang-btn:hover {
            background: rgba(36, 56, 75, 0.8);
        }
        .lang-badge {
            background: rgba(47, 66, 87, 0.7);
            color: #eaeef3;
            font-size: 11px;
            padding: 0 12px;
            border-radius: 40px;
            line-height: 22px;
        }

        /* ===== 主內容 ===== */
        .main {
            flex: 1;
            padding: 8px 16px 0;
            width: 100%;
        }

        /* 歡迎卡片 */
        .hero-card {
            background: rgba(20, 33, 46, 0.7);
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
            border-radius: 28px;
            padding: 22px 20px;
            color: #eef2f7;
            margin: 6px 0 18px;
            box-shadow: 0 8px 20px rgba(0,0,0,0.4);
            border: 1px solid rgba(255, 255, 255, 0.06);
            position: relative;
            overflow: hidden;
        }
        .hero-card::after {
            content: "🎬";
            position: absolute;
            right: 14px;
            bottom: 8px;
            font-size: 56px;
            opacity: 0.08;
            transform: rotate(6deg);
        }
        .hero-title {
            font-size: 22px;
            font-weight: 700;
            letter-spacing: -0.2px;
            color: #f0f4fa;
        }
        .hero-sub {
            font-size: 14px;
            opacity: 0.6;
            margin-top: 4px;
            font-weight: 400;
            color: #b0c7db;
        }
        .hero-stats {
            display: flex;
            justify-content: space-between;
            margin-top: 18px;
            background: rgba(255,255,255,0.04);
            padding: 12px 14px;
            border-radius: 60px;
            backdrop-filter: blur(4px);
            border: 1px solid rgba(255, 255, 255, 0.05);
        }
        .hero-stat {
            text-align: center;
        }
        .hero-stat .num {
            font-weight: 700;
            font-size: 18px;
            color: #f0f4fa;
        }
        .hero-stat .label {
            font-size: 11px;
            opacity: 0.5;
            color: #9bb3c9;
        }

        /* ===== 精選短劇 (浮動箭頭) ===== */
        .section-header {
            display: flex;
            justify-content: space-between;
            align-items: baseline;
            margin: 14px 0 10px;
        }
        .section-header h3 {
            font-size: 17px;
            font-weight: 700;
            color: #eaeef3;
            display: flex;
            align-items: center;
            gap: 6px;
            text-shadow: 0 2px 8px rgba(0,0,0,0.3);
        }
        .section-header a {
            font-size: 13px;
            color: #9ab3cb;
            text-decoration: none;
            font-weight: 500;
            text-shadow: 0 2px 4px rgba(0,0,0,0.2);
            cursor: pointer;
        }
        .section-header a:hover {
            color: #d4af6e;
        }

        .carousel-wrapper {
            position: relative;
            margin-bottom: 6px;
            border-radius: 24px;
            overflow: visible;
        }
        .carousel-track {
            overflow: hidden;
            border-radius: 24px;
        }
        .carousel-slides {
            display: flex;
            transition: transform 0.3s ease;
            will-change: transform;
        }
        .drama-card {
            flex: 0 0 100%;
            background: rgba(20, 33, 46, 0.75);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border-radius: 24px;
            padding: 18px 18px 20px;
            border: 1px solid rgba(255, 255, 255, 0.06);
            box-shadow: 0 6px 16px rgba(0,0,0,0.3);
            cursor: pointer;
            transition: 0.2s;
        }
        .drama-card:hover {
            border-color: rgba(212, 175, 110, 0.3);
            transform: scale(1.01);
        }
        .drama-card:active {
            transform: scale(0.98);
        }
        .drama-cover {
            width: 100%;
            height: 180px;
            background: rgba(29, 46, 62, 0.6);
            border-radius: 16px;
            background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%234a6680" width="56" height="56"><path d="M18.5 4l-1.5 1.5 3 3L21.5 7l-3-3zm-9 0L4 9.5 9.5 15 15 9.5 9.5 4zm-2 2.5L6 8l3 3 1.5-1.5L7.5 6.5zM4 13.5L5.5 15 4 16.5V13.5zm3.5 3.5L6 18.5l3 3 1.5-1.5L7.5 17zM13 18.5L14.5 20 13 21.5V18.5zM17 15l-1.5 1.5 3 3L20 18l-3-3z"/></svg>');
            background-repeat: no-repeat;
            background-position: center;
            background-size: 56px;
            margin-bottom: 14px;
            border: 1px solid rgba(255,255,255,0.04);
        }
        .drama-title {
            font-size: 20px;
            font-weight: 700;
            color: #eef2f7;
        }
        .drama-desc {
            font-size: 14px;
            color: #8aa4bb;
            margin: 2px 0 12px;
        }
        .drama-meta-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 6px;
            background: rgba(14, 26, 38, 0.5);
            padding: 12px 8px;
            border-radius: 18px;
            margin-bottom: 14px;
            border: 1px solid rgba(255,255,255,0.04);
        }
        .meta-item {
            display: flex;
            flex-direction: column;
            align-items: center;
        }
        .meta-item .lbl {
            font-size: 10px;
            color: #6b8aa3;
            letter-spacing: 0.2px;
        }
        .meta-item .val {
            font-weight: 700;
            font-size: 16px;
            color: #eef2f7;
        }
        .meta-item .val small {
            font-weight: 400;
            font-size: 11px;
            color: #7b99b3;
        }
        .drama-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .repay-tag {
            background: rgba(26, 41, 56, 0.6);
            padding: 6px 18px;
            border-radius: 40px;
            font-size: 13px;
            font-weight: 500;
            color: #b0ccdf;
            border: 1px solid rgba(255, 255, 255, 0.06);
        }
        .contract-link {
            display: flex;
            align-items: center;
            gap: 6px;
            background: rgba(30, 49, 66, 0.7);
            color: #e0d5c0;
            padding: 8px 22px 8px 16px;
            border-radius: 40px;
            font-size: 14px;
            font-weight: 500;
            cursor: default;
            border: 1px solid rgba(255, 255, 255, 0.06);
        }
        .contract-link i {
            font-size: 15px;
        }

        /* ===== 浮動箭頭 ===== */
        .carousel-btn {
            position: absolute;
            top: 25%;
            transform: translateY(-50%);
            z-index: 10;
            background: rgba(15, 26, 38, 0.7);
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
            border: 1px solid rgba(255, 255, 255, 0.1);
            color: #e0d5c0;
            width: 44px;
            height: 44px;
            border-radius: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 22px;
            cursor: pointer;
            transition: 0.2s;
            box-shadow: 0 4px 16px rgba(0,0,0,0.4);
        }
        .carousel-btn:hover {
            background: rgba(36, 56, 75, 0.85);
            color: #fff;
        }
        .carousel-btn:active {
            transform: translateY(-50%) scale(0.92);
        }
        #prevBtn {
            left: 8px;
        }
        #nextBtn {
            right: 8px;
        }

        /* 指示器 */
        .carousel-indicators {
            display: flex;
            justify-content: center;
            gap: 8px;
            margin-top: 12px;
        }
        .dot {
            width: 10px;
            height: 10px;
            background: rgba(47, 66, 87, 0.5);
            border-radius: 20px;
            transition: 0.2s;
            cursor: pointer;
            border: 1px solid rgba(255,255,255,0.05);
        }
        .dot.active {
            background: #d4af6e;
            width: 28px;
            border-color: rgba(212, 175, 110, 0.3);
        }

        /* ===== 進階獎勵 ===== */
        .reward-card {
            background: rgba(14, 26, 38, 0.7);
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
            border-radius: 28px;
            padding: 18px 16px;
            margin: 18px 0 12px;
            border: 1px solid rgba(255, 255, 255, 0.06);
            box-shadow: 0 4px 12px rgba(0,0,0,0.2);
        }
        .reward-header {
            display: flex;
            align-items: center;
            gap: 8px;
            font-weight: 700;
            font-size: 17px;
            color: #eaeef3;
        }
        .reward-header i {
            color: #d4af37;
        }
        .reward-list {
            margin-top: 14px;
            display: flex;
            flex-direction: column;
            gap: 10px;
        }
        .reward-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            background: rgba(16, 31, 46, 0.6);
            padding: 8px 14px;
            border-radius: 60px;
            border: 1px solid rgba(255, 255, 255, 0.05);
        }
        .vip-tag {
            background: rgba(30, 49, 66, 0.7);
            color: #e0d5c0;
            font-weight: 600;
            font-size: 12px;
            padding: 0 14px;
            border-radius: 40px;
            line-height: 28px;
            border: 1px solid rgba(255, 255, 255, 0.06);
        }
        .vip-desc {
            font-weight: 500;
            color: #d4dfe9;
        }
        .vip-desc span {
            font-weight: 400;
            color: #8aaac5;
        }
        .vip-threshold {
            font-size: 12px;
            color: #b0ccdf;
            background: rgba(10, 20, 31, 0.5);
            padding: 0 14px;
            border-radius: 40px;
            line-height: 26px;
            border: 1px solid rgba(255, 255, 255, 0.05);
        }
        .auto-tip {
            font-size: 13px;
            color: #bdd3e6;
            background: rgba(10, 20, 31, 0.5);
            padding: 8px 14px;
            border-radius: 60px;
            text-align: center;
            margin-top: 12px;
            border: 1px solid rgba(255, 255, 255, 0.05);
        }

        /* ===== 團隊卡片 ===== */
        .team-card {
            background: rgba(14, 26, 38, 0.7);
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
            border-radius: 28px;
            padding: 14px 18px;
            border: 1px solid rgba(255, 255, 255, 0.06);
            margin: 14px 0 8px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            box-shadow: 0 2px 10px rgba(0,0,0,0.2);
        }
        .team-avatars {
            display: flex;
            align-items: center;
        }
        .avatar {
            width: 46px;
            height: 46px;
            background: rgba(29, 46, 62, 0.6);
            border-radius: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 600;
            color: #cbdae6;
            margin-right: -10px;
            border: 2px solid rgba(15, 26, 38, 0.8);
            font-size: 14px;
        }
        .avatar.more {
            background: rgba(36, 56, 75, 0.6);
            color: #d4dfe9;
        }
        .team-info {
            text-align: right;
        }
        .team-info .num {
            font-weight: 700;
            font-size: 18px;
            color: #eef2f7;
        }
        .team-info .label {
            font-size: 12px;
            color: #8aa4bb;
        }
        .team-invite {
            background: rgba(16, 31, 46, 0.6);
            padding: 4px 16px;
            border-radius: 60px;
            font-size: 12px;
            color: #b0ccdf;
            margin-top: 4px;
            display: inline-block;
            border: 1px solid rgba(255, 255, 255, 0.05);
        }

        /* ===== 底部菜單 固定 ===== */
        .bottom-nav {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            display: flex;
            justify-content: space-around;
            align-items: center;
            background: rgba(14, 26, 38, 0.92);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            padding: 8px 6px 12px;
            border-top: 1px solid rgba(255, 255, 255, 0.06);
            border-radius: 0;
            box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
            z-index: 100;
            max-width: 100%;
        }
        .nav-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            font-size: 10px;
            color: #6f8aa0;
            transition: 0.2s;
            padding: 4px 8px;
            border-radius: 8px;
            cursor: pointer;
            background: transparent;
            min-width: 48px;
            text-decoration: none;
        }
        .nav-item i {
            font-size: 22px;
            margin-bottom: 1px;
        }
        .nav-item.active {
            color: #e0d5c0;
            font-weight: 600;
        }
        .nav-item.active i {
            color: #d4af6e;
        }
        .nav-item:hover {
            color: #e0d5c0;
        }

        /* ===== 響應式調整 ===== */
        @media (max-width: 480px) {
            .drama-cover {
                height: 150px;
            }
            .drama-title {
                font-size: 18px;
            }
            .drama-meta-grid {
                padding: 10px 6px;
            }
            .meta-item .val {
                font-size: 14px;
            }
            .carousel-btn {
                width: 38px;
                height: 38px;
                font-size: 18px;
            }
            #prevBtn { left: 4px; }
            #nextBtn { right: 4px; }
        }
        @media (min-width: 600px) {
            .app {
                max-width: 420px;
                margin: 0 auto;
            }
            .bottom-nav {
                max-width: 420px;
                left: 50%;
                transform: translateX(-50%);
            }
        }
        .bottom-spacer {
            height: 10px;
        }
