* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #f8f5f0;
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    color: #2a241f;
    line-height: 1.55;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background-image: radial-gradient(circle at 20% 30%, rgba(180, 150, 110, 0.05) 1.2%, transparent 1.5%);
    background-size: 48px 48px;
    z-index: -1;
}

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

.card {
    background: #ffffff;
    border-radius: 32px;
    padding: 2rem 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.02), 0 0 0 1px #efe3d6;
    transition: all 0.2s ease;
}

.section-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
    border-bottom: 1.5px solid #efe3d6;
    padding-bottom: 0.65rem;
}

.section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.85rem;
    font-weight: 600;
    color: #4f351f;
    letter-spacing: -0.2px;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.section-title i {
    color: #c49a6c;
    font-size: 1.6rem;
}

.more-link {
    font-size: 0.75rem;
    padding: 0.25rem 0.6rem;
    color: #9b724c;
    text-decoration: none;
    transition: 0.2s;
    font-weight: 450;
    border-radius: 40px;
    background: transparent;
}

.more-link:hover {
    background: #f5efe8;
}

.hero {
    background: #ffffff;
    border-radius: 32px;
    padding: 2rem 2rem;
    margin-bottom: 2rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.02), 0 0 0 1px #efe3d6;
}

.avatar {
    flex-shrink: 0;
    width: 112px;
    height: 112px;
    background: #e8ddcf;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 12px 20px -10px rgba(0, 0, 0, 0.08);
    border: 2px solid #fffcf7;
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-info h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.6rem;
    font-weight: 600;
    color: #3c2a1a;
    letter-spacing: 1px;
}

.hero-badge {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.75rem;
}

.hero-tag {
    background: #f4ede4;
    padding: 0.2rem 0.9rem;
    border-radius: 40px;
    font-size: 0.7rem;
    font-weight: 500;
    color: #9b724c;
}

.timeline-compact {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.timeline-item {
    display: flex;
    gap: 1.2rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid #f1e8df;
}

.timeline-year {
    min-width: 105px;
    font-weight: 600;
    color: #bc895c;
    font-size: 0.85rem;
    letter-spacing: 0.3px;
}

.timeline-text {
    font-size: 0.92rem;
    color: #362c24;
    line-height: 1.5;
}

.quote-gentle {
    background: #fbf6ef;
    border-radius: 20px;
    padding: 1rem 1.2rem;
    text-align: center;
    margin-top: 1.5rem;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    color: #7a5a3a;
    border-left: 3px solid #e5cfb4;
    border-right: 3px solid #e5cfb4;
}

.two-column-elegant {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.8rem;
}

.info-card-light {
    background: #fefbf7;
    border-radius: 24px;
    padding: 1.2rem 1.4rem;
    border: 1px solid #f0e4d8;
}

.info-card-light h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #9a6e48;
    margin-bottom: 0.9rem;
}

.plain-list {
    list-style: none;
}

.plain-list li {
    margin-bottom: 0.7rem;
    font-size: 0.9rem;
    line-height: 1.45;
}

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

.legacy-block {
    background: #fefcf8;
    border-radius: 24px;
    padding: 1.2rem 1.4rem;
    border: 1px solid #f0e6dc;
}

.legacy-block h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #9a6e48;
    margin-bottom: 0.8rem;
}

.lineage-tree {
    font-size: 0.9rem;
    line-height: 1.6;
}

.sub-note {
    margin-top: 0.6rem;
    padding-left: 0.8rem;
    border-left: 2px solid #edd3bc;
    font-size: 0.88rem;
}

.scroll-quote-area {
    overflow: hidden;
    position: relative;
    height: 160px;
    margin: 0.8rem 0 0;
}

.scroll-list {
    list-style: none;
    animation: scrollQuotes 22s linear infinite;
}

.scroll-list li {
    padding: 0.5rem 0.2rem;
    font-family: 'Cormorant Garamond', serif;
    font-size: 0.95rem;
    color: #7f6242;
    border-bottom: 1px solid #f0e4d8;
    text-align: left;
    white-space: normal;
    word-break: break-word;
}

.scroll-list li a {
    text-decoration: none;
    color: #7f6242;
    display: block;
}

