/* ==========================================
   CSS 样式表 - 劣币驱逐良币科普文章
   ========================================== */

/* === 1. 基础重置与变量定义 === */
:root {
    /* 主色调 */
    --primary-color: #6366f1;
    --primary-light: #818cf8;
    --primary-dark: #4f46e5;
    
    /* 良币/劣币主题色 */
    --good-color: #10b981;
    --good-light: #34d399;
    --good-bg: #d1fae5;
    --bad-color: #ef4444;
    --bad-light: #f87171;
    --bad-bg: #fee2e2;
    
    /* 中性色 */
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-light: #9ca3af;
    --bg-primary: #ffffff;
    --bg-secondary: #f9fafb;
    --bg-tertiary: #f3f4f6;
    --border-color: #e5e7eb;
    
    /* 强调色 */
    --accent-yellow: #fbbf24;
    --accent-purple: #a855f7;
    --accent-blue: #3b82f6;
    --accent-pink: #ec4899;
    
    /* 阴影 */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* 间距 */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    
    /* 圆角 */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    
    /* 字体 */
    --font-primary: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
    --font-mono: "SF Mono", "Consolas", "Liberation Mono", "Menlo", monospace;
}

/* === 2. 全局重置 === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    color: var(--text-primary);
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* === 3. 页面头部 === */
.page-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--primary-color);
}

.page-header .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.main-nav a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.main-nav a:hover {
    color: var(--primary-color);
}

.main-nav a:hover::after {
    width: 100%;
}

/* === 4. 主容器 === */
.article-main {
    padding: 3rem 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 3rem;
}

/* === 5. 文章内容区 === */
.article-content {
    background: var(--bg-primary);
    border-radius: var(--radius-2xl);
    padding: 3rem;
    box-shadow: var(--shadow-xl);
}

/* === 6. 文章标题区 === */
.article-header {
    text-align: center;
    padding-bottom: 3rem;
    border-bottom: 2px solid var(--bg-tertiary);
    margin-bottom: 3rem;
}

.article-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.article-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.article-meta span {
    font-size: 0.875rem;
    color: var(--text-secondary);
    padding: 0.5rem 1rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
}

/* === 7. 章节样式 === */
.section {
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--primary-color);
    position: relative;
}

.section-title::before {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100px;
    height: 3px;
    background: var(--accent-purple);
}

/* === 8. 场景卡片 === */
.scenario-card {
    background: linear-gradient(135deg, #667eea15 0%, #764ba215 100%);
    border-left: 4px solid var(--primary-color);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.scenario-card:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-lg);
}

.scenario-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.scenario-icon {
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scenario-header h3 {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin: 0;
}

.scenario-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* === 9. 高亮框 === */
.highlight-box {
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    margin: 2rem 0;
    text-align: center;
}

.highlight-box.anger {
    background: linear-gradient(135deg, #fee2e2, #fecaca);
    border: 2px solid var(--bad-color);
}

.highlight-text {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
}

.intro-text {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.term {
    color: var(--primary-color);
    font-weight: 700;
    padding: 0 0.25rem;
    position: relative;
}

.term::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary-light);
    opacity: 0.3;
}

/* === 10. 对比框 === */
.comparison-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin: 2rem 0;
}

.comparison-item {
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all 0.3s ease;
}

.comparison-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.comparison-item.good {
    background: var(--good-bg);
    border: 2px solid var(--good-color);
}

.comparison-item.bad {
    background: var(--bad-bg);
    border: 2px solid var(--bad-color);
}

.comparison-label {
    font-weight: 700;
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
}

.comparison-item.good .comparison-label {
    color: var(--good-color);
}

.comparison-item.bad .comparison-label {
    color: var(--bad-color);
}

.comparison-item p {
    color: var(--text-secondary);
}

/* === 11. 强调文本 === */
.emphasis {
    font-size: 1.125rem;
    font-weight: 600;
    text-align: center;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    margin: 1.5rem 0;
}

/* === 12. 流程框 === */
.process-box {
    background: linear-gradient(135deg, #e0e7ff, #ddd6fe);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin: 2rem 0;
}

.process-box h4 {
    color: var(--primary-dark);
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.process-list {
    list-style: none;
    counter-reset: step-counter;
}

.process-list li {
    counter-increment: step-counter;
    position: relative;
    padding-left: 3rem;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.process-list li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 2rem;
    height: 2rem;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
}

/* === 13. 结果文本 === */
.result-text {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin: 1.5rem 0;
}

.conclusion {
    font-size: 1.25rem;
    font-weight: 600;
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--primary-color)15, var(--accent-purple)15);
    border-radius: var(--radius-lg);
    margin: 2rem 0;
}

