/* 修行网站 - 极简禅意风格 */

/* CSS变量 */
:root {
  --bg-primary: #F8F6F1;
  --bg-card: #FFFFFF;
  --text-primary: #3D3D3D;
  --text-secondary: #6B6B6B;
  --accent: #7BA05B;
  --accent-light: #A8C69F;
  --border: #E8E6E1;
  --shadow: rgba(0,0,0,0.05);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: 'Noto Serif SC', Georgia, serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 2;
  letter-spacing: 0.05em;
  min-height: 100vh;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: 900px; margin: 0 auto; padding: 0 2rem; }

/* 导航 */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  background: rgba(30, 27, 38, 0.9);
  backdrop-filter: blur(10px);
  z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.navbar .container {
  display: flex; justify-content: space-between; align-items: center; height: 4rem;
}
.logo { font-size: 1.25rem; font-weight: 500; letter-spacing: 0.1em; }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a { color: rgba(255,255,255,0.85); font-size: 0.9rem; transition: color 0.3s; }
.nav-links a:hover, .nav-links a.active { color: var(--accent); text-decoration: none; }

/* 首页Hero */
.hero {
  min-height: 100vh; display: flex; flex-direction: column;
  justify-content: center; align-items: center; text-align: center;
  padding: 6rem 2rem 4rem; position: relative; overflow: hidden;
}
.breath-circle {
  position: absolute; width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, var(--accent-light) 0%, transparent 70%);
  opacity: 0.3; animation: breathe 8s ease-in-out infinite;
}
.breath-circle:nth-child(2) { width: 200px; height: 200px; animation-delay: -2s; opacity: 0.2; }
.breath-circle:nth-child(3) { width: 400px; height: 400px; animation-delay: -4s; opacity: 0.15; }
@keyframes breathe {
  0%, 100% { transform: scale(0.8); opacity: 0.2; }
  50% { transform: scale(1.2); opacity: 0.4; }
}
.hero-content { position: relative; z-index: 1; }
.hero h1 { font-size: 2.5rem; font-weight: 400; margin-bottom: 1.5rem; letter-spacing: 0.15em; }
.hero p { font-size: 1rem; color: rgba(255,255,255,0.85); max-width: 500px; margin: 0 auto 3rem; }

.categories { display: flex; gap: 1.5rem; flex-wrap: wrap; justify-content: center; margin-top: 2rem; }
.category-link {
  display: flex; flex-direction: column; align-items: center;
  padding: 2rem 2.5rem; background: var(--bg-card); border-radius: 8px;
  text-decoration: none; color: var(--text-primary); transition: all 0.4s;
  border: 1px solid var(--border); min-width: 140px;
}
.category-link:hover { transform: translateY(-4px); box-shadow: 0 12px 40px var(--shadow); border-color: var(--accent); text-decoration: none; }
.category-icon { font-size: 2rem; margin-bottom: 1rem; }
.category-name { font-size: 1rem; letter-spacing: 0.1em; }

/* 内容区块 */
.section-block { padding: 5rem 0; }
.section-block.alt { background: rgba(255,255,255,0.5); }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 { font-size: 1.5rem; font-weight: 400; margin-bottom: 0.5rem; letter-spacing: 0.1em; }
.section-header p { color: rgba(255,255,255,0.85); font-size: 0.95rem; }
.section-more { text-align: center; margin-top: 2rem; }
.more-link { color: var(--accent); font-size: 0.95rem; }

/* 卡片网格 */
.articles-preview { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.article-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 8px;
  padding: 2rem; text-decoration: none; color: inherit; transition: all 0.3s;
}
.article-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px var(--shadow); text-decoration: none; }
.article-icon { font-size: 2rem; margin-bottom: 1rem; }
.article-card h3 { font-size: 1.1rem; margin-bottom: 0.8rem; }
.article-card p { color: rgba(255,255,255,0.85); font-size: 0.9rem; margin-bottom: 1rem; line-height: 1.8; }
.article-meta { font-size: 0.8rem; color: var(--accent); }

/* 知识图谱预览 */
.graph-preview {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px;
  padding: 3rem; margin: 2rem 0; position: relative; height: 300px;
}
.graph-nodes { position: relative; width: 100%; height: 100%; }
.node {
  position: absolute; padding: 0.6rem 1.2rem; background: var(--bg-primary);
  border: 1px solid var(--border); border-radius: 2rem; font-size: 0.9rem;
  transform: translate(-50%, -50%); transition: all 0.3s; cursor: pointer;
}
.node:hover { background: var(--accent); color: white; border-color: var(--accent); }
.node.center { font-size: 1rem; background: var(--accent); color: white; border-color: var(--accent); }

