:root {
        --bg-color: #faf8f0;
        --card-bg: #ffffff;
        --board-bg: #b9a899;
        --slot-bg: rgba(238, 228, 218, 0.35);
        --primary: #f0653a;
        --primary-dark: #d9502a;
        --text-main: #5c534b;
        --text-light: #8e857c;
        --tile-2: #eee4da;
        --tile-4: #ede0c8;
        --tile-8: #f2b179;
        --tile-16: #f59563;
        --tile-32: #f67c5f;
        --tile-64: #f65e3b;
        --tile-128: #edcf72;
        --tile-256: #edcc61;
        --tile-512: #edc850;
        --tile-2048: linear-gradient(135deg, #f2b179, #f0653a);
        --font-main: "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    }

    * { margin: 0; padding: 0; box-sizing: border-box; }
    body {
        background-color: var(--bg-color);
        color: var(--text-main);
        font-family: var(--font-main);
        line-height: 1.6;
        overflow-x: hidden;
    }
    img { max-width: 100%; height: auto; display: block; }
    a { text-decoration: none; color: inherit; }
    ul { list-style: none; }
    button { cursor: pointer; font-family: inherit; border: none; outline: none; }

    /* 导航 */
    .navbar {
        position: fixed;
        top: 0; left: 0; width: 100%;
        background: rgba(250, 248, 240, 0.95);
        backdrop-filter: blur(8px);
        box-shadow: 0 2px 10px rgba(0,0,0,0.05);
        z-index: 1000;
    }
    .nav-container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 70px;
    }
    .logo-area { display: flex; align-items: center; gap: 10px; font-size: 1.2rem; font-weight: bold; color: var(--text-main); }
    .logo-area img { height: 32px; width: auto; border-radius: 6px; }
    .nav-links { display: flex; gap: 20px; align-items: center; }
    .nav-links a { font-weight: 500; transition: color 0.3s; }
    .nav-links a:hover { color: var(--primary); }
    .nav-actions { display: flex; gap: 15px; align-items: center; }
    .search-box {
        padding: 6px 12px;
        border-radius: 20px;
        border: 1px solid #ddd;
        background: #fff;
        font-size: 0.9rem;
        width: 150px;
    }
    .btn-download {
        background: var(--primary);
        color: #fff;
        padding: 8px 16px;
        border-radius: 8px;
        font-weight: bold;
        transition: background 0.3s, transform 0.2s;
    }
    .btn-download:hover { background: var(--primary-dark); transform: translateY(-2px); }
    .mobile-menu-btn { display: none; font-size: 1.5rem; background: none; color: var(--text-main); }

    /* 首屏 */
    .hero {
        padding: 120px 20px 60px;
        max-width: 1200px;
        margin: 0 auto;
        display: flex;
        align-items: center;
        gap: 40px;
    }
    .hero-text { flex: 1; }
    .hero-text h1 {
        font-size: 3rem;
        line-height: 1.2;
        margin-bottom: 20px;
        background: linear-gradient(135deg, var(--primary), #e6a23c);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        font-weight: 900;
    }
    .hero-text p { font-size: 1.2rem; color: var(--text-light); margin-bottom: 30px; max-width: 500px; }
    .hero-cta { display: flex; gap: 15px; margin-bottom: 40px; }
    .btn-primary {
        background: var(--primary);
        color: #fff;
        padding: 14px 28px;
        border-radius: 12px;
        font-size: 1.1rem;
        font-weight: bold;
        box-shadow: 0 4px 15px rgba(240, 101, 58, 0.3);
        transition: all 0.3s;
        display: inline-block;
    }
    .btn-primary:hover { background: var(--primary-dark); transform: translateY(-3px); }
    .btn-secondary {
        background: transparent;
        color: var(--primary);
        padding: 14px 28px;
        border-radius: 12px;
        font-size: 1.1rem;
        font-weight: bold;
        border: 2px solid var(--primary);
        transition: all 0.3s;
    }
    .btn-secondary:hover { background: rgba(240, 101, 58, 0.05); }
    .hero-stats { display: flex; gap: 30px; border-top: 1px solid #e5dfd3; padding-top: 20px; }
    .stat-item { display: flex; flex-direction: column; }
    .stat-num { font-size: 1.5rem; font-weight: bold; color: var(--primary); font-variant-numeric: tabular-nums; }
    .stat-label { font-size: 0.9rem; color: var(--text-light); }

    /* 棋盘区 */
    .hero-visual { flex: 1; display: flex; flex-direction: column; align-items: center; }
    .board-container {
        background: var(--board-bg);
        padding: 15px;
        border-radius: 16px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        width: 100%;
        max-width: 400px;
    }
    .score-panel {
        background: #bbada0;
        padding: 10px 20px;
        border-radius: 8px;
        color: #fff;
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 15px;
        font-variant-numeric: tabular-nums;
    }
    .score-box { display: flex; flex-direction: column; align-items: center; }
    .score-box span:first-child { font-size: 0.8rem; opacity: 0.8; }
    .score-box span:last-child { font-size: 1.5rem; font-weight: bold; }
    .board {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
        aspect-ratio: 1 / 1;
    }
    .tile {
        background: var(--slot-bg);
        border-radius: 8px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        font-weight: bold;
        color: #776e65;
        font-size: 1.2rem;
        text-align: center;
        padding: 5px;
        transition: transform 0.3s;
    }
    .tile:hover { transform: scale(1.05); }
    .tile.tv-show { font-size: 0.7rem; line-height: 1.2; font-weight: normal; }
    .t-num { font-size: 1.5rem; font-variant-numeric: tabular-nums; margin-bottom: 2px; }
    .t-2 { background: var(--tile-2); }
    .t-4 { background: var(--tile-4); }
    .t-8 { background: var(--tile-8); color: #f9f6f2; }
    .t-16 { background: var(--tile-16); color: #f9f6f2; }
    .t-32 { background: var(--tile-32); color: #f9f6f2; }
    .t-64 { background: var(--tile-64); color: #f9f6f2; }
    .t-128 { background: var(--tile-128); color: #f9f6f2; box-shadow: 0 0 10px rgba(237, 207, 114, 0.5); }
    .t-256 { background: var(--tile-256); color: #f9f6f2; box-shadow: 0 0 15px rgba(237, 204, 97, 0.6); }
    .t-512 { background: var(--tile-512); color: #f9f6f2; box-shadow: 0 0 20px rgba(237, 200, 80, 0.7); }
    .t-2048 { background: var(--tile-2048); color: #fff; box-shadow: 0 0 25px rgba(240, 101, 58, 0.8); animation: pulse 2s infinite; }
    
    @keyframes pulse {
        0% { transform: scale(1); }
        50% { transform: scale(1.05); }
        100% { transform: scale(1); }
    }
    .board-desc { margin-top: 15px; font-size: 0.85rem; color: var(--text-light); text-align: center; }

    /* 通用区块 */
    .section { padding: 80px 20px; max-width: 1200px; margin: 0 auto; }
    .section-header { text-align: center; margin-bottom: 50px; }
    .section-header h2 {
        font-size: 2.2rem;
        margin-bottom: 15px;
        color: var(--text-main);
        font-weight: 800;
    }
    .section-header p { color: var(--text-light); font-size: 1.1rem; }

    /* 档位玩法 */
    .play-guide { background: #fff; border-radius: 20px; padding: 40px; box-shadow: 0 10px 30px rgba(0,0,0,0.03); }
    .fragment-area { display: flex; justify-content: space-around; margin-bottom: 40px; flex-wrap: wrap; gap: 20px; }
    .fragment-box {
        background: var(--bg-color);
        border: 2px dashed var(--primary);
        border-radius: 16px;
        padding: 20px;
        text-align: center;
        width: 200px;
        cursor: pointer;
        transition: all 0.3s;
    }
    .fragment-box:hover { background: rgba(240, 101, 58, 0.05); transform: translateY(-5px); }
    .fragment-box h3 { color: var(--primary); margin-bottom: 10px; font-size: 1.2rem; }
    .fragment-box p { font-size: 0.9rem; color: var(--text-light); }
    .merge-result {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 20px;
        font-size: 2rem;
        font-weight: bold;
        color: var(--primary);
        min-height: 80px;
    }
    .merge-arrow { font-size: 2rem; color: var(--text-light); }
    
    /* 剧库 */
    .filter-bar { display: flex; justify-content: center; gap: 15px; margin-bottom: 30px; flex-wrap: wrap; }
    .chip {
        padding: 8px 20px;
        background: #fff;
        border-radius: 20px;
        cursor: pointer;
        font-weight: 500;
        transition: all 0.3s;
        border: 1px solid #e5dfd3;
    }
    .chip.active, .chip:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
    .search-input {
        padding: 8px 20px;
        border-radius: 20px;
        border: 1px solid #e5dfd3;
        width: 200px;
        outline: none;
    }
    .search-input:focus { border-color: var(--primary); }
    
    .drama-grid {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        gap: 20px;
    }
    .drama-card {
        background: #fff;
        border-radius: 16px;
        overflow: hidden;
        box-shadow: 0 4px 15px rgba(0,0,0,0.05);
        transition: transform 0.3s;
        position: relative;
        cursor: pointer;
    }
    .drama-card:hover { transform: translateY(-8px); }
    .drama-cover { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
    .drama-info { padding: 15px; }
    .drama-title { font-weight: bold; font-size: 1.1rem; margin-bottom: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .drama-meta { display: flex; justify-content: space-between; font-size: 0.85rem; color: var(--text-light); }
    .tier-badge {
        position: absolute;
        top: 10px;
        right: 10px;
        background: rgba(0,0,0,0.6);
        color: #fff;
        padding: 4px 10px;
        border-radius: 12px;
        font-size: 0.8rem;
        font-weight: bold;
        backdrop-filter: blur(4px);
    }
    .no-result { text-align: center; padding: 40px; color: var(--text-light); font-size: 1.1rem; display: none; }

    /* 更新日历 */
    .calendar-wrap { background: #fff; border-radius: 20px; padding: 30px; box-shadow: 0 10px 30px rgba(0,0,0,0.03); }
    .calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; margin-bottom: 30px; }
    .cal-item {
        background: var(--bg-color);
        border-radius: 12px;
        padding: 15px 10px;
        text-align: center;
        border-top: 4px solid transparent;
    }
    .cal-item:nth-child(1) { border-top-color: #f0653a; }
    .cal-item:nth-child(2) { border-top-color: #e6a23c; }
    .cal-item:nth-child(3) { border-top-color: #67c23a; }
    .cal-item:nth-child(4) { border-top-color: #409eff; }
    .cal-item:nth-child(5) { border-top-color: #909399; }
    .cal-item:nth-child(6) { border-top-color: #b9a899; }
    .cal-item:nth-child(7) { border-top-color: #f56c6c; }
    .cal-day { font-weight: bold; font-size: 1.1rem; margin-bottom: 10px; color: var(--text-main); }
    .cal-tasks { font-size: 0.85rem; color: var(--text-light); line-height: 1.5; }
    .time-slots { display: flex; gap: 20px; }
    .slot-card {
        flex: 1;
        background: linear-gradient(135deg, #fff, var(--bg-color));
        border: 1px solid #e5dfd3;
        border-radius: 16px;
        padding: 20px;
        text-align: center;
    }
    .slot-card h3 { font-size: 1.5rem; color: var(--primary); margin-bottom: 5px; }
    .slot-card p { font-size: 0.9rem; color: var(--text-light); }
    .timezone-note { text-align: center; font-size: 0.8rem; color: var(--text-light); margin-top: 15px; }

    /* 心愿榜 */
    .wishlist { background: #fff; border-radius: 20px; padding: 30px; box-shadow: 0 10px 30px rgba(0,0,0,0.03); }
    .wish-item { display: flex; align-items: center; padding: 15px 0; border-bottom: 1px solid #f0f0f0; gap: 20px; }
    .wish-item:last-child { border-bottom: none; }
    .wish-rank { font-size: 1.5rem; font-weight: bold; color: var(--text-light); width: 30px; text-align: center; }
    .wish-rank.top { color: var(--primary); }
    .wish-cover { width: 60px; height: 80px; border-radius: 8px; object-fit: cover; }
    .wish-info { flex: 1; }
    .wish-title { font-weight: bold; font-size: 1.1rem; margin-bottom: 8px; }
    .wish-progress { height: 8px; background: #eee; border-radius: 4px; overflow: hidden; margin-bottom: 5px; }
    .wish-bar { height: 100%; background: var(--primary); width: 0; transition: width 0.5s ease; }
    .wish-num { font-size: 0.85rem; color: var(--text-light); font-variant-numeric: tabular-nums; }
    .btn-wish {
        padding: 8px 16px;
        border-radius: 20px;
        background: rgba(240, 101, 58, 0.1);
        color: var(--primary);
        font-weight: bold;
        transition: all 0.3s;
        white-space: nowrap;
    }
    .btn-wish:hover { background: var(--primary); color: #fff; }
    .btn-wish.joined { background: var(--text-light); color: #fff; pointer-events: none; }

    /* 碎片时间 */
    .scene-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
    .scene-card {
        background: #fff;
        border-radius: 16px;
        padding: 30px 20px;
        text-align: center;
        box-shadow: 0 4px 15px rgba(0,0,0,0.03);
        transition: transform 0.3s;
    }
    .scene-card:hover { transform: translateY(-5px); }
    .scene-icon { font-size: 2.5rem; margin-bottom: 15px; }
    .scene-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
    .scene-card p { font-size: 0.9rem; color: var(--text-light); }

    /* 竖屏体验 */
    .experience { display: flex; align-items: center; gap: 50px; background: #fff; border-radius: 20px; padding: 50px; box-shadow: 0 10px 30px rgba(0,0,0,0.03); }
    .exp-text { flex: 1; }
    .exp-text h2 { font-size: 2rem; margin-bottom: 20px; }
    .exp-list { margin-top: 30px; }
    .exp-list li { margin-bottom: 15px; font-size: 1.1rem; display: flex; align-items: center; gap: 10px; }
    .exp-list li::before { content: '✔'; color: var(--primary); font-weight: bold; }
    .exp-visual { flex: 1; display: flex; justify-content: center; position: relative; }
    .phone-mockup {
        width: 260px;
        height: 520px;
        background: #111;
        border-radius: 30px;
        padding: 10px;
        box-shadow: 0 20px 40px rgba(0,0,0,0.2);
        position: relative;
        overflow: hidden;
    }
    .phone-screen {
        width: 100%;
        height: 100%;
        background: #000;
        border-radius: 20px;
        overflow: hidden;
        position: relative;
    }
    .phone-slide {
        position: absolute;
        top: 0; left: 0; width: 100%; height: 100%;
        object-fit: cover;
        opacity: 0;
        transition: opacity 0.5s;
    }
    .phone-slide.active { opacity: 1; }
    .swipe-hint {
        position: absolute;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        color: #fff;
        font-size: 0.9rem;
        background: rgba(0,0,0,0.5);
        padding: 5px 15px;
        border-radius: 15px;
        animation: bounce 1.5s infinite;
        pointer-events: none;
    }
    @keyframes bounce {
        0%, 100% { transform: translate(-50%, 0); }
        50% { transform: translate(-50%, -10px); }
    }

    /* 用户评价 */
    .reviews { text-align: center; }
    .score-big { font-size: 4rem; font-weight: bold; color: var(--primary); font-variant-numeric: tabular-nums; line-height: 1; margin-bottom: 10px; }
    .stars { color: #f5a623; font-size: 1.5rem; margin-bottom: 40px; }
    .review-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; text-align: left; }
    .review-card {
        background: #fff;
        padding: 20px;
        border-radius: 16px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.03);
        display: flex;
        gap: 15px;
    }
    .avatar-box {
        width: 50px; height: 50px;
        background: var(--tile-32);
        border-radius: 12px;
        display: flex;
        justify-content: center;
        align-items: center;
        color: #fff;
        font-weight: bold;
        font-size: 1.2rem;
        flex-shrink: 0;
    }
    .review-content p { font-size: 0.95rem; margin-bottom: 10px; line-height: 1.5; }
    .review-tag { font-size: 0.8rem; color: var(--text-light); background: var(--bg-color); padding: 2px 8px; border-radius: 4px; display: inline-block; }

    /* FAQ */
    .faq-list { max-width: 800px; margin: 0 auto; }
    .faq-item { background: #fff; border-radius: 12px; margin-bottom: 15px; box-shadow: 0 4px 15px rgba(0,0,0,0.03); overflow: hidden; }
    .faq-q {
        padding: 20px;
        font-weight: bold;
        font-size: 1.1rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
        cursor: pointer;
        transition: background 0.3s;
    }
    .faq-q:hover { background: #faf8f0; }
    .faq-icon { transition: transform 0.3s; color: var(--primary); font-weight: bold; }
    .faq-item.open .faq-icon { transform: rotate(180deg); }
    .faq-a {
        padding: 0 20px;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, padding 0.3s ease;
        color: var(--text-light);
        font-size: 0.95rem;
    }
    .faq-item.open .faq-a { padding: 0 20px 20px 20px; max-height: 200px; }

    /* 下载区 */
    .download-section {
        background: linear-gradient(135deg, var(--primary), var(--primary-dark));
        border-radius: 24px;
        padding: 60px 20px;
        text-align: center;
        color: #fff;
        max-width: 1000px;
        margin: 0 auto 60px;
    }
    .download-section h2 { font-size: 2.5rem; margin-bottom: 20px; }
    .download-section p { font-size: 1.1rem; margin-bottom: 30px; opacity: 0.9; }
    .btn-download-big {
        display: inline-block;
        background: #fff;
        color: var(--primary);
        padding: 16px 40px;
        border-radius: 30px;
        font-size: 1.2rem;
        font-weight: bold;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        transition: transform 0.3s;
    }
    .btn-download-big:hover { transform: scale(1.05); }
    .dl-features { display: flex; justify-content: center; gap: 30px; margin-top: 30px; font-size: 0.9rem; opacity: 0.8; }

    /* 页脚 */
    footer {
        background: #fff;
        padding: 40px 20px;
        text-align: center;
        border-top: 1px solid #e5dfd3;
    }
    .footer-content { max-width: 1200px; margin: 0 auto; font-size: 0.85rem; color: var(--text-light); }
    .footer-content p { margin-bottom: 10px; }
    .footer-content a { color: var(--text-light); text-decoration: underline; }
    .footer-content a:hover { color: var(--primary); }
    .update-time { font-size: 0.75rem; opacity: 0.7; margin-top: 10px; }

    /* 响应式 */
    @media (max-width: 1024px) {
        .hero { flex-direction: column; text-align: center; padding-top: 100px; }
        .hero-text p { margin: 0 auto 30px; }
        .hero-cta { justify-content: center; }
        .hero-stats { justify-content: center; }
        .drama-grid { grid-template-columns: repeat(4, 1fr); }
        .calendar-grid { grid-template-columns: repeat(4, 1fr); }
        .scene-grid { grid-template-columns: repeat(2, 1fr); }
        .experience { flex-direction: column; }
    }

    @media (max-width: 768px) {
        .nav-links, .nav-actions .search-box { display: none; }
        .mobile-menu-btn { display: block; }
        .hero-text h1 { font-size: 2rem; }
        .drama-grid { grid-template-columns: repeat(2, 1fr); }
        .calendar-grid { grid-template-columns: repeat(2, 1fr); }
        .time-slots { flex-direction: column; }
        .review-grid { grid-template-columns: 1fr; }
        .fragment-area { flex-direction: column; align-items: center; }
        .wish-item { flex-wrap: wrap; }
        .wish-info { flex: 1 1 100%; order: 3; margin-top: 10px; }
        .btn-wish { margin-left: auto; }
        .dl-features { flex-direction: column; gap: 10px; }
    }