/* === 14. 核心概念框 === */
.key-concept {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border-radius: var(--radius-xl);
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: var(--shadow-md);
}

.definition-box {
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--accent-yellow);
    margin-bottom: 1.5rem;
}

.definition-box p {
    font-size: 1.125rem;
    line-height: 1.8;
}

.translation-box {
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--accent-blue);
}

.translation-label {
    font-weight: 700;
    color: var(--accent-blue);
    margin-bottom: 0.75rem;
    display: block;
}

.translation-text {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* === 15. 原因模块 === */
.reason-block {
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-xl);
}

.reason-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.reason-number {
    font-size: 2rem;
}

.concept-intro {
    margin-bottom: 2rem;
}

.concept-intro p {
    line-height: 1.8;
    margin-bottom: 1rem;
}

.note-box {
    background: #fff7ed;
    border-left: 4px solid #f97316;
    padding: 1rem 1rem 1rem 3rem;
    border-radius: var(--radius-md);
    position: relative;
    margin-top: 1rem;
}

.note-icon {
    position: absolute;
    left: 1rem;
    top: 1rem;
    font-size: 1.25rem;
}

/* === 16. 示例卡片 === */
.example-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    margin: 2rem 0;
}

.example-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--bg-tertiary);
}

/* 游戏示例特殊样式 */
.game-example {
    border: 2px solid var(--accent-purple);
}

.example-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.player-type {
    padding: 1.5rem;
    border-radius: var(--radius-lg);
}

.good-player {
    background: var(--good-bg);
}

.bad-player {
    background: var(--bad-bg);
}

.player-label {
    font-weight: 700;
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
}

.good-player .player-label {
    color: var(--good-color);
}

.bad-player .player-label {
    color: var(--bad-color);
}

.player-type p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.example-question {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    padding: 1rem;
    background: #fef3c7;
    border-radius: var(--radius-md);
    margin: 1.5rem 0;
}

.psychology-insight {
    background: linear-gradient(135deg, #e0e7ff, #ddd6fe);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    margin: 1.5rem 0;
}

.psychology-insight p {
    line-height: 1.8;
}

.outcome-box {
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    margin-top: 1.5rem;
}

.outcome-box h5 {
    margin-bottom: 0.75rem;
    color: var(--primary-dark);
}

.outcome-box ul {
    list-style: none;
    padding-left: 0;
}

.outcome-box li {
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    position: relative;
}

.outcome-box li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
}

/* === 17. 校园示例 === */
.school-example {
    border: 2px solid var(--accent-blue);
}

.example-intro {
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.student-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.student-card {
    padding: 1.5rem;
    border-radius: var(--radius-lg);
}

.student-a {
    background: var(--good-bg);
    border: 2px solid var(--good-color);
}

.student-b {
    background: var(--bad-bg);
    border: 2px solid var(--bad-color);
}

.student-card h5 {
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.student-a h5 {
    color: var(--good-color);
}

.student-b h5 {
    color: var(--bad-color);
}

.student-card ul {
    list-style: none;
    padding: 0;
}

.student-card li {
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    position: relative;
    line-height: 1.6;
}

.student-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    font-weight: 700;
}

.student-a li::before {
    color: var(--good-color);
}

.student-b li::before {
    color: var(--bad-color);
}

.result-comparison {
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    text-align: center;
    margin-bottom: 1.5rem;
}

.result-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.scores {
    font-size: 1.25rem;
}

.score {
    font-weight: 700;
    color: var(--primary-color);
    padding: 0.25rem 0.5rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-sm);
}

.psychology-process {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
}

