/* ============================================
   国产主播 官方网站 - 原创样式表
   品牌色系：珊瑚红 #FF6B6B / 暖橙 #FF8E53 / 深蓝 #1a1a2e / 紫蓝 #16213e
   ============================================ */

/* 基础重置 */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: 'Microsoft YaHei', 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
    color: #e0e0e0;
    background: #0d0d1a;
    line-height: 1.8;
    overflow-x: hidden;
}
a { color: #FF8E53; text-decoration: none; transition: color 0.3s; }
a:hover { color: #FF6B6B; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { line-height: 1.4; font-weight: 700; }

/* 容器 */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-padding { padding: 60px 0; }

/* ============ 头部导航 ============ */
.site-header {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
    background: rgba(13, 13, 26, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 107, 107, 0.15);
    transition: all 0.3s;
}
.header-inner {
    display: flex; align-items: center; justify-content: space-between;
    max-width: 1200px; margin: 0 auto; padding: 0 20px; height: 70px;
}
.site-logo { display: flex; align-items: center; gap: 10px; }
.site-logo img { height: 45px; width: auto; }
.site-logo span {
    font-size: 1.3rem; font-weight: 700;
    background: linear-gradient(135deg, #FF6B6B, #FF8E53);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.main-nav { display: flex; align-items: center; gap: 0; }
.main-nav a {
    color: #ccc; padding: 8px 16px; font-size: 0.95rem;
    transition: all 0.3s; position: relative; white-space: nowrap;
}
.main-nav a:hover, .main-nav a.active {
    color: #FF6B6B;
}
.main-nav a::after {
    content: ''; position: absolute; bottom: 0; left: 50%; width: 0; height: 2px;
    background: linear-gradient(90deg, #FF6B6B, #FF8E53);
    transition: all 0.3s; transform: translateX(-50%);
}
.main-nav a:hover::after, .main-nav a.active::after { width: 70%; }

/* 移动端菜单按钮 */
.menu-toggle {
    display: none; cursor: pointer; flex-direction: column;
    gap: 5px; padding: 5px;
}
.menu-toggle span {
    width: 25px; height: 2px; background: #FF6B6B;
    transition: all 0.3s;
}

/* 搜索框 */
.search-bar {
    background: rgba(22, 33, 62, 0.8);
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 107, 107, 0.1);
    margin-top: 70px;
}
.search-bar .container { display: flex; justify-content: center; }
.search-box {
    display: flex; max-width: 600px; width: 100%;
    border-radius: 25px; overflow: hidden;
    border: 1px solid rgba(255, 107, 107, 0.3);
}
.search-box input {
    flex: 1; padding: 10px 20px; border: none; outline: none;
    background: rgba(255, 255, 255, 0.05); color: #e0e0e0;
    font-size: 0.95rem;
}
.search-box input::placeholder { color: #888; }
.search-box button {
    padding: 10px 25px; border: none; cursor: pointer;
    background: linear-gradient(135deg, #FF6B6B, #FF8E53);
    color: #fff; font-size: 0.95rem; font-weight: 600;
    transition: opacity 0.3s;
}
.search-box button:hover { opacity: 0.85; }

/* 面包屑 */
.breadcrumb {
    padding: 15px 0; font-size: 0.85rem; color: #888;
}
.breadcrumb a { color: #FF8E53; }
.breadcrumb span { margin: 0 8px; }

/* ============ Banner ============ */
.hero-banner {
    position: relative; min-height: 520px;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}
.hero-banner .banner-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover; opacity: 0.6;
}
.hero-banner .banner-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(180deg, rgba(13,13,26,0.3) 0%, rgba(13,13,26,0.85) 100%);
}
.hero-content {
    position: relative; z-index: 2; text-align: center;
    max-width: 800px; padding: 40px 20px;
}
.hero-content h1 {
    font-size: 2.8rem; margin-bottom: 16px;
    background: linear-gradient(135deg, #FF6B6B, #FF8E53, #ffd93d);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-content p {
    font-size: 1.15rem; color: #ccc; margin-bottom: 25px;
    line-height: 1.9;
}
.btn-primary {
    display: inline-block; padding: 14px 36px;
    background: linear-gradient(135deg, #FF6B6B, #FF8E53);
    color: #fff; border-radius: 30px; font-size: 1rem;
    font-weight: 600; transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(255, 107, 107, 0.3);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 107, 107, 0.5);
    color: #fff;
}
.btn-outline {
    display: inline-block; padding: 12px 30px;
    border: 2px solid #FF6B6B; color: #FF6B6B;
    border-radius: 30px; font-size: 0.95rem;
    font-weight: 600; transition: all 0.3s; margin-left: 15px;
}
.btn-outline:hover {
    background: #FF6B6B; color: #fff;
}

/* ============ 区块标题 ============ */
.section-title {
    text-align: center; margin-bottom: 45px;
}
.section-title h2 {
    font-size: 2rem; margin-bottom: 12px;
    color: #fff;
}
.section-title h2 em {
    font-style: normal;
    background: linear-gradient(135deg, #FF6B6B, #FF8E53);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.section-title p {
    color: #999; font-size: 1rem; max-width: 600px; margin: 0 auto;
}
.title-line {
    width: 60px; height: 3px; margin: 12px auto 0;
    background: linear-gradient(90deg, #FF6B6B, #FF8E53);
    border-radius: 2px;
}

/* ============ 视频卡片 ============ */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
}
.video-card {
    background: rgba(22, 33, 62, 0.6);
    border-radius: 12px; overflow: hidden;
    border: 1px solid rgba(255, 107, 107, 0.1);
    transition: all 0.3s;
}
.video-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 107, 107, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
.video-thumb {
    position: relative; overflow: hidden;
    aspect-ratio: 16/9; cursor: pointer;
}
.video-thumb img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.5s;
}
.video-card:hover .video-thumb img { transform: scale(1.05); }
.play-btn {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 60px; height: 60px;
    background: rgba(255, 107, 107, 0.85);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: all 0.3s;
}
.play-btn::after {
    content: '';
    border-style: solid;
    border-width: 10px 0 10px 18px;
    border-color: transparent transparent transparent #fff;
    margin-left: 3px;
}
.video-card:hover .play-btn { opacity: 1; }
.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;
}
.video-info { padding: 16px; }
.video-info h3 {
    font-size: 1.05rem; color: #fff; margin-bottom: 8px;
    display: -webkit-box; -webkit-line-clamp: 2;
    -webkit-box-orient: vertical; overflow: hidden;
}
.video-meta {
    display: flex; gap: 15px; font-size: 0.8rem; color: #888;
    flex-wrap: wrap;
}
.video-meta span { display: flex; align-items: center; gap: 4px; }
.video-tags { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.video-tags span {
    padding: 3px 10px; background: rgba(255, 107, 107, 0.15);
    color: #FF8E53; border-radius: 12px; font-size: 0.75rem;
}

/* ============ 模块卡片 ============ */
.module-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 25px;
}
.module-card {
    background: linear-gradient(145deg, rgba(22, 33, 62, 0.8), rgba(13, 13, 26, 0.9));
    border-radius: 14px; padding: 30px 24px;
    border: 1px solid rgba(255, 107, 107, 0.1);
    transition: all 0.3s; text-align: center;
}
.module-card:hover {
    border-color: rgba(255, 107, 107, 0.35);
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.1);
}
.module-icon {
    width: 60px; height: 60px; margin: 0 auto 18px;
    background: linear-gradient(135deg, #FF6B6B, #FF8E53);
    border-radius: 14px; display: flex;
    align-items: center; justify-content: center;
    font-size: 1.8rem;
}
.module-card h3 { font-size: 1.1rem; color: #fff; margin-bottom: 10px; }
.module-card p { font-size: 0.9rem; color: #999; line-height: 1.7; }

/* ============ 专家展示 ============ */
.expert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}
.expert-card {
    background: rgba(22, 33, 62, 0.6);
    border-radius: 14px; overflow: hidden;
    border: 1px solid rgba(255, 107, 107, 0.1);
    transition: all 0.3s; text-align: center;
}
.expert-card:hover {
    border-color: rgba(255, 107, 107, 0.3);
    transform: translateY(-4px);
}
.expert-avatar {
    width: 100%; aspect-ratio: 1; overflow: hidden;
}
.expert-avatar img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.5s;
}
.expert-card:hover .expert-avatar img { transform: scale(1.05); }
.expert-info { padding: 20px; }
.expert-info h3 { font-size: 1.15rem; color: #fff; margin-bottom: 5px; }
.expert-info .role { color: #FF8E53; font-size: 0.9rem; margin-bottom: 10px; }
.expert-info p { font-size: 0.85rem; color: #999; margin-bottom: 15px; }
.expert-links { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.expert-links a {
    padding: 6px 16px; border-radius: 20px; font-size: 0.8rem;
    border: 1px solid rgba(255, 107, 107, 0.3); color: #FF8E53;
    transition: all 0.3s;
}
.expert-links a:hover { background: #FF6B6B; color: #fff; border-color: #FF6B6B; }

/* ============ FAQ ============ */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
    background: rgba(22, 33, 62, 0.5);
    border: 1px solid rgba(255, 107, 107, 0.1);
    border-radius: 10px; margin-bottom: 12px; overflow: hidden;
}
.faq-question {
    padding: 18px 24px; cursor: pointer;
    display: flex; justify-content: space-between; align-items: center;
    font-weight: 600; color: #fff; font-size: 1rem;
    transition: background 0.3s;
}
.faq-question:hover { background: rgba(255, 107, 107, 0.05); }
.faq-question .arrow {
    transition: transform 0.3s; color: #FF8E53; font-size: 1.2rem;
}
.faq-item.active .faq-question .arrow { transform: rotate(180deg); }
.faq-answer {
    max-height: 0; overflow: hidden; transition: max-height 0.4s ease;
}
.faq-answer-inner {
    padding: 0 24px 18px; color: #bbb; font-size: 0.95rem; line-height: 1.8;
}

/* ============ 用户评论 ============ */
.review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}
.review-card {
    background: rgba(22, 33, 62, 0.5);
    border-radius: 12px; padding: 24px;
    border: 1px solid rgba(255, 107, 107, 0.1);
}
.review-stars { color: #ffd93d; margin-bottom: 12px; font-size: 1rem; letter-spacing: 2px; }
.review-text { color: #ccc; font-size: 0.95rem; margin-bottom: 15px; line-height: 1.7; font-style: italic; }
.review-author { display: flex; align-items: center; gap: 12px; }
.review-author-avatar {
    width: 40px; height: 40px; border-radius: 50%;
    background: linear-gradient(135deg, #FF6B6B, #FF8E53);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-weight: 700; font-size: 1rem;
}
.review-author-info .name { color: #fff; font-size: 0.9rem; font-weight: 600; }
.review-author-info .date { color: #888; font-size: 0.8rem; }

/* ============ 社区模块 ============ */
.community-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}
.community-card {
    background: rgba(22, 33, 62, 0.6);
    border-radius: 14px; overflow: hidden;
    border: 1px solid rgba(255, 107, 107, 0.1);
    transition: all 0.3s;
}
.community-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 107, 107, 0.3);
}
.community-card img {
    width: 100%; aspect-ratio: 16/9; object-fit: cover;
}
.community-card .card-body { padding: 18px; }
.community-card h3 { font-size: 1.05rem; color: #fff; margin-bottom: 8px; }
.community-card p { font-size: 0.88rem; color: #999; }

/* ============ 联系我们 ============ */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
}
.contact-item {
    background: rgba(22, 33, 62, 0.5);
    border-radius: 12px; padding: 24px;
    border: 1px solid rgba(255, 107, 107, 0.1);
    text-align: center;
}
.contact-item h4 { color: #FF8E53; margin-bottom: 10px; font-size: 1rem; }
.contact-item p { color: #bbb; font-size: 0.9rem; }

/* ============ 合作品牌 ============ */
.partner-logos {
    display: flex; flex-wrap: wrap; justify-content: center;
    gap: 30px; align-items: center;
}
.partner-logos .partner-item {
    background: rgba(22, 33, 62, 0.5);
    border-radius: 10px; padding: 20px 30px;
    border: 1px solid rgba(255, 107, 107, 0.1);
    color: #888; font-size: 1.1rem; font-weight: 600;
    transition: all 0.3s;
}
.partner-logos .partner-item:hover {
    border-color: #FF6B6B; color: #FF8E53;
}

/* ============ 分享按钮 ============ */
.share-bar {
    display: flex; gap: 12px; justify-content: center;
    flex-wrap: wrap; padding: 20px 0;
}
.share-btn {
    padding: 10px 20px; border-radius: 25px; font-size: 0.9rem;
    color: #fff; border: none; cursor: pointer; transition: all 0.3s;
    font-weight: 600;
}
.share-btn.wechat { background: #07c160; }
.share-btn.weibo { background: #e6162d; }
.share-btn.douyin { background: #161823; border: 1px solid #444; }
.share-btn.bilibili { background: #00a1d6; }
.share-btn:hover { opacity: 0.85; transform: translateY(-2px); }

/* ============ 页脚 ============ */
.site-footer {
    background: rgba(10, 10, 20, 0.95);
    border-top: 1px solid rgba(255, 107, 107, 0.15);
    padding: 50px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 35px; margin-bottom: 35px;
}
.footer-col h4 {
    color: #FF8E53; font-size: 1.05rem; margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(255, 107, 107, 0.2);
}
.footer-col p { color: #999; font-size: 0.88rem; margin-bottom: 8px; line-height: 1.7; }
.footer-col a { color: #999; font-size: 0.88rem; display: block; margin-bottom: 8px; }
.footer-col a:hover { color: #FF6B6B; }
.footer-col .qr-img { width: 120px; border-radius: 8px; margin-top: 10px; }
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px 0; text-align: center;
    color: #666; font-size: 0.82rem;
}
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 15px; }
.footer-logo img { height: 40px; }
.footer-logo span {
    font-size: 1.2rem; font-weight: 700;
    background: linear-gradient(135deg, #FF6B6B, #FF8E53);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============ How-To 指南 ============ */
.howto-steps {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 25px; counter-reset: step;
}
.howto-step {
    background: rgba(22, 33, 62, 0.5);
    border-radius: 12px; padding: 28px 22px;
    border: 1px solid rgba(255, 107, 107, 0.1);
    position: relative; counter-increment: step;
}
.howto-step::before {
    content: counter(step);
    position: absolute; top: -14px; left: 20px;
    width: 32px; height: 32px; border-radius: 50%;
    background: linear-gradient(135deg, #FF6B6B, #FF8E53);
    color: #fff; display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 0.9rem;
}
.howto-step h4 { color: #fff; margin-bottom: 10px; font-size: 1rem; }
.howto-step p { color: #999; font-size: 0.88rem; }

/* ============ 内页通用 ============ */
.page-hero {
    padding: 120px 0 50px;
    background: linear-gradient(180deg, rgba(22, 33, 62, 0.8), rgba(13, 13, 26, 1));
    text-align: center;
}
.page-hero h1 {
    font-size: 2.2rem;
    background: linear-gradient(135deg, #FF6B6B, #FF8E53);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text; margin-bottom: 12px;
}
.page-hero p { color: #999; font-size: 1rem; }

.content-section { padding: 50px 0; }
.content-section h2 { color: #fff; font-size: 1.6rem; margin-bottom: 20px; }
.content-section p { color: #bbb; font-size: 0.95rem; margin-bottom: 15px; }

/* 数据统计 */
.stats-bar {
    display: flex; justify-content: center; gap: 50px;
    flex-wrap: wrap; padding: 30px 0;
}
.stat-item { text-align: center; }
.stat-item .num {
    font-size: 2.2rem; font-weight: 700;
    background: linear-gradient(135deg, #FF6B6B, #FF8E53);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.stat-item .label { color: #999; font-size: 0.9rem; margin-top: 5px; }

/* ============ 最新动态 ============ */
.news-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.news-item {
    display: flex; gap: 15px; align-items: flex-start;
    background: rgba(22, 33, 62, 0.4); border-radius: 10px;
    padding: 20px; border: 1px solid rgba(255, 107, 107, 0.1);
    transition: all 0.3s;
}
.news-item:hover {
    border-color: rgba(255, 107, 107, 0.3);
    transform: translateY(-2px);
}
.news-date {
    background: linear-gradient(135deg, #FF6B6B, #FF8E53);
    color: #fff; padding: 8px 12px; border-radius: 8px;
    font-size: 0.85rem; font-weight: 700; white-space: nowrap;
    min-width: 55px; text-align: center;
}
.news-content h4 { color: #fff; font-size: 1rem; margin-bottom: 8px; }
.news-content p { color: #999; font-size: 0.88rem; line-height: 1.6; }

/* ============ 信任徽章 ============ */
.trust-grid {
    display: flex; justify-content: center; gap: 40px;
    flex-wrap: wrap; padding: 20px 0;
}
.trust-badge {
    display: flex; flex-direction: column; align-items: center;
    gap: 10px; padding: 20px 30px;
    background: rgba(22, 33, 62, 0.3); border-radius: 12px;
    border: 1px solid rgba(255, 107, 107, 0.1);
    transition: all 0.3s;
}
.trust-badge:hover {
    border-color: rgba(255, 107, 107, 0.3);
    transform: translateY(-3px);
}
.trust-badge .badge-icon { font-size: 2rem; }
.trust-badge .badge-text { color: #ccc; font-size: 0.9rem; font-weight: 600; }

/* ============ 响应式 ============ */
@media (max-width: 768px) {
    .main-nav {
        position: fixed; top: 70px; left: 0; width: 100%;
        background: rgba(13, 13, 26, 0.98);
        flex-direction: column; padding: 20px;
        transform: translateY(-120%); transition: transform 0.3s;
        border-bottom: 1px solid rgba(255, 107, 107, 0.15);
    }
    .main-nav.active { transform: translateY(0); }
    .main-nav a { padding: 12px 0; font-size: 1rem; }
    .menu-toggle { display: flex; }
    .hero-content h1 { font-size: 1.8rem; }
    .hero-banner { min-height: 400px; }
    .section-title h2 { font-size: 1.5rem; }
    .video-grid { grid-template-columns: 1fr; }
    .module-grid { grid-template-columns: 1fr 1fr; }
    .expert-grid { grid-template-columns: 1fr; }
    .stats-bar { gap: 25px; }
    .stat-item .num { font-size: 1.6rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .header-inner { height: 60px; }
    .search-bar { margin-top: 60px; }
    .news-grid { grid-template-columns: 1fr; }
    .trust-grid { gap: 20px; }
    .trust-badge { padding: 15px 20px; }
}
@media (max-width: 480px) {
    .module-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .review-grid { grid-template-columns: 1fr; }
    .community-grid { grid-template-columns: 1fr; }
}

/* 懒加载占位 - 默认可见 */
img[data-src] { transition: opacity 0.5s; }
img.loaded { opacity: 1; }

/* 动画 - 默认可见，JS加载后才启用动画 */
.fade-in {
    opacity: 1; transform: translateY(0);
    transition: opacity 0.6s, transform 0.6s;
}
.js-ready .fade-in {
    opacity: 0; transform: translateY(20px);
}
.js-ready .fade-in.visible { opacity: 1; transform: translateY(0); }