/* 智慧板块 */
.wisdom-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; }
.wisdom-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 8px;
  padding: 2rem; text-decoration: none; color: inherit; text-align: center; transition: all 0.3s;
}
.wisdom-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px var(--shadow); text-decoration: none; }
.wisdom-icon { font-size: 2.5rem; margin-bottom: 1rem; display: block; }
.wisdom-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.wisdom-card p { color: rgba(255,255,255,0.85); font-size: 0.85rem; }

/* 列表页 */
.page-header { padding: 8rem 0 3rem; text-align: center; }
.page-header h1 { font-size: 1.8rem; font-weight: 400; letter-spacing: 0.15em; margin-bottom: 0.5rem; }
.page-header p { color: rgba(255,255,255,0.85); font-size: 0.95rem; }

.filter-tabs { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 3rem; }
.filter-tab {
  padding: 0.6rem 1.5rem; border: 1px solid var(--border); border-radius: 2rem;
  background: transparent; color: rgba(255,255,255,0.85); font-family: inherit;
  font-size: 0.9rem; cursor: pointer; transition: all 0.3s;
}
.filter-tab:hover { border-color: var(--accent); color: var(--accent); }
.filter-tab.active { background: var(--accent); border-color: var(--accent); color: white; }

.creators-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 2rem; padding-bottom: 4rem; }
.creator-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 8px;
  padding: 2rem; text-decoration: none; color: inherit; transition: all 0.4s;
  display: flex; flex-direction: column;
}
.creator-card:hover { transform: translateY(-6px); box-shadow: 0 20px 60px var(--shadow); border-color: var(--accent-light); text-decoration: none; }
.card-header { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.5rem; }
.card-avatar { font-size: 2.5rem; line-height: 1; }
.card-info { flex: 1; }
.card-name { font-size: 1.1rem; margin-bottom: 0.3rem; letter-spacing: 0.05em; }
.card-meta { display: flex; gap: 0.8rem; font-size: 0.8rem; color: rgba(255,255,255,0.85); }
.card-platform { color: var(--accent); }
.card-intro { font-size: 0.9rem; color: rgba(255,255,255,0.85); line-height: 1.8; flex: 1; margin-bottom: 1.5rem; }
.card-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.card-tag { padding: 0.3rem 0.8rem; background: var(--bg-primary); border-radius: 1rem; font-size: 0.75rem; color: rgba(255,255,255,0.85); }
.card-highlight { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--border); font-size: 0.8rem; color: var(--accent); }

