:root {
        --bg-page: #f7fafc;
        --bg-white: #ffffff;
        --blue-sky: #1e9bd7;
        --blue-deep: #0f6f9e;
        --text-main: #12232e;
        --text-muted: #4a5e6b;
        --border-light: #e1e9f0;
        --radius-lg: 20px;
        --radius-md: 12px;
        --shadow-soft: 0 8px 24px rgba(18, 35, 46, 0.06);
        --shadow-hover: 0 12px 32px rgba(30, 155, 215, 0.15);
        --font-sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", Arial, sans-serif;
    }

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

    html {
        scroll-behavior: smooth;
    }

    body {
        font-family: var(--font-sans);
        background-color: var(--bg-page);
        color: var(--text-main);
        line-height: 1.6;
        -webkit-font-smoothing: antialiased;
        overflow-x: hidden;
    }

    /* 皮肤系统 */
    body.skin-songkran::before,
    body.skin-loykrathong::before {
        content: "";
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        pointer-events: none;
        z-index: 9999;
        transition: opacity 0.5s ease;
    }
    body.skin-songkran::before {
        background: radial-gradient(circle at 50% 0%, rgba(255, 182, 193, 0.2), transparent 60%),
                    repeating-linear-gradient(45deg, rgba(30, 155, 215, 0.05) 0, rgba(30, 155, 215, 0.05) 2px, transparent 2px, transparent 8px);
        animation: wave 10s linear infinite;
    }
    body.skin-loykrathong::before {
        background: radial-gradient(circle at 20% 80%, rgba(255, 165, 0, 0.15), transparent 40%),
                    radial-gradient(circle at 80% 20%, rgba(255, 140, 0, 0.15), transparent 40%);
        animation: breathe 4s ease-in-out infinite alternate;
    }
    @keyframes wave { 0% { background-position: 0 0; } 100% { background-position: 40px 40px; } }
    @keyframes breathe { 0% { opacity: 0.6; } 100% { opacity: 1; } }

    /* 导航 */
    .site-header {
        position: sticky;
        top: 0;
        background-color: var(--bg-white);
        width: 100vw;
        z-index: 1000;
        box-shadow: 0 2px 10px rgba(0,0,0,0.03);
    }

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

    .brand-logo {
        display: flex;
        align-items: center;
        gap: 10px;
        text-decoration: none;
        font-weight: 700;
        font-size: 20px;
        color: var(--blue-deep);
    }

    .brand-logo img {
        height: 32px;
        border-radius: 8px;
    }

    .nav-menu {
        display: flex;
        gap: 24px;
        list-style: none;
    }

    .nav-menu a {
        text-decoration: none;
        color: var(--text-main);
        font-weight: 500;
        font-size: 15px;
        position: relative;
        padding: 8px 0;
        transition: color 0.2s;
    }

    .nav-menu a:hover, .nav-menu a.active {
        color: var(--blue-sky);
    }

    .nav-menu a.active::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 3px;
        background-color: var(--blue-sky);
        border-radius: 2px;
    }

    .menu-toggle {
        display: none;
        background: none;
        border: none;
        font-size: 16px;
        color: var(--blue-deep);
        cursor: pointer;
        padding: 8px;
    }

    /* 通用区块 */
    section {
        padding: 80px 24px;
        max-width: 1200px;
        margin: 0 auto;
        scroll-margin-top: 80px;
    }

    .section-title {
        font-size: 28px;
        font-weight: 700;
        margin-bottom: 16px;
        display: flex;
        align-items: baseline;
        gap: 12px;
    }

    .section-subtitle {
        color: var(--text-muted);
        margin-bottom: 40px;
        font-size: 16px;
    }

    /* 主视觉 */
    .hero-section {
        display: flex;
        align-items: center;
        gap: 60px;
        padding-top: 60px;
    }

    .hero-content {
        flex: 1;
    }

    .hero-pill {
        display: inline-block;
        background: rgba(30, 155, 215, 0.1);
        color: var(--blue-deep);
        padding: 6px 16px;
        border-radius: 20px;
        font-size: 14px;
        font-weight: 600;
        margin-bottom: 20px;
    }

    .hero-content h1 {
        font-size: 48px;
        line-height: 1.2;
        font-weight: 800;
        margin-bottom: 24px;
        color: var(--text-main);
    }

    .hero-desc {
        font-size: 18px;
        color: var(--text-muted);
        margin-bottom: 32px;
        max-width: 480px;
    }

    .hero-btns {
        display: flex;
        gap: 16px;
        margin-bottom: 48px;
    }

    .btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 14px 32px;
        border-radius: 30px;
        font-size: 16px;
        font-weight: 600;
        text-decoration: none;
        transition: all 0.3s ease;
        cursor: pointer;
    }

    .btn-primary {
        background: linear-gradient(135deg, var(--blue-sky), var(--blue-deep));
        color: #fff;
        box-shadow: 0 4px 14px rgba(15, 111, 158, 0.3);
    }

    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(15, 111, 158, 0.4);
    }

    .btn-secondary {
        background: #fff;
        color: var(--blue-deep);
        border: 2px solid var(--border-light);
    }

    .btn-secondary:hover {
        border-color: var(--blue-sky);
        color: var(--blue-sky);
        transform: translateY(-2px);
    }

    .hero-stats {
        display: flex;
        gap: 32px;
    }

    .stat-item {
        display: flex;
        flex-direction: column;
    }

    .stat-num {
        font-size: 24px;
        font-weight: 700;
        color: var(--blue-deep);
    }

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

    .hero-image {
        flex: 0 0 320px;
        display: flex;
        justify-content: center;
        position: relative;
    }

    .phone-mockup {
        width: 300px;
        height: 580px;
        background: #fff;
        border-radius: 40px;
        box-shadow: 0 20px 50px rgba(18, 35, 46, 0.15), 0 0 0 8px #fff;
        padding: 12px;
        position: relative;
        z-index: 2;
    }

    .phone-mockup img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 28px;
    }

    /* 卡片网格通用 */
    .card-grid {
        display: grid;
        grid-template-columns: repeat(6, 1fr);
        gap: 20px;
    }

    .poster-card {
        background: #fff;
        border-radius: var(--radius-md);
        overflow: hidden;
        box-shadow: var(--shadow-soft);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        position: relative;
    }

    .poster-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-hover);
    }

    .poster-img-wrap {
        position: relative;
        aspect-ratio: 3/4;
        width: 100%;
    }

    .poster-img-wrap img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .badge {
        position: absolute;
        top: 8px;
        right: 8px;
        padding: 2px 6px;
        border-radius: 4px;
        font-size: 12px;
        font-weight: 700;
        z-index: 2;
    }

    .badge-sub {
        background: rgba(18, 35, 46, 0.7);
        color: #fff;
    }

    .badge-raw {
        background: #e53935;
        color: #fff;
    }

    .card-info {
        padding: 12px;
    }

    .card-title {
        font-size: 15px;
        font-weight: 600;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .card-meta {
        font-size: 13px;
        color: var(--text-muted);
        margin-top: 4px;
    }

    /* 排行榜 */
    .ranking-list {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .rank-item {
        display: flex;
        align-items: center;
        background: #fff;
        padding: 16px 24px;
        border-radius: var(--radius-md);
        box-shadow: var(--shadow-soft);
        transition: transform 0.3s ease;
    }

    .rank-item:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-hover);
    }

    .rank-num {
        font-size: 24px;
        font-weight: 800;
        color: var(--blue-sky);
        width: 48px;
        font-style: italic;
    }

    .rank-thumb {
        width: 46px;
        height: 62px;
        border-radius: 6px;
        object-fit: cover;
        margin-right: 20px;
    }

    .rank-details {
        flex: 1;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .rank-name {
        font-size: 16px;
        font-weight: 600;
    }

    .rank-rate {
        font-size: 18px;
        font-weight: 700;
        color: var(--blue-deep);
    }

    /* 频道 */
    .channel-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }

    .channel-card {
        position: relative;
        border-radius: var(--radius-lg);
        overflow: hidden;
        box-shadow: var(--shadow-soft);
        aspect-ratio: 16/9;
        transition: transform 0.3s ease;
    }

    .channel-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-hover);
    }

    .channel-card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .channel-title {
        position: absolute;
        bottom: 16px;
        left: 16px;
        color: #fff;
        font-size: 20px;
        font-weight: 700;
        text-shadow: 0 2px 8px rgba(0,0,0,0.6);
    }

    /* 台词卡 */
    .quote-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }

    .quote-card {
        background: #fff;
        border-radius: var(--radius-lg);
        padding: 32px;
        box-shadow: var(--shadow-soft);
        border-left: 6px solid var(--blue-sky);
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        transition: transform 0.3s ease;
    }

    .quote-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-hover);
    }

    .quote-thai {
        font-size: 20px;
        color: var(--blue-deep);
        font-weight: 600;
        margin-bottom: 12px;
        line-height: 1.4;
    }

    .quote-cn {
        font-size: 18px;
        color: var(--text-main);
        margin-bottom: 20px;
    }

    .quote-source {
        font-size: 14px;
        color: var(--text-muted);
        text-align: right;
    }

    /* 使用指南 */
    .guide-steps {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .guide-step {
        display: flex;
        align-items: flex-start;
        gap: 20px;
        background: #fff;
        padding: 24px;
        border-radius: var(--radius-md);
        box-shadow: var(--shadow-soft);
    }

    .step-num {
        width: 36px;
        height: 36px;
        background: rgba(30, 155, 215, 0.1);
        color: var(--blue-deep);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 700;
        font-size: 18px;
        flex-shrink: 0;
    }

    .step-content {
        display: grid;
        grid-template-columns: 100px 1fr;
        gap: 12px;
        align-items: baseline;
    }

    .step-action { font-weight: 700; font-size: 16px; }
    .step-result { color: var(--text-main); font-size: 15px; }
    .step-note { color: var(--text-muted); font-size: 14px; grid-column: 2; }

    /* 答疑 */
    .faq-group { margin-bottom: 40px; }
    .faq-group h3 {
        font-size: 20px;
        margin-bottom: 16px;
        color: var(--blue-deep);
    }
    .faq-item {
        background: #fff;
        padding: 20px 24px;
        border-radius: var(--radius-md);
        margin-bottom: 12px;
        box-shadow: var(--shadow-soft);
    }
    .faq-q { font-weight: 700; font-size: 16px; margin-bottom: 8px; }
    .faq-a { font-size: 15px; color: var(--text-muted); }

    .faq-img-wrap { margin-top: 16px; border-radius: 8px; overflow: hidden; max-width: 320px; }
    .faq-img-wrap img { width: 100%; display: block; }

    .data-table {
        width: 100%;
        border-collapse: collapse;
        margin-top: 16px;
        font-size: 14px;
    }
    .data-table th, .data-table td {
        padding: 10px 16px;
        text-align: left;
        border-bottom: 1px solid var(--border-light);
    }
    .data-table th { background: var(--bg-page); font-weight: 600; }

    /* 下载区 */
    .download-section {
        background: linear-gradient(135deg, var(--blue-sky), var(--blue-deep));
        border-radius: var(--radius-lg);
        padding: 60px 24px;
        text-align: center;
        color: #fff;
        margin-bottom: 60px;
        scroll-margin-top: 80px;
    }

    .download-section h2 { font-size: 32px; margin-bottom: 16px; }
    .download-section p { font-size: 16px; margin-bottom: 32px; opacity: 0.9; }
    .download-section .btn-secondary {
        background: #fff;
        color: var(--blue-deep);
        border: none;
    }
    .download-section .btn-primary {
        background: rgba(255,255,255,0.2);
        border: 2px solid #fff;
        box-shadow: none;
    }
    .download-section .btn-primary:hover { background: rgba(255,255,255,0.3); }
    .download-section .hero-btns { justify-content: center; margin-bottom: 0; }

    /* 页脚 */
    footer {
        text-align: center;
        padding: 40px 24px;
        border-top: 1px solid var(--border-light);
        font-size: 13px;
        color: #8899a6;
    }
    footer p { margin-bottom: 8px; }
    footer a { color: #8899a6; text-decoration: none; }
    footer a:hover { color: var(--blue-sky); }

    /* 皮肤胶囊 */
    .skin-pills {
        position: fixed;
        bottom: 24px;
        left: 24px;
        display: flex;
        gap: 8px;
        z-index: 900;
    }
    .skin-btn {
        padding: 8px 16px;
        border-radius: 20px;
        border: none;
        background: #fff;
        color: var(--text-muted);
        font-size: 13px;
        font-weight: 600;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        cursor: pointer;
        transition: all 0.2s;
    }
    .skin-btn.active {
        background: var(--blue-deep);
        color: #fff;
    }
    .skin-notice {
        position: fixed;
        bottom: 70px;
        left: 24px;
        padding: 8px 16px;
        border-radius: 8px;
        font-size: 13px;
        font-weight: 600;
        display: none;
        z-index: 900;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }
    body.skin-songkran .skin-notice.notice-songkran { display: block; background: #d6eaf8; color: #0f6f9e; }
    body.skin-loykrathong .skin-notice.notice-loykrathong { display: block; background: #fdebd0; color: #d35400; }

    @media (max-width: 1024px) {
        .card-grid { grid-template-columns: repeat(3, 1fr); }
        .hero-section { gap: 40px; }
        .hero-content h1 { font-size: 36px; }
        .channel-grid { grid-template-columns: repeat(2, 1fr); }
        .quote-grid { grid-template-columns: 1fr; }
    }

    @media (max-width: 900px) {
        .nav-menu {
            display: none;
            position: absolute;
            top: 64px;
            left: 0;
            width: 100vw;
            background: #fff;
            flex-direction: column;
            padding: 16px;
            box-shadow: 0 8px 16px rgba(0,0,0,0.05);
            gap: 12px;
        }
        .nav-menu.show { display: flex; }
        .menu-toggle { display: block; }
    }

    @media (max-width: 768px) {
        section { padding: 40px 16px; }
        .hero-section { flex-direction: column; text-align: center; padding-top: 40px; gap: 32px; }
        .hero-content h1 { font-size: 32px; }
        .hero-desc { margin: 0 auto 32px; font-size: 16px; }
        .hero-btns { flex-direction: column; margin-bottom: 32px; }
        .hero-stats { justify-content: center; }
        .phone-mockup { width: 260px; height: 500px; }
        .card-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
        .channel-grid { grid-template-columns: 1fr; }
        .rank-item { padding: 12px; }
        .rank-thumb { width: 40px; height: 54px; margin-right: 12px; }
        .step-content { grid-template-columns: 1fr; gap: 4px; }
        .step-note { grid-column: 1; margin-top: 4px; }
        .quote-card { padding: 20px; }
        .skin-pills { bottom: 16px; left: 16px; gap: 4px; }
        .skin-btn { padding: 6px 12px; font-size: 12px; }
        .skin-notice { bottom: 60px; left: 16px; }
        .download-section { padding: 40px 16px; }
    }