/* ============================================
   糖心vlog - 原创样式表
   品牌：糖心vlog | cloudbolt.cn
   配色：糖心粉 + 深夜蓝黑 + 暖金色
   ============================================ */

/* === 基础重置与变量 === */
:root {
    --tx-pink: #FF6B9D;
    --tx-rose: #C44569;
    --tx-gold: #F8B500;
    --tx-dark: #0D0D1A;
    --tx-card: #1A1A2E;
    --tx-card-hover: #222240;
    --tx-text: #EAEAEA;
    --tx-text-sub: #A0A0B8;
    --tx-border: #2A2A45;
    --tx-gradient: linear-gradient(135deg, #FF6B9D 0%, #C44569 50%, #F8B500 100%);
    --tx-shadow: 0 4px 20px rgba(255, 107, 157, 0.15);
    --tx-radius: 12px;
    --tx-radius-sm: 8px;
    --tx-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    background-color: var(--tx-dark);
    color: var(--tx-text);
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    color: var(--tx-pink);
    text-decoration: none;
    transition: var(--tx-transition);
}

a:hover {
    color: var(--tx-gold);
}

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

ul, ol {
    list-style: none;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* === 顶部导航栏 === */
.tx-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(13, 13, 26, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--tx-border);
    transition: var(--tx-transition);
}

.tx-header.scrolled {
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.5);
}

.tx-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.tx-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.tx-logo img {
    height: 42px;
    width: auto;
}

.tx-logo-text {
    font-size: 1.3rem;
    font-weight: 700;
    background: var(--tx-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap;
}

.tx-nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
}

.tx-nav-links a {
    color: var(--tx-text-sub);
    font-size: 0.92rem;
    padding: 8px 14px;
    border-radius: var(--tx-radius-sm);
    transition: var(--tx-transition);
    white-space: nowrap;
}

.tx-nav-links a:hover,
.tx-nav-links a.active {
    color: var(--tx-pink);
    background: rgba(255, 107, 157, 0.1);
}

.tx-mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
}

.tx-mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--tx-text);
    border-radius: 2px;
    transition: var(--tx-transition);
}

/* === 搜索栏 === */
.tx-search-bar {
    background: var(--tx-card);
    border-bottom: 1px solid var(--tx-border);
    padding: 12px 0;
    margin-top: 68px;
}

.tx-search-wrap {
    max-width: 680px;
    margin: 0 auto;
    display: flex;
    gap: 10px;
    padding: 0 20px;
}

.tx-search-input {
    flex: 1;
    background: var(--tx-dark);
    border: 1px solid var(--tx-border);
    border-radius: 24px;
    padding: 10px 20px;
    color: var(--tx-text);
    font-size: 0.95rem;
    outline: none;
    transition: var(--tx-transition);
}

.tx-search-input:focus {
    border-color: var(--tx-pink);
    box-shadow: 0 0 0 3px rgba(255, 107, 157, 0.2);
}

.tx-search-input::placeholder {
    color: var(--tx-text-sub);
}

.tx-search-btn {
    background: var(--tx-gradient);
    border: none;
    border-radius: 24px;
    padding: 10px 24px;
    color: #fff;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--tx-transition);
    white-space: nowrap;
}

.tx-search-btn:hover {
    transform: scale(1.05);
    box-shadow: var(--tx-shadow);
}

/* === Hero Banner === */
.tx-hero {
    position: relative;
    overflow: hidden;
    padding: 60px 0 50px;
    background: linear-gradient(180deg, var(--tx-card) 0%, var(--tx-dark) 100%);
}

.tx-hero-inner {
    display: flex;
    align-items: center;
    gap: 40px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.tx-hero-content {
    flex: 1;
    min-width: 0;
}

.tx-hero-content h1 {
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 16px;
    background: var(--tx-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tx-hero-content p {
    font-size: 1.05rem;
    color: var(--tx-text-sub);
    margin-bottom: 24px;
    line-height: 1.8;
}

.tx-hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
}

.tx-hero-tags span {
    background: rgba(255, 107, 157, 0.12);
    color: var(--tx-pink);
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    border: 1px solid rgba(255, 107, 157, 0.2);
}

.tx-hero-btns {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.tx-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 28px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--tx-transition);
    border: none;
}

.tx-btn-primary {
    background: var(--tx-gradient);
    color: #fff;
}

.tx-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 107, 157, 0.35);
    color: #fff;
}

.tx-btn-outline {
    background: transparent;
    color: var(--tx-pink);
    border: 2px solid var(--tx-pink);
}

