/**
 * 道家学院 - 平衡极简主义风格
 * Taoist Academy - Zen Minimalist Balance Style
 * The Art of Equilibrium
 */

/* ========================================
   CSS 变量 - Variables
   ======================================== */
:root {
    /* 核心配色 - 黑白平衡 + 自然点缀 */
    --zen-white: #FAFAFA;
    --zen-pure-white: #FFFFFF;
    --zen-black: #1A1A1A;
    --zen-bamboo: #607C64;
    --zen-bamboo-light: #7a9a7e;
    --zen-gold: #B8860B;
    --zen-gray: #888888;
    --zen-light-gray: #E8E8E8;
    --zen-border: #E0E0E0;
    
    /* 动效时长 */
    --transition-slow: 0.4s;
    --transition-normal: 0.3s;
}

/* ========================================
   基础样式 - Base
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Roboto", "Inter", "Helvetica Neue", "PingFang SC", "Microsoft YaHei", sans-serif;
    background: var(--zen-white);
    color: var(--zen-black);
    line-height: 1.7;
    font-weight: 400;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-normal) ease;
}

a:hover {
    color: var(--zen-bamboo);
}

/* ========================================
   顶部导航栏 - Navbar
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 56px;
    background: var(--zen-black);
    display: flex;
    align-items: center;
    padding: 0 16px;
    z-index: 1000;
}

.menu-btn {
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background var(--transition-normal);
}

.menu-btn:hover {
    background: rgba(255,255,255,0.1);
}

.menu-btn svg {
    fill: var(--zen-pure-white);
}

.navbar-logo {
    display: flex;
    align-items: center;
    margin-left: 16px;
    margin-right: 24px;
}

.navbar-logo svg {
    stroke: var(--zen-pure-white);
}

.navbar-logo span {
    font-size: 18px;
    font-weight: 500;
    color: var(--zen-pure-white);
    margin-left: 10px;
    letter-spacing: 0.05em;
}

/* 搜索框 */
.search-box {
    flex: 1;
    max-width: 600px;
    display: flex;
    margin: 0 auto;
}

.search-box input {
    flex: 1;
    height: 40px;
    border: 1px solid rgba(255,255,255,0.2);
    border-right: none;
    padding: 0 16px;
    font-size: 14px;
    outline: none;
    background: rgba(255,255,255,0.05);
    color: var(--zen-pure-white);
    font-family: inherit;
    transition: all var(--transition-normal);
}

.search-box input::placeholder {
    color: rgba(255,255,255,0.5);
}

.search-box input:focus {
    border-color: var(--zen-bamboo);
    background: rgba(255,255,255,0.1);
}

.search-box button {
    width: 64px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-left: none;
    cursor: pointer;
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-box button:hover {
    background: var(--zen-bamboo);
}

.search-box button svg {
    fill: rgba(255,255,255,0.8);
}

/* 移动端搜索按钮 */
.search-icon-btn {
    display: none;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    border-radius: 50%;
}

.search-icon-btn svg {
    fill: var(--zen-pure-white);
}

/* 用户区域 */
.navbar-user {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-left: 16px;
}

.navbar-user a {
    color: rgba(255,255,255,0.9);
    font-size: 14px;
    padding: 8px 12px;
    transition: all var(--transition-normal);
}

.navbar-user a:hover {
    color: var(--zen-bamboo);
}

/* ========================================
   侧边栏 - Sidebar
   ======================================== */
.sidebar {
    position: fixed;
    top: 56px;
    left: 0;
    width: 260px;
    height: calc(100vh - 56px);
    background: var(--zen-light-gray);
    border-right: 1px solid var(--zen-border);
    overflow-y: auto;
    padding: 12px 0;
    z-index: 999;
    transition: transform var(--transition-normal);
}

.sidebar-item {
    display: flex;
    align-items: center;
    padding: 10px 24px;
    color: var(--zen-black);
    font-size: 14px;
    cursor: pointer;
    transition: all var(--transition-normal);
    border-left: 3px solid transparent;
}

.sidebar-item:hover {
    background: rgba(96, 124, 100, 0.08);
    color: var(--zen-bamboo);
}

.sidebar-item.active {
    background: rgba(96, 124, 100, 0.1);
    color: var(--zen-bamboo);
    border-left-color: var(--zen-bamboo);
    font-weight: 500;
}

.sidebar-item svg {
    width: 24px;
    height: 24px;
    margin-right: 24px;
    flex-shrink: 0;
}

.sidebar-item span {
    white-space: normal;
    word-wrap: break-word;
    line-height: 1.3;
    flex: 1;
    min-width: 0;
}

.sidebar-divider {
    height: 1px;
    background: var(--zen-border);
    margin: 12px 24px;
}

.sidebar-title {
    padding: 16px 24px 8px;
    font-size: 11px;
    color: var(--zen-gray);
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* ========================================
   主内容区 - Main Content
   ======================================== */
.main-content {
    margin-left: 260px;
    margin-top: 56px;
    padding: 24px;
    min-height: calc(100vh - 56px);
    background: var(--zen-white);
}

/* ========================================
   使命横幅 - Mission Banner
   ======================================== */
.mission-banner {
    background: var(--zen-light-gray);
    color: var(--zen-black);
    padding: 16px 24px;
    text-align: center;
    margin: -24px -24px 24px -24px;
    font-size: 14px;
    border-bottom: 1px solid var(--zen-border);
}

.mission-banner strong {
    color: var(--zen-bamboo);
}

/* ========================================
   轮播图 - Carousel
   ======================================== */
.carousel-container {
    position: relative;
    width: 100%;
    margin-bottom: 24px;
    overflow: hidden;
    border-radius: 8px;
}

.carousel-wrapper {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-slide {
    min-width: 100%;
    position: relative;
}

.carousel-slide img {
    width: 100%;
    aspect-ratio: 21/9;
    object-fit: cover;
    display: block;
}

.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 32px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: var(--zen-pure-white);
}

.carousel-caption h3 {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 8px;
}

.carousel-caption p {
    font-size: 14px;
    opacity: 0.9;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(0,0,0,0.5);
    border: none;
    color: var(--zen-pure-white);
    font-size: 20px;
    cursor: pointer;
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: var(--zen-bamboo);
}

.carousel-prev { left: 16px; }
.carousel-next { right: 16px; }

.carousel-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    background: rgba(255,255,255,0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.carousel-dot.active {
    background: var(--zen-pure-white);
    width: 24px;
    border-radius: 4px;
}

/* ========================================
   分类标签 - Category Chips
   ======================================== */
.category-chips {
    display: flex;
    gap: 10px;
    padding: 8px 0 24px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.category-chips::-webkit-scrollbar {
    display: none;
}

.chip {
    padding: 8px 16px;
    background: transparent;
    border: 1px solid var(--zen-border);
    font-size: 14px;
    white-space: nowrap;
    cursor: pointer;
    transition: all var(--transition-normal);
    color: var(--zen-black);
    border-radius: 20px;
}

.chip:hover {
    border-color: var(--zen-bamboo);
    color: var(--zen-bamboo);
}

.chip.active {
    background: var(--zen-bamboo);
    color: var(--zen-pure-white);
    border-color: var(--zen-bamboo);
}

/* ========================================
   区块标题 - Section Title
   ======================================== */
.section-title {
    font-size: 16px;
    font-weight: 500;
    margin: 32px 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--zen-black);
}

.section-title span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-title a {
    font-size: 13px;
    color: var(--zen-bamboo);
    font-weight: 400;
}

.section-title a:hover {
    text-decoration: underline;
}

/* ========================================
   Why Choose Us
   ======================================== */
.why-choose-us {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.why-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--zen-pure-white);
    border: 1px solid var(--zen-border);
    transition: all var(--transition-normal);
}

.why-item:hover {
    border-color: var(--zen-bamboo);
}

.why-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.why-text {
    font-size: 13px;
    color: var(--zen-black);
    line-height: 1.5;
}

/* ========================================
   视频网格 - Video Grid
   ======================================== */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 24px;
}

/* ========================================
   视频卡片 - Video Card
   ======================================== */
.video-card {
    display: block;
    cursor: pointer;
    background: var(--zen-pure-white);
    overflow: hidden;
    transition: all var(--transition-slow);
    border: 1px solid var(--zen-border);
}

.video-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    border-color: var(--zen-bamboo);
}

