/* ============================================
   研究频道专属样式
   ============================================ */

/* === Channel Hero === */
.channel-hero {
    position: relative;
    min-height: 300px;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}
.channel-hero-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    pointer-events: none;
}
.hexagram-bg {
    font-size: 2rem; color: rgba(212,168,83,0.04);
    line-height: 1.8; text-align: center; max-width: 600px;
    animation: hexFloat 30s ease-in-out infinite;
}
@keyframes hexFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-10px) scale(1.05); }
}

.taichi-spin { width: 120px; height: 120px; opacity: 0.15; animation: taichiSpin 20s linear infinite; }
@keyframes taichiSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.entanglement-lines { position: absolute; width: 80%; max-width: 600px; height: 100px; opacity: 0.8; }

.wuxing-pentagram { width: 200px; height: 200px; opacity: 0.6; animation: wuxingPulse 8s ease-in-out infinite; }
@keyframes wuxingPulse {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.05); opacity: 0.8; }
}

.heluo-grid { width: 300px; height: 200px; }
.heluo-grid text { font-family: "Noto Serif SC", serif; }

.channel-hero-inner {
    position: relative; z-index: 1; text-align: center;
    padding: 60px 24px; max-width: 700px;
}
.channel-icon { font-size: 3rem; margin-bottom: 16px; display: block; opacity: 0.7; }
.channel-hero-inner h1 {
    font-size: 2.2rem; color: var(--gold); letter-spacing: 0.2em; margin-bottom: 12px;
    text-shadow: 0 0 30px rgba(212,168,83,0.1);
}
.channel-subtitle { font-size: 0.95rem; color: var(--text-muted); line-height: 1.8; max-width: 500px; margin: 0 auto 20px; }
.channel-stats {
    display: flex; gap: 20px; justify-content: center; flex-wrap: wrap;
    font-size: 0.82rem; color: var(--text-dim);
}

/* === Content Grid === */
.channel-content { padding: 40px 20px; position: relative; z-index: 1; }
.content-grid { max-width: 1100px; margin: 0 auto; }

/* Featured Article */
.featured-article {
    display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px;
    background: rgba(26,26,48,0.5); border: 1px solid rgba(255,255,255,0.05);
    border-radius: var(--radius-lg); padding: 32px; margin-bottom: 32px;
    backdrop-filter: blur(8px); transition: all var(--transition);
}
.featured-article:hover { border-color: rgba(212,168,83,0.15); }
.featured-thumb { position: relative; }
.thumb-visual {
    width: 100%; aspect-ratio: 16/10;
    background: rgba(15,15,26,0.6); border: 1px solid rgba(255,255,255,0.03);
    border-radius: var(--radius); display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}
.thumb-visual svg { width: 60%; height: 60%; }
.badge-featured {
    position: absolute; top: 12px; left: 12px;
    padding: 3px 10px; font-size: 0.72rem; border-radius: 100px;
    background: rgba(212,168,83,0.15); color: var(--gold-light);
}
.featured-info { display: flex; flex-direction: column; justify-content: center; }
.article-cat {
    font-size: 0.78rem; color: var(--gold); text-transform: uppercase;
    letter-spacing: 0.1em; margin-bottom: 8px; display: block;
}
.featured-info h2 { margin-bottom: 12px; }
.featured-info h2 a {
    font-size: 1.4rem; color: var(--text); line-height: 1.5;
    transition: color var(--transition);
}
.featured-info h2 a:hover { color: var(--gold-light); }
.featured-info p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.8; margin-bottom: 16px; }
.article-meta {
    display: flex; gap: 16px; font-size: 0.78rem; color: var(--text-dim);
    flex-wrap: wrap;
}

/* Article List */
.article-list { display: flex; flex-direction: column; gap: 12px; }
.list-article {
    display: flex; gap: 20px;
    background: rgba(26,26,48,0.4); border: 1px solid rgba(255,255,255,0.03);
    border-radius: var(--radius); padding: 20px;
    transition: all var(--transition);
    backdrop-filter: blur(4px);
}
.list-article:hover { border-color: rgba(212,168,83,0.1); background: rgba(26,26,48,0.55); }
.list-thumb { flex-shrink: 0; }
.list-thumb .thumb-visual { width: 100px; height: 100px; }
.list-info { display: flex; flex-direction: column; justify-content: center; }
.list-info h3 { margin-bottom: 6px; }
.list-info h3 a {
    font-size: 1.05rem; color: var(--text); transition: color var(--transition);
}
.list-info h3 a:hover { color: var(--gold-light); }
.list-info p { font-size: 0.82rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 8px; }

/* === Section Title === */
.section-title {
    text-align: center; font-size: 1.2rem; color: var(--gold);
    letter-spacing: 0.15em; margin-bottom: 28px;
    display: flex; align-items: center; justify-content: center; gap: 8px;
}

/* === Video Section === */
.video-section { padding: 40px 20px 60px; position: relative; z-index: 1; }
.video-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px; max-width: 900px; margin: 0 auto;
}
.video-card {
    background: rgba(26,26,48,0.45); border: 1px solid rgba(255,255,255,0.03);
    border-radius: var(--radius); overflow: hidden; transition: all var(--transition);
}
.video-card:hover { border-color: rgba(212,168,83,0.1); transform: translateY(-2px); }
.video-player {
    width: 100%; aspect-ratio: 16/9; background: rgba(15,15,26,0.8);
    display: flex; align-items: center; justify-content: center; position: relative;
    cursor: pointer;
}
.video-player canvas { width: 100%; height: 100%; position: absolute; top: 0; left: 0; }
.play-overlay {
    width: 52px; height: 52px; border-radius: 50%;
    background: rgba(212,168,83,0.25); backdrop-filter: blur(4px);
    display: flex; align-items: center; justify-content: center;
    position: relative; z-index: 1; transition: all var(--transition);
}
.play-overlay svg { width: 20px; height: 20px; }
.video-player:hover .play-overlay { background: rgba(212,168,83,0.4); transform: scale(1.1); }
.video-info { padding: 14px 16px; }
.video-info h4 { font-size: 0.9rem; color: var(--text); margin-bottom: 4px; font-weight: 500; }
.video-info span { font-size: 0.75rem; color: var(--text-dim); }

