/* ========== 基础重置与全局样式 ========== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --gold: #c9a84c;
    --gold-light: #e8d48b;
    --gold-dark: #8a6d1e;
    --burgundy: #6b1d1d;
    --burgundy-deep: #3d0e0e;
    --cream: #f5f0e1;
    --cream-dark: #e8dcc8;
    --ink: #2c2416;
    --ink-light: #5a4a32;
    --lotus-pink: #d4a0a0;
    --incense-smoke: rgba(201, 168, 76, 0.08);
}

html { scroll-behavior: smooth; }

body {
    font-family: "Noto Serif SC", "Source Han Serif CN", "STSong", "SimSun", "Songti SC", serif;
    background-color: var(--cream);
    color: var(--ink);
    line-height: 1.8;
    overflow-x: hidden;
}

a { color: var(--gold-dark); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--gold); }

/* ========== 顶部导航 ========== */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: linear-gradient(180deg, rgba(61, 14, 14, 0.97) 0%, rgba(61, 14, 14, 0.92) 100%);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(201, 168, 76, 0.3);
    transition: all 0.3s;
}

.navbar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 42px; height: 42px;
    background: radial-gradient(circle, var(--gold) 0%, var(--gold-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--burgundy-deep);
    font-weight: bold;
    box-shadow: 0 0 15px rgba(201, 168, 76, 0.4);
}

.logo-text {
    font-size: 20px;
    color: var(--gold-light);
    font-weight: 700;
    letter-spacing: 4px;
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    color: var(--cream);
    font-size: 15px;
    letter-spacing: 2px;
    position: relative;
    padding: 4px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%;
    width: 0; height: 2px;
    background: var(--gold);
    transition: all 0.3s;
    transform: translateX(-50%);
}

.nav-links a:hover { color: var(--gold-light); }
.nav-links a:hover::after { width: 100%; }

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--gold-light);
    font-size: 24px;
    cursor: pointer;
}

/* ========== 英雄区域（首页用） ========== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, var(--burgundy-deep) 0%, var(--burgundy) 40%, #4a1515 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(201, 168, 76, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(201, 168, 76, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 0%, rgba(201, 168, 76, 0.1) 0%, transparent 40%);
    pointer-events: none;
}

.hero-ornament {
    position: absolute;
    width: 100%; height: 100%;
    top: 0; left: 0;
    pointer-events: none;
    opacity: 0.06;
}

.hero-ornament::before {
    content: '☸';
    position: absolute;
    top: 15%; left: 10%;
    font-size: 120px;
    color: var(--gold);
    animation: slowRotate 60s linear infinite;
}

.hero-ornament::after {
    content: '卍';
    position: absolute;
    bottom: 15%; right: 10%;
    font-size: 100px;
    color: var(--gold);
    animation: slowRotate 80s linear infinite reverse;
}

@keyframes slowRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 24px;
    max-width: 900px;
}

.hero-sanskrit {
    font-size: 16px;
    color: var(--gold);
    letter-spacing: 6px;
    margin-bottom: 20px;
    opacity: 0.8;
}

.hero-title {
    font-size: clamp(36px, 6vw, 64px);
    color: var(--gold-light);
    font-weight: 700;
    letter-spacing: 12px;
    margin-bottom: 16px;
    text-shadow: 0 0 40px rgba(201, 168, 76, 0.3);
    line-height: 1.3;
}

.hero-subtitle {
    font-size: clamp(18px, 2.5vw, 24px);
    color: var(--cream);
    opacity: 0.85;
    letter-spacing: 4px;
    margin-bottom: 40px;
    font-weight: 300;
}

.hero-verse {
    font-size: 18px;
    color: var(--gold-light);
    opacity: 0.7;
    max-width: 600px;
    margin: 0 auto 48px;
    line-height: 2.2;
    letter-spacing: 2px;
    border-left: 2px solid rgba(201, 168, 76, 0.3);
    border-right: 2px solid rgba(201, 168, 76, 0.3);
    padding: 20px 30px;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 40px;
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold-light);
    font-size: 16px;
    letter-spacing: 4px;
    cursor: pointer;
    transition: all 0.4s;
    font-family: inherit;
}

.hero-cta:hover {
    background: var(--gold);
    color: var(--burgundy-deep);
    box-shadow: 0 0 30px rgba(201, 168, 76, 0.3);
}

.scroll-hint {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--gold);
    opacity: 0.5;
    font-size: 14px;
    letter-spacing: 2px;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ========== 通用区块样式 ========== */