.video-card:hover .video-title {
    color: var(--zen-bamboo);
}

.video-thumbnail {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    background: var(--zen-light-gray);
    overflow: hidden;
}

.video-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.video-card:hover .video-thumbnail img {
    transform: scale(1.05);
}

.video-price-tag {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: var(--zen-black);
    color: var(--zen-pure-white);
    padding: 4px 10px;
    font-size: 14px;
    font-weight: 600;
}

.video-duration {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background: rgba(0,0,0,0.8);
    color: var(--zen-pure-white);
    padding: 4px 8px;
    font-size: 12px;
}

.video-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: var(--zen-bamboo);
    color: var(--zen-pure-white);
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
}

.video-info {
    display: flex;
    padding: 16px;
    gap: 12px;
}

.video-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--zen-bamboo);
    color: var(--zen-pure-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 500;
    flex-shrink: 0;
    object-fit: cover;
}

img.video-avatar {
    background: transparent;
}

.video-meta {
    flex: 1;
    min-width: 0;
}

.video-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--zen-black);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 4px;
    transition: color var(--transition-normal);
}

.video-channel {
    font-size: 13px;
    color: var(--zen-gray);
}

/* ========================================
   FAQ 区块 - FAQ Section
   ======================================== */
.faq-section {
    margin-bottom: 32px;
}

.faq-item {
    border: 1px solid var(--zen-border);
    margin-bottom: 8px;
    background: var(--zen-pure-white);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    color: var(--zen-black);
    transition: all var(--transition-normal);
}

.faq-question:hover {
    color: var(--zen-bamboo);
}

.faq-icon {
    font-size: 20px;
    font-weight: 300;
    transition: transform var(--transition-normal);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all var(--transition-slow);
    font-size: 14px;
    color: var(--zen-gray);
    line-height: 1.8;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 20px 16px;
}

/* ========================================
   会员卡片 - Membership Cards
   ======================================== */
.membership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.membership-card {
    background: var(--zen-pure-white);
    border: 1px solid var(--zen-border);
    padding: 32px 24px;
    text-align: center;
    position: relative;
    transition: all var(--transition-slow);
}

.membership-card:hover {
    border-color: var(--zen-bamboo);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.membership-card.featured {
    border-color: var(--zen-bamboo);
    border-width: 2px;
}

.membership-card.premium {
    border-color: var(--zen-gold);
    border-width: 2px;
}

.membership-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--zen-bamboo);
    color: var(--zen-pure-white);
    padding: 4px 16px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.membership-badge.gold {
    background: var(--zen-gold);
}

.membership-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.membership-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--zen-black);
    margin-bottom: 8px;
}

.membership-price {
    font-size: 32px;
    font-weight: 600;
    color: var(--zen-bamboo);
    margin-bottom: 20px;
}

.membership-price span {
    font-size: 14px;
    font-weight: 400;
    color: var(--zen-gray);
}

.membership-card.premium .membership-price {
    color: var(--zen-gold);
}

.membership-subtitle {
    font-size: 13px;
    color: var(--zen-gray);
    margin-bottom: 20px;
}

.membership-features {
    list-style: none;
    text-align: left;
    margin-bottom: 20px;
}

.membership-features li {
    padding: 8px 0;
    font-size: 13px;
    border-bottom: 1px solid var(--zen-border);
}

.membership-features li:last-child {
    border-bottom: none;
}

.feature-yes {
    color: var(--zen-bamboo);
}

.feature-no {
    color: var(--zen-gray);
}

.membership-target {
    font-size: 12px;
    color: var(--zen-gray);
    font-style: italic;
    margin-bottom: 20px;
}

.membership-btn {
    display: block;
    width: 100%;
    padding: 12px 24px;
    background: var(--zen-black);
    color: var(--zen-pure-white);
    border: none;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-normal);
    text-align: center;
}

.membership-btn:hover {
    background: var(--zen-bamboo);
    color: var(--zen-pure-white);
}

.membership-btn.gold {
    background: var(--zen-gold);
}

.membership-btn.gold:hover {
    background: var(--zen-bamboo);
}

/* ========================================
   Join Banner
   ======================================== */
