/* ===================================================
   丝瓜视频 - 主样式文件
   域名: bdfuln.cn
   =================================================== */

/* --- CSS变量 --- */
:root {
    --primary: #388e3c;
    --primary-dark: #247a28;
    --primary-light: #56ac5a;
    --secondary: #1a1a2e;
    --accent: #f7c948;
    --accent2: #7c3aed;
    --bg-dark: #0f0f1a;
    --bg-card: #1c1c2e;
    --bg-card2: #16213e;
    --text-main: #f0f0f5;
    --text-muted: #9999bb;
    --text-dark: #333344;
    --border: rgba(232,23,93,0.2);
    --border-light: rgba(255,255,255,0.08);
    --shadow: 0 8px 32px rgba(232,23,93,0.15);
    --shadow-card: 0 4px 24px rgba(0,0,0,0.4);
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 20px;
    --transition: 0.3s ease;
    --font-main: 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
}

/* --- 基础重置 --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: var(--font-main);
    background: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.7;
    overflow-x: hidden;
}
a { color: inherit; text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-light); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font-main); }
input, textarea, select { font-family: var(--font-main); }

/* --- 滚动条 --- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }

/* --- 容器 --- */
.container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.container-sm { max-width: 960px; margin: 0 auto; padding: 0 20px; }

/* ===================================================
   顶部公告条
   =================================================== */
.top-bar {
    background: linear-gradient(90deg, var(--primary-dark), var(--accent2), var(--primary-dark));
    background-size: 200% 100%;
    animation: gradientShift 4s ease infinite;
    color: #fff;
    font-size: 13px;
    text-align: center;
    padding: 8px 20px;
    position: relative;
    z-index: 100;
}
.top-bar a { color: var(--accent); font-weight: 600; }
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ===================================================
   头部导航
   =================================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: rgba(15,15,26,0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: 0 4px 30px rgba(232,23,93,0.2); }

.header-inner {
    display: flex;
    align-items: center;
    gap: 32px;
    height: 70px;
}

/* Logo */
.site-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    text-decoration: none;
}
.logo-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary), var(--accent2));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 900;
    color: #fff;
    letter-spacing: -1px;
    box-shadow: 0 4px 16px rgba(232,23,93,0.4);
}
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-name { font-size: 20px; font-weight: 800; color: #fff; letter-spacing: 1px; }
.logo-sub { font-size: 11px; color: var(--text-muted); letter-spacing: 2px; }

/* 主导航 */
.main-nav { display: flex; align-items: center; gap: 4px; flex: 1; }
.nav-item {
    position: relative;
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    white-space: nowrap;
}
.nav-item:hover, .nav-item.active {
    color: #fff;
    background: rgba(232,23,93,0.12);
}
.nav-item.active { color: var(--primary-light); }
.nav-item .nav-badge {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    font-size: 10px;
    padding: 1px 5px;
    border-radius: 10px;
    margin-left: 4px;
    vertical-align: middle;
}

/* 搜索框 */
.header-search {
    position: relative;
    width: 220px;
    flex-shrink: 0;
}
.header-search input {
    width: 100%;
    background: rgba(255,255,255,0.07);
    border: 1px solid var(--border-light);
    border-radius: 24px;
    padding: 8px 40px 8px 16px;
    color: var(--text-main);
    font-size: 13px;
    outline: none;
    transition: all var(--transition);
}
.header-search input::placeholder { color: var(--text-muted); }
.header-search input:focus {
    border-color: var(--primary);
    background: rgba(232,23,93,0.08);
    box-shadow: 0 0 0 3px rgba(232,23,93,0.15);
}
.header-search .search-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 15px;
    transition: color var(--transition);
}
.header-search .search-btn:hover { color: var(--primary); }

/* 搜索结果下拉 */
.search-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    z-index: 1000;
    overflow: hidden;
}
.search-dropdown.show { display: block; }
.search-dropdown-item {
    padding: 10px 16px;
    font-size: 13px;
    color: var(--text-muted);
    cursor: pointer;
    transition: background var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}