.section {
    padding: 100px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

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

.section-header .en-title {
    font-size: 12px;
    color: var(--gold);
    letter-spacing: 6px;
    text-transform: uppercase;
    opacity: 0.6;
    margin-bottom: 12px;
}

.section-header h2 {
    font-size: clamp(28px, 4vw, 40px);
    color: var(--burgundy);
    letter-spacing: 8px;
    font-weight: 700;
    margin-bottom: 16px;
}

.section-header .divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 20px;
}

.section-header .divider-line {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.section-header .divider-icon {
    color: var(--gold);
    font-size: 18px;
}

.section-header p {
    font-size: 16px;
    color: var(--ink-light);
    max-width: 600px;
    margin: 0 auto;
    letter-spacing: 1px;
}

/* ========== 般若简介（首页用） ========== */
.intro-section {
    background: var(--cream);
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.intro-text h3 {
    font-size: 24px;
    color: var(--burgundy);
    letter-spacing: 4px;
    margin-bottom: 20px;
}

.intro-text p {
    font-size: 16px;
    color: var(--ink-light);
    margin-bottom: 16px;
    text-align: justify;
}

.intro-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mandala {
    width: 320px;
    height: 320px;
    border-radius: 50%;
    border: 2px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: radial-gradient(circle, rgba(201, 168, 76, 0.05) 0%, transparent 70%);
}

.mandala::before {
    content: '';
    position: absolute;
    width: 280px; height: 280px;
    border-radius: 50%;
    border: 1px solid rgba(201, 168, 76, 0.4);
    animation: slowRotate 40s linear infinite;
}

.mandala::after {
    content: '';
    position: absolute;
    width: 240px; height: 240px;
    border-radius: 50%;
    border: 1px dashed rgba(201, 168, 76, 0.3);
    animation: slowRotate 60s linear infinite reverse;
}

.mandala-center {
    font-size: 64px;
    color: var(--gold);
    text-shadow: 0 0 20px rgba(201, 168, 76, 0.3);
    z-index: 1;
}

/* ========== 经典卡片（首页用） ========== */
.scriptures-section {
    background: linear-gradient(180deg, var(--cream) 0%, var(--cream-dark) 100%);
}

.scripture-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.scripture-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(44, 36, 22, 0.08);
    transition: all 0.4s;
    border: 1px solid rgba(201, 168, 76, 0.15);
}

.scripture-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(44, 36, 22, 0.15);
    border-color: rgba(201, 168, 76, 0.4);
}

.card-header {
    background: linear-gradient(135deg, var(--burgundy-deep) 0%, var(--burgundy) 100%);
    padding: 28px 24px;
    text-align: center;
    position: relative;
}

.card-header::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.card-icon {
    font-size: 36px;
    margin-bottom: 12px;
    color: var(--gold-light);
}

.card-header h3 {
    font-size: 20px;
    color: var(--gold-light);
    letter-spacing: 4px;
}

.card-header .card-sub {
    font-size: 12px;
    color: var(--cream);
    opacity: 0.6;
    margin-top: 6px;
    letter-spacing: 2px;
}

.card-body {
    padding: 28px 24px;
}

.card-body p {
    font-size: 15px;
    color: var(--ink-light);
    margin-bottom: 16px;
    text-align: justify;
}

.card-body .verse {
    background: var(--incense-smoke);
    border-left: 3px solid var(--gold);
    padding: 12px 16px;
    font-size: 14px;
    color: var(--burgundy);
    font-style: italic;
    margin: 16px 0;
    border-radius: 0 4px 4px 0;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--gold-dark);
    letter-spacing: 2px;
    margin-top: 8px;
}

.card-link:hover { color: var(--gold); }

/* ========== 经文精选（首页用） ========== */
.excerpt-section {
    background: var(--burgundy-deep);
    padding: 100px 24px;
    position: relative;
    overflow: hidden;
}

.excerpt-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background:
        radial-gradient(ellipse at 30% 50%, rgba(201, 168, 76, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 50%, rgba(201, 168, 76, 0.04) 0%, transparent 50%);
    pointer-events: none;
}