.join-banner {
    background: var(--zen-light-gray);
    color: var(--zen-black);
    padding: 48px 32px;
    text-align: center;
    margin: 32px -24px;
    border-top: 1px solid var(--zen-border);
    border-bottom: 1px solid var(--zen-border);
}

.join-banner h2 {
    font-size: 28px;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--zen-black);
}

.join-banner h3 {
    font-size: 18px;
    font-weight: 400;
    color: var(--zen-bamboo);
    margin-bottom: 16px;
}

.join-banner p {
    font-size: 14px;
    color: var(--zen-gray);
    max-width: 600px;
    margin: 0 auto 24px;
    line-height: 1.7;
}

.cta-btn {
    display: inline-block;
    padding: 14px 32px;
    background: var(--zen-bamboo);
    color: var(--zen-pure-white);
    font-size: 16px;
    font-weight: 500;
    transition: all var(--transition-normal);
    border: none;
}

.cta-btn:hover {
    background: var(--zen-black);
    color: var(--zen-pure-white);
}

.cta-btn.large {
    padding: 16px 40px;
    font-size: 18px;
}

/* ========================================
   统计区块 - Stats Section
   ======================================== */
.stats-section {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding: 40px 24px;
    text-align: center;
    background: var(--zen-pure-white);
    border: 1px solid var(--zen-border);
    margin-bottom: 32px;
}

.stat-item {
    padding: 16px;
    border-right: 1px solid var(--zen-border);
}

.stat-item:last-child {
    border-right: none;
}

.stat-number {
    font-size: 42px;
    font-weight: 500;
    color: var(--zen-bamboo);
    display: block;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 13px;
    color: var(--zen-gray);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ========================================
   文化页脚 - Culture Footer
   ======================================== */
.culture-footer {
    background: var(--zen-pure-white);
    color: var(--zen-black);
    padding: 48px 32px;
    text-align: center;
    margin: 32px -24px 0;
    border-top: 1px solid var(--zen-border);
}

.culture-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 16px;
}

.culture-icon {
    font-size: 42px;
    display: block;
}

.culture-footer h3 {
    font-size: 22px;
    font-weight: 500;
    margin: 0;
    letter-spacing: 0.1em;
    color: var(--zen-bamboo);
}

.culture-footer p {
    font-size: 14px;
    color: var(--zen-gray);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.9;
}

.bottom-stats {
    margin-top: 20px;
}


/* ========================================
   页脚 - Footer
   ======================================== */
.footer {
    margin-left: 260px;
    padding: 32px 24px;
    background: var(--zen-pure-white);
    text-align: center;
    border-top: 1px solid var(--zen-border);
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 16px;
}

.footer-links a {
    font-size: 13px;
    color: var(--zen-gray);
}

.footer-links a:hover {
    color: var(--zen-bamboo);
}

.footer-copyright {
    font-size: 12px;
    color: var(--zen-gray);
}

/* ========================================
   移动端底部导航 - Mobile Nav
   ======================================== */
.mobile-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 56px;
    background: var(--zen-pure-white);
    border-top: 1px solid var(--zen-border);
    z-index: 1000;
}

.mobile-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: var(--zen-gray);
    font-size: 10px;
    transition: color var(--transition-normal);
}

.mobile-nav-item svg {
    width: 24px;
    height: 24px;
}

.mobile-nav-item.active,
.mobile-nav-item:hover {
    color: var(--zen-bamboo);
}

/* ========================================
   捐赠模态框 - Donate Modal
   ======================================== */
.donate-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.donate-modal.show {
    opacity: 1;
    visibility: visible;
}

.donate-modal-content {
    background: var(--zen-pure-white);
    width: 90%;
    max-width: 420px;
    padding: 32px;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.donate-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    background: transparent;
    border: 1px solid var(--zen-border);
    cursor: pointer;
    font-size: 20px;
    color: var(--zen-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
}

.donate-close:hover {
    border-color: var(--zen-black);
    color: var(--zen-black);
}

.donate-icon {
    font-size: 48px;
    text-align: center;
    margin-bottom: 16px;
}

.donate-modal h2 {
    font-size: 22px;
    font-weight: 500;
    text-align: center;
    margin-bottom: 8px;
}

.donate-modal > .donate-modal-content > p {
    font-size: 14px;
    color: var(--zen-gray);
    text-align: center;
    margin-bottom: 24px;
}

.donate-amounts {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    margin-bottom: 20px;
}

.donate-amount-btn {
    padding: 12px 8px;
    border: 1px solid var(--zen-border);
    background: transparent;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.donate-amount-btn:hover,
.donate-amount-btn.selected {
    border-color: var(--zen-bamboo);
    background: rgba(96, 124, 100, 0.1);
    color: var(--zen-bamboo);
}

.donate-custom,
.donate-email {
    margin-bottom: 16px;
}

.donate-custom label,
.donate-email label,
.donate-payment label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: var(--zen-black);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.donate-custom-input {
    display: flex;
    align-items: center;
    border: 1px solid var(--zen-border);
}

.donate-custom-input span {
    padding: 0 12px;
    color: var(--zen-gray);
}

.donate-custom-input input,
.donate-email input {
    flex: 1;
    padding: 12px;
    border: none;
    font-size: 16px;
    outline: none;
    font-family: inherit;
}

.donate-email input {
    border: 1px solid var(--zen-border);
    width: 100%;
}

.donate-email input:focus,
.donate-custom-input:focus-within {
    border-color: var(--zen-bamboo);
}

.donate-payment {
    margin-bottom: 20px;
}

.donate-payment-options {
    display: flex;
    gap: 8px;
}

.donate-pay-option {
    flex: 1;
    padding: 12px;
    border: 1px solid var(--zen-border);
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-normal);
    font-size: 13px;
}

.donate-pay-option input {
    display: none;
}

.donate-pay-option:hover,
.donate-pay-option.selected {
    border-color: var(--zen-bamboo);
    background: rgba(96, 124, 100, 0.1);
}

.donate-submit-btn {
    width: 100%;
    padding: 14px;
    background: var(--zen-black);
    color: var(--zen-pure-white);
    border: none;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.donate-submit-btn:hover {
    background: var(--zen-bamboo);
}

.donate-submit-btn:disabled {
    background: var(--zen-gray);
    cursor: not-allowed;
}

.donate-note {
    font-size: 12px;
    color: var(--zen-gray);
    text-align: center;
    margin-top: 16px;
}

/* ========================================
   响应式设计 - Responsive
   ======================================== */
@media (max-width: 1024px) {
    .sidebar {
        width: 200px;
    }
    
    .main-content {
        margin-left: 200px;
    }
    
    .footer {
        margin-left: 200px;
    }
    
    .video-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 16px;
    }
    
    .stats-section {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
        width: 240px;
    }
    
    .sidebar.mobile-show {
        transform: translateX(0);
        box-shadow: 4px 0 20px rgba(0,0,0,0.2);
    }
    
    .main-content {
        margin-left: 0;
        padding: 16px;
        padding-bottom: 72px;
    }
    
    .footer {
        margin-left: 0;
        padding-bottom: 72px;
    }
    
    .search-box {
        display: none;
        position: absolute;
        top: 56px;
        left: 0;
        right: 0;
        max-width: none;
        padding: 12px;
        background: var(--zen-black);
    }
    
    .search-box.mobile-show {
        display: flex;
    }
    
    .search-icon-btn {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .mobile-nav {
        display: flex;
    }
    
    .mission-banner {
        margin: -16px -16px 16px -16px;
        padding: 12px 16px;
        font-size: 13px;
    }
    
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .video-info {
        padding: 12px;
    }
    
    .video-avatar {
        display: none;
    }
    
    .video-title {
        font-size: 13px;
    }
    
    .why-choose-us {
        grid-template-columns: 1fr;
    }
    
    .membership-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-section {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        padding: 24px 16px;
    }
    
    .stat-number {
        font-size: 28px;
    }
    
    .join-banner {
        margin: 24px -16px;
        padding: 32px 16px;
    }
    
    .join-banner h2 {
        font-size: 22px;
    }
    
    .culture-footer {
        margin: 24px -16px 0;
        padding: 32px 16px;
    }
    
    .donate-amounts {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 480px) {
    .video-grid {
        grid-template-columns: 1fr;
    }
    
    .category-chips {
        gap: 8px;
    }
    
    .chip {
        padding: 6px 12px;
        font-size: 13px;
    }
}

/* ========================================
   滚动条 - Scrollbar
   ======================================== */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--zen-white);
}

::-webkit-scrollbar-thumb {
    background: var(--zen-border);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--zen-gray);
}

