
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
        }
        
        body {
            background: linear-gradient(135deg, #0a1e2d, #163a5f);
            color: #fff;
            min-height: 100vh;
            padding: 20px;
            overflow-x: hidden;
        }
        
        .container {
            max-width: 1400px;
            margin: 0 auto;
        }
        
        header {
            text-align: center;
            padding: 20px 0;
            margin-bottom: 30px;
        }
        
        h1 {
            font-size: 2.8rem;
            margin-bottom: 15px;
            text-shadow: 0 3px 12px rgba(0,0,0,0.4);
            background: linear-gradient(to right, #76d87e, #4facfe);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            position: relative;
            display: inline-block;
        }
        
        .subtitle {
            font-size: 1.3rem;
            opacity: 0.85;
            max-width: 800px;
            margin: 0 auto;
            line-height: 1.7;
            color: #cae9ff;
        }
        
        .experiment-area {
            display: flex;
            flex-wrap: wrap;
            gap: 30px;
            margin-bottom: 30px;
        }
        
        .visualization {
            flex: 1;
            min-width: 300px;
            background: rgba(5, 30, 50, 0.6);
            border-radius: 20px;
            padding: 20px;
            box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5);
            backdrop-filter: blur(10px);
            position: relative;
            overflow: hidden;
            min-height: 600px;
            border: 1px solid rgba(79, 172, 254, 0.2);
        }
        
        .controls {
            flex: 0 0 380px;
            background: rgba(5, 35, 65, 0.7);
            border-radius: 20px;
            padding: 25px;
            box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(79, 172, 254, 0.2);
        }
        
        .section-title {
            font-size: 1.6rem;
            margin-bottom: 25px;
            color: #76d87e;
            display: flex;
            align-items: center;
            gap: 12px;
            padding-bottom: 10px;
            border-bottom: 2px solid rgba(79, 172, 254, 0.3);
        }
        
        .plant-container {
            position: relative;
            height: 500px;
            margin-top: 20px;
        }
        
        /* 精简植物模型 - 两片叶子连接到茎 */
        .plant {
            position: absolute;
            bottom: 50px;
            left: 50%;
            transform: translateX(-50%);
            width: 250px;
            height: 380px;
            z-index: 10;
        }
        
        .pot {
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 140px;
            height: 80px;
            background: linear-gradient(to top, #5d4037, #8B4513);
            border-radius: 10px 10px 0 0;
            z-index: 5;
            box-shadow: 0 5px 15px rgba(0,0,0,0.3);
        }
        
        .soil {
            position: absolute;
            bottom: 80px;
            left: 50%;
            transform: translateX(-50%);
            width: 160px;
            height: 30px;
            background: linear-gradient(to top, #795548, #5d4037);
            border-radius: 50% 50% 0 0;
            z-index: 4;
        }
        
        .stem {
            position: absolute;
            bottom: 110px;
            left: 50%;
            width: 25px;
            height: 220px;
            background: linear-gradient(to right, #3a8c3a, #2e7d32, #3a8c3a);
            border-radius: 12px;
            transform: translateX(-50%);
            z-index: 3;
            box-shadow: 0 0 10px rgba(0,100,0,0.3);
        }
        
        .leaf {
            position: absolute;
            z-index: 2;
            transform-origin: bottom center;
            animation: leafFloat 4s infinite ease-in-out;
        }
        
        .leaf-body {
            position: relative;
            width: 120px;
            height: 60px;
            background: linear-gradient(to bottom, #66bb6a, #2E7D32);
            border-radius: 50% 0 50% 50%;
            box-shadow: 0 0 15px rgba(0,100,0,0.2);
        }
        
        /* 优化叶柄连接 */
        .leaf-stem {
            position: absolute;
            bottom: 0;
            left: 50%;
            width: 12px;
            height: 60px;
            background: linear-gradient(to bottom, #3a8c3a, #2e7d32);
            border-radius: 6px;
            transform: translateX(-50%);
            z-index: 1;
            box-shadow: 0 0 5px rgba(0,100,0,0.2);
        }
        
        .leaf-vein {
            position: absolute;
            height: 3px;
            background: #1b5e20;
            border-radius: 2px;
            transform-origin: left;
        }
        
        .leaf-center {
            position: absolute;
            width: 35px;
            height: 35px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            top: 15px;
            left: 40px;
            z-index: 3;
        }
        
        /* 叶子位置调整 - 确保叶柄连接到茎 */
        .leaf-1 {
            bottom: 200px; /* 调整高度让叶柄连接到茎的中上部 */
            left: calc(50% + 20px); /* 右侧叶子 */
            transform: rotate(25deg);
            animation-delay: 0s;
        }
        
        .leaf-2 {
            bottom: 160px; /* 稍低一些，形成自然的叶子分布 */
            left: calc(50% - 140px); /* 左侧叶子 */
            transform: rotate(-20deg);
            animation-delay: 0.5s;
        }
        
        /* 叶柄连接点 - 在茎上添加小的连接节点 */
        .stem-node {
            position: absolute;
            width: 8px;
            height: 8px;
            background: #2e7d32;
            border-radius: 50%;
            left: 50%;
            transform: translateX(-50%);
            z-index: 4;
        }
        
        .node-1 {
            bottom: 110px; /* 对应第一片叶子的位置 */
        }
        
        .node-2 {
            bottom: 70px; /* 对应第二片叶子的位置 */
        }
        
        .sun {
            position: absolute;
            top: 40px;
            right: 60px;
            width: 90px;
            height: 90px;
            background: radial-gradient(circle, #FFEB3B, #FF9800);
            border-radius: 50%;
            box-shadow: 0 0 50px #FF9800, 0 0 100px rgba(255, 152, 0, 0.7);
            z-index: 1;
            animation: sunPulse 4s infinite alternate;
        }
        
        .light-beam {
            position: absolute;
            top: 40px;
            right: 60px;
            width: 90px;
            height: 90px;
            border-radius: 50%;
            z-index: 0;
        }
        
        .light-ray {
            position: absolute;
            top: 40px;
            right: 60px;
            width: 5px;
            height: 300px;
            background: rgba(255, 235, 59, 0.5);
            border-radius: 5px;
            transform-origin: top;
            z-index: 0;
            opacity: 0;
        }
        
        /* 动画元素 */
        .water-droplet {
            position: absolute;
            width: 16px;
            height: 16px;
            background: #29B6F6;
            border-radius: 50%;
            z-index: 10;
            opacity: 0;
            filter: drop-shadow(0 0 5px #29B6F6);
        }
        
        .co2-molecule {
            position: absolute;
            width: 30px;
            height: 30px;
            z-index: 10;
            opacity: 0;
        }
        
        .co2-atom {
            position: absolute;
            width: 10px;
            height: 10px;
            background: rgba(255, 255, 255, 0.8);
            border-radius: 50%;
            filter: drop-shadow(0 0 3px rgba(255,255,255,0.5));
        }
        
        .o2-bubble {
            position: absolute;
            width: 22px;
            height: 22px;
            background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.9), rgba(200,255,200,0.7));
            border: 2px solid #4CAF50;
            border-radius: 50%;
            z-index: 10;
            opacity: 0;
            filter: drop-shadow(0 0 5px rgba(76, 175, 80, 0.5));
        }
        
        .glucose-molecule {
            position: absolute;
            font-size: 24px;
            color: #FFD700;
            opacity: 0;
            z-index: 10;
            font-weight: bold;
            text-shadow: 0 0 10px rgba(255, 215, 0, 0.8);
        }
        
        .reaction-bubble {
            position: absolute;
            width: 80px;
            height: 80px;
            background: rgba(118, 216, 126, 0.2);
            border-radius: 50%;
            z-index: 9;
            opacity: 0;
            pointer-events: none;
        }
        
        /* 控制面板样式 */
        .control-group {
            margin-bottom: 28px;
        }
        
        label {
            display: block;
            margin-bottom: 10px;
            font-size: 1.15rem;
            display: flex;
            align-items: center;
            gap: 12px;
            color: #cae9ff;
        }
        
        .slider-container {
            display: flex;
            align-items: center;
            gap: 15px;
        }
        
        input[type="range"] {
            flex: 1;
            height: 12px;
            border-radius: 6px;
            background: linear-gradient(to right, #1a2a6c, #4facfe);
            outline: none;
            -webkit-appearance: none;
            box-shadow: 0 0 8px rgba(79, 172, 254, 0.3);
        }
        
        input[type="range"]::-webkit-slider-thumb {
            -webkit-appearance: none;
            width: 24px;
            height: 24px;
            border-radius: 50%;
            background: #4facfe;
            cursor: pointer;
            box-shadow: 0 0 10px rgba(79, 172, 254, 0.8);
            border: 2px solid white;
            transition: all 0.2s ease;
        }
        
        input[type="range"]::-webkit-slider-thumb:hover {
            transform: scale(1.1);
            background: #76d87e;
        }
        
        .value-display {
            width: 60px;
            text-align: center;
            font-weight: bold;
            background: rgba(79, 172, 254, 0.15);
            padding: 8px;
            border-radius: 8px;
            font-size: 1.1rem;
            color: #76d87e;
            border: 1px solid rgba(79, 172, 254, 0.3);
        }
        
        .stats {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 18px;
            margin-top: 25px;
        }
        
        .stat-card {
            background: rgba(10, 45, 85, 0.6);
            border-radius: 12px;
            padding: 18px;
            text-align: center;
            border: 1px solid rgba(79, 172, 254, 0.2);
            transition: all 0.3s ease;
        }
        
        .stat-card:hover {
            transform: translateY(-5px);
            background: rgba(15, 60, 110, 0.7);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
        }
        
        .stat-value {
            font-size: 2.2rem;
            font-weight: bold;
            margin: 12px 0;
            color: #76d87e;
            text-shadow: 0 0 10px rgba(118, 216, 126, 0.3);
        }
        
        .stat-label {
            font-size: 1rem;
            opacity: 0.9;
            color: #cae9ff;
        }
        
        .chart-container {
            background: rgba(5, 35, 65, 0.7);
            border-radius: 20px;
            padding: 25px;
            margin-top: 30px;
            box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(79, 172, 254, 0.2);
        }
        
        .chart-title {
            font-size: 1.4rem;
            margin-bottom: 20px;
            color: #76d87e;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        canvas {
            width: 100% !important;
            height: 300px !important;
            background: rgba(10, 45, 85, 0.4);
            border-radius: 15px;
            padding: 15px;
        }
        
        .reset-btn {
            display: block;
            width: 100%;
            padding: 16px;
            background: linear-gradient(to right, #76d87e, #4facfe);
            border: none;
            border-radius: 12px;
            color: white;
            font-size: 1.2rem;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.3s ease;
            margin-top: 25px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
        }
        
        .reset-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
            background: linear-gradient(to right, #4facfe, #76d87e);
        }
        
        footer {
            text-align: center;
            padding: 30px 0;
            margin-top: 30px;
            opacity: 0.8;
            font-size: 1rem;
            color: #cae9ff;
            border-top: 1px solid rgba(79, 172, 254, 0.2);
        }
        
        .knowledge-panel {
            position: fixed;
            bottom: 20px;
            right: 20px;
            width: 300px;
            background: rgba(10, 45, 85, 0.95);
            border-radius: 15px;
            padding: 20px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(79, 172, 254, 0.3);
            z-index: 1000;
            transform: translateY(150%);
            transition: transform 0.5s ease;
        }
        
        .knowledge-panel.active {
            transform: translateY(0);
        }
        
        .knowledge-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
            padding-bottom: 10px;
            border-bottom: 1px solid rgba(79, 172, 254, 0.3);
        }
        
        .knowledge-title {
            font-size: 1.3rem;
            color: #76d87e;
        }
        
        .close-btn {
            background: none;
            border: none;
            color: #cae9ff;
            font-size: 1.5rem;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .close-btn:hover {
            color: #76d87e;
            transform: rotate(90deg);
        }
        
        .knowledge-content {
            font-size: 1rem;
            line-height: 1.6;
            color: #cae9ff;
        }
        
        .highlight {
            color: #76d87e;
            font-weight: bold;
            text-align: center;
            font-size: 1.2rem;
            margin: 10px 0;
            display: block;
        }
        
        /* 动画关键帧 */
        @keyframes sunPulse {
            0% { transform: scale(1); }
            100% { transform: scale(1.05); }
        }
        
        @keyframes leafFloat {
            0% { transform: rotate(var(--base-rotation)) translateY(0); }
            50% { transform: rotate(calc(var(--base-rotation) + 2deg)) translateY(-5px); }
            100% { transform: rotate(var(--base-rotation)) translateY(0); }
        }
        
        @keyframes waterRise {
            0% { 
                bottom: 80px; 
                left: 50%; 
                transform: translateX(-50%) scale(0.5); 
                opacity: 0;
            }
            10% { opacity: 1; }
            50% { 
                bottom: 250px; 
                left: 50%; 
                transform: translateX(-50%) scale(1); 
            }
            100% { 
                bottom: 250px; 
                left: 50%; 
                transform: translateX(-50%) scale(0.2); 
                opacity: 0;
            }
        }
        
        @keyframes co2Fall {
            0% { 
                top: -30px; 
                left: 30%; 
                transform: scale(0.3); 
                opacity: 0;
            }
            20% { opacity: 0.7; }
            100% { 
                top: 250px; 
                left: 50%; 
                transform: scale(1); 
                opacity: 0;
            }
        }
        
        @keyframes o2Rise {
            0% { 
                top: 250px; 
                left: 50%; 
                transform: scale(0.5); 
                opacity: 0;
            }
            20% { opacity: 0.9; }
            100% { 
                top: -30px; 
                left: 50%; 
                transform: scale(1.2); 
                opacity: 0;
            }
        }
        
        @keyframes glucoseFlow {
            0% { 
                top: 230px; 
                left: 50%; 
                transform: translateX(-50%) scale(0.8); 
                opacity: 0;
            }
            30% { 
                opacity: 1; 
                transform: translateX(-50%) scale(1.1);
            }
            70% { 
                top: 120px; 
                left: 50%; 
                opacity: 1;
            }
            100% { 
                top: 80px; 
                left: 50%; 
                opacity: 0;
                transform: translateX(-50%) scale(0.7);
            }
        }
        
        @keyframes lightRay {
            0% { 
                height: 0;
                opacity: 0;
            }
            30% { 
                height: 300px;
                opacity: 0.6;
            }
            70% { 
                opacity: 0.3;
            }
            100% { 
                height: 300px;
                opacity: 0;
            }
        }
        
        @keyframes reactionBubble {
            0% { 
                transform: scale(0.5);
                opacity: 0;
            }
            50% { 
                transform: scale(1.2);
                opacity: 0.4;
            }
            100% { 
                transform: scale(1.5);
                opacity: 0;
            }
        }
        
        @keyframes leafGlow {
            0% { 
                box-shadow: 0 0 0 0 rgba(118, 216, 126, 0.5);
            }
            70% { 
                box-shadow: 0 0 20px 10px rgba(118, 216, 126, 0);
            }
            100% { 
                box-shadow: 0 0 0 0 rgba(118, 216, 126, 0);
            }
        }
        
        /* 响应式设计 */
        @media (max-width: 1100px) {
            .experiment-area {
                flex-direction: column;
            }
            
            .controls {
                flex: 1;
                width: 100%;
            }
        }
        
        @media (max-width: 768px) {
            h1 {
                font-size: 2.2rem;
            }
            
            .subtitle {
                font-size: 1.1rem;
            }
            
            .section-title {
                font-size: 1.4rem;
            }
            
            .knowledge-panel {
                width: 90%;
                left: 5%;
                right: 5%;
            }
        }
        
        @media (max-width: 480px) {
            h1 {
                font-size: 1.8rem;
            }
            
            .section-title {
                font-size: 1.2rem;
            }
            
            .stat-value {
                font-size: 1.8rem;
            }
            
            .knowledge-panel {
                padding: 15px;
            }
            
            .knowledge-title {
                font-size: 1.1rem;
            }
            
            .plant-container {
                height: 450px;
            }
            
            .leaf-body {
                width: 100px;
                height: 50px;
            }
        }