.search-dropdown-item:hover { background: rgba(232,23,93,0.1); color: #fff; }
.search-dropdown-item .tag {
    font-size: 11px;
    background: rgba(232,23,93,0.2);
    color: var(--primary-light);
    padding: 2px 6px;
    border-radius: 4px;
}

/* 头部右侧 */
.header-actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.btn-join {
    background: linear-gradient(135deg, var(--primary), var(--accent2));
    color: #fff;
    padding: 8px 20px;
    border-radius: 24px;
    font-size: 13px;
    font-weight: 600;
    transition: all var(--transition);
    box-shadow: 0 4px 16px rgba(232,23,93,0.3);
}
.btn-join:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(232,23,93,0.5);
    color: #fff;
}

/* 汉堡菜单 */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    cursor: pointer;
}
.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-main);
    border-radius: 2px;
    transition: all var(--transition);
}

/* ===================================================
   搜索栏（导航下方）
   =================================================== */
.search-bar-section {
    background: linear-gradient(180deg, rgba(15,15,26,0.9) 0%, rgba(28,28,46,0.6) 100%);
    border-bottom: 1px solid var(--border-light);
    padding: 14px 0;
}
.search-bar-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}
.search-bar-main {
    flex: 1;
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--border);
    border-radius: 30px;
    padding: 0 6px 0 20px;
    transition: all var(--transition);
}
.search-bar-main:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(232,23,93,0.15);
    background: rgba(232,23,93,0.05);
}
.search-bar-main input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    color: var(--text-main);
    font-size: 14px;
    padding: 10px 0;
}
.search-bar-main input::placeholder { color: var(--text-muted); }
.search-bar-main .search-submit {
    background: linear-gradient(135deg, var(--primary), var(--accent2));
    color: #fff;
    border-radius: 22px;
    padding: 7px 20px;
    font-size: 13px;
    font-weight: 600;
    transition: all var(--transition);
}
.search-bar-main .search-submit:hover { opacity: 0.9; transform: scale(0.98); }
.search-hot-tags { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.search-hot-tags span { font-size: 12px; color: var(--text-muted); }
.search-hot-tags a {
    font-size: 12px;
    color: var(--text-muted);
    background: rgba(255,255,255,0.06);
    padding: 3px 10px;
    border-radius: 12px;
    transition: all var(--transition);
}
.search-hot-tags a:hover { background: rgba(232,23,93,0.15); color: var(--primary-light); }

/* ===================================================
   Hero 轮播区
   =================================================== */
.hero-section {
    position: relative;
    height: 560px;
    overflow: hidden;
}
.hero-slider { position: relative; height: 100%; }
.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease;
}
.hero-slide.active { opacity: 1; }
.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15,15,26,0.85) 0%, rgba(15,15,26,0.4) 60%, transparent 100%);
}
.hero-content {
    position: absolute;
    bottom: 80px;
    left: 0;
    right: 0;
    padding: 0 60px;
}
.hero-tag {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 4px;
    margin-bottom: 12px;
    letter-spacing: 1px;
}
.hero-title {
    font-size: 42px;
    font-weight: 900;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 12px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}
.hero-desc {
    font-size: 16px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 24px;
    max-width: 600px;
}
.hero-btns { display: flex; gap: 12px; }
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--accent2));
    color: #fff;
    padding: 12px 28px;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 700;
    transition: all var(--transition);
    box-shadow: 0 4px 20px rgba(232,23,93,0.4);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(232,23,93,0.6);
    color: #fff;
}
.btn-outline {
    border: 2px solid rgba(255,255,255,0.5);
    color: #fff;
    padding: 10px 24px;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 600;
    transition: all var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-outline:hover {
    border-color: var(--primary);
    background: rgba(232,23,93,0.15);
    color: #fff;
}

/* Hero 指示器 */
.hero-dots {
    position: absolute;
    bottom: 24px;
    left: 60px;
    display: flex;
    gap: 8px;
}
.hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 4px;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: all var(--transition);
}
.hero-dot.active {
    width: 24px;
    background: var(--primary);
}

/* ===================================================
   通用区块样式
   =================================================== */
.section { padding: 64px 0; }
.section-sm { padding: 40px 0; }
.section-dark { background: var(--bg-dark); }
.section-card { background: var(--bg-card2); }