/* ========================================
   选择文本 - Selection
   ======================================== */
::selection {
    background: var(--zen-bamboo);
    color: var(--zen-pure-white);
}

/* ========================================
   打印样式 - Print
   ======================================== */
@media print {
    .navbar,
    .sidebar,
    .mobile-nav,
    .footer,
    .donate-modal {
        display: none !important;
    }
    
    .main-content {
        margin: 0;
        padding: 0;
    }
}


/* ========================================
   About 页面样式 - About Page
   ======================================== */
.about-hero {
    background: var(--zen-light-gray);
    padding: 64px 32px;
    text-align: center;
    margin: -24px -24px 32px -24px;
    border-bottom: 1px solid var(--zen-border);
}

.about-hero-icon {
    font-size: 64px;
    margin-bottom: 16px;
    display: block;
}

.about-hero h1 {
    font-size: 32px;
    font-weight: 500;
    color: var(--zen-black);
    margin-bottom: 12px;
}

.about-hero p {
    font-size: 16px;
    color: var(--zen-gray);
}

.about-section {
    max-width: 900px;
    margin: 0 auto 48px;
    padding: 0 16px;
}

.about-section h2 {
    font-size: 20px;
    font-weight: 500;
    color: var(--zen-black);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--zen-border);
}

.about-section p {
    font-size: 15px;
    color: var(--zen-black);
    line-height: 1.9;
    margin-bottom: 16px;
}

.about-highlight {
    font-size: 18px;
    font-weight: 500;
    color: var(--zen-bamboo);
    text-align: center;
    padding: 16px;
    background: rgba(96, 124, 100, 0.08);
    border-left: 3px solid var(--zen-bamboo);
    margin-bottom: 20px;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.about-card {
    background: var(--zen-pure-white);
    border: 1px solid var(--zen-border);
    padding: 24px;
    text-align: center;
    transition: all var(--transition-normal);
}

.about-card:hover {
    border-color: var(--zen-bamboo);
    transform: translateY(-2px);
}

.about-card-icon {
    font-size: 36px;
    display: block;
    margin-bottom: 12px;
}

.about-card h3 {
    font-size: 16px;
    font-weight: 500;
    color: var(--zen-black);
    margin-bottom: 8px;
}

.about-card p {
    font-size: 13px;
    color: var(--zen-gray);
    margin: 0;
}

.about-features {
    list-style: none;
    padding: 0;
}

.about-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid var(--zen-border);
    font-size: 15px;
    color: var(--zen-black);
}

.about-features li:last-child {
    border-bottom: none;
}

.about-features li span {
    font-size: 18px;
    flex-shrink: 0;
}

.about-contact {
    text-align: center;
    background: var(--zen-light-gray);
    padding: 48px 32px;
    margin: 48px -24px 0;
}

.about-contact h2 {
    border-bottom: none;
    padding-bottom: 0;
}

.about-contact p {
    margin-bottom: 24px;
}

/* ========================================
   Contact 页面样式 - Contact Page
   ======================================== */
.contact-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 32px 16px;
}

.contact-hero {
    text-align: center;
    margin-bottom: 40px;
}

.contact-hero h1 {
    font-size: 28px;
    font-weight: 500;
    color: var(--zen-black);
    margin-bottom: 8px;
}

.contact-hero p {
    font-size: 15px;
    color: var(--zen-gray);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 32px;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

.contact-info-card {
    background: var(--zen-pure-white);
    border: 1px solid var(--zen-border);
    padding: 24px;
    margin-bottom: 20px;
}

.contact-info-card h3 {
    font-size: 16px;
    font-weight: 500;
    color: var(--zen-black);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--zen-border);
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    font-size: 14px;
}

.contact-info-item .icon {
    width: 36px;
    height: 36px;
    background: rgba(96, 124, 100, 0.1);
    color: var(--zen-bamboo);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.contact-info-item .label {
    font-size: 12px;
    color: var(--zen-gray);
}

.contact-info-item .value {
    color: var(--zen-black);
}

.contact-info-item a {
    color: var(--zen-bamboo);
}

.contact-commitment li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    font-size: 14px;
    color: var(--zen-black);
}