@keyframes scrollQuotes {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}

.scroll-quote-area:hover .scroll-list {
    animation-play-state: paused;
}

.article-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem 1.8rem;
}

.article-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 0;
    border-bottom: 1px solid #f0e4d8;
}

.article-item a {
    text-decoration: none;
    color: #4a341e;
    font-weight: 480;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.article-item a:hover {
    color: #bc8a5c;
}

.article-icon-link {
    color: #bc8a5c;
    font-size: 0.7rem;
    margin-left: 0.5rem;
    text-decoration: none;
}

.article-icon-link:hover {
    color: #9b724c;
}

.video-movie-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 1.2rem;
    margin-top: 0.5rem;
}

.movie-card {
    background: #fefcf9;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid #efe0d2;
    transition: transform 0.25s ease, box-shadow 0.25s;
    cursor: pointer;
}

.movie-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 20px -10px rgba(0, 0, 0, 0.1);
}

.movie-poster {
    background: linear-gradient(145deg, #dacbbc, #cbb99f);
    aspect-ratio: 200 / 210;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.6rem;
    color: #836e4e;
}

.movie-title {
    padding: 0.7rem 0.4rem;
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
    color: #3d2c1c;
    background: #fffcf8;
    border-top: 1px solid #f3e6da;
}

.temple-showcase {
    background: #fef7f0;
    border-radius: 28px;
    padding: 1.5rem;
    margin: 0.5rem 0;
}

.temple-cover {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.06);
    margin-bottom: 1rem;
}

.temple-cover img {
    width: 100%;
    height: auto;
    display: block;
}

.info-highlight {
    background: #fff3e8;
    padding: 0.8rem 1rem;
    border-radius: 20px;
    margin: 1rem 0;
}

.temple-video-inline {
    margin: 1.2rem 0;
    border-radius: 24px;
    overflow: hidden;
    background: #e7d9cb;
}

.temple-video-inline video {
    width: 100%;
    display: block;
}

.temple-description {
    font-size: 0.92rem;
    line-height: 1.65;
    color: #3f3024;
}

.temple-description p {
    margin-bottom: 0.85rem;
}

.address-card {
    background: #ffffffd9;
    border-radius: 20px;
    padding: 0.8rem 1rem;
    margin-top: 1.2rem;
    border: 1px solid #f0e2d4;
    font-size: 0.85rem;
    color: #7d6142;
    text-align: center;
}

.footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e6d9cc;
    font-size: 0.7rem;
    color: #b28a62;
}

.footer a {
    color: #b28a62;
    text-decoration: none;
}
.footer-links {
        display: flex;
        justify-content: center;
        gap: 1.5rem;
        flex-wrap: wrap;
        margin-bottom: 1rem;
    }
    .footer-links a {
        color: #b28a62;
        text-decoration: none;
        font-size: 0.75rem;
        transition: color 0.2s ease;
    }
    .footer-links a:hover {
        color: #b87a3a;
        text-decoration: underline;
    }
/* 列表页专用样式 */
.nav-tabs {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.4rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid #e8dccc;
    padding-bottom: 0.5rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.tab-link {
    background: transparent;
    padding: 0.5rem 0.8rem;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    color: #7d6246;
    transition: all 0.2s;
    white-space: nowrap;
    flex: 1;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.tab-link i {
    font-size: 0.9rem;
}

.tab-link.active, .tab-link:hover {
    background: #f1e8df;
    color: #4f351f;
}

.articles-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem 1.5rem;
}

.pure-article {
    padding: 0.6rem 0;
    border-bottom: 1px solid #f0e4d8;
}

.pure-article a {
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
    color: #4a341e;
    display: block;
    transition: color 0.2s;
}

.pure-article a:hover {
    color: #bc8a5c;
}

.dharma-list {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.pure-quote {
    padding: 0.8rem 0.2rem;
    border-bottom: 1px solid #f0e4d8;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1rem;
    color: #5a4532;
    line-height: 1.45;
}

.movies-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 0;
}

.movies-list .movie-card {
    cursor: pointer;
}

.movies-list .movie-info {
    padding: 0.7rem 0.4rem;
    text-align: center;
}

.movies-list .movie-info h4 {
    font-weight: 600;
    font-size: 0.85rem;
    color: #3d2c1c;
    line-height: 1.3;
}

.loading-trigger {
    text-align: center;
    padding: 1rem;
    margin-top: 1rem;
    color: #b28a62;
    font-size: 0.8rem;
}

/* 内容页专用样式 */
.article-header {
    margin-bottom: 2rem;
    border-bottom: 1px solid #efe3d6;
    padding-bottom: 1rem;
}

.article-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.9rem;
    font-weight: 600;
    color: #4f351f;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.article-meta {
    font-size: 0.75rem;
    color: #b28a62;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.article-content {
    font-size: 1rem;
    color: #362c24;
}

