/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', 'Microsoft YaHei', 'PingFang SC', sans-serif;
    overflow: hidden;
    min-height: 100vh;
    position: relative;
    transition: background 1s ease;
}

/* 交互式卡通背景 */
.cartoon-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

/* 天空层 */
.sky-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(180deg, #87CEEB 0%, #5DADE2 50%, #3498DB 100%);
    transition: background 1s ease;
}

/* 夜晚模式 */
.cartoon-background.night .sky-layer {
    background: linear-gradient(180deg, #0D1B2A 0%, #1B2845 50%, #2D3E5C 100%);
}

/* 太阳容器 */
.sun-container {
    position: absolute;
    top: 30px;
    right: 60px;
    transition: opacity 1s ease, transform 1s ease;
}

.cartoon-background.night .sun-container {
    opacity: 0;
    transform: translateY(50px);
}

/* 太阳 */
.sun {
    width: 100px;
    height: 100px;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.sun:hover {
    transform: scale(1.15);
}

/* 太阳核心 */
.sun-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, #FFF9C4 0%, #FFEB3B 30%, #FFC107 60%, #FF9800 100%);
    border-radius: 50%;
    box-shadow: 0 0 40px rgba(255, 235, 59, 0.8), 0 0 80px rgba(255, 193, 7, 0.5);
    animation: sunPulse 3s ease-in-out infinite;
}

/* 太阳光晕 */
.sun-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(255, 235, 59, 0.4) 0%, rgba(255, 193, 7, 0.2) 40%, transparent 70%);
    border-radius: 50%;
    animation: glowPulse 3s ease-in-out infinite;
}

/* 太阳光线 */
.sun-rays {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140px;
    height: 140px;
    animation: raysRotate 20s linear infinite;
}

.sun-ray {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60px;
    height: 8px;
    background: linear-gradient(90deg, rgba(255, 235, 59, 0.8), transparent);
    transform-origin: left center;
    border-radius: 4px;
}

.sun-ray:nth-child(1) { transform: rotate(0deg); }
.sun-ray:nth-child(2) { transform: rotate(30deg); }
.sun-ray:nth-child(3) { transform: rotate(60deg); }
.sun-ray:nth-child(4) { transform: rotate(90deg); }
.sun-ray:nth-child(5) { transform: rotate(120deg); }
.sun-ray:nth-child(6) { transform: rotate(150deg); }
.sun-ray:nth-child(7) { transform: rotate(180deg); }
.sun-ray:nth-child(8) { transform: rotate(210deg); }
.sun-ray:nth-child(9) { transform: rotate(240deg); }
.sun-ray:nth-child(10) { transform: rotate(270deg); }
.sun-ray:nth-child(11) { transform: rotate(300deg); }
.sun-ray:nth-child(12) { transform: rotate(330deg); }

@keyframes sunPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.05); }
}

@keyframes glowPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

@keyframes raysRotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* 星空容器 */
.stars-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
}

.cartoon-background.night .stars-container {
    opacity: 1;
}

/* 星星 */
.star {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
    animation: twinkle 2s ease-in-out infinite;
}

.star-1 { top: 30px; left: 100px; animation-delay: 0s; }
.star-2 { top: 80px; left: 200px; animation-delay: 0.3s; }
.star-3 { top: 50px; left: 350px; animation-delay: 0.6s; }
.star-4 { top: 120px; left: 450px; animation-delay: 0.9s; }
.star-5 { top: 60px; left: 600px; animation-delay: 1.2s; }
.star-6 { top: 100px; left: 750px; animation-delay: 1.5s; }
.star-7 { top: 40px; left: 900px; animation-delay: 1.8s; }
.star-8 { top: 90px; left: 1050px; animation-delay: 0.2s; }
.star-9 { top: 70px; left: 1200px; animation-delay: 0.5s; }
.star-10 { top: 110px; left: 1350px; animation-delay: 0.8s; }
.star-11 { top: 45px; left: 150px; animation-delay: 1.1s; }
.star-12 { top: 85px; left: 280px; animation-delay: 1.4s; }
.star-13 { top: 55px; left: 420px; animation-delay: 1.7s; }
.star-14 { top: 95px; left: 580px; animation-delay: 0.1s; }
.star-15 { top: 65px; left: 720px; animation-delay: 0.4s; }
.star-16 { top: 105px; left: 880px; animation-delay: 0.7s; }
.star-17 { top: 75px; left: 1020px; animation-delay: 1s; }
.star-18 { top: 50px; left: 1180px; animation-delay: 1.3s; }
.star-19 { top: 90px; left: 1320px; animation-delay: 1.6s; }
.star-20 { top: 60px; left: 1450px; animation-delay: 1.9s; }

@keyframes twinkle {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.3; transform: scale(0.8); }
}

/* 月亮 */
.moon {
    position: absolute;
    top: 40px;
    right: 80px;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #FFF8E7 0%, #FFE4B5 50%, #DEB887 100%);
    border-radius: 50%;
    box-shadow: 0 0 30px rgba(255, 248, 231, 0.6), 0 0 60px rgba(255, 228, 181, 0.4);
    animation: moonFloat 4s ease-in-out infinite;
}

.moon-crater {
    position: absolute;
    background: rgba(205, 133, 63, 0.3);
    border-radius: 50%;
}