/* 文章页 */
.articles-list { padding-bottom: 4rem; }
.article-full { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 3rem; margin-bottom: 2rem; }
.article-header { border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 1.5rem; margin-bottom: 2rem; }
.article-tag { display: inline-block; padding: 0.3rem 1rem; background: var(--bg-primary); border-radius: 1rem; font-size: 0.8rem; color: var(--accent); margin-bottom: 1rem; }
.article-full h2 { font-size: 1.6rem; font-weight: 400; margin-bottom: 1rem; }
.article-info { display: flex; gap: 1.5rem; font-size: 0.85rem; color: rgba(255,255,255,0.85); }
.article-content h3 { font-size: 1.15rem; margin: 2rem 0 1rem; color: var(--text-primary); }
.article-content h4 { font-size: 1rem; margin: 1.5rem 0 0.8rem; color: rgba(255,255,255,0.85); }
.article-content p { margin-bottom: 1rem; line-height: 2.2; }
.article-content ul { margin: 1rem 0 1.5rem 1.5rem; }
.article-content li { margin-bottom: 0.5rem; line-height: 2; }
.classic-text { background: var(--bg-primary); padding: 2rem; border-radius: 8px; margin: 1.5rem 0; }
.classic-text p { text-align: center; margin-bottom: 0.8rem; font-size: 1.05rem; }
.plan-table { display: grid; gap: 1.5rem; margin: 1.5rem 0; }
.plan-week { background: var(--bg-primary); padding: 1.5rem; border-radius: 8px; }
.plan-week h4 { margin-top: 0 !important; }
.eight-sections { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.8rem; }
.section-item { background: var(--bg-primary); padding: 1rem; border-radius: 6px; display: flex; gap: 0.8rem; align-items: center; }
.section-item span { background: var(--accent); color: white; width: 1.5rem; height: 1.5rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.8rem; flex-shrink: 0; }
.four-base { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.base-item { background: var(--bg-primary); padding: 1.5rem; border-radius: 8px; text-align: center; }
.base-item span { font-size: 1.5rem; display: block; margin-bottom: 0.5rem; }
.quote-block { background: var(--bg-primary); padding: 1.5rem 2rem; border-radius: 8px; margin: 1.5rem 0; border-left: 3px solid var(--accent); }
.quote-block strong { font-size: 1.1rem; }
.progress-path { display: flex; justify-content: space-between; margin: 2rem 0; position: relative; }
.progress-path::before { content: ''; position: absolute; top: 1rem; left: 10%; right: 10%; height: 2px; background: var(--border); }
.path-step { text-align: center; position: relative; z-index: 1; background: var(--bg-card); padding: 0 0.5rem; }
.path-step span { display: block; background: var(--accent); color: white; padding: 0.5rem 1rem; border-radius: 2rem; font-size: 0.9rem; margin-bottom: 0.5rem; }
.path-step small { font-size: 0.75rem; color: rgba(255,255,255,0.85); }
.article-footer { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--border); }
.article-footer p { color: rgba(255,255,255,0.85); margin-bottom: 0.5rem; }
.related-link { display: inline-block; margin-right: 1rem; margin-top: 0.5rem; padding: 0.4rem 1rem; background: var(--bg-primary); border-radius: 2rem; font-size: 0.85rem; }
.related-link:hover { background: var(--accent); color: white; text-decoration: none; }

/* 宗派导航 */
.school-nav { padding: 2rem 0; position: sticky; top: 4rem; background: var(--bg-primary); z-index: 50; border-bottom: 1px solid rgba(255,255,255,0.1); }
.school-nav-inner { display: flex; gap: 1rem; justify-content: center; }
.school-nav-btn { padding: 0.6rem 1.5rem; border: 1px solid var(--border); border-radius: 2rem; background: transparent; font-family: inherit; font-size: 0.9rem; cursor: pointer; transition: all 0.3s; }
.school-nav-btn.active { background: var(--accent); border-color: var(--accent); color: white; }

.school-section { padding: 3rem 0; }
.school-title { font-size: 1.8rem; font-weight: 400; text-align: center; margin-bottom: 1rem; letter-spacing: 0.1em; }
.school-intro { text-align: center; color: rgba(255,255,255,0.85); margin-bottom: 3rem; max-width: 600px; margin-left: auto; margin-right: auto; }
.school-grid { display: grid; gap: 2rem; }

.school-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.school-card-header { display: flex; align-items: center; gap: 1.5rem; padding: 2rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
.school-icon { width: 4rem; height: 4rem; background: var(--accent); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; flex-shrink: 0; }
.school-card-header h3 { font-size: 1.3rem; margin-bottom: 0.3rem; }
.school-card-header p { color: rgba(255,255,255,0.85); font-size: 0.9rem; }
.school-card-content { padding: 2rem; }
.school-meta { display: flex; gap: 1.5rem; margin-bottom: 1.5rem; font-size: 0.85rem; color: rgba(255,255,255,0.85); }
.school-card-content h4 { font-size: 1rem; margin: 1.5rem 0 1rem; padding-bottom: 0.5rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
.school-card-content h4:first-child { margin-top: 0; }
.school-points { list-style: none; }
.school-points li { padding: 0.5rem 0; line-height: 1.8; }

/* 时间线 */
.timeline { position: relative; padding-left: 1.5rem; }
.timeline::before { content: ''; position: absolute; left: 0.2rem; top: 0; bottom: 0; width: 1px; background: var(--border); }
.timeline-item { position: relative; margin-bottom: 1.2rem; padding-left: 1rem; }
.timeline-item::before { content: ''; position: absolute; left: -1.4rem; top: 0.5rem; width: 0.5rem; height: 0.5rem; background: var(--bg-card); border: 2px solid var(--accent); border-radius: 50%; }
.timeline-item.highlight::before { background: var(--accent); }
.timeline-item .time { display: block; font-weight: 500; color: var(--text-primary); margin-bottom: 0.3rem; }
.timeline-item p { font-size: 0.9rem; color: rgba(255,255,255,0.85); margin: 0; }

/* 宗派分支 */
.branches-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1rem; }
.branch-item { background: var(--bg-primary); padding: 1rem; border-radius: 8px; text-align: center; }
.branch-item strong { display: block; color: var(--accent); margin-bottom: 0.3rem; }
.branch-item p { font-size: 0.85rem; color: rgba(255,255,255,0.85); margin: 0; }

/* 弟子传承 */
.disciple-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; }
.disciple-item { background: var(--bg-primary); padding: 1rem; border-radius: 8px; }
.disciple-item strong { display: block; color: var(--accent); margin-bottom: 0.3rem; }
.disciple-item p { font-size: 0.85rem; color: rgba(255,255,255,0.85); margin: 0; }