.tx-btn-outline:hover {
    background: var(--tx-pink);
    color: #fff;
}

.tx-hero-image {
    flex: 1;
    min-width: 0;
    border-radius: var(--tx-radius);
    overflow: hidden;
    box-shadow: var(--tx-shadow);
}

.tx-hero-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* === 通用板块标题 === */
.tx-section {
    padding: 60px 0;
}

.tx-section-header {
    text-align: center;
    margin-bottom: 40px;
}

.tx-section-header h2 {
    font-size: 1.9rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--tx-text);
}

.tx-section-header h2 span {
    background: var(--tx-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tx-section-header p {
    color: var(--tx-text-sub);
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.tx-section-divider {
    width: 60px;
    height: 3px;
    background: var(--tx-gradient);
    margin: 16px auto 0;
    border-radius: 3px;
}

/* === 视频卡片网格 === */
.tx-video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.tx-video-card {
    background: var(--tx-card);
    border-radius: var(--tx-radius);
    overflow: hidden;
    border: 1px solid var(--tx-border);
    transition: var(--tx-transition);
    cursor: pointer;
}

.tx-video-card:hover {
    transform: translateY(-6px);
    border-color: var(--tx-pink);
    box-shadow: 0 12px 40px rgba(255, 107, 157, 0.2);
}

.tx-video-thumb {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.tx-video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--tx-transition);
}

.tx-video-card:hover .tx-video-thumb img {
    transform: scale(1.08);
}

.tx-video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 56px;
    height: 56px;
    background: rgba(255, 107, 157, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--tx-transition);
    opacity: 0;
}

.tx-video-play::after {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 0 10px 18px;
    border-color: transparent transparent transparent #fff;
    margin-left: 3px;
}

.tx-video-card:hover .tx-video-play {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

.tx-video-duration {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
}

.tx-video-info {
    padding: 16px;
}

.tx-video-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--tx-text);
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.5;
}

.tx-video-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.82rem;
    color: var(--tx-text-sub);
}

.tx-video-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.tx-video-tag {
    display: inline-block;
    background: rgba(248, 181, 0, 0.12);
    color: var(--tx-gold);
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 0.78rem;
    margin-top: 8px;
}

/* === 功能模块网格 === */
.tx-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}

.tx-feature-card {
    background: var(--tx-card);
    border: 1px solid var(--tx-border);
    border-radius: var(--tx-radius);
    padding: 28px 24px;
    text-align: center;
    transition: var(--tx-transition);
}

.tx-feature-card:hover {
    border-color: var(--tx-pink);
    transform: translateY(-4px);
    box-shadow: var(--tx-shadow);
}

.tx-feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 16px;
    background: rgba(255, 107, 157, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
}

.tx-feature-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--tx-text);
}

.tx-feature-card p {
    font-size: 0.9rem;
    color: var(--tx-text-sub);
    line-height: 1.6;
}

/* === 专家展示 === */
.tx-expert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.tx-expert-card {
    background: var(--tx-card);
    border: 1px solid var(--tx-border);
    border-radius: var(--tx-radius);
    padding: 28px;
    text-align: center;
    transition: var(--tx-transition);
}

.tx-expert-card:hover {
    border-color: var(--tx-gold);
    box-shadow: 0 8px 30px rgba(248, 181, 0, 0.15);
}

.tx-expert-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 16px;
    overflow: hidden;
    border: 3px solid var(--tx-pink);
    padding: 3px;
}

.tx-expert-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.tx-expert-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.tx-expert-role {
    color: var(--tx-pink);
    font-size: 0.88rem;
    margin-bottom: 10px;
}

.tx-expert-desc {
    color: var(--tx-text-sub);
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 16px;
}

.tx-expert-btns {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.tx-expert-btns a {
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.82rem;
    border: 1px solid var(--tx-border);
    color: var(--tx-text-sub);
    transition: var(--tx-transition);
}

.tx-expert-btns a:hover {
    border-color: var(--tx-pink);
    color: var(--tx-pink);
}

/* === 合作品牌墙 === */
.tx-partners {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    align-items: center;
}

.tx-partner-item {
    background: var(--tx-card);
    border: 1px solid var(--tx-border);
    border-radius: var(--tx-radius-sm);
    padding: 16px 28px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--tx-text-sub);
    transition: var(--tx-transition);
}

.tx-partner-item:hover {
    border-color: var(--tx-gold);
    color: var(--tx-gold);
}