.contact-commitment li span {
    color: var(--zen-bamboo);
}

.contact-form-card {
    background: var(--zen-pure-white);
    border: 1px solid var(--zen-border);
    padding: 32px;
}

.contact-form-card h3 {
    font-size: 18px;
    font-weight: 500;
    color: var(--zen-black);
    margin-bottom: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--zen-black);
    margin-bottom: 8px;
}

.form-group label.required::after {
    content: ' *';
    color: #c0392b;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    font-size: 14px;
    font-family: inherit;
    color: var(--zen-black);
    background: var(--zen-pure-white);
    border: 1px solid var(--zen-border);
    outline: none;
    transition: border-color var(--transition-normal);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--zen-bamboo);
}

.form-group textarea {
    min-height: 140px;
    resize: vertical;
}

.form-group .hint {
    font-size: 12px;
    color: var(--zen-gray);
    margin-top: 6px;
}

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

.captcha-group .captcha-text {
    font-size: 16px;
    font-weight: 600;
    color: var(--zen-black);
    background: var(--zen-light-gray);
    padding: 10px 16px;
    white-space: nowrap;
}

.captcha-group input {
    width: 80px;
}

.btn-submit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: var(--zen-bamboo);
    color: var(--zen-pure-white);
    border: none;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.btn-submit:hover {
    background: var(--zen-black);
}

/* ========================================
   通用页面卡片 - Page Cards
   ======================================== */
.page-card {
    background: var(--zen-pure-white);
    border: 1px solid var(--zen-border);
    margin-bottom: 24px;
}

.page-card-header {
    padding: 16px 24px;
    border-bottom: 1px solid var(--zen-border);
}

.page-card-header h3 {
    font-size: 16px;
    font-weight: 500;
    color: var(--zen-black);
    margin: 0;
}

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

/* ========================================
   用户中心样式 - User Center
   ======================================== */
.user-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 32px 16px;
}

.user-header {
    margin-bottom: 32px;
}

.user-header h1 {
    font-size: 24px;
    font-weight: 500;
    color: var(--zen-black);
}

.user-grid {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 32px;
}

@media (max-width: 768px) {
    .user-grid {
        grid-template-columns: 1fr;
    }
}

.user-menu {
    background: var(--zen-pure-white);
    border: 1px solid var(--zen-border);
}

.user-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    font-size: 14px;
    color: var(--zen-black);
    border-bottom: 1px solid var(--zen-border);
    transition: all var(--transition-normal);
}

.user-menu-item:last-child {
    border-bottom: none;
}

.user-menu-item:hover {
    background: rgba(96, 124, 100, 0.05);
    color: var(--zen-bamboo);
}

.user-menu-item.active {
    background: rgba(96, 124, 100, 0.1);
    color: var(--zen-bamboo);
    border-left: 3px solid var(--zen-bamboo);
}

.user-menu-item .icon {
    font-size: 18px;
}

.user-content {
    min-width: 0;
}

.user-stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}

.user-stat-card {
    background: var(--zen-pure-white);
    border: 1px solid var(--zen-border);
    padding: 24px;
    text-align: center;
}

.user-stat-card .label {
    font-size: 12px;
    color: var(--zen-gray);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}

.user-stat-card .value {
    font-size: 28px;
    font-weight: 500;
    color: var(--zen-bamboo);
}

.user-stat-card .value.gold {
    color: var(--zen-gold);
}


/* ========================================
   用户中心布局 - User Center Layout
   ======================================== */
.user-center {
    max-width: 1100px;
    margin: 0 auto;
    padding: 32px 16px;
}

.user-center-header {
    margin-bottom: 24px;
}

.user-center-header h1 {
    font-size: 24px;
    font-weight: 500;
    color: var(--zen-black);
}

.user-center-grid {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 24px;
}

@media (max-width: 768px) {
    .user-center-grid {
        grid-template-columns: 1fr;
    }
}

/* User Menu */
.user-center-menu {
    background: var(--zen-pure-white);
    border: 1px solid var(--zen-border);
    padding: 8px 0;
    height: fit-content;
    position: sticky;
    top: 80px;
}

.user-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    font-size: 14px;
    color: var(--zen-black);
    transition: all var(--transition-normal);
}

.user-menu-item:hover {
    background: rgba(96, 124, 100, 0.05);
    color: var(--zen-bamboo);
}

.user-menu-item.active {
    background: rgba(96, 124, 100, 0.1);
    color: var(--zen-bamboo);
    border-left: 3px solid var(--zen-bamboo);
}

.user-menu-item .icon {
    font-size: 18px;
}

.user-menu-divider {
    height: 1px;
    background: var(--zen-border);
    margin: 8px 16px;
}

/* User Page Card */
.user-page-card {
    background: var(--zen-pure-white);
    border: 1px solid var(--zen-border);
}

.user-page-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--zen-border);
}

.user-page-header h2 {
    font-size: 18px;
    font-weight: 500;
    color: var(--zen-black);
    margin: 0;
}

.user-page-body {
    padding: 24px;
}

/* User Info Grid */
.user-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.user-info-item {
    background: var(--zen-light-gray);
    padding: 20px;
    text-align: center;
}

.user-info-item .info-label {
    font-size: 12px;
    color: var(--zen-gray);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}

.user-info-item .info-value {
    font-size: 18px;
    font-weight: 500;
    color: var(--zen-black);
}

.user-info-item .info-value.highlight {
    color: var(--zen-gold);
}

.user-info-item .info-value.success {
    color: var(--zen-bamboo);
}

/* Upgrade Tip */
.user-upgrade-tip {
    margin-top: 24px;
    padding: 20px;
    background: rgba(96, 124, 100, 0.08);
    border-left: 3px solid var(--zen-bamboo);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.user-upgrade-tip p {
    margin: 0;
    font-size: 14px;
    color: var(--zen-black);
}

.btn-upgrade {
    padding: 10px 20px;
    background: var(--zen-bamboo);
    color: var(--zen-pure-white);
    font-size: 14px;
    font-weight: 500;
    transition: all var(--transition-normal);
}

.btn-upgrade:hover {
    background: var(--zen-black);
    color: var(--zen-pure-white);
}

/* User Table */
.user-table-wrap {
    overflow-x: auto;
}

.user-table {
    width: 100%;
    border-collapse: collapse;
}

.user-table th,
.user-table td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid var(--zen-border);
    font-size: 14px;
}