.crater-1 { width: 15px; height: 15px; top: 15px; left: 20px; }
.crater-2 { width: 10px; height: 10px; top: 35px; left: 35px; }
.crater-3 { width: 8px; height: 8px; top: 45px; left: 15px; }

@keyframes moonFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* 云朵 */
.cloud {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    opacity: 0.9;
}

.cloud::before,
.cloud::after {
    content: '';
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
}

.cloud::before {
    width: 50px;
    height: 50px;
    top: -25px;
    left: 15px;
}

.cloud::after {
    width: 35px;
    height: 35px;
    top: -15px;
    left: 50px;
}

.cloud-1 {
    width: 100px;
    height: 40px;
    top: 60px;
    left: 150px;
    animation: cloudFloat 20s linear infinite;
}

.cloud-2 {
    width: 120px;
    height: 45px;
    top: 100px;
    left: 600px;
    animation: cloudFloat 25s linear infinite;
    animation-delay: -5s;
}

.cloud-3 {
    width: 80px;
    height: 35px;
    top: 40px;
    left: 900px;
    animation: cloudFloat 18s linear infinite;
    animation-delay: -10s;
}

@keyframes cloudFloat {
    0% { transform: translateX(-100px); }
    100% { transform: translateX(calc(100vw + 100px)); }
}

/* 气泡装饰 */
.bubble {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.9), rgba(255, 235, 59, 0.6));
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.5), 0 0 10px rgba(255, 235, 59, 0.3);
    cursor: pointer;
    animation: floatBubble 4s ease-in-out infinite;
}

.bubble-1 { width: 45px; height: 45px; top: 80px; left: 120px; animation-delay: 0s; }
.bubble-2 { width: 35px; height: 35px; top: 180px; left: 280px; animation-delay: 0.5s; }
.bubble-3 { width: 55px; height: 55px; top: 130px; left: 480px; animation-delay: 1s; }
.bubble-4 { width: 28px; height: 28px; top: 280px; left: 180px; animation-delay: 1.5s; }
.bubble-5 { width: 40px; height: 40px; top: 230px; left: 580px; animation-delay: 2s; }
.bubble-6 { width: 50px; height: 50px; top: 100px; left: 700px; animation-delay: 2.5s; }
.bubble-7 { width: 38px; height: 38px; top: 200px; left: 850px; animation-delay: 3s; }

@keyframes floatBubble {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-25px) scale(1.1); }
}

/* 蝴蝶 */
.butterfly {
    position: absolute;
    width: 30px;
    height: 30px;
    cursor: pointer;
    animation: butterflyFly 8s ease-in-out infinite;
}

.butterfly::before {
    content: '🦋';
    font-size: 24px;
    display: block;
    animation: wingFlap 0.3s ease-in-out infinite;
}

.butterfly-1 { top: 150px; left: 200px; animation-delay: 0s; }
.butterfly-2 { top: 250px; left: 600px; animation-delay: 2s; }
.butterfly-3 { top: 180px; left: 900px; animation-delay: 4s; }

@keyframes butterflyFly {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(50px, -30px); }
    50% { transform: translate(100px, 0); }
    75% { transform: translate(50px, 30px); }
}

@keyframes wingFlap {
    0%, 100% { transform: scaleX(1); }
    50% { transform: scaleX(0.8); }
}

/* ==================== 爱心树 - 愿景图风格 ==================== */
.tree-area {
    position: absolute;
    bottom: 35%;
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    height: 550px;
    z-index: 5;
}

/* 树干 - 粗壮稳固 */
.tree-trunk {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 200px;
    background: linear-gradient(90deg, #5D4037 0%, #8D6E63 20%, #A1887F 50%, #8D6E63 80%, #5D4037 100%);
    border-radius: 15px 15px 25px 25px;
    box-shadow: 
        inset -12px 0 25px rgba(0, 0, 0, 0.35),
        inset 8px 0 20px rgba(0, 0, 0, 0.2),
        0 8px 25px rgba(0, 0, 0, 0.3);
    z-index: 2;
}

/* 树干纹理 */
.tree-trunk::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 150px;
    background: 
        linear-gradient(180deg, transparent 0%, rgba(93, 64, 55, 0.4) 10%, transparent 20%, rgba(93, 64, 55, 0.3) 30%, transparent 40%, rgba(93, 64, 55, 0.4) 50%, transparent 60%, rgba(93, 64, 55, 0.3) 70%, transparent 80%);
    border-radius: 5px;
}

/* 树干上的BL70文字 - 横向排列 */
.trunk-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.8em;
    font-weight: 900;
    color: #FFFFFF;
    text-shadow: 
        2px 2px 0 #5D4037,
        -1px -1px 0 #5D4037,
        1px -1px 0 #5D4037,
        -1px 1px 0 #5D4037,
        1px 1px 0 #5D4037,
        0 0 10px rgba(0, 0, 0, 0.5);
    z-index: 10;
}

/* 树根 - 扎实向外延伸 */
.tree-roots {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 220px;
    height: 50px;
}