/* 典籍标签 */
.classics-list { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.classic-tag { padding: 0.4rem 1rem; background: var(--bg-primary); border-radius: 2rem; font-size: 0.85rem; }

/* 八支分法 */
.eight-limbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.8rem; }
.limb-item { background: var(--bg-primary); padding: 1rem; border-radius: 8px; text-align: center; }
.limb-item span { display: block; background: var(--accent); color: white; width: 1.5rem; height: 1.5rem; border-radius: 50%; margin: 0 auto 0.5rem; line-height: 1.5rem; }
.limb-item.highlight { background: var(--accent); color: white; }
.limb-item.highlight span { background: white; color: var(--accent); }

/* 脉轮 */
.chakras { display: flex; flex-direction: column; gap: 0.5rem; }
.chakra-item { background: var(--bg-primary); padding: 0.8rem 1rem; border-radius: 6px; }

/* 圣贤页面 - 核心源头 */
.source-hero { padding: 8rem 0 3rem; text-align: center; }
.source-hero h1 { font-size: 2.2rem; font-weight: 400; margin-bottom: 1rem; letter-spacing: 0.1em; }
.source-hero p { color: rgba(255,255,255,0.85); font-size: 1rem; max-width: 600px; margin: 0 auto; }

.source-nav { display: flex; justify-content: center; gap: 1rem; padding: 2rem 0; flex-wrap: wrap; }
.source-nav-btn { padding: 0.8rem 2rem; border: 1px solid var(--border); border-radius: 2rem; background: transparent; font-family: inherit; font-size: 1rem; cursor: pointer; transition: all 0.3s; }
.source-nav-btn.active { background: var(--accent); border-color: var(--accent); color: white; }

.source-section { display: none; padding: 2rem 0 4rem; }
.source-section.active { display: block; }