/* === FAQ 手风琴 === */
.tx-faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.tx-faq-item {
    background: var(--tx-card);
    border: 1px solid var(--tx-border);
    border-radius: var(--tx-radius-sm);
    margin-bottom: 12px;
    overflow: hidden;
    transition: var(--tx-transition);
}

.tx-faq-item:hover {
    border-color: var(--tx-pink);
}

.tx-faq-q {
    padding: 18px 24px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1rem;
    color: var(--tx-text);
    transition: var(--tx-transition);
}

.tx-faq-q::after {
    content: '+';
    font-size: 1.4rem;
    color: var(--tx-pink);
    transition: var(--tx-transition);
    flex-shrink: 0;
    margin-left: 16px;
}

.tx-faq-item.active .tx-faq-q::after {
    content: '-';
}

.tx-faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.tx-faq-a-inner {
    padding: 0 24px 18px;
    color: var(--tx-text-sub);
    font-size: 0.92rem;
    line-height: 1.7;
}

.tx-faq-item.active .tx-faq-a {
    max-height: 300px;
}

/* === 用户评论 === */
.tx-review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.tx-review-card {
    background: var(--tx-card);
    border: 1px solid var(--tx-border);
    border-radius: var(--tx-radius);
    padding: 24px;
    transition: var(--tx-transition);
}

.tx-review-card:hover {
    border-color: var(--tx-gold);
}

.tx-review-stars {
    color: var(--tx-gold);
    font-size: 1rem;
    margin-bottom: 12px;
    letter-spacing: 2px;
}

.tx-review-text {
    color: var(--tx-text);
    font-size: 0.92rem;
    line-height: 1.7;
    margin-bottom: 16px;
    font-style: italic;
}

.tx-review-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.tx-review-author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--tx-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
}

.tx-review-author-info span {
    display: block;
}

.tx-review-author-info .name {
    font-weight: 600;
    font-size: 0.9rem;
}

.tx-review-author-info .date {
    font-size: 0.8rem;
    color: var(--tx-text-sub);
}

/* === 联系我们 === */
.tx-contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.tx-contact-card {
    background: var(--tx-card);
    border: 1px solid var(--tx-border);
    border-radius: var(--tx-radius);
    padding: 28px;
    text-align: center;
}

.tx-contact-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--tx-pink);
}

.tx-contact-card p {
    color: var(--tx-text-sub);
    font-size: 0.9rem;
    line-height: 1.7;
}

.tx-contact-card img {
    max-width: 160px;
    margin: 12px auto 0;
    border-radius: var(--tx-radius-sm);
}

/* === How-To 指南 === */
.tx-howto-steps {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 24px;
    counter-reset: step;
}

.tx-howto-step {
    background: var(--tx-card);
    border: 1px solid var(--tx-border);
    border-radius: var(--tx-radius);
    padding: 28px 24px;
    text-align: center;
    position: relative;
    counter-increment: step;
}

.tx-howto-step::before {
    content: counter(step);
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 28px;
    background: var(--tx-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    line-height: 28px;
}

.tx-howto-step h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    margin-top: 8px;
}

.tx-howto-step p {
    font-size: 0.88rem;
    color: var(--tx-text-sub);
    line-height: 1.6;
}

/* === 社交分享 === */
.tx-share-bar {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.tx-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    border-radius: 24px;
    font-size: 0.88rem;
    color: #fff;
    transition: var(--tx-transition);
}

.tx-share-btn:hover {
    transform: translateY(-2px);
    color: #fff;
}