.user-table th {
    background: var(--zen-light-gray);
    font-weight: 500;
    color: var(--zen-black);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.user-table td {
    color: var(--zen-black);
}

.user-table td.item-title {
    max-width: 250px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-table a {
    color: var(--zen-bamboo);
}

.user-table a:hover {
    text-decoration: underline;
}

.status-badge {
    display: inline-block;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
}

.status-badge.success {
    background: rgba(96, 124, 100, 0.15);
    color: var(--zen-bamboo);
}

.btn-small {
    display: inline-block;
    padding: 6px 12px;
    background: var(--zen-bamboo);
    color: var(--zen-pure-white);
    font-size: 12px;
    font-weight: 500;
    transition: all var(--transition-normal);
}

.btn-small:hover {
    background: var(--zen-black);
    color: var(--zen-pure-white);
}

/* User Empty State */
.user-empty {
    text-align: center;
    padding: 48px 24px;
}

.user-empty .empty-icon {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.5;
}

.user-empty p {
    font-size: 15px;
    color: var(--zen-gray);
    margin-bottom: 20px;
}

.btn-browse {
    display: inline-block;
    padding: 12px 24px;
    background: var(--zen-bamboo);
    color: var(--zen-pure-white);
    font-size: 14px;
    font-weight: 500;
    transition: all var(--transition-normal);
}

.btn-browse:hover {
    background: var(--zen-black);
    color: var(--zen-pure-white);
}

/* User Pagination */
.user-pagination {
    margin-top: 24px;
    display: flex;
    justify-content: center;
}

/* Profile Form */
.profile-form {
    max-width: 400px;
}

.profile-item {
    margin-bottom: 24px;
}

.profile-item label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--zen-black);
    margin-bottom: 8px;
}

.profile-item input {
    width: 100%;
    padding: 12px 14px;
    font-size: 14px;
    color: var(--zen-black);
    background: var(--zen-light-gray);
    border: 1px solid var(--zen-border);
    outline: none;
}

.password-field {
    display: flex;
    gap: 8px;
}

.password-field input {
    flex: 1;
}

.btn-eye {
    width: 44px;
    background: var(--zen-light-gray);
    border: 1px solid var(--zen-border);
    cursor: pointer;
    font-size: 16px;
    transition: all var(--transition-normal);
}

.btn-eye:hover {
    background: var(--zen-border);
}

/* Plans Grid */
.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.plan-card {
    background: var(--zen-pure-white);
    border: 1px solid var(--zen-border);
    padding: 32px 24px;
    text-align: center;
    position: relative;
    transition: all var(--transition-slow);
}

.plan-card:hover {
    border-color: var(--zen-bamboo);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.plan-card.featured {
    border-color: var(--zen-bamboo);
    border-width: 2px;
}

.plan-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--zen-bamboo);
    color: var(--zen-pure-white);
    padding: 4px 16px;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}

.plan-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--zen-black);
    margin-bottom: 16px;
}

.plan-price {
    font-size: 36px;
    font-weight: 600;
    color: var(--zen-bamboo);
    margin-bottom: 8px;
}

.plan-period {
    font-size: 13px;
    color: var(--zen-gray);
    margin-bottom: 20px;
}

.plan-features {
    list-style: none;
    text-align: left;
    margin-bottom: 20px;
    padding: 0;
}

.plan-features li {
    padding: 8px 0;
    font-size: 13px;
    color: var(--zen-black);
    border-bottom: 1px solid var(--zen-border);
}

.plan-features li:last-child {
    border-bottom: none;
}

.plan-original {
    font-size: 13px;
    color: var(--zen-gray);
    text-decoration: line-through;
    margin-bottom: 20px;
}

.plan-btn {
    display: block;
    width: 100%;
    padding: 12px 24px;
    background: transparent;
    color: var(--zen-black);
    border: 1px solid var(--zen-border);
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    transition: all var(--transition-normal);
}

.plan-btn:hover {
    background: var(--zen-black);
    color: var(--zen-pure-white);
    border-color: var(--zen-black);
}

.plan-btn.primary {
    background: var(--zen-bamboo);
    color: var(--zen-pure-white);
    border-color: var(--zen-bamboo);
}

.plan-btn.primary:hover {
    background: var(--zen-black);
    border-color: var(--zen-black);
}


/* ========================================
   用户中心独立布局 - User Center Standalone
   ======================================== */
.user-main-content {
    margin-top: 56px;
    min-height: calc(100vh - 56px - 100px);
    padding: 32px 24px;
    background: var(--zen-white);
}

.user-footer {
    padding: 32px 24px;
    background: var(--zen-pure-white);
    text-align: center;
    border-top: 1px solid var(--zen-border);
}

.user-footer .footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 16px;
}

.user-footer .footer-links a {
    font-size: 13px;
    color: var(--zen-gray);
}

.user-footer .footer-links a:hover {
    color: var(--zen-bamboo);
}

.user-footer .footer-copyright {
    font-size: 12px;
    color: var(--zen-gray);
}


/* ==================== Payment Modal ==================== */
.payment-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.payment-modal-content {
    background: #fff;
    border-radius: 16px;
    width: 90%;
    max-width: 420px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.payment-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #eee;
    background: #fafafa;
}

.payment-modal-header h3 {
    margin: 0;
    font-size: 18px;
    color: #1a1a1a;
}

.payment-modal-close {
    background: none;
    border: none;
    font-size: 28px;
    color: #999;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    transition: color 0.2s;
}

.payment-modal-close:hover {
    color: #333;
}

.payment-modal-body {
    padding: 24px;
}

.payment-plan-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background: #f5f5f5;
    border-radius: 10px;
    margin-bottom: 20px;
}

.payment-plan-info #modalPlanName {
    font-weight: 600;
    color: #1a1a1a;
}

.payment-plan-info #modalPlanPrice {
    font-size: 20px;
    font-weight: 700;
    color: #607c64;
}

.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.payment-method-btn {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s;
    border: 2px solid #eee;
}