.excerpt-inner {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.excerpt-section .section-header h2 {
    color: var(--gold-light);
}

.excerpt-section .section-header p {
    color: var(--cream);
    opacity: 0.7;
}

.excerpt-block {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(201, 168, 76, 0.2);
    border-radius: 8px;
    padding: 40px;
    margin-bottom: 32px;
}

.excerpt-block h3 {
    font-size: 20px;
    color: var(--gold);
    letter-spacing: 4px;
    margin-bottom: 20px;
    text-align: center;
}

.excerpt-text {
    font-size: 17px;
    color: var(--cream);
    line-height: 2.4;
    text-align: center;
    letter-spacing: 2px;
    opacity: 0.9;
}

.excerpt-note {
    margin-top: 20px;
    font-size: 14px;
    color: var(--gold);
    opacity: 0.6;
    text-align: center;
    letter-spacing: 2px;
}

/* ========== 核心教义（首页用） ========== */
.teachings-section {
    background: var(--cream);
}

.teachings-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.teaching-item {
    display: flex;
    gap: 20px;
    padding: 32px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid rgba(201, 168, 76, 0.12);
    transition: all 0.3s;
}

.teaching-item:hover {
    border-color: rgba(201, 168, 76, 0.4);
    box-shadow: 0 8px 30px rgba(44, 36, 22, 0.08);
}

.teaching-num {
    flex-shrink: 0;
    width: 48px; height: 48px;
    background: linear-gradient(135deg, var(--burgundy-deep), var(--burgundy));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-light);
    font-size: 18px;
    font-weight: 700;
}

.teaching-content h3 {
    font-size: 18px;
    color: var(--burgundy);
    letter-spacing: 3px;
    margin-bottom: 10px;
}

.teaching-content p {
    font-size: 15px;
    color: var(--ink-light);
    text-align: justify;
}

/* ========== 修行指南（首页用） ========== */
.practice-section {
    background: linear-gradient(180deg, var(--cream-dark) 0%, var(--cream) 100%);
}

.practice-timeline {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
}

.practice-timeline::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 0; bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--gold), rgba(201, 168, 76, 0.2));
}

.practice-step {
    display: flex;
    gap: 28px;
    margin-bottom: 40px;
    position: relative;
}

.step-marker {
    flex-shrink: 0;
    width: 50px; height: 50px;
    background: var(--cream);
    border: 2px solid var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--burgundy);
    z-index: 1;
}

.step-content {
    padding-top: 8px;
}

.step-content h3 {
    font-size: 18px;
    color: var(--burgundy);
    letter-spacing: 3px;
    margin-bottom: 8px;
}

.step-content p {
    font-size: 15px;
    color: var(--ink-light);
    text-align: justify;
}

/* ========== 每日法语（首页用） ========== */
.daily-section {
    background: var(--cream);
    text-align: center;
}

.daily-quote {
    max-width: 700px;
    margin: 0 auto;
    padding: 48px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid rgba(201, 168, 76, 0.2);
    position: relative;
}

.daily-quote::before {
    content: '"';
    position: absolute;
    top: 16px; left: 24px;
    font-size: 64px;
    color: var(--gold);
    opacity: 0.3;
    font-family: Georgia, serif;
    line-height: 1;
}

.daily-quote blockquote {
    font-size: 20px;
    color: var(--burgundy);
    letter-spacing: 3px;
    line-height: 2.2;
    margin-bottom: 20px;
}

.daily-quote cite {
    font-size: 14px;
    color: var(--gold-dark);
    letter-spacing: 2px;
    font-style: normal;
}