.tx-share-wechat { background: #07C160; }
.tx-share-weibo { background: #E6162D; }
.tx-share-douyin { background: #161823; border: 1px solid #333; }
.tx-share-bilibili { background: #00A1D6; }

/* === 页脚 === */
.tx-footer-top {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 30px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--tx-border);
    flex-wrap: wrap;
}

.tx-footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.tx-footer-logo img {
    height: 36px;
    width: auto;
}

.tx-footer-logo span {
    font-size: 1.2rem;
    font-weight: 700;
    background: var(--tx-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tx-footer-slogan {
    color: var(--tx-text-sub);
    font-size: 0.88rem;
    line-height: 1.6;
}

.tx-footer-trust {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--tx-border);
}

.tx-footer-trust a {
    color: var(--tx-text-sub);
    font-size: 0.85rem;
    transition: var(--tx-transition);
}

.tx-footer-trust a:hover {
    color: var(--tx-pink);
}

.tx-footer-trust span {
    color: var(--tx-border);
    font-size: 0.85rem;
}

.tx-footer {
    background: var(--tx-card);
    border-top: 1px solid var(--tx-border);
    padding: 50px 0 24px;
}

.tx-footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 36px;
    margin-bottom: 36px;
}

.tx-footer-col h4 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--tx-text);
}

.tx-footer-col a {
    display: block;
    color: var(--tx-text-sub);
    font-size: 0.9rem;
    padding: 4px 0;
    transition: var(--tx-transition);
}

.tx-footer-col a:hover {
    color: var(--tx-pink);
    padding-left: 6px;
}

.tx-footer-col p {
    color: var(--tx-text-sub);
    font-size: 0.88rem;
    line-height: 1.7;
}

.tx-footer-bottom {
    border-top: 1px solid var(--tx-border);
    padding-top: 20px;
    text-align: center;
    color: var(--tx-text-sub);
    font-size: 0.85rem;
}

.tx-footer-bottom a {
    color: var(--tx-pink);
}

.tx-footer-qr {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 12px;
}

.tx-footer-qr-item {
    text-align: center;
}

.tx-footer-qr-item img {
    width: 120px;
    height: 120px;
    border-radius: var(--tx-radius-sm);
    margin-bottom: 6px;
}

.tx-footer-qr-item span {
    display: block;
    font-size: 0.8rem;
    color: var(--tx-text-sub);
}

/* === 面包屑 === */
.tx-breadcrumb {
    padding: 16px 0;
    font-size: 0.88rem;
    color: var(--tx-text-sub);
    margin-top: 68px;
}

.tx-breadcrumb + .tx-page-hero {
    margin-top: 0;
}

.tx-breadcrumb a {
    color: var(--tx-text-sub);
}

.tx-breadcrumb a:hover {
    color: var(--tx-pink);
}

.tx-breadcrumb span {
    margin: 0 8px;
    color: var(--tx-border);
}

/* === 内页通用 === */
.tx-page-hero {
    background: linear-gradient(135deg, var(--tx-card) 0%, var(--tx-dark) 100%);
    padding: 40px 0;
    text-align: center;
    margin-top: 0;
}

.tx-page-hero h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.tx-page-hero p {
    color: var(--tx-text-sub);
    font-size: 1rem;
}

.tx-page-content {
    padding: 40px 0 60px;
}

/* === 数据统计条 === */
.tx-stats-bar {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    padding: 30px 0;
    background: var(--tx-card);
    border-radius: var(--tx-radius);
    margin: 20px 0;
}

.tx-stat-item {
    text-align: center;
}

.tx-stat-num {
    font-size: 2rem;
    font-weight: 800;
    background: var(--tx-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tx-stat-label {
    font-size: 0.88rem;
    color: var(--tx-text-sub);
    margin-top: 4px;
}

/* === 懒加载占位 === */
.tx-lazy {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.tx-lazy.loaded {
    opacity: 1;
}

/* === 响应式设计 === */
@media (max-width: 1024px) {
    .tx-hero-inner {
        flex-direction: column;
        text-align: center;
    }
    
    .tx-hero-tags {
        justify-content: center;
    }
    
    .tx-hero-btns {
        justify-content: center;
    }
    
    .tx-hero-content h1 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .tx-nav-links {
        display: none;
        position: fixed;
        top: 68px;
        left: 0;
        width: 100%;
        background: rgba(13, 13, 26, 0.98);
        flex-direction: column;
        padding: 20px;
        gap: 4px;
        border-bottom: 1px solid var(--tx-border);
    }
    
    .tx-nav-links.active {
        display: flex;
    }
    
    .tx-nav-links a {
        width: 100%;
        text-align: center;
        padding: 12px;
    }
    
    .tx-mobile-toggle {
        display: flex;
    }
    
    .tx-hero-content h1 {
        font-size: 1.6rem;
    }
    
    .tx-section-header h2 {
        font-size: 1.5rem;
    }
    
    .tx-video-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 16px;
    }
    
    .tx-feature-grid,
    .tx-expert-grid,
    .tx-review-grid,
    .tx-contact-grid {
        grid-template-columns: 1fr;
    }
    
    .tx-stats-bar {
        gap: 24px;
    }
    
    .tx-stat-num {
        font-size: 1.5rem;
    }
    
    .tx-footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }
    
    .tx-video-grid {
        grid-template-columns: 1fr;
    }
    
    .tx-footer-grid {
        grid-template-columns: 1fr;
    }
    
    .tx-howto-steps {
        grid-template-columns: 1fr;
    }
}

/* === 动画 === */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tx-animate {
    animation: fadeInUp 0.6s ease forwards;
}

/* === 滚动条美化 === */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--tx-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--tx-border);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--tx-pink);
}