.source-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; margin-bottom: 3rem; overflow: hidden; }
.source-card-header { padding: 2rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
.source-badge { display: inline-block; padding: 0.3rem 1rem; background: var(--accent); color: white; border-radius: 2rem; font-size: 0.8rem; margin-bottom: 1rem; }
.source-card-header h2 { font-size: 1.8rem; font-weight: 400; margin-bottom: 0.5rem; }
.source-card-header p { color: rgba(255,255,255,0.85); }
.source-card-content { padding: 2rem; }

.source-intro { font-size: 1.1rem; line-height: 2.2; margin-bottom: 2rem; text-align: justify; }

.core-thoughts { margin: 2rem 0; }
.core-thoughts h3 { font-size: 1.1rem; margin-bottom: 1rem; padding-bottom: 0.5rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
.thought-item { background: var(--bg-primary); padding: 1.5rem; border-radius: 8px; margin-bottom: 1rem; }
.thought-item h4 { color: var(--accent); margin-bottom: 0.5rem; }
.thought-item p { font-size: 0.95rem; color: rgba(255,255,255,0.85); margin: 0; line-height: 1.8; }

.source-scripture { background: var(--bg-primary); border-radius: 8px; padding: 2rem; margin: 2rem 0; }
.source-scripture h3 { font-size: 1.1rem; margin-bottom: 1rem; }
.source-scripture p { text-align: center; margin-bottom: 1rem; font-size: 1.05rem; line-height: 2; }

.wisdom-section { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; margin-bottom: 2rem; }
.wisdom-section-header { padding: 2rem; border-bottom: 1px solid rgba(255,255,255,0.1); text-align: center; }
.wisdom-badge { display: inline-block; padding: 0.3rem 1rem; background: var(--bg-primary); border-radius: 2rem; font-size: 0.8rem; margin-bottom: 1rem; }
.wisdom-section-header h2 { font-size: 1.5rem; font-weight: 400; margin-bottom: 0.3rem; }
.wisdom-desc { color: rgba(255,255,255,0.85); font-size: 0.9rem; }
.wisdom-content { padding: 2rem; }
.wisdom-tabs { display: flex; gap: 1rem; justify-content: center; margin-bottom: 2rem; }
.wisdom-tab { padding: 0.5rem 1.5rem; border: 1px solid var(--border); border-radius: 2rem; background: transparent; font-family: inherit; cursor: pointer; transition: all 0.3s; }
.wisdom-tab.active { background: var(--accent); border-color: var(--accent); color: white; }
.wisdom-panel { display: none; }
.wisdom-panel.active { display: block; }
.wisdom-panel h3 { font-size: 1.1rem; margin: 2rem 0 1rem; }
.wisdom-panel h3:first-child { margin-top: 0; }
.classic-block { background: var(--bg-primary); padding: 1.5rem 2rem; border-radius: 8px; margin-bottom: 1rem; }
.classic-block p { margin-bottom: 0.8rem; line-height: 2.2; text-align: justify; }
.interpret-block { margin-bottom: 2rem; }
.interpret-block h4 { color: var(--accent); margin-bottom: 0.8rem; }
.interpret-block p { line-height: 2; margin-bottom: 0.8rem; }
.interpret-block ul { margin-left: 1.5rem; line-height: 2; }
.wisdom-full-text .classic-block { text-align: center; }

/* 页脚 */
.footer { text-align: center; padding: 3rem 2rem; border-top: 1px solid var(--border); color: rgba(255,255,255,0.85); font-size: 0.85rem; }

/* 空状态 */
.empty-state { text-align: center; padding: 4rem 2rem; color: var(--text-secondary; }

/* 响应式 */
@media (max-width: 768px) {
  .hero h1 { font-size: 1.8rem; }
  .categories { gap: 1rem; }
  .category-link { padding: 1.5rem 2rem; min-width: 120px; }
  .creators-grid { grid-template-columns: 1fr; }
  .school-grid { gap: 1.5rem; }
  .eight-limbs { grid-template-columns: repeat(2, 1fr); }
  .source-nav-btn { padding: 0.6rem 1.2rem; font-size: 0.9rem; }
  .nav-links { gap: 1rem; }
  .nav-links a { font-size: 0.8rem; }
}

/* ===== 视频页面样式 ===== */

/* 小Hero */
.hero-small {
  padding: 4rem 0 2rem;
  text-align: center;
}
.hero-small h1 {
  font-size: 1.8rem;
  font-weight: 400;
  margin-bottom: 0.8rem;
  letter-spacing: 0.15em;
}
.hero-small p {
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
}

/* 筛选区域 */
.filter-section {
  margin-bottom: 3rem;
}

/* 视频网格 */
.videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
  padding-bottom: 4rem;
}

/* 视频卡片 */
.video-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s;
}
.video-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px var(--shadow);
  border-color: var(--accent-light);
}

/* 视频预览 */
.video-preview {
  position: relative;
  cursor: pointer;
}
.video-cover {
  width: 100%;
  aspect-ratio: 16/9;
  background-size: cover;
  background-position: center;
  background-color: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
}
.play-btn {
  width: 60px;
  height: 60px;
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--text-primary);
  transition: all 0.3s;
  opacity: 0;
}
.video-preview:hover .play-btn {
  opacity: 1;
  transform: scale(1.1);
}
.video-meta {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.5rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  display: flex;
  justify-content: space-between;
  color: white;
  font-size: 0.8rem;
}

/* 视频信息 */
.video-info {
  padding: 1.5rem;
}
.video-creator {
  margin-bottom: 0.5rem;
}
.creator-tag {
  display: inline-block;
  padding: 0.2rem 0.8rem;
  background: var(--bg-primary);
  border-radius: 1rem;
  font-size: 0.75rem;
  color: var(--accent);
}
.video-title {
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
  line-height: 1.5;
}
.video-subtitle {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 1rem;
}