.psychology-process h5 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.thought-bubbles {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.thought-bubble {
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 2rem;
    position: relative;
    box-shadow: var(--shadow-sm);
}

.thought-bubble::before {
    content: '';
    position: absolute;
    left: 1.5rem;
    bottom: -8px;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid white;
}

.conclusion-box {
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    margin-top: 1.5rem;
}

.conclusion-box p {
    margin-bottom: 0.75rem;
}

.insight {
    font-weight: 600;
    color: var(--primary-dark);
}

/* === 18. 饭圈示例 === */
.fandom-example {
    border: 2px solid var(--accent-pink);
}

.fan-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.fan-type {
    padding: 1.5rem;
    border-radius: var(--radius-lg);
}

.real-fan {
    background: var(--good-bg);
}

.fake-fan {
    background: var(--bad-bg);
}

.fan-type h5 {
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.real-fan h5 {
    color: var(--good-color);
}

.fake-fan h5 {
    color: var(--bad-color);
}

.problem-box {
    background: #fef3c7;
    padding: 1rem;
    border-radius: var(--radius-md);
    border-left: 4px solid var(--accent-yellow);
    margin: 1.5rem 0;
}

.mental-impact {
    font-style: italic;
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

/* === 19. 关键洞察框 === */
.key-insight-box {
    background: linear-gradient(135deg, #fee2e2, #fecaca);
    border: 2px solid var(--bad-color);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin: 2rem 0;
    text-align: center;
}

.key-insight-box p {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* === 20. 选择模块 === */
.choice-block {
    margin-bottom: 3rem;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.choice-title {
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.5rem;
    color: white;
}

.choice-a .choice-title {
    background: linear-gradient(135deg, var(--bad-color), var(--bad-light));
}

.choice-b .choice-title {
    background: linear-gradient(135deg, var(--good-color), var(--good-light));
}

.choice-label {
    background: rgba(255, 255, 255, 0.3);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-lg);
    font-size: 1rem;
    font-weight: 700;
}

.choice-content {
    background: white;
    padding: 2rem;
}

.choice-content p {
    line-height: 1.8;
    margin-bottom: 1rem;
}

.theory-box {
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    margin: 1.5rem 0;
}

.advice-section {
    margin-top: 2rem;
}

.advice-section h4 {
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.advice-card {
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--primary-color);
}

.advice-card h5 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.advice-card .highlight {
    display: block;
    margin: 1rem 0;
    font-weight: 600;
}

.concept-box {
    background: #e0e7ff;
    padding: 1rem;
    border-radius: var(--radius-md);
    margin-top: 1rem;
}

.reality-check {
    list-style: none;
    padding: 0;
}

.reality-check li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.reality-check li:last-child {
    border-bottom: none;
}

.warning {
    color: var(--bad-color);
    font-weight: 600;
    margin-top: 1rem;
}

/* === 21. 建议列表 === */
.suggestion-list {
    margin-top: 2rem;
}

.suggestion-card {
    background: white;
    border: 2px solid var(--bg-tertiary);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.suggestion-card:hover {
    border-color: var(--good-color);
    box-shadow: var(--shadow-lg);
}

.suggestion-card h4 {
    color: var(--good-color);
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.theory-intro p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.control-types {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.control-types li {
    padding: 0.75rem 1rem;
    background: var(--bg-secondary);
    margin-bottom: 0.5rem;
    border-radius: var(--radius-md);
    border-left: 3px solid var(--primary-color);
}

.practice-box {
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    margin-top: 1.5rem;
}

.practice-title {
    font-weight: 600;
    margin-bottom: 1rem;
}

.mindset-comparison {
    display: grid;
    gap: 1rem;
}

.mindset-wrong,
.mindset-right {
    padding: 1rem;
    border-radius: var(--radius-md);
    display: flex;
    align-items: start;
    gap: 1rem;
}

.mindset-wrong {
    background: var(--bad-bg);
}

.mindset-right {
    background: white;
}

.mindset-wrong .icon,
.mindset-right .icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.truth-box {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    margin: 1.5rem 0;
}

.truth-text {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.action-plan {
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    margin-top: 1.5rem;
}

.action-plan h5 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.action-list {
    list-style: none;
    padding: 0;
}

.action-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--bg-tertiary);
    line-height: 1.6;
}

.action-list li:last-child {
    border-bottom: none;
}

.task-box {
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    margin-top: 1.5rem;
}

.task-box h5 {
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.task-list {
    list-style: none;
    padding: 0;
}

.task-list li {
    padding-left: 2rem;
    margin-bottom: 0.75rem;
    position: relative;
}

.task-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--good-color);
    font-weight: 700;
    font-size: 1.25rem;
}

/* === 22. 社会视角部分 === */
.society-intro {
    margin-bottom: 2rem;
}

.society-intro p {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.why-box {
    background: linear-gradient(135deg, #e0e7ff, #ddd6fe);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
}

.why-box h4 {
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.extreme-case {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: var(--radius-xl);
    margin: 2rem 0;
}

.case-title {
    color: var(--bad-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.involution-box {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.involution-box .definition {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.involution-examples {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.involution-examples li {
    padding: 1rem;
    background: var(--bg-secondary);
    margin-bottom: 0.75rem;
    border-radius: var(--radius-md);
    border-left: 4px solid var(--bad-color);
}

.essence-box {
    background: linear-gradient(135deg, #fee2e2, #fecaca);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    text-align: center;
}

.essence-text {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.solutions-needed {
    margin-top: 2rem;
}

.solutions-title {
    color: var(--good-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.solution-categories {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.solution-category {
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.solution-category h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--bg-tertiary);
}

.solution-category ul {
    list-style: none;
    padding: 0;
}

.solution-category li {
    padding: 0.75rem 0 0.75rem 1.5rem;
    position: relative;
    line-height: 1.6;
}

.solution-category li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--good-color);
    font-weight: 700;
}

/* === 23. 总结部分 === */
.summary-content {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    padding: 2.5rem;
    border-radius: var(--radius-xl);
}

.main-point {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.truth-quote {
    background: white;
    padding: 2rem;
    border-left: 5px solid var(--primary-color);
    font-size: 1.25rem;
    font-style: italic;
    margin: 2rem 0;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.but-statement {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 1.5rem 0;
}

.key-points {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    margin: 2rem 0;
}

.key-points-title {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.key-points-list {
    list-style: none;
    counter-reset: point-counter;
    padding: 0;
}

.key-points-list li {
    counter-increment: point-counter;
    padding: 1rem 1rem 1rem 4rem;
    margin-bottom: 1rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    position: relative;
    line-height: 1.8;
}

.key-points-list li::before {
    content: counter(point-counter);
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 2.5rem;
    height: 2.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-purple));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.125rem;
}

.final-message {
    background: linear-gradient(135deg, var(--good-color)20, var(--good-light)20);
    padding: 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    margin-top: 2rem;
}

.final-message p {
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.inspiring-text {
    font-style: italic;
    color: var(--text-secondary);
}

/* === 24. 互动部分 === */
.interaction-content {
    background: linear-gradient(135deg, #e0e7ff, #ddd6fe);
    padding: 2.5rem;
    border-radius: var(--radius-xl);
}

.interaction-intro {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    text-align: center;
}

.questions-box {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    margin-bottom: 2rem;
}

.question-item {
    display: flex;
    align-items: start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-secondary);
    margin-bottom: 1rem;
    border-radius: var(--radius-md);
}

.question-item:last-child {
    margin-bottom: 0;
}

.question-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.question-item p {
    line-height: 1.6;
}

.cta-box {
    text-align: center;
}

.cta-text {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.comment-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-purple));
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.comment-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.comment-btn:active {
    transform: translateY(0);
}

/* === 25. 文章底部 === */
.article-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--bg-tertiary);
}

.footer-note {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    text-align: center;
}

.footer-note p {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* === 26. 侧边栏 === */
.sidebar {
    position: relative;
}

.sticky-sidebar {
    position: sticky;
    top: 100px;
}

.toc-widget,
.share-widget,
.related-widget {
    background: white;
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-md);
}

.toc-widget h3,
.share-widget h3,
.related-widget h3 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: var(--primary-dark);
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--bg-tertiary);
}

.toc-list {
    list-style: none;
    padding: 0;
}

.toc-list li {
    margin-bottom: 0.75rem;
}

.toc-list a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    padding: 0.5rem;
    border-radius: var(--radius-sm);
}

.toc-list a:hover {
    color: var(--primary-color);
    background: var(--bg-secondary);
    transform: translateX(5px);
}

.share-buttons {
    display: flex;
    gap: 0.5rem;
}

.share-btn {
    flex: 1;
    padding: 0.75rem;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.share-btn.wechat {
    background: #07c160;
    color: white;
}

.share-btn.weibo {
    background: #e6162d;
    color: white;
}

.share-btn.qq {
    background: #12b7f5;
    color: white;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.related-list {
    list-style: none;
    padding: 0;
}

.related-list li {
    margin-bottom: 1rem;
}

.related-list a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    padding: 0.75rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    border-left: 3px solid transparent;
}

.related-list a:hover {
    color: var(--primary-color);
    border-left-color: var(--primary-color);
    transform: translateX(5px);
}

/* === 27. 页面底部 === */
.page-footer {
    background: linear-gradient(135deg, #1f2937, #374151);
    color: white;
    margin-top: 4rem;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--accent-yellow);
}

.footer-section p,
.footer-section a {
    color: #d1d5db;
    text-decoration: none;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #9ca3af;
}

/* === 28. 返回顶部按钮 === */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-purple));
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    z-index: 999;
    display: none;
}

.back-to-top.visible {
    display: block;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

/* === 29. 响应式设计 === */
@media (max-width: 1024px) {
    .container {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        display: none;
    }
    
    .comparison-box,
    .example-content,
    .student-comparison,
    .fan-comparison,
    .solution-categories {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .article-content {
        padding: 2rem 1.5rem;
    }
    
    .article-title {
        font-size: 2rem;
    }
    
    .main-nav ul {
        gap: 1rem;
    }
    
    .scenario-card:hover {
        transform: none;
    }
    
    .back-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .article-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .main-nav {
        display: none;
    }
    
    .page-header .container {
        justify-content: center;
    }
}

/* === 30. 打印样式 === */
@media print {
    .page-header,
    .sidebar,
    .page-footer,
    .back-to-top,
    .share-widget,
    .comment-btn {
        display: none;
    }
    
    .article-content {
        box-shadow: none;
    }
    
    body {
        background: white;
    }
}

/* === 31. 动画效果 === */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section {
    animation: fadeInUp 0.6s ease-out;
}

/* === 32. 深色模式支持（可选） === */
@media (prefers-color-scheme: dark) {
    /* 可以在这里添加深色模式样式 */
}
/* ==========================================
   JavaScript 配合样式
   ========================================== */

/* === 阅读进度条 === */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(99, 102, 241, 0.1);
    z-index: 9999;
}

.reading-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-purple));
    width: 0%;
    transition: width 0.1s ease;
}

/* === 激活状态 === */
.toc-list a.active,
.main-nav a.active {
    color: var(--primary-color);
    font-weight: 700;
}

.toc-list a.active {
    background: var(--bg-secondary);
    border-left: 3px solid var(--primary-color);
}

/* === 淡入动画 === */
.fade-in-element {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-element.visible {
    opacity: 1;
    transform: translateY(0);
}

/* === 分享模态框 === */
.share-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease-out;
}

.share-modal-content {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-xl);
    max-width: 400px;
    width: 90%;
    position: relative;
    animation: slideUp 0.3s ease-out;
}

.share-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.share-modal-close:hover {
    color: var(--text-primary);
}

.share-modal-content h3 {
    margin-bottom: 1.5rem;
    text-align: center;
    color: var(--primary-color);
}

.qr-code-placeholder {
    padding: 2rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    text-align: center;
}

/* === 复制提示 === */
.copy-tip {
    position: fixed;
    top: 100px;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    background: var(--good-color);
    color: white;
    padding: 1rem 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    z-index: 10001;
    opacity: 0;
    transition: all 0.3s ease;
}

.copy-tip.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* === 评论提示框 === */
.comment-prompt {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.comment-prompt.show {
    opacity: 1;
}

.comment-prompt-content {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-xl);
    max-width: 600px;
    width: 100%;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.comment-prompt.show .comment-prompt-content {
    transform: translateY(0);
}

.comment-prompt h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.comment-prompt textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-family: var(--font-primary);
    font-size: 1rem;
    resize: vertical;
    margin: 1rem 0;
    transition: border-color 0.3s ease;
}

.comment-prompt textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.comment-prompt-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.comment-prompt-actions button {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-purple));
    color: white;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-cancel {
    background: var(--bg-secondary);
    color: var(--text-secondary);
}

.btn-cancel:hover {
    background: var(--bg-tertiary);
}

/* === 感谢消息 === */
.thank-you-message {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    background: white;
    padding: 3rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    z-index: 10001;
    opacity: 0;
    transition: all 0.3s ease;
}

.thank-you-message.show {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.thank-you-content {
    text-align: center;
}

.thank-you-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.thank-you-content h3 {
    color: var(--good-color);
    margin-bottom: 0.5rem;
}

.thank-you-content p {
    color: var(--text-secondary);
}

/* === 动画关键帧 === */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* === 页面加载状态 === */
body:not(.loaded) .article-content {
    opacity: 0;
}

body.loaded .article-content {
    opacity: 1;
    transition: opacity 0.5s ease-out;
}

/* === 打印状态 === */
body.printing .reading-progress,
body.printing .back-to-top,
body.printing .share-modal {
    display: none !important;
}

/* === 暗黑模式（可选） === */
body.dark-mode {
    --text-primary: #f9fafb;
    --text-secondary: #d1d5db;
    --text-light: #9ca3af;
    --bg-primary: #1f2937;
    --bg-secondary: #374151;
    --bg-tertiary: #4b5563;
    --border-color: #4b5563;
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
}

body.dark-mode .article-content,
body.dark-mode .sidebar > div {
    background: var(--bg-primary);
    color: var(--text-primary);
}

body.dark-mode .page-header {
    background: rgba(31, 41, 55, 0.95);
}
