@import url('https://fonts.googleapis.com/css2?family=Ma+Shan+Zheng&display=swap');

:root {
            --bg-primary: #F8F7F4;
            --bg-secondary: #F0EDE8;
            --bg-card: #FFFFFF;
            --text-primary: #2D2D2D;
            --text-secondary: #5A5A5A;
            --text-muted: #8E8E93;
            --morandi-blue: #8B9EBF;
            --morandi-green: #8EA88E;
            --morandi-pink: #C4A4A4;
            --morandi-purple: #B5A6C4;
            --morandi-orange: #C4A882;
            --accent-color: #8B9EBF;
            --accent-light: #A8B8D0;
            --accent-dark: #6B7A9A;
            --border-color: #E5E5E5;
            --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
            --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
            --font-chinese: "LXGW WenKai", "霞鹭文楷", "STKaiti", "KaiTi", serif;
            --font-english: "Inter", "Helvetica Neue", "Arial", sans-serif;
            --text-xs: 20px; --text-sm: 22px; --text-base: 26px;
            --text-lg: 30px; --text-xl: 34px; --text-2xl: 40px;
            --text-3xl: 48px; --text-4xl: 60px;
            --space-xs: 8px; --space-sm: 16px; --space-md: 24px;
            --space-lg: 32px; --space-xl: 48px;
            --radius-sm: 4px; --radius-md: 8px; --radius-lg: 16px;
        }
        * { margin: 0; padding: 0; box-sizing: border-box; }
        html, body { width: 100%; height: 100%; font-family: var(--font-chinese); color: var(--text-primary); background: var(--bg-primary); line-height: 1.6; overflow: hidden; }
        .slide { 
            width: 100vw; height: 100vh; padding: var(--space-xl); 
            display: flex; flex-direction: column; justify-content: center; 
            position: relative; overflow: hidden;
            background: linear-gradient(135deg, #F8F7F4 0%, #F0EDE8 50%, #E8E6F0 100%);
        }
        .slide::before {
            content: ''; position: absolute; top: -80px; right: -80px;
            width: 300px; height: 300px; border-radius: 50%;
            background: rgba(139,158,191,0.08);
            z-index: 0;
        }
        .slide::after {
            content: ''; position: absolute; bottom: -60px; left: -60px;
            width: 250px; height: 250px; border-radius: 50%;
            background: rgba(192,164,164,0.08);
            z-index: 0;
        }
        h1, h2, h3 { font-family: var(--font-chinese); font-weight: bold; line-height: 1.3; margin-bottom: var(--space-md); }
        h1 { font-size: var(--text-4xl); } h2 { font-family: 'Ma Shan Zheng', 'STXingkai', 'FZShuTi', cursive; font-size: 60px; border-left: 4px solid var(--accent-color); padding-left: 16px; position: absolute; top: 48px; left: 48px; }
        h3 { font-size: var(--text-lg); color: var(--text-secondary); }
        p { font-size: var(--text-base); margin-bottom: var(--space-sm); line-height: 1.8; }
        ul, ol { font-size: var(--text-base); margin-left: var(--space-lg); margin-bottom: var(--space-md); }
        li { margin-bottom: var(--space-xs); }
        strong, b { font-weight: bold; color: var(--accent-dark); }
        .card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-md); padding: var(--space-md); margin-bottom: var(--space-md); box-shadow: var(--shadow-sm); }
        .card-title { font-size: var(--text-lg); font-weight: bold; margin-bottom: var(--space-sm); }
        .card-content { font-size: var(--text-base); color: var(--text-secondary); }
        .data-label { font-size: var(--text-sm); color: var(--text-muted); margin-bottom: var(--space-xs); }
        .data-value { font-size: var(--text-2xl); font-weight: bold; color: var(--accent-color); margin-bottom: var(--space-sm); }
        .flex { display: flex; } .flex-col { flex-direction: column; } .flex-row { flex-direction: row; }
        .flex-1 { flex: 1; } .flex-2 { flex: 2; }
        .gap-sm { gap: var(--space-sm); } .gap-md { gap: var(--space-md); } .gap-lg { gap: var(--space-lg); }
        .items-center { align-items: center; } .justify-center { justify-content: center; }
        .text-center { text-align: center; } .text-left { text-align: left; }
        .decorative-line { width: 80px; height: 4px; background-color: var(--accent-color); margin: var(--space-md) 0; }
        .decorative-dot { width: 12px; height: 12px; border-radius: 50%; background-color: var(--accent-color); display: inline-block; margin-right: var(--space-xs); }
        .slides-container { position: relative; width: 100vw; height: 100vh; overflow: hidden; }
        .slide-wrapper { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 0.5s ease-in-out; pointer-events: none; }
        .slide-wrapper.active { opacity: 1; pointer-events: all; }
        /* 几何装饰元素 */
        .geo-deco { position: absolute; pointer-events: none; z-index: 0; }
        .geo-deco.circle-1 { top: 10%; left: 8%; width: 180px; height: 180px; border-radius: 50%; background: rgba(139,158,191,0.06); }
        .geo-deco.circle-2 { bottom: 15%; right: 10%; width: 140px; height: 140px; border-radius: 50%; background: rgba(192,164,164,0.06); }
        .geo-deco.rect-1 { top: 20%; right: 5%; width: 80px; height: 120px; border-radius: 12px; background: rgba(142,168,142,0.06); transform: rotate(15deg); }
        .geo-deco.rect-2 { bottom: 25%; left: 5%; width: 100px; height: 60px; border-radius: 10px; background: rgba(196,168,130,0.06); transform: rotate(-10deg); }
        .geo-deco.line-1 { top: 0; left: 0; width: 100%; height: 1px; background: linear-gradient(90deg, transparent, rgba(139,158,191,0.15) 30%, rgba(139,158,191,0.15) 70%, transparent); }
        .geo-deco.line-2 { bottom: 0; left: 0; width: 100%; height: 1px; background: linear-gradient(90deg, transparent, rgba(192,164,164,0.15) 30%, rgba(192,164,164,0.15) 70%, transparent); }
        
        .progress-bar { position: fixed; top: 0; left: 0; height: 3px; background-color: var(--accent-color); transition: width 0.3s ease; z-index: 1000; }
        .nav-buttons { display: none; }
        .thumbnail-nav { display: none; }
        .page-indicator { display: none; }
        .nav-hint { display: none; }
        .fullscreen-btn { position: fixed; top: 20px; right: 20px; background: rgba(255,255,255,0.8); border: 1px solid var(--border-color); border-radius: 8px; padding: 8px 12px; font-size: var(--text-xs); color: var(--text-secondary); cursor: pointer; backdrop-filter: blur(10px); z-index: 1000; display: flex; align-items: center; gap: 6px; }
        .fullscreen-btn:hover { background: var(--accent-color); color: white; border-color: var(--accent-color); }
        .fullscreen-btn svg { width: 16px; height: 16px; }
        
        /* 页面导航侧边栏 */
        .page-nav-btn { position: fixed; top: 20px; right: 120px; background: rgba(255,255,255,0.8); border: 1px solid var(--border-color); border-radius: 8px; padding: 8px 12px; font-size: var(--text-xs); color: var(--text-secondary); cursor: pointer; backdrop-filter: blur(10px); z-index: 1000; }
        .page-nav-btn:hover { background: var(--accent-color); color: white; border-color: var(--accent-color); }
        .page-sidebar { position: fixed; top: 0; right: -280px; width: 280px; height: 100vh; background: var(--bg-card); border-left: 1px solid var(--border-color); box-shadow: -4px 0 20px rgba(0,0,0,0.1); z-index: 1001; transition: right 0.3s ease; overflow-y: auto; padding: 60px 0 20px; }
        .page-sidebar.open { right: 0; }
        .page-sidebar-title { font-size: 20px; font-weight: bold; color: var(--text-primary); padding: 0 20px 16px; border-bottom: 1px solid var(--border-color); margin-bottom: 8px; }
        .page-sidebar-item { padding: 12px 20px; cursor: pointer; font-size: 18px; color: var(--text-secondary); transition: all 0.2s ease; }
        .page-sidebar-item:hover { background: var(--bg-secondary); color: var(--text-primary); }
        .page-sidebar-item.active { background: var(--accent-color); color: white; font-weight: bold; }
        .page-sidebar-close { position: absolute; top: 16px; right: 16px; background: none; border: none; font-size: 24px; cursor: pointer; color: var(--text-muted); }
        .ready-text { font-family: 'Ma Shan Zheng', 'STXingkai', 'FZShuTi', cursive; font-size: 120px; color: var(--text-primary); letter-spacing: 20px; }
        .loading-text { font-family: 'Ma Shan Zheng', 'STXingkai', 'FZShuTi', cursive; font-size: var(--text-xl); color: var(--text-muted); animation: blink 1.2s ease-in-out infinite; margin-top: 0; }
        @keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.2; } }
        @keyframes cursor-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
        .typing-cursor { display: inline-block; width: 4px; height: 1em; background: var(--text-primary); margin-left: 6px; vertical-align: text-bottom; animation: cursor-blink 0.3s step-end infinite; }
        
        /* 目录页样式 */
        .toc-item { position: absolute; opacity: 0; transform: scale(0.3) rotate(-10deg); transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1); cursor: pointer; }
        .toc-item.show { opacity: 1; transform: scale(1) rotate(var(--rotate, 0deg)); }
        .toc-item-inner { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 12px; padding: 36px 48px; text-align: center; box-shadow: var(--shadow-md); min-width: 260px; position: relative; }
        .toc-pin { position: absolute; top: -8px; left: 50%; transform: translateX(-50%); width: 16px; height: 16px; background: var(--accent-color); border-radius: 50%; border: 2px solid var(--bg-card); box-shadow: 0 2px 4px rgba(0,0,0,0.2); opacity: 0; transition: all 0.3s ease; }
        .toc-item.show .toc-pin { opacity: 1; animation: pin-drop 0.4s ease-out 0.3s both; }
        @keyframes pin-drop { 0% { transform: translateX(-50%) translateY(-20px); opacity: 0; } 60% { transform: translateX(-50%) translateY(2px); opacity: 1; } 100% { transform: translateX(-50%) translateY(0); opacity: 1; } }
        .toc-part { font-size: 32px; font-weight: bold; color: var(--accent-color); margin-bottom: 12px; }
        .toc-content { font-size: 56px; font-family: 'Ma Shan Zheng', 'STXingkai', 'FZShuTi', cursive; color: var(--text-primary); }
        
        /* 碰撞卡片动画 */
        .crash-card { position: absolute; left: 50%; top: 55%; transform: translate(-50%, -50%) rotate(var(--tilt, 0deg)); background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 16px; padding: 48px 72px; box-shadow: var(--shadow-lg); font-size: 38px; max-width: 85%; text-align: center; opacity: 0; z-index: 1; line-height: 1.6; }
        .crash-card.active { opacity: 1; transform: translate(-50%, -50%) rotate(var(--tilt, 0deg)); animation: crash-in 0.25s ease-out forwards; }
        .crash-card.crashed { animation: crash-out 0.3s 0.05s ease-in forwards; }
        .crash-card.crashed-hard { animation: crash-out-hard 0.25s 0.05s ease-in forwards; }
        @keyframes crash-in { 0% { opacity: 0; transform: translate(100%, -50%) rotate(calc(var(--tilt, 0deg) + 8deg)) scale(1.05); } 100% { opacity: 1; transform: translate(-50%, -50%) rotate(var(--tilt, 0deg)) scale(1); } }
        @keyframes crash-out { 0% { opacity: 1; transform: translate(-50%, -50%) rotate(var(--tilt, 0deg)); } 100% { opacity: 0; transform: translate(-180%, -50%) rotate(calc(var(--tilt, 0deg) - 25deg)); } }
        @keyframes crash-out-hard { 0% { opacity: 1; transform: translate(-50%, -50%) rotate(var(--tilt, 0deg)) scale(1); } 40% { opacity: 1; transform: translate(-55%, -50%) rotate(var(--tilt, 0deg)) scale(0.92); } 100% { opacity: 0; transform: translate(-280%, -50%) rotate(calc(var(--tilt, 0deg) - 40deg)) scale(0.7); } }
        .bg-highlight { background: linear-gradient(transparent 55%, rgba(139,158,191,0.35) 55%); padding: 0 4px; }
        
        /* 进度条样式 */
        .chart-body { min-height: 320px; display: flex; align-items: flex-start; }
        .chart-footer { min-height: 80px; display: flex; align-items: center; justify-content: center; }
        .bar-item { display: flex; align-items: center; margin-bottom: 12px; gap: 12px; }
        .bar-label { width: 60px; font-size: 22px; color: var(--text-primary); text-align: right; flex-shrink: 0; }
        .bar-track { flex: 1; height: 32px; background: var(--bg-secondary); border-radius: 16px; overflow: hidden; position: relative; }
        .bar-fill { height: 100%; width: 0; border-radius: 14px; transition: width 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
        .bar-pct { width: 56px; font-size: 22px; font-weight: bold; color: var(--text-primary); text-align: left; flex-shrink: 0; opacity: 0; }
        .chart-group.animate .bar-fill { width: var(--target-width); }
        .chart-group.animate .bar-pct { opacity: 1; }
        
        /* 柱状图样式 */
        .col-chart { display: flex; align-items: flex-end; justify-content: center; gap: 32px; height: 300px; padding: 0 20px; }
        .col-item { display: flex; flex-direction: column; align-items: center; flex: 1; max-width: 120px; }
        .col-bar-wrap { width: 100%; height: 260px; display: flex; align-items: flex-end; justify-content: center; }
        .col-bar { width: 65%; height: 0; border-radius: 10px 10px 0 0; transition: height 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
        .col-label { font-size: 18px; color: var(--text-secondary); margin-top: 12px; text-align: center; }
        .col-pct { font-size: 20px; font-weight: bold; color: var(--text-primary); margin-top: 6px; opacity: 0; }
        .chart-group.animate .col-bar { height: var(--target-height); }
        .chart-group.animate .col-pct { opacity: 1; }
        
        /* 环状图样式 */
        .ring-chart-container { display: flex; align-items: center; justify-content: center; gap: 32px; flex-wrap: wrap; }
        .ring-chart-item { text-align: center; display: flex; flex-direction: column; align-items: center; min-height: 320px; }
        .ring-chart-svg { width: 200px; height: 200px; transform: rotate(-90deg); margin-bottom: 16px; }
        .ring-bg { fill: none; stroke: var(--bg-secondary); stroke-width: 14; }
        .ring-fill { fill: none; stroke-width: 14; stroke-linecap: round; stroke-dasharray: 439.82; stroke-dashoffset: 439.82; transition: stroke-dashoffset 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
        .ring-center-text { font-size: 24px; font-weight: bold; color: var(--text-primary); margin-top: 8px; text-align: center; }
        .ring-label { font-size: 16px; color: var(--text-secondary); margin-top: 4px; text-align: center; }
        .ring-legend { display: flex; gap: 16px; justify-content: center; margin-top: 12px; flex-wrap: wrap; }
        .ring-legend-item { display: flex; align-items: center; gap: 6px; font-size: 15px; color: var(--text-secondary); }
        .ring-legend-dot { width: 12px; height: 12px; border-radius: 50%; }
        
        /* 小人样式已清理 */
        
        /* 飞出卡片 */
        .fly-card { 
            position: absolute; width: 780px; padding: 44px 52px; 
            background: var(--bg-card); border: 1px solid var(--border-color); 
            border-radius: 18px; box-shadow: var(--shadow-lg); 
            font-size: 34px; line-height: 1.7; opacity: 0; z-index: 15; 
            left: 50%; top: 50%;
            transform: translate(-50%, -50%) rotate(45deg) scale(0.3); 
            transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1); 
        }
        .fly-card.land { 
            opacity: 1; 
            transform: translate(-50%, -50%) rotate(-2deg) scale(1); 
        }
        .fly-card.result-card { border-left: 4px solid var(--morandi-blue); }
        .fly-card.evidence-card { border-left: 4px solid var(--morandi-green); }
        
        /* 盖章 */
        .stamp { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) rotate(-15deg) scale(0); width: 220px; height: 90px; border: 5px solid #c0392b; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 40px; font-weight: bold; color: #c0392b; background: rgba(192,57,43,0.1); z-index: 16; opacity: 0; letter-spacing: 4px; box-shadow: 0 4px 12px rgba(192,57,43,0.2); }
        .stamp.show { animation: stamp-hit 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) forwards; }
        @keyframes stamp-hit { 0% { transform: translate(-50%, -50%) rotate(-15deg) scale(2); opacity: 0; } 60% { transform: translate(-50%, -50%) rotate(-15deg) scale(0.95); opacity: 1; } 100% { transform: translate(-50%, -50%) rotate(-15deg) scale(1); opacity: 1; } }
        
        /* 最终大卡片 */
        .final-card { position: absolute; top: 120px; left: 50%; transform: translateX(-50%) scale(0); width: 90%; max-width: 1200px; padding: 36px 56px; background: var(--bg-card); border: 2px solid var(--accent-color); border-radius: 16px; box-shadow: 0 12px 40px rgba(0,0,0,0.15); font-size: 22px; line-height: 1.6; z-index: 25; opacity: 0; }
        .final-card.show { animation: final-card-in 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards; }
        @keyframes final-card-in { 0% { transform: translateX(-50%) scale(0); opacity: 0; } 100% { transform: translateX(-50%) scale(1); opacity: 1; } }
        
        /* 羊皮纸卷轴 */
        .scrolls-container { display: flex; gap: 28px; justify-content: center; align-items: center; padding: 0 30px; margin-top: 40px; height: calc(100vh - 170px); }
        .scroll-wrapper { display: flex; flex-direction: column; align-items: center; flex: 1; }
        
        /* 轴筒 */
        .scroll-axis {
            width: 100%; height: 28px; background: linear-gradient(to bottom, #8B7355, #6B5B43, #8B7355);
            border-radius: 14px; position: relative; z-index: 3;
            box-shadow: 0 3px 8px rgba(0,0,0,0.25), inset 0 2px 4px rgba(255,255,255,0.15);
        }
        .scroll-axis::before, .scroll-axis::after {
            content: ''; position: absolute; top: 50%; transform: translateY(-50%);
            width: 36px; height: 36px; background: linear-gradient(135deg, #A0896B, #7A6B55);
            border-radius: 50%; box-shadow: 0 2px 6px rgba(0,0,0,0.3), inset 0 1px 3px rgba(255,255,255,0.2);
        }
        .scroll-axis::before { left: -8px; }
        .scroll-axis::after { right: -8px; }
        
        /* 卷轴纸张 */
        .scroll-paper {
            width: 100%; background: linear-gradient(135deg, #f5e6c8, #e8d5a8, #f0deb8);
            border-left: 1px solid #d4c4a0; border-right: 1px solid #d4c4a0;
            box-shadow: 3px 4px 14px rgba(0,0,0,0.12), inset 0 0 24px rgba(139,115,75,0.08);
            overflow-y: auto; overflow-x: hidden; max-height: 60px;
            transition: max-height 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
            scrollbar-width: none; /* Firefox */
            -ms-overflow-style: none; /* IE/Edge */
        }
        .scroll-paper::-webkit-scrollbar { display: none; /* Chrome/Safari */ }
        .scroll-wrapper.unfolded .scroll-paper { max-height: 600px; }
        
        .scroll-inner { padding: 0 28px; opacity: 0; transition: opacity 0.4s ease 0.4s; }
        .scroll-wrapper.unfolded .scroll-inner { padding: 36px 28px; opacity: 1; }
        
        .scroll-title { font-size: 28px; font-weight: bold; color: #5a4a32; text-align: center; margin-bottom: 18px; border-bottom: 1px dashed #c4b48a; padding-bottom: 14px; }
        .scroll-text { font-size: 22px; color: #6b5b43; line-height: 1.75; text-align: justify; }
        .wide-cards-container { position: relative; width: 100%; height: calc(100vh - 120px); overflow: hidden; margin-top: 10px; }
        .wide-card {
            position: absolute; left: 50%; transform: translateX(-50%);
            width: 90%; padding: 48px 56px;
            background: var(--bg-card); border: 1px solid var(--border-color);
            border-radius: 24px; box-shadow: var(--shadow-lg);
            transition: top 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
            opacity: 0;
        }
        .wide-card.active { opacity: 1; }
        .wide-card.pushed { opacity: 0; pointer-events: none; }
        .wide-card-title { font-size: 40px; font-weight: bold; color: var(--accent-color); margin-bottom: 24px; }
        .wide-card-text { font-size: 34px; color: var(--text-secondary); line-height: 1.8; }
        /* 闭合时标题居中显示 */
        .scroll:not(.unfolded) { display: flex; align-items: center; justify-content: center; }
        
        /* 研究方法页 - 泡泡动画 */
        .bubble-container { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 80%; height: 70%; z-index: 10; }
        .main-bubble {
            position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
            width: 720px; padding: 56px 64px;
            background: rgba(255,255,255,0.4);
            border: 1.5px solid rgba(255,255,255,0.6);
            border-radius: 30px 60px 30px 60px;
            text-align: left; font-size: 36px; color: var(--text-primary);
            box-shadow: 0 8px 32px rgba(0,0,0,0.08), inset 0 0 20px rgba(255,255,255,0.3);
            cursor: pointer; opacity: 0; line-height: 1.8;
            backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
        }
        .main-bubble.show { animation: bubble-appear 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards, bubble-sway 4s ease-in-out 0.6s infinite; }
        
        /* 装饰小卡片 */
        .deco-bubble {
            position: absolute; border-radius: 8px;
            background: rgba(255,255,255,0.6);
            border: 1px solid rgba(255,255,255,0.8);
            box-shadow: 0 2px 8px rgba(0,0,0,0.08);
            opacity: 0; pointer-events: none;
        }
        .deco-bubble.visible { animation: deco-float 3s ease-in-out infinite; }
        .deco-1 { width: 50px; height: 30px; left: 10%; top: 22%; }
        .deco-2 { width: 40px; height: 25px; right: 12%; top: 18%; }
        .deco-3 { width: 45px; height: 28px; left: 15%; bottom: 20%; }
        .deco-4 { width: 35px; height: 22px; right: 18%; bottom: 25%; }
        .deco-5 { width: 42px; height: 26px; left: 5%; top: 50%; }
        .deco-6 { width: 38px; height: 24px; right: 8%; top: 45%; }
        @keyframes deco-float {
            0% { opacity: 0; transform: translateY(0) scale(0.8); }
            20% { opacity: 0.9; transform: translateY(-15px) scale(1.1); }
            50% { opacity: 0.7; transform: translateY(5px) scale(0.95); }
            80% { opacity: 0.5; transform: translateY(-8px) scale(1.05); }
            100% { opacity: 0; transform: translateY(0) scale(0.8); }
        }
        .main-bubble.pop { animation: bubble-pop 0.4s ease-in forwards; }
        @keyframes bubble-appear { 0% { opacity: 0; transform: translate(-50%, -50%) scale(0); } 100% { opacity: 1; transform: translate(-50%, -50%) scale(1); } }
        @keyframes bubble-sway { 0%, 100% { transform: translate(-50%, -50%) rotate(0deg); } 25% { transform: translate(-50%, -50%) rotate(0.5deg); } 75% { transform: translate(-50%, -50%) rotate(-0.5deg); } }
        @keyframes bubble-pop { 0% { opacity: 1; transform: translate(-50%, -50%) scale(1); } 50% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.15); } 100% { opacity: 0; transform: translate(-50%, -50%) scale(1.3); } }
        
        .small-bubbles { position: absolute; left: 0; top: 0; width: 100%; height: 100%; opacity: 0; pointer-events: none; }
        .small-bubbles.show { opacity: 1; transition: opacity 0.4s ease-out; }
        .small-bubble {
            position: absolute; border-radius: 12px;
            background: var(--bg-card);
            border: 1px solid var(--border-color);
            box-shadow: var(--shadow-md);
            padding: 32px 36px;
            opacity: 0; line-height: 1.6;
        }
        .small-bubbles.fade-out { opacity: 0; transition: opacity 0.4s ease-in; }
        .small-bubbles.show .small-bubble { animation: small-bubble-in 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards; }
        .small-bubbles.show .small-bubble:nth-child(1) { animation-delay: 0.05s; }
        .small-bubbles.show .small-bubble:nth-child(2) { animation-delay: 0.12s; }
        .small-bubbles.show .small-bubble:nth-child(3) { animation-delay: 0.19s; }
        .small-bubbles.show .small-bubble:nth-child(4) { animation-delay: 0.26s; }
        @keyframes small-bubble-in { 0% { opacity: 0; transform: scale(0); } 100% { opacity: 1; transform: scale(1); } }
        .bubble-float-1 { animation: bfloat1 3.5s ease-in-out infinite; }
        .bubble-float-2 { animation: bfloat2 4s ease-in-out infinite; }
        .bubble-float-3 { animation: bfloat3 3.8s ease-in-out infinite; }
        .bubble-float-4 { animation: bfloat4 4.2s ease-in-out infinite; }
        @keyframes bfloat1 { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-12px)} }
        @keyframes bfloat2 { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }
        @keyframes bfloat3 { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-14px)} }
        @keyframes bfloat4 { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }
        .small-bubbles.show .small-bubble { animation: small-bubble-in 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards; }
        .small-bubbles.show .bubble-float-2 { animation-delay: 0.1s; }
        .small-bubbles.show .bubble-float-3 { animation-delay: 0.2s; }
        .small-bubbles.show .bubble-float-4 { animation-delay: 0.3s; }
        
        /* 便利贴样式 */
        .sticky-notes { position: absolute; left: 0; top: 0; width: 100%; height: 100%; opacity: 0; pointer-events: none; z-index: 10; }
        .sticky-notes.show { opacity: 1; pointer-events: all; transition: opacity 0.5s ease-in; }
        .sticky-note {
            position: absolute; width: 48%; padding: 52px 44px 44px; border-radius: 4px;
            font-size: 26px; line-height: 1.75; color: #3a3a3a;
            box-shadow: 4px 8px 24px rgba(0,0,0,0.18);
            transform-origin: top center;
            opacity: 0;
        }
        .sticky-notes.show .sticky-note { animation: sticky-drop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards; }
        .sticky-notes.show .sticky-note:nth-child(2) { animation-delay: 0.15s; }
        @keyframes sticky-drop { 0% { opacity: 0; transform: translateY(-40px) rotate(-3deg) scale(0.8); } 100% { opacity: 1; transform: translateY(0) rotate(var(--note-tilt, 0deg)) scale(1); } }
        .sticky-note::before {
            content: ''; position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
            width: 22px; height: 22px; border-radius: 50%;
            background: radial-gradient(circle at 40% 40%, #e0e0e0, #999);
            box-shadow: 0 2px 6px rgba(0,0,0,0.3);
            z-index: 2;
        }
        .sticky-note::after {
            content: ''; position: absolute; top: -6px; left: 50%; transform: translateX(-50%);
            width: 8px; height: 12px; background: #aaa;
            border-radius: 0 0 2px 2px;
            box-shadow: 0 1px 3px rgba(0,0,0,0.2);
            z-index: 1;
        }
        .sticky-note.note-green { background: linear-gradient(135deg, #e8f5e9, #c8e6c9); --note-tilt: -2deg; left: 2%; top: 12%; }
        .sticky-note.note-orange { background: linear-gradient(135deg, #fff3e0, #ffe0b2); --note-tilt: 1.5deg; right: 2%; top: 15%; }
        .sticky-float { animation: sticky-float-anim 4s ease-in-out infinite; }
        .sticky-notes.show .sticky-float { animation: sticky-drop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards, sticky-float-anim 4s ease-in-out 0.6s infinite; }
        @keyframes sticky-float-anim { 0%, 100% { transform: translateY(0) rotate(var(--note-tilt, 0deg)); } 50% { transform: translateY(-6px) rotate(calc(var(--note-tilt, 0deg) + 0.5deg)); } }
        .sticky-note-title { font-size: 30px; font-weight: bold; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 2px dashed rgba(0,0,0,0.15); }
        .so-text { font-size: 72px; color: #e53e3e; font-weight: 900; -webkit-text-stroke: 2px #e53e3e; }
        
        /* 翻书效果 */
        .book-container { display: flex; gap: 0; width: 92%; max-width: 1300px; height: 68vh; margin: 100px auto 0; position: relative; overflow: hidden; }
        .book-spine { width: 20px; background: linear-gradient(to right, #d4c5a9, #c9b896, #d4c5a9); box-shadow: inset -4px 0 8px rgba(0,0,0,0.15), inset 4px 0 8px rgba(0,0,0,0.15); z-index: 2; border-radius: 2px; }
        .book-page { flex: 1; background: #faf8f3; border: 1px solid #e0ddd5; padding: 48px 44px; position: relative; box-shadow: 2px 0 10px rgba(0,0,0,0.08); overflow: hidden; }
        .book-page.left-page { border-radius: 4px 0 0 4px; box-shadow: -4px 4px 16px rgba(0,0,0,0.12), inset -6px 0 12px rgba(0,0,0,0.04); }
        .book-page.right-page { border-radius: 0 4px 4px 0; box-shadow: 4px 4px 16px rgba(0,0,0,0.12), inset 6px 0 12px rgba(0,0,0,0.04); }
        .book-chapter { font-size: 36px; font-weight: bold; color: var(--accent-color); margin-bottom: 28px; font-family: 'Ma Shan Zheng', 'STXingkai', cursive; text-align: center; }
        .book-chapter-en { font-size: 20px; color: var(--text-muted); text-align: center; margin-bottom: 8px; letter-spacing: 4px; }
        .book-theory { margin-bottom: 24px; }
        .book-theory h3 { font-size: 28px; color: var(--text-primary); margin-bottom: 10px; }
        .book-theory p { font-size: 27px; color: var(--text-secondary); line-height: 1.75; }
        .book-underline { background: linear-gradient(transparent 55%, rgba(139,158,191,0.35) 55%); padding: 0 4px; }
        .book-page-number { position: absolute; bottom: 16px; font-size: 18px; color: var(--text-muted); }
        .book-page .left-num { left: 44px; }
        .book-page .right-num { right: 44px; }
        .book-nav-hint { text-align: center; margin-top: 20px; font-size: 20px; color: var(--text-muted); min-height: 28px; }
        
        /* 翻页动画 - 书籍翻页效果 */
        .book-page.right-page { transform-origin: left center; backface-visibility: hidden; }
        .book-page.right-page.page-flip-out {
            animation: book-flip-out 0.6s ease-in forwards;
        }
        .book-page.right-page.page-flip-in {
            animation: book-flip-in 0.6s ease-out forwards;
        }
        @keyframes book-flip-out {
            0% { transform: perspective(1200px) rotateY(0deg); opacity: 1; }
            40% { transform: perspective(1200px) rotateY(-30deg); opacity: 0.8; box-shadow: -8px 4px 20px rgba(0,0,0,0.15); }
            100% { transform: perspective(1200px) rotateY(-90deg); opacity: 0; box-shadow: -2px 4px 8px rgba(0,0,0,0.05); }
        }
        @keyframes book-flip-in {
            0% { transform: perspective(1200px) rotateY(90deg); opacity: 0; }
            60% { transform: perspective(1200px) rotateY(-5deg); opacity: 0.9; }
            80% { transform: perspective(1200px) rotateY(2deg); opacity: 1; }
            100% { transform: perspective(1200px) rotateY(0deg); opacity: 1; }
        }
        
        /* 研究问题页动画 */
        .main-question { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-size: 36px; text-align: center; color: var(--text-primary); font-weight: bold; max-width: 80%; line-height: 1.6; opacity: 0; z-index: 10; }
        .main-question.drop { animation: drop-in 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards; }
        .main-question.split { animation: split-out 0.4s ease-in forwards; }
        @keyframes drop-in { 0% { opacity: 0; transform: translate(-50%, -200%) scale(1.3); } 60% { opacity: 1; transform: translate(-50%, -48%) scale(0.98); } 80% { transform: translate(-50%, -52%) scale(1.02); } 100% { opacity: 1; transform: translate(-50%, -50%) scale(1); } }
        @keyframes split-out { 0% { opacity: 1; transform: translate(-50%, -50%) scale(1); } 100% { opacity: 0; transform: translate(-50%, -50%) scale(0.3); } }
        .sub-questions { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 85%; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; opacity: 0; z-index: 10; }
        .sub-questions.show { animation: sub-appear 0.5s ease-out forwards; }
        @keyframes sub-appear { 0% { opacity: 0; } 100% { opacity: 1; } }
        .sub-q-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 16px; padding: 40px; font-size: 32px; color: var(--text-primary); box-shadow: var(--shadow-md); opacity: 0; transform: scale(0.5); }
        .sub-questions.show .sub-q-card { animation: sub-card-in 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards; }
        .sub-questions.show .sub-q-card:nth-child(1) { animation-delay: 0.1s; }
        .sub-questions.show .sub-q-card:nth-child(2) { animation-delay: 0.2s; }
        .sub-questions.show .sub-q-card:nth-child(3) { animation-delay: 0.3s; }
        .sub-questions.show .sub-q-card:nth-child(4) { animation-delay: 0.4s; }
        @keyframes sub-card-in { 0% { opacity: 0; transform: scale(0.5) rotate(-5deg); } 100% { opacity: 1; transform: scale(1) rotate(0deg); } }