.section-header { text-align: center; margin-bottom: 48px; }
.section-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 10px;
    position: relative;
    padding: 0 16px;
}
.section-label::before, .section-label::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30px;
    height: 1px;
    background: var(--primary);
    opacity: 0.5;
}
.section-label::before { right: 100%; margin-right: -16px; }
.section-label::after { left: 100%; margin-left: -16px; }

.section-title {
    font-size: 32px;
    font-weight: 900;
    color: #fff;
    margin-bottom: 12px;
    line-height: 1.3;
}
.section-title span { color: var(--primary-light); }
.section-desc { font-size: 15px; color: var(--text-muted); max-width: 600px; margin: 0 auto; }

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

.video-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border-light);
    transition: all var(--transition);
    cursor: pointer;
}
.video-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
    border-color: var(--border);
}
.video-thumb {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #111;
}
.video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.video-card:hover .video-thumb img { transform: scale(1.08); }
.video-play-btn {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.3);
    opacity: 0;
    transition: opacity var(--transition);
}
.video-card:hover .video-play-btn { opacity: 1; }
.play-icon {
    width: 56px;
    height: 56px;
    background: rgba(232,23,93,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #fff;
    transform: scale(0.8);
    transition: transform var(--transition);
    box-shadow: 0 4px 20px rgba(232,23,93,0.5);
}
.video-card:hover .play-icon { transform: scale(1); }
.video-duration {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0,0,0,0.75);
    color: #fff;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 4px;
}
.video-category-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: var(--primary);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 4px;
}
.video-info { padding: 14px; }
.video-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.video-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-muted);
}
.video-stats { display: flex; gap: 12px; }
.video-stats span { display: flex; align-items: center; gap: 4px; }

/* ===================================================
   统计数字区
   =================================================== */
.stats-section {
    background: linear-gradient(135deg, var(--secondary), var(--bg-card2));
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}
.stat-item {
    text-align: center;
    padding: 40px 20px;
    border-right: 1px solid var(--border-light);
    position: relative;
}
.stat-item:last-child { border-right: none; }
.stat-number {
    font-size: 44px;
    font-weight: 900;
    color: var(--primary-light);
    line-height: 1;
    margin-bottom: 8px;
    font-variant-numeric: tabular-nums;
}
.stat-number span { font-size: 24px; }
.stat-label { font-size: 14px; color: var(--text-muted); }

/* ===================================================
   分类导航
   =================================================== */
.category-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}
.cat-tab {
    padding: 8px 18px;
    border-radius: 24px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-light);
    cursor: pointer;
    transition: all var(--transition);
}
.cat-tab:hover, .cat-tab.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    box-shadow: 0 4px 16px rgba(232,23,93,0.3);
}

/* ===================================================
   专家卡片
   =================================================== */
.expert-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.expert-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-light);
    transition: all var(--transition);
    text-align: center;
}
.expert-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
    border-color: var(--border);
}
.expert-avatar {
    position: relative;
    height: 200px;
    overflow: hidden;
}
.expert-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 0.5s ease;
}
.expert-card:hover .expert-avatar img { transform: scale(1.05); }
.expert-role-badge {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary), var(--accent2));
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 12px;
    white-space: nowrap;
}
.expert-body { padding: 16px; }
.expert-name { font-size: 17px; font-weight: 800; color: #fff; margin-bottom: 4px; }
.expert-title { font-size: 12px; color: var(--text-muted); margin-bottom: 10px; }
.expert-tags { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; margin-bottom: 12px; }
.expert-tag {
    font-size: 11px;
    background: rgba(232,23,93,0.12);
    color: var(--primary-light);
    padding: 2px 8px;
    border-radius: 8px;
}
.expert-actions { display: flex; gap: 8px; justify-content: center; }
.btn-sm {
    font-size: 12px;
    padding: 6px 14px;
    border-radius: 16px;
    font-weight: 600;
    transition: all var(--transition);
}
.btn-sm-primary {
    background: var(--primary);
    color: #fff;
}
.btn-sm-primary:hover { background: var(--primary-dark); color: #fff; }
.btn-sm-outline {
    border: 1px solid var(--border);
    color: var(--text-muted);
}
.btn-sm-outline:hover { border-color: var(--primary); color: var(--primary-light); }

/* ===================================================
   合作品牌 Logo 墙
   =================================================== */
.partner-logos {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}
.partner-logo {
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: 14px 24px;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-muted);
    transition: all var(--transition);
    min-width: 120px;
    text-align: center;
}
.partner-logo:hover {
    background: rgba(232,23,93,0.1);
    border-color: var(--primary);
    color: var(--primary-light);
}

/* ===================================================
   FAQ 手风琴
   =================================================== */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    margin-bottom: 12px;
    overflow: hidden;
    transition: border-color var(--transition);
}
.faq-item.open { border-color: var(--primary); }
.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-main);
    transition: color var(--transition);
    gap: 12px;
}
.faq-item.open .faq-question { color: var(--primary-light); }
.faq-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(232,23,93,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--primary);
    flex-shrink: 0;
    transition: transform var(--transition);
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    padding: 0 20px;
}
.faq-item.open .faq-answer {
    max-height: 300px;
    padding: 0 20px 18px;
}
.faq-answer p { font-size: 14px; color: var(--text-muted); line-height: 1.8; }