/* ========== 页面横幅（内容页/列表页用） ========== */
.page-banner {
    position: relative;
    padding: 140px 24px 60px;
    text-align: center;
    background: linear-gradient(135deg, var(--burgundy-deep) 0%, var(--burgundy) 40%, #4a1515 100%);
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(201, 168, 76, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(201, 168, 76, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.page-banner .banner-ornament {
    position: absolute;
    width: 100%; height: 100%;
    top: 0; left: 0;
    pointer-events: none;
    opacity: 0.05;
}

.page-banner .banner-ornament::before {
    content: '☸';
    position: absolute;
    top: 10%; right: 8%;
    font-size: 100px;
    color: var(--gold);
    animation: slowRotate 60s linear infinite;
}

.page-banner .banner-ornament::after {
    content: '卍';
    position: absolute;
    bottom: 10%; left: 8%;
    font-size: 80px;
    color: var(--gold);
    animation: slowRotate 80s linear infinite reverse;
}

.banner-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.banner-content .breadcrumb {
    font-size: 14px;
    color: var(--gold);
    opacity: 0.7;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.banner-content .breadcrumb a {
    color: var(--gold);
    opacity: 0.6;
}
.banner-content .breadcrumb a:hover { opacity: 1; }
.banner-content .breadcrumb .sep { margin: 0 8px; opacity: 0.4; }

.banner-content h1 {
    font-size: clamp(32px, 5vw, 52px);
    color: var(--gold-light);
    font-weight: 700;
    letter-spacing: 10px;
    margin-bottom: 12px;
    text-shadow: 0 0 40px rgba(201, 168, 76, 0.3);
}

.banner-content .banner-sub {
    font-size: 16px;
    color: var(--cream);
    opacity: 0.7;
    letter-spacing: 4px;
}

.banner-content .banner-meta {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
    font-size: 14px;
    color: var(--gold);
    opacity: 0.6;
    letter-spacing: 1px;
}

.banner-content .banner-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* ========== 内容主体（内容页用） ========== */
.content-main {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 24px 50px;
    background: var(--cream);
}

.sutra-text {
    background: #fff;
    border-radius: 12px;
    padding: 48px 56px;
    box-shadow: 0 4px 24px rgba(44, 36, 22, 0.06);
    border: 1px solid rgba(201, 168, 76, 0.12);
}

.sutra-text .sutra-title {
    text-align: center;
    font-size: 22px;
    color: var(--burgundy);
    letter-spacing: 6px;
    margin-bottom: 8px;
    font-weight: 700;
}

.sutra-text .sutra-translator {
    text-align: center;
    font-size: 14px;
    color: var(--ink-light);
    opacity: 0.6;
    letter-spacing: 2px;
    margin-bottom: 32px;
}

.sutra-text .sutra-body {
    font-size: 18px;
    line-height: 2.6;
    letter-spacing: 2px;
    color: var(--ink);
    text-align: justify;
}

.sutra-text .sutra-body p {
    margin-bottom: 16px;
}
.sutra-body img {
    width: 100%;
    max-width: 100%;
}
.sutra-text .sutra-body .verse-block {
    background: var(--incense-smoke);
    padding: 24px 32px;
    border-left: 4px solid var(--gold);
    margin: 24px 0;
    border-radius: 0 8px 8px 0;
    text-indent: 0;
    font-style: italic;
    color: var(--burgundy);
}

.sutra-text .sutra-body .verse-block p {
    text-indent: 0;
    margin-bottom: 4px;
}

.commentary {
    background: #fff;
    border-radius: 12px;
    padding: 40px 48px;
    box-shadow: 0 4px 24px rgba(44, 36, 22, 0.06);
    border: 1px solid rgba(201, 168, 76, 0.12);
    margin-bottom: 40px;
}

.commentary h3 {
    font-size: 20px;
    color: var(--burgundy);
    letter-spacing: 4px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(201, 168, 76, 0.2);
    display: flex;
    align-items: center;
    gap: 10px;
}

.commentary h3 i { color: var(--gold); }
.commentary p {
    font-size: 16px;
    color: var(--ink-light);
    text-align: justify;
    margin-bottom: 16px;
    text-indent: 2em;
}
.commentary p:last-child { margin-bottom: 0; }

/* ========== 法语内容样式 ========== */
.fayu-content {
    font-size: 20px;
    line-height: 2.8;
    letter-spacing: 3px;
    color: var(--ink);
    text-align: center;
    padding: 20px 10px;
    font-weight: 500;
}
.fayu-content p {
    margin-bottom: 20px;
    text-indent: 0;
}

/* ===== 点赞按钮 ===== */
.fayu-actions {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(201, 168, 76, 0.15);
}
.fayu-actions .agree-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 32px;
    background: linear-gradient(135deg, var(--burgundy-deep), var(--burgundy));
    color: var(--gold-light);
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s;
    letter-spacing: 2px;
}
.fayu-actions .agree-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(61, 14, 14, 0.35);
    background: linear-gradient(135deg, var(--burgundy), #4a1515);
    color: #fff;
}
.fayu-actions .agree-btn i {
    font-size: 18px;
}
.fayu-actions .agree-btn.agreed {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--burgundy-deep);
}

/* ========== 相关推荐（内容页用） ========== */
.related-section {
    max-width: 900px;
    margin: 0 auto 60px;
    padding: 0 24px;
}

.related-section h4 {
    font-size: 18px;
    color: var(--burgundy);
    letter-spacing: 4px;
    margin-bottom: 24px;
    text-align: center;
}

.related-section .related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.related-section .related-item {
    background: #fff;
    border-radius: 8px;
    padding: 20px 24px;
    border: 1px solid rgba(201, 168, 76, 0.12);
    transition: all 0.3s;
    text-align: center;
}

.related-section .related-item:hover {
    border-color: rgba(201, 168, 76, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(44, 36, 22, 0.08);
}

.related-section .related-item .r-icon {
    font-size: 28px;
    color: var(--gold);
    margin-bottom: 8px;
}

.related-section .related-item h5 {
    font-size: 16px;
    color: var(--burgundy);
    letter-spacing: 2px;
}

.related-section .related-item p {
    font-size: 13px;
    color: var(--ink-light);
    opacity: 0.7;
    margin-top: 4px;
}

/* ========== 工具栏（列表页用） ========== */
.toolbar {
    max-width: 1200px;
    margin: 0 auto;
    padding: 28px 24px 8px;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.toolbar .category-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    flex: 1;
}

.toolbar .category-wrap a {
    padding: 5px 18px;
    border-radius: 20px;
    font-size: 14px;
    letter-spacing: 1px;
    color: var(--ink-light);
    background: #fff;
    border: 1px solid rgba(201, 168, 76, 0.15);
    transition: all 0.3s;
    white-space: nowrap;
}

.toolbar .category-wrap a:hover,
.toolbar .category-wrap a.active {
    background: var(--gold);
    color: #fff;
    border-color: var(--gold);
}

.toolbar .category-wrap .more-btn {
    padding: 5px 16px;
    border-radius: 20px;
    font-size: 14px;
    letter-spacing: 1px;
    color: var(--gold-dark);
    background: transparent;
    border: 1px dashed rgba(201, 168, 76, 0.4);
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.toolbar .category-wrap .more-btn:hover {
    background: var(--gold);
    color: #fff;
    border-color: var(--gold);
    border-style: solid;
}

.toolbar .search-box {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    padding: 4px 16px;
    border-radius: 24px;
    border: 1px solid rgba(201, 168, 76, 0.2);
    flex-shrink: 0;
    min-width: 200px;
}

.toolbar .search-box input {
    border: none;
    outline: none;
    padding: 8px 0;
    font-size: 14px;
    background: transparent;
    font-family: inherit;
    color: var(--ink);
    flex: 1;
    min-width: 80px;
}

.toolbar .search-box input::placeholder {
    color: var(--ink-light);
    opacity: 0.4;
}

.toolbar .search-box button {
    background: none;
    border: none;
    color: var(--gold);
    cursor: pointer;
    font-size: 16px;
    flex-shrink: 0;
    padding: 4px;
}

/* ========== 更多分类弹出层（列表页用） ========== */
.category-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

.category-overlay.active {
    display: flex;
}

.category-overlay .overlay-content {
    background: #fff;
    border-radius: 16px;
    padding: 40px 48px;
    max-width: 640px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.category-overlay .overlay-content .close-btn {
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 28px;
    color: var(--ink-light);
    opacity: 0.5;
    cursor: pointer;
    background: none;
    border: none;
    transition: opacity 0.3s;
}

.category-overlay .overlay-content .close-btn:hover {
    opacity: 1;
}

.category-overlay .overlay-content h3 {
    font-size: 20px;
    color: var(--burgundy);
    letter-spacing: 4px;
    margin-bottom: 24px;
    text-align: center;
}

.category-overlay .overlay-content .overlay-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    justify-content: center;
}

.category-overlay .overlay-content .overlay-grid a {
    padding: 6px 22px;
    border-radius: 20px;
    font-size: 15px;
    letter-spacing: 1px;
    color: var(--ink-light);
    background: var(--cream);
    border: 1px solid rgba(201, 168, 76, 0.12);
    transition: all 0.3s;
}

.category-overlay .overlay-content .overlay-grid a:hover,
.category-overlay .overlay-content .overlay-grid a.active {
    background: var(--gold);
    color: #fff;
    border-color: var(--gold);
}

/* ========== 列表主体（列表页用） ========== */
.list-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 24px 80px;
}

.list-stats {
    text-align: center;
    font-size: 15px;
    color: var(--ink-light);
    opacity: 0.6;
    letter-spacing: 2px;
    margin-bottom: 24px;
}

.list-stats span {
    color: var(--gold-dark);
    font-weight: 700;
}

.list-item {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #fff;
    padding: 18px 24px;
    border-radius: 8px;
    border: 1px solid rgba(201, 168, 76, 0.10);
    transition: all 0.3s;
    margin-bottom: 14px;
}

.list-item:hover {
    border-color: rgba(201, 168, 76, 0.35);
    box-shadow: 0 8px 30px rgba(44, 36, 22, 0.08);
    transform: translateX(4px);
}

.list-item .item-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: var(--incense-smoke);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--gold);
}

.list-item .item-info {
    flex: 1;
    min-width: 0;
}

.list-item .item-info h3 {
    font-size: 17px;
    color: var(--burgundy);
    letter-spacing: 2px;
    margin-bottom: 2px;
}

.list-item .item-info h3 a {
    color: var(--burgundy);
}
.list-item .item-info h3 a:hover {
    color: var(--gold);
}

.list-item .item-info .item-meta {
    font-size: 13px;
    color: var(--ink-light);
    opacity: 0.6;
    letter-spacing: 1px;
    display: flex;
    flex-wrap: wrap;
    gap: 4px 16px;
}

.list-item .item-info .item-meta span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.list-item .item-info .item-desc {
    font-size: 14px;
    color: var(--ink-light);
    opacity: 0.7;
    margin-top: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.list-item .item-tag {
    flex-shrink: 0;
    padding: 2px 14px;
    border-radius: 12px;
    font-size: 12px;
    letter-spacing: 1px;
    background: var(--incense-smoke);
    color: var(--gold-dark);
    border: 1px solid rgba(201, 168, 76, 0.15);
    white-space: nowrap;
}

/* ========== 分页占位（列表页用） ========== */
.pagination-placeholder {
    text-align: center;
    margin-top: 32px;
    font-size: 14px;
    color: var(--ink-light);
    opacity: 0.4;
    letter-spacing: 2px;
}

/* ========== 法语列表样式 ========== */
.fayu-page {
    max-width: 1000px;
    margin: 0 auto;
    padding: 32px 24px 80px;
}

/* ===== 排序工具栏 ===== */
.sort-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    background: #fff;
    border-radius: 12px;
    padding: 16px 24px;
    margin-bottom: 28px;
    border: 1px solid rgba(201, 168, 76, 0.10);
    box-shadow: 0 2px 12px rgba(44, 36, 22, 0.04);
}

.sort-toolbar .sort-label {
    font-size: 14px;
    color: var(--ink-light);
    opacity: 0.6;
    letter-spacing: 1px;
}

.sort-toolbar .sort-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.sort-toolbar .sort-btn {
    padding: 6px 18px;
    border: 1px solid rgba(201, 168, 76, 0.15);
    border-radius: 20px;
    background: var(--cream);
    color: var(--ink-light);
    font-size: 13px;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s;
    letter-spacing: 1px;
}

.sort-toolbar .sort-btn:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.sort-toolbar .sort-btn.active {
    border-color: var(--gold);
    background: linear-gradient(135deg, var(--burgundy-deep), var(--burgundy));
    color: var(--gold-light);
}

.sort-toolbar .sort-btn i {
    margin-right: 4px;
    font-size: 12px;
}

/* ===== 统计信息 ===== */
.fayu-stats {
    text-align: center;
    font-size: 14px;
    color: var(--ink-light);
    opacity: 0.6;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.fayu-stats span {
    color: var(--gold-dark);
    font-weight: 700;
}

/* ===== 法语列表项 ===== */
.fayu-list .list-item {
    background: #fff;
    border-radius: 12px;
    padding: 24px 32px;
    margin-bottom: 16px;
    border: 1px solid rgba(201, 168, 76, 0.08);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.fayu-list .list-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--gold), var(--gold-light));
    opacity: 0;
    transition: opacity 0.3s;
}

.fayu-list .list-item:hover {
    border-color: rgba(201, 168, 76, 0.30);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(44, 36, 22, 0.08);
}

.fayu-list .list-item:hover::before {
    opacity: 1;
}

.fayu-list .list-item .item-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: var(--incense-smoke);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--gold);
    float: left;
    margin-right: 16px;
}