.payment-method-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.payment-method-btn .payment-icon {
    font-size: 28px;
    margin-right: 16px;
}

.payment-method-btn .payment-name {
    font-weight: 600;
    font-size: 16px;
    color: #1a1a1a;
}

.payment-method-btn .payment-desc {
    font-size: 12px;
    color: #888;
    margin-left: auto;
}

.payment-method-btn.paypal {
    background: linear-gradient(135deg, #f7f9fc 0%, #e8f0fe 100%);
    border-color: #0070ba;
}

.payment-method-btn.paypal:hover {
    background: linear-gradient(135deg, #e8f0fe 0%, #d4e4fc 100%);
}

.payment-method-btn.wechat {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-color: #07c160;
}

.payment-method-btn.wechat:hover {
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
}

.payment-method-btn.alipay {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-color: #1677ff;
}

.payment-method-btn.alipay:hover {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
}

@media (max-width: 480px) {
    .payment-modal-content {
        width: 95%;
        margin: 10px;
    }
    
    .payment-modal-body {
        padding: 16px;
    }
    
    .payment-method-btn {
        padding: 14px 16px;
    }
}


/* ========================================
   Category Introduction Section
   ======================================== */
.category-intro-section {
    max-width: 900px;
    margin: 30px auto 20px;
    padding: 30px;
    text-align: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
    border-radius: 12px;
    border: 1px solid var(--zen-border);
}

.category-intro-title {
    font-size: 28px;
    font-weight: 600;
    color: var(--zen-black);
    margin-bottom: 15px;
    line-height: 1.4;
}

.category-intro-content {
    font-size: 16px;
    color: #606060;
    line-height: 1.8;
    margin: 0;
}

/* Category Effect Tag on Homepage */
.cate-effect-tag {
    font-size: 12px;
    font-weight: 400;
    color: var(--zen-bamboo);
    background: rgba(96, 124, 100, 0.1);
    padding: 2px 8px;
    border-radius: 10px;
    margin-left: 8px;
    vertical-align: middle;
}

@media (max-width: 768px) {
    .category-intro-section {
        margin: 20px 15px;
        padding: 20px;
    }
    
    .category-intro-title {
        font-size: 22px;
    }
    
    .category-intro-content {
        font-size: 14px;
    }
    
    .cate-effect-tag {
        display: block;
        margin: 5px 0 0 0;
    }
}


/* ========================================
   Blog Styles
   ======================================== */
.blog-header {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
    border-bottom: 1px solid var(--zen-border);
    margin: -24px -24px 24px;
}

.blog-header h1 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--zen-black);
}

.blog-header p {
    color: var(--zen-gray);
    font-size: 16px;
    margin: 0;
}

.blog-container {
    display: flex;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.blog-main {
    flex: 1;
    min-width: 0;
}

.blog-sidebar {
    width: 280px;
    flex-shrink: 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.blog-card {
    background: var(--zen-pure-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: all var(--transition-normal);
    display: block;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.blog-thumb {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.blog-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
    color: #fff;
}

.blog-badge.top {
    background: #ff6b6b;
}

.blog-badge.recommend {
    background: var(--zen-bamboo);
}

.blog-info {
    padding: 16px;
}

.blog-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--zen-black);
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-summary {
    font-size: 13px;
    color: var(--zen-gray);
    line-height: 1.6;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 12px;
    color: #999;
}

/* Sidebar */
.sidebar-widget {
    background: var(--zen-pure-white);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.sidebar-widget h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--zen-black);
}

.sidebar-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-list li {
    padding: 8px 0;
    border-bottom: 1px solid var(--zen-border);
}

.sidebar-list li:last-child {
    border-bottom: none;
}

.sidebar-list a {
    color: var(--zen-black);
    font-size: 14px;
    transition: color var(--transition-normal);
}

.sidebar-list a:hover {
    color: var(--zen-bamboo);
}

/* Article Page */
.article-page {
    max-width: 800px;
}

.article-breadcrumb {
    font-size: 13px;
    color: var(--zen-gray);
    margin-bottom: 20px;
}

.article-breadcrumb a {
    color: var(--zen-bamboo);
}

.article-header {
    margin-bottom: 30px;
}

.article-header h1 {
    font-size: 32px;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 16px;
    color: var(--zen-black);
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 14px;
    color: var(--zen-gray);
}

.article-thumb {
    margin-bottom: 30px;
    border-radius: 12px;
    overflow: hidden;
}

.article-thumb img {
    width: 100%;
    height: auto;
}

.article-body {
    font-size: 16px;
    line-height: 1.9;
    color: var(--zen-black);
}

.article-body p {
    margin-bottom: 1.5em;
}

.article-body h2, .article-body h3 {
    margin-top: 2em;
    margin-bottom: 1em;
}

.article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1em 0;
}

.article-tags {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--zen-border);
}

.article-tags .tag {
    display: inline-block;
    padding: 4px 12px;
    background: var(--zen-light-gray);
    border-radius: 20px;
    font-size: 13px;
    color: var(--zen-black);
    margin: 4px;
    transition: all var(--transition-normal);
}

.article-tags .tag:hover {
    background: var(--zen-bamboo);
    color: #fff;
}

.article-share {
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.share-btn {
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    color: #fff;
}

.share-btn.twitter {
    background: #1da1f2;
}

.share-btn.facebook {
    background: #4267b2;
}

/* Related Articles */
.related-articles {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--zen-border);
}

.related-articles h3 {
    font-size: 20px;
    margin-bottom: 20px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
}

.related-card {
    display: block;
}

.related-card img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 8px;
}

.related-card h4 {
    font-size: 14px;
    font-weight: 500;
    color: var(--zen-black);
    line-height: 1.4;
}

@media (max-width: 768px) {
    .blog-container {
        flex-direction: column;
    }
    
    .blog-sidebar {
        width: 100%;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .article-header h1 {
        font-size: 24px;
    }
}


/* Blog List Style (Horizontal) */
.blog-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.blog-list-item {
    display: flex;
    gap: 24px;
    background: var(--zen-pure-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: all var(--transition-normal);
    padding: 20px;
}

.blog-list-item:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.blog-list-thumb {
    position: relative;
    width: 280px;
    height: 180px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
}

.blog-list-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-list-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.blog-list-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--zen-black);
    margin-bottom: 12px;
    line-height: 1.4;
}