/* ===================================================
   用户评论
   =================================================== */
.review-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.review-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 20px;
    border: 1px solid var(--border-light);
    transition: all var(--transition);
    position: relative;
}
.review-card:hover {
    border-color: var(--border);
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
}
.review-card::before {
    content: '"';
    position: absolute;
    top: 12px;
    right: 16px;
    font-size: 48px;
    color: rgba(232,23,93,0.1);
    font-family: Georgia, serif;
    line-height: 1;
}
.review-stars { color: var(--accent); font-size: 14px; margin-bottom: 10px; }
.review-text { font-size: 13px; color: var(--text-muted); line-height: 1.8; margin-bottom: 14px; }
.review-author { display: flex; align-items: center; gap: 10px; }
.review-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent2));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}
.review-name { font-size: 13px; font-weight: 600; color: var(--text-main); }
.review-date { font-size: 11px; color: var(--text-muted); }

/* ===================================================
   联系 / 社区入口
   =================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}
.contact-info-block { }
.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 20px;
    padding: 16px;
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
}
.contact-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary), var(--accent2));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}
.contact-label { font-size: 12px; color: var(--text-muted); margin-bottom: 4px; }
.contact-value { font-size: 14px; font-weight: 600; color: var(--text-main); }

.qr-codes { display: flex; gap: 20px; flex-wrap: wrap; }
.qr-item {
    text-align: center;
    background: var(--bg-card);
    padding: 16px;
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
    flex: 1;
    min-width: 120px;
}
.qr-code {
    width: 100px;
    height: 100px;
    margin: 0 auto 8px;
    background: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.qr-code img { width: 100%; height: 100%; }
.qr-label { font-size: 12px; color: var(--text-muted); }

/* ===================================================
   社交分享
   =================================================== */
.share-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.share-label { font-size: 13px; color: var(--text-muted); }
.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    transition: all var(--transition);
    cursor: pointer;
}
.share-weixin { background: rgba(9,187,7,0.15); color: #09bb07; border: 1px solid rgba(9,187,7,0.3); }
.share-weixin:hover { background: #09bb07; color: #fff; }
.share-weibo { background: rgba(230,22,45,0.15); color: #e6162d; border: 1px solid rgba(230,22,45,0.3); }
.share-weibo:hover { background: #e6162d; color: #fff; }
.share-douyin { background: rgba(0,0,0,0.3); color: #fff; border: 1px solid rgba(255,255,255,0.2); }
.share-douyin:hover { background: #000; color: var(--accent); }
.share-bilibili { background: rgba(0,161,214,0.15); color: #00a1d6; border: 1px solid rgba(0,161,214,0.3); }
.share-bilibili:hover { background: #00a1d6; color: #fff; }

/* ===================================================
   如何加入 How-To
   =================================================== */
.howto-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
}
.howto-steps::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent2));
    opacity: 0.3;
}
.howto-step {
    text-align: center;
    padding: 24px 16px;
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
    position: relative;
    transition: all var(--transition);
}
.howto-step:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}
.step-num {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--primary), var(--accent2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 900;
    color: #fff;
    margin: 0 auto 14px;
    box-shadow: 0 4px 16px rgba(232,23,93,0.3);
}
.step-title { font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.step-desc { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

/* ===================================================
   页脚
   =================================================== */
.site-footer {
    background: var(--secondary);
    border-top: 1px solid var(--border);
    padding: 56px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 48px;
}
.footer-brand .logo-name { font-size: 22px; margin-bottom: 12px; }
.footer-brand p { font-size: 13px; color: var(--text-muted); line-height: 1.8; margin-bottom: 16px; }
.footer-social { display: flex; gap: 10px; }
.social-icon {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--text-muted);
    transition: all var(--transition);
}
.social-icon:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}
.footer-col h4 {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-light);
}
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a {
    font-size: 13px;
    color: var(--text-muted);
    transition: color var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
}
.footer-links a:hover { color: var(--primary-light); }
.footer-links a::before { content: '›'; color: var(--primary); }

.footer-bottom {
    border-top: 1px solid var(--border-light);
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}
.footer-bottom p { font-size: 12px; color: var(--text-muted); }
.footer-bottom a { color: var(--text-muted); }
.footer-bottom a:hover { color: var(--primary-light); }
.footer-icp { display: flex; gap: 16px; }

/* ===================================================
   面包屑
   =================================================== */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-muted);
    padding: 14px 0;
}
.breadcrumb a { color: var(--text-muted); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--primary-light); }
.breadcrumb .sep { color: rgba(255,255,255,0.2); }
.breadcrumb .current { color: var(--text-main); }

