:root {
        --bg-color: #faf8f0;
        --card-bg: #ffffff;
        --bg-gray: #f3efe4;
        --board-bg: #b9a899;
        --board-slot: rgba(238, 228, 218, 0.35);
        --primary: #f0653a;
        --primary-hover: #d9502a;
        --text-main: #51473e;
        --text-light: #7c7065;
        --gold-grad: linear-gradient(135deg, #f0653a, #f5b041, #f0653a);
        --radius-lg: 16px;
        --radius-md: 12px;
        --radius-sm: 8px;
        --shadow-card: 0 4px 12px rgba(0,0,0,0.05);
        --shadow-float: 0 10px 24px rgba(240, 101, 58, 0.15);
    }

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

    body {
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
        background-color: var(--bg-color);
        color: var(--text-main);
        line-height: 1.6;
        -webkit-font-smoothing: antialiased;
        overflow-x: hidden;
    }

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

    ul {
        list-style: none;
    }

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

    /* 导航 */
    .navbar {
        position: sticky;
        top: 0;
        background-color: rgba(250, 248, 240, 0.95);
        backdrop-filter: blur(8px);
        z-index: 100;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }

    .nav-container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 12px 20px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .logo-area {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 20px;
        font-weight: 800;
        color: var(--text-main);
    }

    .logo-area img {
        height: 32px;
        width: auto;
    }

    .nav-links {
        display: flex;
        gap: 24px;
        font-weight: 500;
        color: var(--text-light);
    }

    .nav-links a:hover {
        color: var(--primary);
    }

    .nav-actions {
        display: flex;
        align-items: center;
        gap: 16px;
    }

    .search-btn {
        color: var(--text-light);
        cursor: pointer;
        font-size: 18px;
    }

    .btn-primary {
        background: var(--primary);
        color: white;
        padding: 8px 20px;
        border-radius: var(--radius-sm);
        font-weight: 600;
        transition: all 0.2s;
        display: inline-block;
    }
    
    .btn-primary:hover {
        background: var(--primary-hover);
        transform: translateY(-1px);
    }

    .mobile-menu-btn {
        display: none;
        font-size: 24px;
        cursor: pointer;
    }

    /* 首屏 */
    .hero {
        max-width: 1200px;
        margin: 0 auto;
        padding: 60px 20px;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 40px;
        align-items: center;
    }

    .hero-text h1 {
        font-size: 48px;
        line-height: 1.2;
        margin-bottom: 20px;
        background: var(--gold-grad);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        font-weight: 900;
    }

    .hero-text p {
        font-size: 18px;
        color: var(--text-light);
        margin-bottom: 32px;
    }

    .hero-cta {
        display: flex;
        gap: 16px;
        margin-bottom: 40px;
    }

    .btn-large {
        padding: 14px 32px;
        font-size: 18px;
        border-radius: var(--radius-md);
    }

    .stats-bar {
        display: flex;
        gap: 30px;
        border-top: 1px solid rgba(0,0,0,0.05);
        padding-top: 20px;
    }

    .stat-item .num {
        font-size: 24px;
        font-weight: 800;
        color: var(--primary);
        font-variant-numeric: tabular-nums;
    }

    .stat-item .label {
        font-size: 14px;
        color: var(--text-light);
    }

    /* 棋盘区 */
    .hero-board {
        display: flex;
        flex-direction: column;
        align-items: center;
        background: var(--bg-gray);
        padding: 24px;
        border-radius: var(--radius-lg);
        box-shadow: var(--shadow-card);
    }

    .score-card {
        background: var(--text-main);
        color: white;
        padding: 12px 24px;
        border-radius: var(--radius-sm);
        text-align: center;
        margin-bottom: 20px;
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .score-card .score-num {
        font-size: 28px;
        font-weight: 900;
        font-variant-numeric: tabular-nums;
    }

    .grid-board {
        background: var(--board-bg);
        padding: 12px;
        border-radius: var(--radius-md);
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 12px;
        width: 100%;
        max-width: 380px;
        aspect-ratio: 1 / 1;
    }

    .grid-slot {
        background: var(--board-slot);
        border-radius: var(--radius-sm);
        box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .tile {
        position: absolute;
        inset: 0;
        border-radius: var(--radius-sm);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 24px;
        font-weight: 900;
        font-variant-numeric: tabular-nums;
        color: var(--text-main);
    }

    .tile-4 { background: #ede0c8; }
    .tile-8 { background: #f2b179; color: white; }
    .tile-16 { background: #f59563; color: white; }
    .tile-32 { background: #f67c5f; color: white; }
    .tile-64 { background: #f65e3b; color: white; }
    .tile-128 { background: #edcf72; color: white; box-shadow: 0 0 16px rgba(237,207,114,0.6); }
    .tile-256 { background: #edcc61; color: white; box-shadow: 0 0 16px rgba(237,204,97,0.6); }
    .tile-512 { background: #edc850; color: white; box-shadow: 0 0 16px rgba(237,200,80,0.6); }
    .tile-1024 { background: #edc53f; color: white; font-size: 20px; box-shadow: 0 0 20px rgba(237,197,63,0.8); }
    .tile-2048 { background: linear-gradient(135deg, #edc22e, #f2b179); color: white; font-size: 20px; box-shadow: 0 0 30px rgba(237,194,46,1); animation: pulse 2s infinite alternate; }

    @keyframes pulse {
        0% { transform: scale(1); box-shadow: 0 0 20px rgba(237,194,46,0.8); }
        100% { transform: scale(1.05); box-shadow: 0 0 40px rgba(237,194,46,1); }
    }

    .board-caption {
        margin-top: 16px;
        font-size: 14px;
        color: var(--text-light);
        text-align: center;
    }

    /* 档位玩法 */
    .section-padding {
        padding: 80px 20px;
    }

    .container {
        max-width: 1200px;
        margin: 0 auto;
    }

    .section-title {
        text-align: center;
        font-size: 32px;
        margin-bottom: 12px;
        color: var(--text-main);
    }

    .section-subtitle {
        text-align: center;
        color: var(--text-light);
        margin-bottom: 48px;
        font-size: 16px;
    }

    .play-rules {
        background: var(--card-bg);
        border-radius: var(--radius-lg);
        padding: 40px;
        box-shadow: var(--shadow-card);
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 40px;
    }

    .fragments {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .frag-sq {
        width: 120px;
        height: 120px;
        background: var(--bg-gray);
        border-radius: var(--radius-md);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        font-weight: bold;
        cursor: pointer;
        transition: all 0.3s;
        border: 2px solid transparent;
    }

    .frag-sq.active {
        border-color: var(--primary);
        transform: scale(1.05);
    }

    .merge-arrow {
        font-size: 32px;
        color: var(--primary);
    }

    .result-box {
        width: 200px;
        height: 200px;
        background: var(--bg-gray);
        border-radius: var(--radius-lg);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        font-weight: 900;
        font-size: 48px;
        color: var(--primary);
        box-shadow: inset 0 4px 12px rgba(0,0,0,0.1);
    }

    /* 档位剧库 */
    .filter-bar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 32px;
        flex-wrap: wrap;
        gap: 16px;
    }

    .chips {
        display: flex;
        gap: 12px;
        flex-wrap: wrap;
    }

    .chip {
        padding: 8px 16px;
        background: var(--bg-gray);
        border-radius: 20px;
        cursor: pointer;
        font-size: 14px;
        transition: all 0.2s;
    }

    .chip.active {
        background: var(--primary);
        color: white;
    }

    .search-input {
        padding: 8px 16px;
        border: 1px solid #ddd;
        border-radius: 20px;
        outline: none;
        width: 200px;
    }

    .drama-grid {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        gap: 24px;
    }

    .drama-card {
        background: var(--card-bg);
        border-radius: var(--radius-md);
        overflow: hidden;
        box-shadow: var(--shadow-card);
        transition: transform 0.2s, box-shadow 0.2s;
        cursor: pointer;
        display: flex;
        flex-direction: column;
    }

    .drama-card:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow-float);
    }

    .cover-wrap {
        position: relative;
        aspect-ratio: 3/4;
        overflow: hidden;
    }

    .cover-wrap img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s;
    }

    .drama-card:hover .cover-wrap img {
        transform: scale(1.05);
    }

    .badge {
        position: absolute;
        top: 8px;
        right: 8px;
        background: var(--text-main);
        color: white;
        font-size: 12px;
        padding: 4px 8px;
        border-radius: 4px;
        font-weight: bold;
        font-variant-numeric: tabular-nums;
    }

    .badge.high {
        background: var(--primary);
    }

    .drama-info {
        padding: 12px;
    }

    .drama-info h3 {
        font-size: 16px;
        margin-bottom: 4px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .drama-info .meta {
        font-size: 12px;
        color: var(--text-light);
    }

    /* 更多版块按需排列，保持结构完整性 */
    
    .calendar-grid {
        display: grid;
        grid-template-columns: repeat(7, 1fr);
        gap: 16px;
    }
    
    .cal-block {
        background: var(--card-bg);
        padding: 16px;
        border-radius: var(--radius-md);
        text-align: center;
        box-shadow: var(--shadow-card);
    }
    
    .cal-block h3 { font-size: 16px; color: var(--primary); border-bottom: 1px solid var(--bg-gray); padding-bottom: 8px; margin-bottom: 8px; }
    .cal-block p { font-size: 12px; color: var(--text-light); margin-bottom: 6px;}

    .wish-list {
        display: flex;
        flex-direction: column;
        gap: 16px;
        max-width: 800px;
        margin: 0 auto;
    }
    
    .wish-item {
        background: var(--card-bg);
        padding: 20px;
        border-radius: var(--radius-md);
        box-shadow: var(--shadow-card);
        display: flex;
        align-items: center;
        gap: 20px;
    }
    
    .wish-item img {
        width: 60px;
        height: 80px;
        object-fit: cover;
        border-radius: 4px;
    }
    
    .wish-info { flex: 1; }
    .wish-info h3 { font-size: 18px; margin-bottom: 8px; }
    
    .progress-bar {
        height: 8px;
        background: var(--bg-gray);
        border-radius: 4px;
        overflow: hidden;
        margin-bottom: 8px;
    }
    .progress-inner {
        height: 100%;
        background: var(--primary);
        width: 0;
        transition: width 0.3s;
    }
    
    .wish-btn {
        background: var(--bg-gray);
        border: none;
        padding: 8px 16px;
        border-radius: 20px;
        cursor: pointer;
        transition: all 0.2s;
        font-weight: bold;
    }
    
    .wish-btn.active {
        background: var(--primary);
        color: white;
    }

    /* 碎片时间 */
    .scene-cards {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 24px;
    }
    
    .scene-card {
        background: var(--card-bg);
        padding: 24px;
        border-radius: var(--radius-lg);
        box-shadow: var(--shadow-card);
        text-align: center;
        border-top: 4px solid transparent;
        transition: all 0.2s;
    }
    .scene-card:hover { border-top-color: var(--primary); transform: translateY(-4px); }
    .scene-card h3 { margin-bottom: 12px; color: var(--text-main); }

    /* 竖屏体验 */
    .app-experience {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 40px;
        align-items: center;
        background: var(--bg-gray);
        border-radius: var(--radius-lg);
        padding: 60px;
    }
    
    .app-features li {
        position: relative;
        padding-left: 24px;
        margin-bottom: 16px;
        font-size: 18px;
    }
    .app-features li::before {
        content: "✓";
        position: absolute;
        left: 0;
        color: var(--primary);
        font-weight: bold;
    }

    .phone-mockup {
        width: 280px;
        height: 600px;
        background: white;
        border-radius: 32px;
        margin: 0 auto;
        box-shadow: var(--shadow-float);
        border: 10px solid #333;
        position: relative;
        overflow: hidden;
    }
    
    .phone-screen {
        position: relative;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #000;
    }

    .phone-screen img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        position: absolute;
        top: 0;
        left: 0;
        opacity: 0;
        transition: opacity 0.5s ease;
    }
    
    .phone-screen img.active {
        opacity: 1;
    }
    
    .swipe-hint {
        position: absolute;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        color: white;
        background: rgba(0,0,0,0.5);
        padding: 8px 16px;
        border-radius: 20px;
        font-size: 14px;
        animation: bounce 2s infinite;
    }
    
    @keyframes bounce {
        0%, 100% { transform: translate(-50%, 0); }
        50% { transform: translate(-50%, -10px); }
    }

    /* 用户评价 */
    .review-section {
        text-align: center;
    }
    
    .score-big {
        font-size: 64px;
        font-weight: 900;
        color: var(--primary);
        line-height: 1;
        font-variant-numeric: tabular-nums;
        margin-bottom: 8px;
    }
    
    .stars { color: #f5b041; font-size: 24px; letter-spacing: 2px; margin-bottom: 40px; }
    
    .review-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
        text-align: left;
    }
    
    .review-card {
        background: var(--card-bg);
        padding: 24px;
        border-radius: var(--radius-lg);
        box-shadow: var(--shadow-card);
    }
    
    .user-info {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-bottom: 16px;
    }
    
    .avatar {
        width: 40px;
        height: 40px;
        background: var(--bg-gray);
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: bold;
        color: var(--text-main);
    }
    
    .tag {
        font-size: 12px;
        background: var(--bg-gray);
        padding: 2px 8px;
        border-radius: 4px;
        color: var(--text-light);
    }

    /* 常见问题 */
    .faq-list {
        max-width: 800px;
        margin: 0 auto;
    }
    
    .faq-item {
        background: var(--card-bg);
        border-radius: var(--radius-md);
        margin-bottom: 16px;
        box-shadow: var(--shadow-card);
        overflow: hidden;
    }
    
    .faq-q {
        padding: 20px;
        font-weight: bold;
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 16px;
    }
    
    .faq-icon {
        transition: transform 0.3s;
    }
    
    .faq-a {
        padding: 0 20px;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s, padding 0.3s;
        color: var(--text-light);
    }
    
    .faq-item.open .faq-a {
        padding: 0 20px 20px 20px;
        max-height: 200px; /* 预估高度 */
    }
    
    .faq-item.open .faq-icon {
        transform: rotate(180deg);
    }

    /* 下载区 */
    .download-section {
        background: var(--primary);
        color: white;
        border-radius: var(--radius-lg);
        padding: 60px 20px;
        text-align: center;
        box-shadow: var(--shadow-float);
    }
    
    .download-section h2 { font-size: 36px; margin-bottom: 16px; }
    .download-section p { font-size: 18px; margin-bottom: 32px; opacity: 0.9; }
    
    .btn-download {
        background: white;
        color: var(--primary);
        font-size: 20px;
        padding: 16px 48px;
        border-radius: 30px;
        font-weight: 900;
        display: inline-block;
        transition: transform 0.2s;
    }
    
    .btn-download:hover {
        transform: scale(1.05);
    }

    /* 页脚 */
    footer {
        padding: 40px 20px;
        text-align: center;
        color: var(--text-light);
        font-size: 14px;
        border-top: 1px solid rgba(0,0,0,0.05);
        margin-top: 80px;
    }
    
    footer p { margin-bottom: 8px; }
    footer a { color: var(--text-light); }
    footer a:hover { color: var(--primary); }

    /* 响应式 */
    @media (max-width: 1024px) {
        .hero { grid-template-columns: 1fr; text-align: center; }
        .hero-cta { justify-content: center; }
        .stats-bar { justify-content: center; }
        .hero-board { max-width: 480px; margin: 0 auto; }
        .drama-grid { grid-template-columns: repeat(4, 1fr); }
        .calendar-grid { grid-template-columns: repeat(4, 1fr); }
        .app-experience { grid-template-columns: 1fr; text-align: center; padding: 40px; }
        .phone-mockup { margin-top: 40px; }
    }

    @media (max-width: 768px) {
        .nav-links { display: none; }
        .mobile-menu-btn { display: block; }
        .hero-text h1 { font-size: 36px; }
        .play-rules { flex-direction: column; }
        .fragments { flex-direction: row; flex-wrap: wrap; justify-content: center; }
        .merge-arrow { transform: rotate(90deg); }
        .drama-grid { grid-template-columns: repeat(2, 1fr); }
        .calendar-grid { grid-template-columns: repeat(2, 1fr); }
        .review-grid { grid-template-columns: 1fr; }
        .scene-cards { grid-template-columns: repeat(2, 1fr); }
    }