/* === Related Channels === */
.related-channels { padding: 40px 20px 60px; position: relative; z-index: 1; }
.channel-nav-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px; max-width: 900px; margin: 0 auto;
}
.chnav-card {
    background: rgba(26,26,48,0.4); border: 1px solid rgba(255,255,255,0.03);
    border-radius: var(--radius); padding: 28px 20px; text-align: center;
    transition: all var(--transition);
}
.chnav-card:hover { border-color: rgba(212,168,83,0.15); background: rgba(26,26,48,0.55); }
.chnav-icon { font-size: 2rem; display: block; margin-bottom: 10px; opacity: 0.5; }
.chnav-card h4 { font-size: 0.95rem; color: var(--text); margin-bottom: 6px; }
.chnav-card p { font-size: 0.78rem; color: var(--text-dim); }

/* === Nav Active === */
.nav-link.active { color: var(--gold-light); background: rgba(212,168,83,0.08); }

/* === Article Detail Page === */
.article-page { max-width: 860px; margin: 0 auto; padding: 40px 24px 80px; position: relative; z-index: 1; }
.article-header { text-align: center; margin-bottom: 40px; padding-bottom: 30px; border-bottom: 1px solid rgba(255,255,255,0.04); }
.article-header h1 {
    font-size: 2rem; color: var(--gold); letter-spacing: 0.12em;
    line-height: 1.4; margin-bottom: 14px;
    text-shadow: 0 0 20px rgba(212,168,83,0.08);
}
.article-byline {
    display: flex; gap: 20px; justify-content: center; flex-wrap: wrap;
    font-size: 0.82rem; color: var(--text-dim);
}
.article-body { font-size: 1rem; color: var(--text); line-height: 2.1; }
.article-body h2 {
    font-size: 1.3rem; color: var(--gold-light); margin: 40px 0 16px;
    letter-spacing: 0.08em; padding-left: 14px; border-left: 2px solid rgba(212,168,83,0.3);
}
.article-body h3 {
    font-size: 1.05rem; color: var(--text); margin: 28px 0 12px;
    letter-spacing: 0.05em;
}
.article-body p { margin-bottom: 18px; text-indent: 2em; }
.article-body blockquote {
    border-left: 3px solid rgba(212,168,83,0.25);
    background: rgba(26,26,48,0.4); padding: 16px 20px; margin: 24px 0;
    border-radius: 0 var(--radius) var(--radius) 0;
    font-style: italic; color: var(--text-muted);
}
.article-body blockquote p { text-indent: 0; margin-bottom: 0; }

/* Article Visual Diagram */
.article-visual {
    display: flex; align-items: center; justify-content: center;
    margin: 32px 0; padding: 24px;
    background: rgba(26,26,48,0.5); border: 1px solid rgba(255,255,255,0.04);
    border-radius: var(--radius);
}
.article-visual svg { max-width: 100%; height: auto; }
.visual-caption {
    text-align: center; font-size: 0.78rem; color: var(--text-dim);
    margin-top: -20px; margin-bottom: 24px;
}

/* Article Info Box */
.info-box {
    background: rgba(26,26,48,0.5); border: 1px solid rgba(212,168,83,0.12);
    border-radius: var(--radius); padding: 20px 24px; margin: 24px 0;
}
.info-box h4 { font-size: 0.9rem; color: var(--gold-light); margin-bottom: 10px; }
.info-box ul { padding-left: 20px; }
.info-box li { font-size: 0.88rem; color: var(--text-muted); line-height: 1.8; }
.info-box li::marker { color: var(--gold); }

/* Article Tags */
.article-tags {
    display: flex; gap: 8px; flex-wrap: wrap; margin-top: 40px; padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.04);
}
.article-tags span {
    padding: 4px 12px; font-size: 0.75rem; border-radius: 100px;
    border: 1px solid rgba(255,255,255,0.08); color: var(--text-dim);
}

/* Article Nav (prev/next) */
.article-nav {
    display: flex; justify-content: space-between; gap: 16px;
    margin-top: 40px; padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.04);
}
.article-nav a {
    flex: 1; max-width: 48%; font-size: 0.85rem; color: var(--text-muted);
    transition: color var(--transition);
}
.article-nav a:hover { color: var(--gold-light); }
.article-nav .nav-next { text-align: right; }
.article-nav small { display: block; font-size: 0.7rem; color: var(--text-dim); margin-bottom: 4px; }

/* === Responsive === */
@media (max-width: 768px) {
    .channel-hero-inner h1 { font-size: 1.6rem; }
    .channel-icon { font-size: 2.2rem; }
    .featured-article { grid-template-columns: 1fr; gap: 20px; padding: 20px; }
    .featured-info h2 a { font-size: 1.15rem; }
    .list-article { flex-direction: column; gap: 12px; }
    .list-thumb .thumb-visual { width: 100%; height: 140px; }
    .article-header h1 { font-size: 1.4rem; }
    .article-page { padding: 24px 16px 60px; }
    .video-grid { grid-template-columns: 1fr; }
    .channel-nav-grid { grid-template-columns: 1fr; }
    .article-nav { flex-direction: column; }
    .article-nav a { max-width: 100%; }
}