/* 核心思想 */
.core-points {
  background: linear-gradient(135deg, rgba(123,160,91,0.08), rgba(168,198,159,0.08));
  border: 1px solid rgba(123,160,91,0.2);
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 1rem;
}
.core-points-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--accent);
  margin-bottom: 0.8rem;
  font-weight: 500;
}
.core-icon {
  font-size: 1rem;
}
.core-points-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.core-points-list li {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.85);
  padding: 0.4rem 0;
  padding-left: 1rem;
  position: relative;
  line-height: 1.6;
}
.core-points-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* 展开按钮 */
.expand-btn {
  width: 100%;
  padding: 0.8rem;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.85);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s;
}
.expand-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}
.expand-arrow {
  transition: transform 0.3s;
}

/* 完整内容 */
.full-content {
  margin-top: 1rem;
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}
.full-content-inner {
  font-size: 0.9rem;
  line-height: 2;
  color: rgba(255,255,255,0.85);
}
.collapse-btn {
  width: 100%;
  padding: 0.6rem;
  background: transparent;
  border: none;
  font-family: inherit;
  font-size: 0.8rem;
  color: var(--accent);
  cursor: pointer;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}
.collapse-btn:hover {
  text-decoration: underline;
}

/* 弹窗 */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.8);
  z-index: 1000;
  justify-content: center;
  align-items: flex-start;
  padding: 2rem;
  overflow-y: auto;
}
.modal-content {
  background: var(--bg-card);
  border-radius: 12px;
  max-width: 900px;
  width: 100%;
  margin: 2rem auto;
  position: relative;
}
.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}
.modal-close:hover {
  background: var(--accent);
  color: white;
}

/* 视频播放器 */
.video-player-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
}
.video-iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* 视频详情 */
.video-detail {
  padding: 2rem;
}
.video-detail-header h2 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}
.video-stats {
  display: flex;
  gap: 1.5rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.85);
  margin-top: 0.8rem;
}

/* 详情分区 */
.detail-section {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.detail-section h3 {
  font-size: 1rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.section-icon {
  font-size: 1.2rem;
}
.core-detail ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.core-detail li {
  padding: 0.6rem 0;
  padding-left: 1.2rem;
  position: relative;
  border-bottom: 1px dashed var(--border);
}
.core-detail li:last-child {
  border-bottom: none;
}
.core-detail li::before {
  content: '💡';
  position: absolute;
  left: 0;
}
.full-text {
  font-size: 0.95rem;
  line-height: 2;
  color: rgba(255,255,255,0.85);
}

/* 跳转链接 */
.detail-action {
  margin-top: 2rem;
  text-align: center;
}
.bilibili-link {
  display: inline-block;
  padding: 0.8rem 2rem;
  background: #00A1D6;
  color: white;
  border-radius: 2rem;
  font-size: 0.9rem;
  transition: all 0.3s;
}
.bilibili-link:hover {
  background: #0083B0;
  text-decoration: none;
}

/* 空状态 */
.empty-tip {
  text-align: center;
  padding: 4rem;
  color: rgba(255,255,255,0.85);
}

/* 响应式 */
@media (max-width: 768px) {
  .videos-grid {
    grid-template-columns: 1fr;
  }
  .modal {
    padding: 0;
  }
  .modal-content {
    border-radius: 0;
    margin: 0;
    min-height: 100vh;
  }
  .video-modal-content {
    padding-bottom: 2rem;
  }
}

/* ===== 文章索引卡片样式 ===== */
.articles-index {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding-bottom: 4rem;
}

.article-index-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.8rem 2rem;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.article-index-card:hover {
  transform: translateX(8px);
  box-shadow: 0 8px 32px var(--shadow);
  border-color: var(--accent-light);
  text-decoration: none;
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-category {
  padding: 0.3rem 1rem;
  background: var(--bg-primary);
  border-radius: 2rem;
  font-size: 0.8rem;
  color: var(--accent);
}

.card-time {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.85);
}

.card-title {
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  margin: 0;
}

.card-desc {
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
  line-height: 1.8;
  margin: 0;
}

.card-highlights {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem;
  background: var(--bg-primary);
  border-radius: 8px;
}

.highlight-item {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.6;
}

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
}

.card-footer .arrow {
  font-size: 1.2rem;
  color: var(--accent);
  transition: transform 0.3s;
}

.article-index-card:hover .arrow {
  transform: translateX(8px);
}

/* ===== 文章详情页样式 ===== */
.article-full-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 6rem 2rem 4rem;
}