.fayu-list .list-item .item-info {
    overflow: hidden;
}

.fayu-list .list-item .item-info h3 {
    font-size: 16px;
    color: var(--burgundy);
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 6px;
}

.fayu-list .list-item .item-info h3 a {
    color: var(--burgundy);
}

.fayu-list .list-item .item-info h3 a:hover {
    color: var(--gold);
}

.fayu-list .list-item .item-info .item-desc {
    font-size: 15px;
    color: var(--ink-light);
    line-height: 2;
    letter-spacing: 1px;
    text-align: justify;
}

/* ========== 页脚 ========== */
.footer {
    background: var(--burgundy-deep);
    color: var(--cream);
    padding: 60px 24px 30px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    font-size: 22px;
    color: var(--gold-light);
    letter-spacing: 4px;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 14px;
    opacity: 0.7;
    line-height: 1.8;
}

.footer-col h4 {
    font-size: 16px;
    color: var(--gold);
    letter-spacing: 3px;
    margin-bottom: 16px;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
    color: var(--cream);
    opacity: 0.7;
    font-size: 14px;
    letter-spacing: 1px;
}
.footer-col a:hover { opacity: 1; color: var(--gold-light); }

.footer-bottom {
    border-top: 1px solid rgba(201, 168, 76, 0.15);
    padding-top: 24px;
    text-align: center;
    font-size: 13px;
    opacity: 0.5;
    letter-spacing: 1px;
}