.root {
    position: absolute;
    background: linear-gradient(180deg, #6D4C41 0%, #5D4037 50%, #4E342E 100%);
    border-radius: 0 0 20px 20px;
    box-shadow: inset 0 -5px 12px rgba(0, 0, 0, 0.3);
}

/* 左侧根 */
.root-1 { 
    width: 40px; 
    height: 55px; 
    left: 5px; 
    top: 0; 
    transform: rotate(-40deg);
    border-radius: 50% 50% 0 50%;
}

/* 左中根 */
.root-2 { 
    width: 45px; 
    height: 65px; 
    left: 40px; 
    top: 5px; 
    transform: rotate(-18deg);
}

/* 中间主根 */
.root-main { 
    width: 50px; 
    height: 40px; 
    left: 50%; 
    transform: translateX(-50%); 
    top: 8px; 
    border-radius: 50%;
    background: linear-gradient(180deg, #6D4C41 0%, #5D4037 100%);
}

/* 右中根 */
.root-3 { 
    width: 45px; 
    height: 65px; 
    right: 40px; 
    top: 5px; 
    transform: rotate(18deg);
}

/* 右侧根 */
.root-4 { 
    width: 40px; 
    height: 55px; 
    right: 5px; 
    top: 0; 
    transform: rotate(40deg);
    border-radius: 50% 50% 50% 0;
}

/* 树冠 - 扁平爱心形状，连接在树干顶部 */
.tree-crown {
    position: absolute;
    bottom: 175px;
    left: 50%;
    transform: translateX(-50%);
    width: 520px;
    height: 320px;
    z-index: 3;
}

/* 左半边爱心 - 更大尺寸 */
.tree-crown::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 260px;
    height: 320px;
    background: radial-gradient(ellipse 160px 200px at 75% 25%, #AED581 0%, #8BC34A 25%, #689F38 50%, #558B2F 100%);
    border-radius: 260px 260px 0 260px;
    box-shadow: 
        inset -15px -15px 40px rgba(0, 0, 0, 0.2),
        inset 8px 8px 25px rgba(255, 255, 255, 0.15),
        0 8px 25px rgba(0, 100, 0, 0.25);
    animation: treeBreathe 4s ease-in-out infinite;
}

/* 右半边爱心 - 更大尺寸 */
.tree-crown::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 260px;
    height: 320px;
    background: radial-gradient(ellipse 160px 200px at 25% 25%, #AED581 0%, #8BC34A 25%, #689F38 50%, #558B2F 100%);
    border-radius: 260px 260px 260px 0;
    box-shadow: 
        inset -15px -15px 40px rgba(0, 0, 0, 0.2),
        inset 8px 8px 25px rgba(255, 255, 255, 0.15),
        0 8px 25px rgba(0, 100, 0, 0.25);
    animation: treeBreathe 4s ease-in-out infinite;
    animation-delay: 0.5s;
}

/* 中间填充叶丛 - 连接左右 */
.tree-leaves-center {
    position: absolute;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 100px;
    background: radial-gradient(ellipse 60px 50px at center, #9CCC65 0%, #7CB342 50%, #558B2F 100%);
    border-radius: 50%;
    z-index: 1;
}

/* 额外苹果装饰 */
.tree-leaf-cluster {
    position: absolute;
    width: 30px;
    height: 30px;
    background: radial-gradient(circle at 30% 30%, #FF5252 0%, #D32F2F 70%, #B71C1C 100%);
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
    z-index: 2;
}

.tree-leaf-cluster::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 10px;
    background: #8B4513;
    border-radius: 2px;
}

.tree-leaf-cluster::after {
    content: '';
    position: absolute;
    top: -10px;
    left: 55%;
    width: 8px;
    height: 6px;
    background: #4CAF50;
    border-radius: 50%;
    transform: rotate(30deg);
}

.tree-leaf-cluster.cluster-1 {
    top: 45px;
    left: 90px;
}

.tree-leaf-cluster.cluster-2 {
    top: 50px;
    right: 95px;
}

.tree-leaf-cluster.cluster-3 {
    top: 105px;
    left: 50px;
}

.tree-leaf-cluster.cluster-4 {
    top: 100px;
    right: 55px;
}

.tree-leaf-cluster:hover {
    transform: scale(1.3) rotate(15deg);
}

/* BL70 文字标签 - 隐藏，移到树干上 */
.bl70-label {
    display: none;
}

@keyframes treeBreathe {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

/* 手印装饰 */
.handprint {
    position: absolute;
    width: 50px;
    height: 60px;
    cursor: pointer;
    transition: transform 0.3s ease, filter 0.3s ease;
    animation: handWave 3s ease-in-out infinite;
}

.handprint:hover {
    transform: scale(1.3) rotate(15deg);
    filter: brightness(1.2);
}

.handprint::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;                                                   
    border: 5px solid currentColor;             
    box-shadow: inset 0 0 12px rgba(0, 0, 0, 0.2);
}

.handprint-red { color: #FF5252; }
.handprint-green { color: #4CAF50; }
.handprint-yellow { color: #FFEB3B; }
.handprint-black { color: #212121; }
.handprint-white { color: #FFFFFF; }
.handprint-blue { color: #2196F3; }
.handprint-pink { color: #E91E63; }
.handprint-purple { color: #9C27B0; }

@keyframes handWave {
    0%, 100% { transform: rotate(-5deg); }
    50% { transform: rotate(5deg); }
}

/* 苹果装饰 */
.apple {
    position: absolute;
    width: 35px;
    height: 35px;
    background: radial-gradient(circle at 30% 30%, #FF5252 0%, #D32F2F 70%, #B71C1C 100%);
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.apple::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 14px;
    background: #8B4513;
    border-radius: 3px;
}

.apple-1 { top: 12%; left: 25%; }
.apple-2 { top: 12%; left: 65%; }
.apple-3 { top: 30%; left: 15%; }
.apple-4 { top: 30%; left: 75%; }
.apple-5 { top: 50%; left: 25%; }
.apple-6 { top: 50%; left: 65%; }
.apple-7 { top: 70%; left: 40%; }
.apple-8 { top: 70%; left: 50%; }

/* BL70 文字标签 */
.bl70-label {
    position: absolute;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2.5em;
    font-weight: 900;
    color: #FFEB3B;
    text-shadow: 0 0 15px rgba(255, 235, 59, 0.8), 0 0 25px rgba(255, 235, 59, 0.5), 2px 2px 4px rgba(0, 0, 0, 0.5);
    z-index: 10;
    animation: textGlow 2s ease-in-out infinite;
    letter-spacing: 3px;
}

@keyframes textGlow {
    0%, 100% { text-shadow: 0 0 15px rgba(255, 235, 59, 0.8), 0 0 25px rgba(255, 235, 59, 0.5), 2px 2px 4px rgba(0, 0, 0, 0.5); }
    50% { text-shadow: 0 0 20px rgba(255, 235, 59, 1), 0 0 35px rgba(255, 235, 59, 0.7), 2px 2px 4px rgba(0, 0, 0, 0.5); }
}

/* 地面层 */
.ground-layer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(180deg, #66BB6A 0%, #4CAF50 30%, #2E7D32 100%);
    border-radius: 50% 50% 0 0 / 30px 30px;
    z-index: 10;
    overflow: hidden;
    transition: filter 1s ease;
}

.cartoon-background.night .ground-layer {
    filter: brightness(0.6);
}

/* ==================== 场景装饰物 ==================== */
/* 长椅 */
.bench {
    position: absolute;
    width: 100px;
    height: 45px;
}

.bench-1 {
    bottom: 80px;
    left: 80px;
}

.bench-2 {
    bottom: 120px;
    right: 120px;
}

.bench::before {
    content: '';
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 22px;
    background: linear-gradient(180deg, #8B4513 0%, #654321 100%);
    border-radius: 3px;
}

.bench::after {
    content: '';
    position: absolute;
    bottom: 22px;
    width: 100%;
    height: 15px;
    background: linear-gradient(180deg, #A0522D 0%, #8B4513 100%);
    border-radius: 3px 3px 3px 0 0;
}

/* 椅子 */
.chair {
    position: absolute;
    width: 45px;
    height: 55px;
}

.chair-1 {
    bottom: 100px;
    left: 250px;
}

.chair-2 {
    bottom: 150px;
    right: 300px;
}

.chair-3 {
    bottom: 120px;
    left: 450px;
}

.chair::before {
    content: '';
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 10px;
    background: linear-gradient(180deg, #A0522D 0%, #8B4513 100%);
    border-radius: 3px;
}

.chair::after {
    content: '';
    position: absolute;
    bottom: 10px;
    width: 100%;
    height: 8px;
    background: linear-gradient(180deg, #8B4513 0%, #654321 100%);
    border-radius: 3px 3px 3px 0 0;
}

/* 篮球架 */
.basketball-hoop {
    position: absolute;
    bottom: 150px;
    right: 80px;
    width: 60px;
    height: 100px;
}

.hoop-pole {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 80px;
    background: linear-gradient(90deg, #666 0%, #444 100%);
    border-radius: 3px;
}

.hoop-rim {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 8px;
    border: 4px solid #FF6B00;
    border-radius: 50%;
    border-bottom: none;
}

.hoop-net {
    position: absolute;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 35px;
    background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.8) 100%);
    clip-path: polygon(0 0, 100% 0, 90% 100%, 10% 100%);
}

.hoop-backboard {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 55px;
    height: 40px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(200, 200, 200, 0.9));
    border: 3px solid #333;
    border-radius: 5px;
}

/* 足球 */
.soccer-ball {
    position: absolute;
    bottom: 120px;
    left: 350px;
    width: 30px;
    height: 30px;
    background: radial-gradient(circle at 30% 30%, #fff 0%, #e0e0e0 100%);
    border-radius: 50%;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
    animation: ballRoll 4s ease-in-out infinite;
}

.soccer-ball::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: #333;
    border-radius: 50%;
}

.soccer-ball::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 8px;
    width: 6px;
    height: 6px;
    background: #333;
    border-radius: 50%;
}

@keyframes ballRoll {
    0%, 100% { transform: translateX(0) rotate(0deg); }
    50% { transform: translateX(30px) rotate(180deg); }
}

/* 野餐桌 */
.picnic-table {
    position: absolute;
    bottom: 180px;
    left: 500px;
    width: 80px;
    height: 50px;
}

.table-top {
    position: absolute;
    top: 0;
    width: 100%;
    height: 10px;
    background: linear-gradient(180deg, #A0522D 0%, #8B4513 100%);
    border-radius: 3px;
}

.table-leg {
    position: absolute;
    top: 10px;
    width: 10px;
    height: 30px;
    background: linear-gradient(180deg, #8B4513 0%, #654321 100%);
    border-radius: 2px;
}

.table-leg:nth-child(2) { left: 10px; }
.table-leg:nth-child(3) { right: 10px; }

/* 花坛 */
.flower-bed {
    position: absolute;
    width: 70px;
    height: 35px;
    background: linear-gradient(180deg, #8B4513 0%, #654321 100%);
    border-radius: 10px;
}

.flower-bed-1 {
    bottom: 150px;
    left: 180px;
}

.flower-bed-2 {
    bottom: 180px;
    right: 220px;
}

.flower-bed::before {
    content: '🌸🌷🌼';
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 18px;
    animation: flowerBloom 3s ease-in-out infinite;
}

@keyframes flowerBloom {
    0%, 100% { transform: translateX(-50%) scale(1); }
    50% { transform: translateX(-50%) scale(1.1); }
}

/* 树桩 */
.stump {
    position: absolute;
    width: 45px;
    height: 30px;
    background: radial-gradient(ellipse at center, #A0522D 0%, #8B4513 100%);
    border-radius: 50%;
}

.stump-1 {
    bottom: 100px;
    left: 700px;
}

.stump-2 {
    bottom: 140px;
    left: 800px;
}

.stump::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 25px;
    height: 12px;
    background: radial-gradient(ellipse at center, #654321 0%, #8B4513 100%);
    border-radius: 50%;
}

/* ==================== 卡通人物设计 ==================== */

/* 小人容器 */
.cartoon-person {
    position: absolute;
    width: 40px;
    height: 70px;
    cursor: pointer;
    transition: transform 0.3s ease, z-index 0.3s ease;
    z-index: 20;
}

.cartoon-person:hover {
    z-index: 100;
}

.cartoon-person.paused {
    transform: scale(1.2);
    z-index: 100;
}

.cartoon-person.dragging {
    opacity: 0.8;
    cursor: grabbing;
}

.cartoon-person.dragging .person-name {
    animation: none;
}

/* 小人名字标签 - 不随人物翻转 */
.person-name {
    position: absolute;
    top: -28px;
    left: 50%;
    transform: translateX(-50%) scaleX(1);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(240, 248, 255, 0.95));
    color: #333;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    border: 2px solid;
    display: flex;
    align-items: center;
    justify-content: center;
}

.person-name.coach {
    border-color: #FFD700;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.9), rgba(255, 193, 7, 0.9));
    color: #fff;
}

.person-name.senior {
    border-color: #00BCD4;
    background: linear-gradient(135deg, rgba(0, 188, 212, 0.9), rgba(0, 151, 167, 0.9));
    color: #fff;
}

/* 高级导师女生 - 粉色边框 */
.person-name.senior.female {
    border-color: #FF69B4;
    background: linear-gradient(135deg, rgba(255, 105, 180, 0.9), rgba(255, 20, 147, 0.9));
    color: #fff;
}

.person-name.student {
    border-color: #2196F3;
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.9), rgba(25, 118, 210, 0.9));
    color: #fff;
}

/* 学员女生 - 粉色边框 */
.person-name.student.female {
    border-color: #FF69B4;
    background: linear-gradient(135deg, rgba(255, 105, 180, 0.9), rgba(255, 20, 147, 0.9));
    color: #fff;
}

/* 约会时的名字样式 */
.person-name.dating {
    border-color: #FF69B4;
    background: linear-gradient(135deg, rgba(255, 105, 180, 0.95), rgba(255, 20, 147, 0.95));
    color: #fff;
    animation: datingPulse 1s ease-in-out infinite;
}

@keyframes datingPulse {
    0%, 100% { box-shadow: 0 0 10px rgba(255, 105, 180, 0.5); }
    50% { box-shadow: 0 0 20px rgba(255, 105, 180, 0.8); }
}

/* 小人头部 */
.person-head {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 28px;
    background: radial-gradient(circle at 30% 30%, #FFE4C4 0%, #DEB887 100%);
    border-radius: 50%;
    border: 2px solid #8B4513;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
    z-index: 5;
    overflow: hidden;
}

/* 真实照片头像 */
.person-head.has-avatar {
    background: transparent;
    border: none;
}

.person-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* 女生头发样式 */
.person-hair {
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 24px;
    z-index: 4;
    pointer-events: none;
}

.person-hair::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 16px;
    background: radial-gradient(ellipse at 50% 100%, #3E2723 0%, #5D4037 50%, #4E342E 100%);
    border-radius: 50% 50% 0 0;
}

.person-hair::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 8px;
    height: 16px;
    background: linear-gradient(180deg, #3E2723 0%, #5D4037 100%);
    border-radius: 0 0 4px 4px;
    box-shadow: 20px 0 0 #5D4037, 20px 0 0 #3E2723;
}

/* 女生马尾辫 */
.person-hair.long::after {
    bottom: -20px;
    width: 6px;
    height: 24px;
}

/* 约会时头部样式 */
.cartoon-person.dating .person-head {
    background: radial-gradient(circle at 30% 30%, #FFB6C1 0%, #FF69B4 100%);
    border-color: #FF1493;
}

/* 小人眼睛 */
.person-eyes {
    position: absolute;
    top: 9px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 5px;
    z-index: 7;
}

.person-eye {
    width: 5px;
    height: 5px;
    background: #333;
    border-radius: 50%;
    animation: blink 4s ease-in-out infinite;
}

/* 约会时眼睛 - 爱心眼 */
.cartoon-person.dating .person-eye {
    background: #FF69B4;
    border-radius: 50% 50% 0 50%;
    height: 6px;
}

.person-eye::after {
    content: '';
    position: absolute;
    width: 2px;
    height: 2px;
    background: #fff;
    border-radius: 50%;
    top: 1px;
    left: 1px;
}

@keyframes blink {
    0%, 96%, 100% { transform: scaleY(1); }
    98% { transform: scaleY(0.1); }
}

/* 小人嘴巴 */
.person-mouth {
    position: absolute;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 5px;
    border: none;
    border-bottom: 2px solid #8B4513;
    border-radius: 0 0 8px 8px;
    z-index: 7;
}

/* 约会时嘴巴 */
.cartoon-person.dating .person-mouth {
    width: 8px;
    height: 8px;
    border: none;
    background: #FF1493;
    border-radius: 50%;
    animation: heartbeat 0.8s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: translateX(-50%) scale(1); }
    50% { transform: translateX(-50%) scale(1.2); }
}

/* 小人腮红 */
.person-cheeks {
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 22px;
    display: flex;
    justify-content: space-between;
    z-index: 7;
}

.person-cheek {
    width: 4px;
    height: 4px;
    background: rgba(255, 182, 193, 0.6);
    border-radius: 50%;
}

/* 约会时腮红更红 */
.cartoon-person.dating .person-cheek {
    background: rgba(255, 105, 180, 0.8);
    width: 5px;
    height: 5px;
}

/* 小人身体 */
.person-body {
    position: absolute;
    top: 28px;
    left: 50%;
    transform: translateX(-50%);
    width: 25px;
    height: 28px;
    border-radius: 10px 10px 3px 3px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.coach .person-body {
    background: linear-gradient(180deg, #FFD700 0%, #FFA500 100%);
}

.senior .person-body {
    background: linear-gradient(180deg, #00BCD4 0%, #0097A7 100%);
}

.student .person-body {
    background: linear-gradient(180deg, #FF5252 0%, #D32F2F 100%);
}

/* 约会时身体 */
.cartoon-person.dating .person-body {
    background: linear-gradient(180deg, #FF69B4 0%, #FF1493 100%);
}

/* 小人手臂 */
.person-arms {
    position: absolute;
    top: 32px;
    left: 50%;
    transform: translateX(-50%);
    width: 45px;
    display: flex;
    justify-content: space-between;
}

.person-arm {
    width: 8px;
    height: 22px;
    border-radius: 4px;
    transform-origin: top center;
    background: linear-gradient(180deg, #FFE4C4 0%, #DEB887 100%);
}

.person-arm.left {
    animation: armSwingLeft 0.8s ease-in-out infinite;
}

.person-arm.right {
    animation: armSwingRight 0.8s ease-in-out infinite;
}

@keyframes armSwingLeft {
    0%, 100% { transform: rotate(-20deg); }
    50% { transform: rotate(20deg); }
}

@keyframes armSwingRight {
    0%, 100% { transform: rotate(20deg); }
    50% { transform: rotate(-20deg); }
}

.person-hand {
    position: absolute;
    bottom: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: radial-gradient(circle, #FFE4C4 0%, #DEB887 100%);
    border-radius: 50%;
}

/* 小人腿部 */
.person-legs {
    position: absolute;
    top: 56px;
    left: 50%;
    transform: translateX(-50%);
    width: 18px;
    display: flex;
    justify-content: space-between;
}

.person-leg {
    width: 6px;
    height: 22px;
    border-radius: 3px;
    transform-origin: top center;
    background: linear-gradient(180deg, #4169E1 0%, #1E90FF 100%);
}

.person-leg.left {
    animation: legSwingLeft 0.8s ease-in-out infinite;
}

.person-leg.right {
    animation: legSwingRight 0.8s ease-in-out infinite;
}

@keyframes legSwingLeft {
    0%, 100% { transform: rotate(-25deg); }
    50% { transform: rotate(25deg); }
}

@keyframes legSwingRight {
    0%, 100% { transform: rotate(25deg); }
    50% { transform: rotate(-25deg); }
}

.person-shoe {
    position: absolute;
    bottom: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 7px;
    height: 5px;
    background: radial-gradient(circle, #8B4513 0%, #654321 100%);
    border-radius: 2px;
}

/* 总教练皇冠 */
.coach-crown {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 18px;
    animation: crownFloat 2s ease-in-out infinite;
    z-index: 15;
}

@keyframes crownFloat {
    0%, 100% { transform: translateX(-50%) translateY(0) rotate(-5deg); }
    50% { transform: translateX(-50%) translateY(-3px) rotate(5deg); }
}

/* Senior 星星 */
.senior-star {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 14px;
    animation: starPulse 1.5s ease-in-out infinite;
}

@keyframes starPulse {
    0%, 100% { transform: translateX(-50%) scale(1); }
    50% { transform: translateX(-50%) scale(1.2); }
}

/* 学员帽子 */
.student-hat {
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.hat-cap {
    width: 22px;
    height: 10px;
    background: linear-gradient(180deg, #333 0%, #111 100%);
    border-radius: 5px 5px 0 0;
    position: relative;
}

.hat-tassel {
    position: absolute;
    right: 3px;
    top: 0;
    width: 2px;
    height: 14px;
    background: #FFD700;
    border-radius: 1px;
    animation: tasselSwing 1s ease-in-out infinite;
}

.hat-tassel::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: -2px;
    width: 6px;
    height: 6px;
    background: #FFD700;
    border-radius: 50%;
}

@keyframes tasselSwing {
    0%, 100% { transform: rotate(-15deg); }
    50% { transform: rotate(15deg); }
}

/* ==================== 约会爱心特效 ==================== */

.dating-heart {
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 24px;
    display: none;
    z-index: 100;
    animation: heartFloat 1s ease-in-out infinite;
}

.cartoon-person.dating .dating-heart {
    display: block;
}

@keyframes heartFloat {
    0%, 100% { transform: translateX(-50%) translateY(0) scale(1); }
    50% { transform: translateX(-50%) translateY(-15px) scale(1.2); }
}

/* ==================== 活动相关样式 ==================== */

/* 篮球 */
.basketball {
    position: absolute;
    top: 70px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 12px;
    background: radial-gradient(circle at 30% 30%, #FF8C00 0%, #FF6B00 100%);
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    display: none;
    z-index: 3;
}

.cartoon-person.playing-ball .basketball {
    display: block;
    animation: ballBounce 0.8s ease-in-out infinite;
}

@keyframes ballBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

/* 花朵 */
.flower {
    position: absolute;
    top: 60px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 16px;
    display: none;
    z-index: 3;
}

.cartoon-person.picking-flower .flower {
    display: block;
    animation: flowerPick 1s ease-in-out infinite;
}

@keyframes flowerPick {
    0%, 100% { transform: translateX(-50%) rotate(0deg); }
    50% { transform: translateX(-50%) rotate(15deg); }
}

/* 暂停时的动画 */
.cartoon-person.paused .person-arm,
.cartoon-person.paused .person-leg {
    animation-play-state: paused;
    transform: rotate(0deg) !important;
}

/* 睡眠状态 */
.cartoon-person.sleeping .person-eye {
    height: 1px;
}

.cartoon-person.sleeping .person-arm {
    animation: none !important;
    transform: rotate(0deg) !important;
}

.cartoon-person.sleeping .person-leg {
    animation: none !important;
    transform: rotate(0deg) !important;
}

/* Zzz 睡眠符号 */
.sleep-zzz {
    position: absolute;
    top: -40px;
    left: 60%;
    font-size: 12px;
    color: #666;
    animation: zzzFloat 2s ease-in-out infinite;
    display: none;
}

.cartoon-person.sleeping .sleep-zzz {
    display: block;
}

@keyframes zzzFloat {
    0% { opacity: 0; transform: translateY(0) scale(0.5); }
    50% { opacity: 1; transform: translateY(-15px) scale(1); }
    100% { opacity: 0; transform: translateY(-30px) scale(1.5); }
}

/* 坐着状态 */
.cartoon-person.sitting .person-body {
    transform: translateX(-50%) rotate(15deg);
}

.cartoon-person.sitting .person-legs {
    top: 60px;
    transform: translateX(-50%) rotate(-30deg);
}

.cartoon-person.sitting .person-leg {
    animation: none !important;
    transform: rotate(0deg) !important;
}

/* 观看状态 */
.cartoon-person.watching .person-head {
    transform: translateX(-50%) rotate(20deg);
}

.cartoon-person.watching .person-eyes {
    top: 8px;
}

/* 聊天状态 */
.cartoon-person.talking .person-mouth {
    animation: talking 0.3s ease-in-out infinite;
}

@keyframes talking {
    0%, 100% { height: 5px; }
    50% { height: 8px; }
}

/* ==================== 全局响应式样式保持不变 ==================== */

/* 页面标题 */
.page-title {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 1000;
    pointer-events: none;
}

.page-title h1 {
    font-size: 2.5em;
    font-weight: 900;
    color: #FF5252;
    text-shadow:
        0 0 10px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(0, 0, 0, 0.2),
        0 0 30px rgba(0, 0, 0, 0.1);
    animation: titleGlow 2s ease-in-out infinite;
}

.page-title p {
    font-size: 1.2em;
    color: #666;
    margin-top: 5px;
}

@keyframes titleGlow {
    0%, 100% { text-shadow: 0 0 10px rgba(0, 0, 0, 0.3), 0 0 20px rgba(0, 0, 0, 0.2), 0 0 30px rgba(0, 0, 0, 0.1); }
    50% { text-shadow: 0 0 15px rgba(0, 0, 0, 0.4), 0 0 25px rgba(0, 0, 0, 0.3), 0 0 35px rgba(0, 0, 0, 0.15); }
}

/* 交互提示 */
.interaction-hint {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    padding: 10px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hint-icon {
    font-size: 20px;
}

/* 活动状态提示 - 可拖动可隐藏 */
.activity-indicator {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #333;
    padding: 10px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 12px;
    cursor: move;
    user-select: none;
    transition: box-shadow 0.2s ease, opacity 0.3s ease, transform 0.3s ease;
}

.activity-indicator:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.activity-indicator.dragging {
    cursor: grabbing;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    opacity: 0.9;
}

/* 隐藏状态 - 缩小到边框 */
.activity-indicator.hidden {
    opacity: 0;
    pointer-events: none;
    transform: scale(0.1);
}

/* 隐藏后显示的小图标 */
.indicator-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 999;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.indicator-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.indicator-toggle.visible {
    display: flex;
}

.indicator-icon {
    font-size: 18px;
}

.activity-stats {
    display: flex;
    flex-direction: column;
    gap: 3px;
    font-size: 12px;
}

.activity-stats span {
    white-space: nowrap;
}

/* 昼夜切换按钮 */
.day-night-toggle {
    position: fixed;
    top: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    padding: 10px 15px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    cursor: pointer;
    transition: background 0.3s ease;
}

.day-night-toggle:hover {
    background: rgba(255, 255, 255, 1);
}

.toggle-icon {
    font-size: 24px;
}

/* 相册按钮 */
.gallery-toggle {
    position: fixed;
    bottom: 80px;
    left: 20px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* ==================== 响应式设计 - 手机适配 ==================== */
@media screen and (max-width: 768px) {
    /* 调整树区域大小 */
    .tree-area {
        bottom: 45%;
        width: 200px;
        height: 250px;
    }
    
    /* 调整树冠大小 */
    .tree-crown {
        width: 240px;
        height: 180px;
        bottom: 100px;
    }
    
    .tree-crown::before {
        width: 120px;
        height: 180px;
    }
    
    .tree-crown::after {
        width: 120px;
        height: 180px;
    }
    
    /* 调整叶丛 */
    .tree-leaves-center {
        width: 60px;
        height: 50px;
        top: 50px;
    }
    
    .tree-leaf-cluster {
        width: 18px;
        height: 18px;
    }
    
    .tree-leaf-cluster.cluster-1 { top: 25px; left: 45px; }
    .tree-leaf-cluster.cluster-2 { top: 30px; right: 50px; }
    .tree-leaf-cluster.cluster-3 { top: 55px; left: 25px; }
    .tree-leaf-cluster.cluster-4 { top: 70px; right: 40px; }
    
    /* 调整树干 */
    .tree-trunk {
        width: 90px;
        height: 160px;
        bottom: 0;
    }
    
    .trunk-text {
        font-size: 1.2em;
    }
    
    /* 调整树根 */
    .tree-roots {
        width: 130px;
    }
    
    /* 调整BL70文字 */
    .bl70-label {
        font-size: 1.8em;
        top: 70px;
    }
    
    /* 调整手印大小 */
    .handprint {
        width: 40px;
        height: 40px;
    }
    
    .handprint::before {
        width: 28px;
        height: 28px;
        border-width: 3px;
    }
    
    /* 调整苹果大小 */
    .apple {
        width: 25px;
        height: 25px;
    }
    
    .apple::before {
        width: 4px;
        height: 10px;
        top: -7px;
    }
    
    .apple-1 { top: 15%; left: 22%; }
    .apple-2 { top: 15%; left: 68%; }
    .apple-3 { top: 35%; left: 12%; }
    .apple-4 { top: 35%; left: 78%; }
    .apple-5 { top: 55%; left: 22%; }
    .apple-6 { top: 55%; left: 68%; }
    .apple-7 { top: 72%; left: 38%; }
    .apple-8 { top: 72%; left: 52%; }
    
    /* 调整页面标题 */
    .page-title h1 {
        font-size: 1.5em;
    }
    
    .page-title p {
        font-size: 0.9em;
    }
    
    /* 调整地面上的装饰 */
    .bench { transform: scale(0.7); }
    .chair { transform: scale(0.7); }
    .basketball-hoop { transform: scale(0.6); }
    .picnic-table { transform: scale(0.6); }
    .flower-bed { transform: scale(0.7); }
    
    /* 调整小人大小 */
    .cartoon-person {
        transform: scale(0.5);
    }
    
    /* 调整UI元素 */
    .interaction-hint {
        font-size: 11px;
        padding: 8px 12px;
        bottom: 10px;
    }
    
    .activity-indicator {
        font-size: 11px;
        padding: 8px 12px;
    }
    
    .day-night-toggle {
        padding: 8px 12px;
        top: 10px;
        left: 10px;
    }
    
    /* 调整天空元素 */
    .sun {
        width: 60px;
        height: 60px;
    }
    
    .sun-core {
        width: 40px;
        height: 40px;
    }
    
    .moon {
        width: 50px;
        height: 50px;
    }
}

@media screen and (max-width: 480px) {
    /* 更小屏幕适配 */
    .tree-area {
        width: 160px;
        height: 200px;
    }
    
    .tree-crown {
        width: 180px;
        height: 130px;
        bottom: 80px;
    }
    
    .tree-crown::before {
        width: 90px;
        height: 130px;
    }
    
    .tree-crown::after {
        width: 90px;
        height: 130px;
    }
    
    .tree-trunk {
        width: 50px;
        height: 100px;
    }
    
    .trunk-text {
        font-size: 0.9em;
    }
    
    .bl70-label {
        font-size: 1.2em;
        top: 45px;
    }
    
    .page-title h1 {
        font-size: 1.2em;
    }
    
    .cartoon-person {
        transform: scale(0.35);
    }
}