/* ===================================================
   内页 Banner
   =================================================== */
.page-banner {
    position: relative;
    height: 240px;
    overflow: hidden;
    display: flex;
    align-items: center;
}
.page-banner img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.page-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15,15,26,0.9), rgba(124,58,237,0.4));
}
.page-banner-content {
    position: relative;
    z-index: 1;
    padding: 0 60px;
}
.page-banner h1 {
    font-size: 36px;
    font-weight: 900;
    color: #fff;
    margin-bottom: 8px;
}
.page-banner p { font-size: 15px; color: rgba(255,255,255,0.75); }

/* ===================================================
   通用卡片
   =================================================== */
.card {
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
    overflow: hidden;
    transition: all var(--transition);
}
.card:hover {
    border-color: var(--border);
    box-shadow: var(--shadow-card);
    transform: translateY(-4px);
}
.card-body { padding: 20px; }
.card-title { font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.card-text { font-size: 13px; color: var(--text-muted); line-height: 1.7; }

/* ===================================================
   标签
   =================================================== */
.tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 6px;
}
.tag-red { background: rgba(232,23,93,0.15); color: var(--primary-light); }
.tag-purple { background: rgba(124,58,237,0.15); color: #a78bfa; }
.tag-yellow { background: rgba(247,201,72,0.15); color: var(--accent); }
.tag-blue { background: rgba(59,130,246,0.15); color: #60a5fa; }
.tag-green { background: rgba(16,185,129,0.15); color: #34d399; }

/* ===================================================
   加载动画
   =================================================== */
.skeleton {
    background: linear-gradient(90deg, var(--bg-card) 25%, rgba(255,255,255,0.05) 50%, var(--bg-card) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: var(--radius-sm);
}
@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ===================================================
   弹窗 Modal
   =================================================== */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.8);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}
.modal-overlay.show { display: flex; }
.modal-box {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}
.modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.modal-title { font-size: 18px; font-weight: 700; color: #fff; }
.modal-close {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--text-muted);
    cursor: pointer;
    transition: all var(--transition);
}
.modal-close:hover { background: var(--primary); color: #fff; }
.modal-body { padding: 24px; }

/* ===================================================
   视频播放弹窗
   =================================================== */
.video-modal-content { aspect-ratio: 16/9; background: #000; border-radius: var(--radius); overflow: hidden; position: relative; }
.video-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    background: #111;
}
.video-placeholder .big-play {
    width: 80px;
    height: 80px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #fff;
    cursor: pointer;
    transition: all var(--transition);
    box-shadow: 0 8px 32px rgba(232,23,93,0.5);
}
.video-placeholder .big-play:hover { transform: scale(1.1); }
.video-placeholder p { font-size: 14px; color: var(--text-muted); }

/* ===================================================
   响应式
   =================================================== */
@media (max-width: 1200px) {
    .video-grid-4 { grid-template-columns: repeat(3, 1fr); }
    .expert-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 992px) {
    .hero-title { font-size: 32px; }
    .hero-content { padding: 0 30px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid .stat-item:nth-child(2) { border-right: none; }
    .review-grid { grid-template-columns: repeat(2, 1fr); }
    .howto-steps { grid-template-columns: repeat(2, 1fr); }
    .howto-steps::before { display: none; }
    .contact-grid { grid-template-columns: 1fr; }
    .video-grid-3 { grid-template-columns: repeat(2, 1fr); }
    .expert-grid { grid-template-columns: repeat(2, 1fr); }
    .main-nav { display: none; }
    .menu-toggle { display: flex; }
    .header-search { width: 180px; }
}

@media (max-width: 768px) {
    .section { padding: 40px 0; }
    .section-title { font-size: 24px; }
    .hero-section { height: 420px; }
    .hero-title { font-size: 26px; }
    .hero-desc { font-size: 14px; }
    .video-grid-4, .video-grid-3 { grid-template-columns: repeat(2, 1fr); }
    .expert-grid { grid-template-columns: repeat(2, 1fr); }
    .review-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .page-banner { height: 180px; }
    .page-banner h1 { font-size: 26px; }
    .page-banner-content { padding: 0 20px; }
    .header-search { display: none; }
    .search-bar-section { display: block; }
}

@media (max-width: 480px) {
    .hero-section { height: 320px; }
    .hero-title { font-size: 20px; }
    .hero-btns { flex-direction: column; }
    .video-grid-4, .video-grid-3, .video-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .howto-steps { grid-template-columns: 1fr; }
    .expert-grid { grid-template-columns: 1fr; }
    .container { padding: 0 14px; }
}

/* ===================================================
   移动端菜单
   =================================================== */
.mobile-nav {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(15,15,26,0.98);
    border-bottom: 1px solid var(--border);
    z-index: 998;
    padding: 16px;
    flex-direction: column;
    gap: 4px;
    backdrop-filter: blur(16px);
}
.mobile-nav.open { display: flex; }
.mobile-nav-item {
    padding: 12px 16px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-muted);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}
.mobile-nav-item:hover, .mobile-nav-item.active {
    background: rgba(232,23,93,0.12);
    color: var(--primary-light);
}

/* ===================================================
   懒加载占位
   =================================================== */
img[loading="lazy"] { background: var(--bg-card); }

/* ===================================================
   AI 功能区
   =================================================== */
.ai-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.ai-feature-card {
    background: linear-gradient(135deg, var(--bg-card), var(--bg-card2));
    border-radius: var(--radius-lg);
    padding: 28px;
    border: 1px solid var(--border-light);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}
.ai-feature-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(232,23,93,0.08) 0%, transparent 70%);
    pointer-events: none;
}
.ai-feature-card:hover {
    border-color: var(--primary);
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}
.ai-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary), var(--accent2));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 16px;
    box-shadow: 0 4px 16px rgba(232,23,93,0.3);
}
.ai-feature-title { font-size: 17px; font-weight: 800; color: #fff; margin-bottom: 8px; }
.ai-feature-desc { font-size: 13px; color: var(--text-muted); line-height: 1.7; }

/* ===================================================
   直播 / 社区区块
   =================================================== */
.live-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(232,23,93,0.15);
    border: 1px solid rgba(232,23,93,0.3);
    color: var(--primary-light);
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 12px;
}
.live-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: livePulse 1.5s ease infinite;
}
@keyframes livePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.7); }
}

/* ===================================================
   工具提示
   =================================================== */
[data-tooltip] { position: relative; }
[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-card);
    color: var(--text-main);
    font-size: 12px;
    padding: 6px 10px;
    border-radius: 6px;
    white-space: nowrap;
    border: 1px solid var(--border);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition);
    z-index: 100;
}
[data-tooltip]:hover::after { opacity: 1; }

/* ===================================================
   分页
   =================================================== */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}
.page-btn {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition);
}
.page-btn:hover, .page-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

/* ===================================================
   辅助类
   =================================================== */
.text-center { text-align: center; }
.text-right { text-align: right; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-8 { gap: 8px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.hidden { display: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