/* ========== 滚动动画 ========== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ========== 响应式 ========== */
@media (max-width: 968px) {
    .intro-grid { grid-template-columns: 1fr; gap: 40px; }
    .scripture-cards { grid-template-columns: 1fr; }
    .teachings-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .related-section .related-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-menu-btn { display: block; }

    /* 首页响应式 */
    .hero-title { letter-spacing: 6px; }
    .hero-verse { padding: 16px 20px; font-size: 16px; }
    .section { padding: 60px 20px; }
    .excerpt-block { padding: 24px; }
    .mandala { width: 240px; height: 240px; }
    .mandala::before { width: 200px; height: 200px; }
    .mandala::after { width: 170px; height: 170px; }
    .mandala-center { font-size: 48px; }

    /* 内容页响应式 */
    .page-banner { padding: 120px 20px 40px; }
    .sutra-text { padding: 28px 20px; }
    .sutra-text .sutra-body { font-size: 16px; line-height: 2.2; }
    .commentary { padding: 24px 20px; }
    .commentary h3 { font-size: 18px; }
    .banner-content .banner-meta { gap: 16px; font-size: 13px; }
    .related-section .related-grid { grid-template-columns: 1fr; }
    .fayu-content {
        font-size: 17px;
        line-height: 2.4;
        letter-spacing: 2px;
        padding: 10px 5px;
    }
    .fayu-actions .agree-btn {
        padding: 8px 24px;
        font-size: 14px;
    }

    /* 列表页响应式 */
    .page-banner { padding: 120px 20px 36px; }
    .banner-content h1 { letter-spacing: 6px; }

    .toolbar {
        flex-direction: column;
        align-items: stretch;
        padding: 20px 16px 4px;
        gap: 12px;
    }
    .toolbar .category-wrap { gap: 8px; justify-content: flex-start; }
    .toolbar .category-wrap a { font-size: 14px; padding: 6px 16px; }
    .toolbar .category-wrap .more-btn { font-size: 14px; padding: 6px 14px; }
    .toolbar .search-box { width: 100%; min-width: unset; padding: 4px 16px; }
    .toolbar .search-box input { font-size: 15px; padding: 10px 0; }

    .list-main { padding: 16px 16px 60px; }
    .list-stats { font-size: 14px; margin-bottom: 18px; }

    .list-item {
        padding: 16px 18px;
        gap: 14px;
        flex-wrap: wrap;
    }
    .list-item .item-icon { width: 42px; height: 42px; font-size: 18px; }
    .list-item .item-info { flex: 1 1 100%; order: 2; }
    .list-item .item-info h3 { font-size: 17px; letter-spacing: 1px; }
    .list-item .item-info .item-meta { font-size: 13px; gap: 2px 14px; }
    .list-item .item-info .item-desc { font-size: 14px; -webkit-line-clamp: 2; line-height: 1.6; }
    .list-item .item-tag { font-size: 12px; padding: 2px 14px; order: 1; }
    .list-item:hover { transform: none; }

    .footer-grid { grid-template-columns: 1fr; gap: 24px; }

    /* 弹出层移动端适配 */
    .category-overlay .overlay-content {
        padding: 32px 24px;
        width: 92%;
    }
    .category-overlay .overlay-content .overlay-grid a {
        font-size: 14px;
        padding: 6px 16px;
    }

    /* 法语列表响应式 */
    .fayu-page {
        padding: 20px 16px 60px;
    }
    .sort-toolbar {
        padding: 14px 16px;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    .sort-toolbar .sort-buttons {
        justify-content: center;
    }
    .sort-toolbar .sort-btn {
        font-size: 12px;
        padding: 4px 14px;
    }
    .fayu-list .list-item {
        padding: 18px 18px;
    }
    .fayu-list .list-item .item-icon {
        width: 38px;
        height: 38px;
        font-size: 16px;
        margin-right: 12px;
    }
    .fayu-list .list-item .item-info h3 {
        font-size: 15px;
    }
    .fayu-list .list-item .item-info .item-desc {
        font-size: 14px;
        line-height: 1.9;
    }
}

@media (max-width: 480px) {
    .toolbar .category-wrap a { font-size: 13px; padding: 5px 13px; }
    .toolbar .category-wrap .more-btn { font-size: 13px; padding: 5px 12px; }

    .list-item { padding: 14px 14px; gap: 10px; }
    .list-item .item-info h3 { font-size: 16px; }
    .list-item .item-info .item-meta { font-size: 12px; gap: 2px 10px; }
    .list-item .item-info .item-desc { font-size: 13px; }
    .list-item .item-tag { font-size: 11px; padding: 1px 12px; }

    .category-overlay .overlay-content { padding: 24px 16px; }
    .category-overlay .overlay-content h3 { font-size: 17px; }
    .category-overlay .overlay-content .overlay-grid a { font-size: 13px; padding: 5px 14px; }

    /* 法语列表响应式 */
    .sort-toolbar {
        padding: 12px 12px;
    }
    .sort-toolbar .sort-btn {
        font-size: 11px;
        padding: 3px 10px;
    }
    .fayu-list .list-item {
        padding: 14px 14px;
    }
    .fayu-list .list-item .item-icon {
        width: 32px;
        height: 32px;
        font-size: 14px;
        margin-right: 10px;
    }
    .fayu-list .list-item .item-info h3 {
        font-size: 14px;
    }
    .fayu-list .list-item .item-info .item-desc {
        font-size: 13px;
        line-height: 1.8;
    }
    .fayu-content {
        font-size: 15px;
        line-height: 2.2;
        letter-spacing: 1px;
    }
    .fayu-actions .agree-btn {
        padding: 6px 18px;
        font-size: 13px;
    }
    .page-banner {
        padding: 100px 16px 30px;
    }
    .banner-content h1 {
        font-size: 20px;
        letter-spacing: 4px;
    }
}

/* ===== 返回顶部按钮样式 ===== */
.back-to-top {
    position: fixed;
    bottom: 40px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--burgundy-deep), var(--burgundy));
    color: var(--gold-light);
    border: 2px solid rgba(201, 168, 76, 0.3);
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s ease;
    z-index: 999;
    box-shadow: 0 4px 20px rgba(61, 14, 14, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top:hover {
    background: linear-gradient(135deg, var(--burgundy), #4a1515);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 6px 30px rgba(61, 14, 14, 0.5);
    border-color: var(--gold);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top .fa-chevron-up {
    animation: none;
}

.back-to-top:hover .fa-chevron-up {
    animation: floatUp 1s ease-in-out infinite;
}

@keyframes floatUp {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 16px;
        width: 42px;
        height: 42px;
        font-size: 17px;
    }
}

@media (max-width: 480px) {
    .back-to-top {
        bottom: 16px;
        right: 12px;
        width: 38px;
        height: 38px;
        font-size: 15px;
    }
}