.article-header-full {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.back-link {
  display: inline-block;
  margin-bottom: 1.5rem;
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
}

.back-header-full h1 {
  font-size: 1.8rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  margin: 1rem 0;
}

.article-meta {
  display: flex;
  gap: 1.5rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
}

.article-body {
  line-height: 2.2;
}

.article-body h2 {
  font-size: 1.3rem;
  font-weight: 500;
  margin: 2.5rem 0 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.article-body h2:first-child {
  margin-top: 0;
}

.article-body p {
  margin-bottom: 1.2rem;
  text-align: justify;
}

.highlight-box {
  background: var(--bg-primary);
  padding: 1.5rem 2rem;
  border-radius: 8px;
  margin: 1.5rem 0;
  border-left: 3px solid var(--accent);
}

.highlight-box h4 {
  margin: 0 0 1rem;
  font-size: 1rem;
  color: var(--accent);
}

.practice-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 1.5rem 2rem;
  border-radius: 8px;
  margin: 1.5rem 0;
}

.tip {
  font-size: 0.9rem;
  color: var(--accent);
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px dashed var(--border);
}

.qa-block {
  background: var(--bg-primary);
  padding: 1.5rem;
  border-radius: 8px;
  margin: 1rem 0;
}

.related-links {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.related-item {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background: var(--bg-primary);
  border-radius: 8px;
  color: var(--text-primary);
  transition: all 0.3s;
}

.related-item:hover {
  background: var(--accent);
  color: white;
  text-decoration: none;
}

.error-page {
  text-align: center;
  padding: 4rem 2rem;
}

/* 视频播放器备用链接 */
.video-player-fallback {
  background: var(--bg-primary);
  padding: 1rem;
  text-align: center;
  border-top: 1px solid var(--border);
}
.video-player-fallback p {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
}
.video-player-fallback .bilibili-link {
  color: var(--accent);
  font-weight: 500;
}

/* ===== 首页5入口样式 ===== */

/* 入口Hero调整 */
.entrance-hero {
  min-height: 40vh;
}

/* 五大入口网格 */
.five-entrances {
  padding: 4rem 0;
  background: var(--bg-card);
}

.entrances-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
}

.entrance-card {
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem 1.5rem;
  text-align: center;
  text-decoration: none;
  color: inherit;
  transition: all 0.4s;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.entrance-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px var(--shadow);
  text-decoration: none;
}

.entrance-meditation:hover { border-color: #7BA05B; }
.entrance-chan:hover { border-color: #5B8C5A; }
.entrance-dao:hover { border-color: #8B7355; }
.entrance-fo:hover { border-color: #C4785A; }
.entrance-yoga:hover { border-color: #9B7BB8; }

.entrance-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.entrance-card h2 {
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 1rem;
  letter-spacing: 0.1em;
}

.entrance-desc {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.entrance-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.entrance-tags span {
  background: var(--bg-card);
  padding: 0.3rem 0.8rem;
  border-radius: 2rem;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.85);
}

/* 精选内容预览 */
.preview-tabs {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.preview-panel {
  display: none;
}

.preview-panel.active {
  display: block;
}

.preview-modules {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.preview-module {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2rem;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s;
  text-align: center;
}

.preview-module:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px var(--shadow);
  border-color: var(--accent);
  text-decoration: none;
}

.module-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: block;
}

.preview-module h4 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.preview-module p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.85);
}

/* 页脚 */
.site-footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 3rem 0;
  margin-top: 4rem;
}

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

.footer-col h4 {
  font-size: 1rem;
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  margin-bottom: 0.5rem;
}

.footer-col a {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  transition: color 0.3s;
}

.footer-col a:hover {
  color: var(--accent);
  text-decoration: none;
}

.footer-quote {
  font-style: italic;
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  line-height: 1.8;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  color: rgba(255,255,255,0.85);
  font-size: 0.85rem;
}

/* 响应式 - 入口页面 */
@media (max-width: 900px) {
  .entrances-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  .entrances-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .entrance-card {
    padding: 1.5rem 1rem;
  }
  
  .entrance-icon {
    font-size: 2.5rem;
  }
  
  .entrance-card h2 {
    font-size: 1.1rem;
  }
  
  .module-nav-inner {
    gap: 0.5rem;
  }
  
  .module-nav a {
    font-size: 0.85rem;
    padding: 0.4rem 0.8rem;
  }
}
