/* ==================== Warm Theme ==================== */
/* 人文暖系配色方案 */

:root {
    /* Background Colors - 人文暖系背景 */
    --bg-primary: #F5E6D3;        /* 暖米色/杏仁白 */
    --bg-secondary: #E8D4B8;      /* 浅暖色 */
    --bg-tertiary: #D9C4A9;       /* 中暖色 */
    --bg-card: #FFFFFF;           /* 卡片白色 */
    
    /* Accent Colors - 暖色调强调色 */
    --accent-warm: #E8C872;       /* 柔和金色 */
    --accent-warm-dark: #C9A66B;  /* 深金色 */
    --accent-earth: #D4A574;       /* 大地色 */
    --accent-sand: #E8DCC8;        /* 沙色 */
    
    /* Text Colors - 文字颜色 */
    --text-primary: #3D2B1F;      /* 深咖色 */
    --text-secondary: #5D4A3A;     /* 中咖色 */
    --text-muted: #8B7355;         /* 浅咖色 */
    --text-light: #F5E6D3;         /* 浅色文字 */
    
    /* Gradients - 渐变系统 */
    --gradient-primary: linear-gradient(135deg, #F5E6D3 0%, #E8D4B8 100%);
    --gradient-hero: linear-gradient(180deg, #E8D4B8 0%, #F5E6D3 50%, #D9C4A9 100%);
    --gradient-card: linear-gradient(145deg, #FFFFFF 0%, #FFF8F0 100%);
    --gradient-section: linear-gradient(180deg, #F5E6D3 0%, #E8D4B8 100%);
}

/* Background Classes */
.bg-warm { background-color: var(--bg-primary); }
.bg-warm-secondary { background-color: var(--bg-secondary); }
.bg-warm-tertiary { background-color: var(--bg-tertiary); }

.bg-gradient-hero { background: var(--gradient-hero); }
.bg-gradient-card { background: var(--gradient-card); }
.bg-gradient-section { background: var(--gradient-section); }

/* Hero Section - 首页Hero */
.hero {
    min-height: calc(100vh - 70px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 80px 20px;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

.hero h1 {
    font-size: 2.2rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

.hero .subtitle {
    font-size: 1.3rem;
    color: var(--accent-warm-dark);
    margin-bottom: 2rem;
    font-weight: 300;
    letter-spacing: 1px;
}

.hero .description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 500px;
    line-height: 1.8;
    margin: 0 auto;
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-title {
    font-size: 2rem;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 3rem;
    letter-spacing: 1px;
    font-weight: 300;
}

.section-content {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-secondary);
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

/* Chapter Cards - 篇章卡片 */
.chapters-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.chapter-card {
    background: var(--gradient-card);
    padding: 3rem 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(61, 43, 31, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.chapter-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.chapter-card-content {
    position: relative;
    z-index: 1;
}

.chapter-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(61, 43, 31, 0.15);
    border-color: var(--accent-warm);
}

.chapter-card:hover::before {
    opacity: 0.05;
}

.chapter-number {
    font-size: 0.9rem;
    color: var(--accent-warm-dark);
    margin-bottom: 1rem;
    font-weight: 400;
    letter-spacing: 1px;
}

.chapter-title {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.chapter-content {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.chapter-enter-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-warm-dark);
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.chapter-enter-btn:hover {
    color: var(--accent-warm);
    transform: translateX(5px);
}

/* Final Chapter Section */
.final-chapter {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--gradient-section);
    margin-top: 3rem;
    border-radius: 12px;
}

/* Tools Section */
.tools {
    background: var(--bg-secondary);
    padding: 80px 0;
}

.tools-list {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.tool-item {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--accent-warm);
    box-shadow: 0 2px 15px rgba(61, 43, 31, 0.06);
    transition: all 0.3s ease;
}

.tool-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 20px rgba(61, 43, 31, 0.1);
}

/* Responsive */
@media (min-width: 768px) {
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .chapters-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
    
    .nav-menu {
        gap: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .hero h1 {
        font-size: 3.5rem;
    }
    
    .chapters-grid {
        gap: 3rem;
    }
    
    .nav-menu {
        gap: 3rem;
    }
}