.blog-list-summary {
    font-size: 14px;
    color: var(--zen-gray);
    line-height: 1.7;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-list-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 13px;
    color: #888;
}

@media (max-width: 768px) {
    .blog-list-item {
        flex-direction: column;
        padding: 0;
    }
    
    .blog-list-thumb {
        width: 100%;
        height: 200px;
        border-radius: 12px 12px 0 0;
    }
    
    .blog-list-content {
        padding: 16px;
    }
    
    .blog-list-title {
        font-size: 18px;
    }
}


/* Tags Cloud */
.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    padding: 20px 0;
}

.tag-cloud-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: var(--zen-pure-white);
    border: 1px solid var(--zen-border);
    border-radius: 25px;
    font-size: 14px;
    color: var(--zen-black);
    transition: all var(--transition-normal);
}

.tag-cloud-item:hover {
    background: var(--zen-bamboo);
    border-color: var(--zen-bamboo);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(96, 124, 100, 0.3);
}

.tag-cloud-item .tag-name {
    font-weight: 500;
}

.tag-cloud-item .tag-count {
    background: rgba(0,0,0,0.08);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    color: #666;
}

.tag-cloud-item:hover .tag-count {
    background: rgba(255,255,255,0.2);
    color: #fff;
}


/* ========================================
   Blog - Recommended Courses Section
   ======================================== */
.recommend-courses {
    margin: 40px 0;
    padding: 30px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 16px;
    border: 1px solid var(--zen-border);
}

.recommend-courses h3 {
    font-size: 1.4rem;
    color: var(--zen-black);
    margin-bottom: 8px;
}

.recommend-courses .recommend-desc {
    color: var(--zen-gray);
    font-size: 0.95rem;
    margin-bottom: 24px;
}

.recommend-courses .course-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

@media (max-width: 1024px) {
    .recommend-courses .course-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .recommend-courses .course-grid {
        grid-template-columns: 1fr;
    }
}

.course-card-mini {
    background: var(--zen-pure-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: block;
}

.course-card-mini:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.course-card-mini .course-thumb {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.course-card-mini .course-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.course-card-mini:hover .course-thumb img {
    transform: scale(1.05);
}

.course-card-mini .badge-free {
    position: absolute;
    top: 8px;
    right: 8px;
    background: var(--zen-bamboo);
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.course-card-mini .course-info {
    padding: 12px;
}

.course-card-mini .course-info h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--zen-black);
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.course-card-mini .course-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}

.course-card-mini .course-meta .price {
    font-weight: 600;
    color: var(--zen-gold);
}

.course-card-mini .course-meta .price.free {
    color: var(--zen-bamboo);
}

.course-card-mini .course-meta .lessons {
    color: var(--zen-gray);
}

.recommend-courses .view-all {
    text-align: center;
    margin-top: 24px;
}

.btn-view-all {
    display: inline-block;
    padding: 12px 32px;
    background: var(--zen-bamboo);
    color: white;
    border-radius: 8px;
    font-weight: 500;
    transition: background 0.3s ease;
}

.btn-view-all:hover {
    background: var(--zen-bamboo-light);
    color: white;
}

/* ========================================
   Blog - Improved Related Articles
   ======================================== */
.related-articles {
    margin: 40px 0;
    padding: 30px 0;
    border-top: 1px solid var(--zen-border);
}

.related-articles h3 {
    font-size: 1.4rem;
    color: var(--zen-black);
    margin-bottom: 24px;
}

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

@media (max-width: 768px) {
    .related-grid {
        grid-template-columns: 1fr;
    }
}

.related-card {
    display: flex;
    gap: 16px;
    padding: 16px;
    background: var(--zen-pure-white);
    border-radius: 12px;
    border: 1px solid var(--zen-border);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.related-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.related-card .related-thumb {
    flex-shrink: 0;
    width: 120px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
}

.related-card .related-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-card .related-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.related-card .related-info h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--zen-black);
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-card .related-summary {
    font-size: 0.85rem;
    color: var(--zen-gray);
    line-height: 1.5;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-card .related-date {
    font-size: 0.8rem;
    color: #aaa;
    margin-top: auto;
}


/* Article Course CTA Link */
.article-cta-link {
    margin-top: 40px;
    text-align: center;
}

.article-cta-link a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 24px;
    background: linear-gradient(135deg, #fff8e1 0%, #ffecb3 100%);
    border: 2px solid var(--zen-gold);
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.article-cta-link a:hover {
    background: linear-gradient(135deg, #ffecb3 0%, #ffe082 100%);
    transform: scale(1.02);
    box-shadow: 0 4px 20px rgba(184, 134, 11, 0.3);
}

.article-cta-link .point-left {
    font-size: 1.5rem;
    animation: point-bounce-left 1s ease-in-out infinite;
}

.article-cta-link .point-right {
    font-size: 1.5rem;
    animation: point-bounce-right 1s ease-in-out infinite;
}

.article-cta-link .cta-text {
    font-size: 1.1rem;
    font-weight: 700;
    color: #b8860b;
    text-decoration: underline;
    text-underline-offset: 4px;
}

@keyframes point-bounce-left {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(5px); }
}

@keyframes point-bounce-right {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(-5px); }
}

@media (max-width: 600px) {
    .article-cta-link a {
        padding: 14px 16px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .article-cta-link .cta-text {
        font-size: 1rem;
    }
}


/* ========================================
   Homepage - Blog Links Section
   ======================================== */
.blog-links-section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .blog-links-section {
        grid-template-columns: 1fr;
    }
}

.blog-link-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    background: var(--zen-pure-white);
    border: 1px solid var(--zen-border);
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.blog-link-item:hover {
    border-color: var(--zen-bamboo);
    background: #f8fdf8;
    transform: translateX(4px);
}

.blog-link-item .blog-link-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.blog-link-item .blog-link-title {
    flex: 1;
    font-size: 0.95rem;
    color: var(--zen-black);
    font-weight: 500;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-link-item:hover .blog-link-title {
    color: var(--zen-bamboo);
}

.blog-link-item .blog-link-arrow {
    color: var(--zen-gray);
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.blog-link-item:hover .blog-link-arrow {
    color: var(--zen-bamboo);
    transform: translateX(4px);
}