.article-content p {
    margin-bottom: 1.2rem;
}

.article-content h2 {
    font-size: 1.4rem;
    margin: 1.5rem 0 0.8rem;
    color: #6b4c2e;
}

.article-content h3 {
    font-size: 1.2rem;
    margin: 1rem 0 0.5rem;
}

.dharma-header {
    text-align: center;
    margin-bottom: 1.8rem;
}

.dharma-quote {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
    line-height: 1.4;
    color: #7a5a3a;
    background: #fef7ef;
    padding: 2rem;
    border-radius: 32px;
    margin-bottom: 2rem;
    text-align: center;
    border-left: 4px solid #e0cfb6;
    border-right: 4px solid #e0cfb6;
}

.dharma-source {
    font-size: 0.85rem;
    color: #b28a62;
    text-align: right;
    margin-top: 0.5rem;
}

.dharma-comment {
    font-size: 1rem;
    margin-top: 1.5rem;
}

.movie-header {
    margin-bottom: 1.5rem;
}

.movie-cover {
    background: linear-gradient(145deg, #dacbbc, #cbb99f);
    border-radius: 28px;
    aspect-ratio: 16 / 9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: #8b6946;
    margin-bottom: 1.5rem;
}

.movie-title-lg {
    font-size: 1.6rem;
    font-weight: 600;
    color: #4f351f;
    margin-bottom: 0.5rem;
}

.movie-info {
    font-size: 0.85rem;
    color: #b28a62;
}

.back-link {
    display: inline-block;
    margin-top: 1rem;
    color: #9b724c;
    text-decoration: none;
    font-size: 0.85rem;
}

.back-link i {
    margin-right: 0.3rem;
}

/* ========== 移动端响应式 (仅移动端生效，PC不变) ========== */
@media (max-width: 680px) {
    .container {
        padding: 1rem 1rem 2rem;
    }
.legacy-block h3 {
    font-size: 1rem;
}
    .hero {
        flex-direction: column;
        text-align: center;
        gap: 0.8rem;
    }.articles-list {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .hero-info h1 {
        font-size: 1.8rem;
    }

    .hero-badge {
        display: grid;
        grid-template-columns: repeat(2, auto);
        justify-content: center;
        gap: 0.5rem 0.8rem;
    }

    .section-title {
        font-size: 1.4rem;
    }

    .section-title i {
        font-size: 1.2rem;
    }

    .info-card-light h3 {
        font-size: 0.95rem;
    }

    .timeline-item {
        flex-direction: column;
        gap: 0.2rem;
    }

    .timeline-year {
        min-width: auto;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .article-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .video-movie-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 0.8rem;
    }

    .movie-poster {
        aspect-ratio: 200 / 190;
        font-size: 2rem;
    }

    .movie-title {
        font-size: 0.75rem;
        padding: 0.5rem 0.3rem;
    }

    /* 列表页移动端 */
    .tab-link {
        font-size: 0.75rem;
        padding: 0.4rem 0.2rem;
    }

    .tab-link i {
        font-size: 0.8rem;
    }

.movies-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
    margin-bottom: 0;
}

    .movies-list .movie-poster {
        font-size: 2.2rem;
    }

    .movies-list .movie-info h4 {
        font-size: 0.75rem;
    }

    /* 内容页移动端 */
    .article-title {
        font-size: 1.6rem;
    }

    .dharma-quote {
        font-size: 1.3rem;
        padding: 1.2rem;
    }

    .movie-title-lg {
        font-size: 1.3rem;
    }
}