/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    width: 100%;
    overflow-x: hidden;
    overflow-y: auto;
}

/* 背景设置 - 横向平铺退晕背景 */
body {
    background-image: url('../assets/imgs/Lay01_BGcolor.png');
    background-repeat: repeat-x;
    background-position: top left;
    background-color: #87CEEB; /* 备用背景色 */
    font-family: 'Arial', 'Microsoft YaHei', sans-serif;
    color: #333;
    line-height: 1.6;
    position: relative;
    min-height: 100vh;
}


/* 四个角部文字链接样式 */
.corner-links {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 2000; /* 确保在最上层 */
    pointer-events: none; /* 不影响其他元素的点击事件 */
}

.text-link {
    position: absolute;
    font-family: 'DengXian', '等线', 'Arial', sans-serif; /* 等线体 */
    color: white;
    text-decoration: none;
    pointer-events: auto; /* 允许链接点击 */
    
    /* 字体大小 - PC端默认 */
    font-size: 12px;
    line-height: 1.2;
    
    /* 白色虚线框和半透明白底 */
    border: 1px dashed white;
    background-color: rgba(255, 255, 255, 0.07); /* 7%透明度白底 */
    padding: 6px 12px;
    border-radius: 15px;
    
    /* 悬停效果 */
    transition: all 0.3s ease;
    z-index: 2001;
}

.text-link:hover {
    background-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

/* 定位四个角的链接 */
.text-link.top-left {
    top: 15px;
    left: 20px;
}

.text-link.top-right {
    top: 15px;
    right: 20px;
}

.text-link.bottom-left {
    bottom: 15px;
    left: 20px;
}

.text-link.bottom-right {
    bottom: 15px;
    right: 20px;
}


/* 音乐控制容器 - 居中定位 */
.music-control-container {
    position: fixed;
    bottom: -2%;
    left: 0%;
    transform: translate(-50%, -50%);
    z-index: 2002;
    pointer-events: none; /* 容器不拦截事件，但按钮可以 */
}


/* 音乐控制按钮样式 */
.music-control-btn {
    position:relative;
    pointer-events: auto; /* 允许按钮交互 */

    bottom: 30px;
    Left: 50vw;
    z-index: 2002;
    
    /* 字体样式 */
    font-family: 'DengXian', '等线', 'Arial', sans-serif;
    font-size: 16px;
    color: white;
    text-align: center;


    
    /* 按钮样式 */
    background-color: rgba(255, 255, 255, 0.07);  /* 7%透明度白底 */
    color: white;
    border: 1px dashed white;  /* 白色虚线框 */
    border-radius: 8px;   /* 倒角参数，可调整 */
    padding: 8px 16px;  /* 内边距 */
    font-family: 'DengXian', '等线', 'Arial', sans-serif;
    font-size: 14px;

   /* 视觉效果 */
    cursor: pointer;
    opacity: 0.7;
    transition: all 0.3s ease;

    /* 移除默认按钮样式 */
    outline: none;
    box-shadow: none;
}

/* 悬停效果 */
.music-control-btn:hover {
    opacity: 1;
    background-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}


/* 活动状态 */
.music-control-btn:active {
    transform: scale(0.98);
}


/* 音乐文本样式 */
.music-text {
    display: block;
    padding: 4px 0;
}

/* 响应式设计 - 移动端 */
@media (max-width: 768px) {


    .text-link {
        font-size: 20px; /* 移动端字体大一倍 */
        padding: 8px 16px;
    }
    
    .text-link.top-left {
        top: 15px;
        left: 15px;
    }
    
    .text-link.top-right {
        top: 15px;
        right: 15px;
    }
    
    .text-link.bottom-left {
        bottom: 15px;
        left: 15px;
    }
    
    .text-link.bottom-right {
        bottom: 15px;
        right: 15px;
    }
    
    .music-control-btn {
        font-size: 20px; /* 移动端字体增大 */
        padding: 16px 32px;
        border-radius: 15px; /* 移动端倒角增大 */
        bottom: 20px;
    }
    
    .music-text {
        font-size: 1.1em;
    }
   
}

/* 超小屏幕适配 */
@media (max-width: 480px) {
    .text-link {
        font-size: 18px; /* 稍微调小以适应小屏幕 */
        padding: 6px 12px;
    }
    
    .text-link.top-left,
    .text-link.top-right,
    .text-link.bottom-left,
    .text-link.bottom-right {
        margin: 10px;
    }

    .music-control-btn {
        font-size: 20px;
        padding: 14px 28px;
    }
}


/* 以下为原有样式，保持不变 */

/* 顶部容器 - 始终贴顶 */
.top-container {
    position: fixed;         /* 固定定位,相对于视口定位，不受页面滚动影响 */
    top: 0;
    left: 0;
    width: 100%;
    height: auto;     /*vvip   原始无问题参数 auto;  */
    z-index: 1000;
    pointer-events: none;
    display: block;
    background-color: transparent;
}

/* 天空图片包装器 - 相对定位，作为远光图片的定位基准 */
.sky-image-wrapper {
    position: absolute;      /*vvip    */
    top: 30%;          /*vvip    */
    left: 0vw;
    width: 100%;
    height: 100%;    
    display: block;
    z-index: 1001;
}

/* 顶部图片，天空图片样式 */
.top-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: bottom center; /* 关键：图片底部对齐 */
    max-height: 65vh; /* vvip有效参数，限制最大高度 */
    min-height: 210px; /* 确保最小高度 */
    /* 确保图片底部与容器底部对齐 */
    /* 确保在远光图片之下 */
    z-index: 996; /* 降低z-index */
    position: relative; /* 添加相对定位 */
}


/* 中景容器  add本次新增 */
.medium-shot-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 997; /* 在天空之上，远光之下 */
    pointer-events: none;
}

.medium-shot-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: bottom center;
    position: absolute;
    bottom: -10%;
    left: 0;
}

/* 为新增图片创建专门的容器 */
.far-light-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto;
    z-index: 1002;  /* 在中景之上，山脉之下 */
    pointer-events: none;

}


/* 远光图片样式 - 基于天空图片定位 */
.far-light-image {
    position: absolute;
    width: 65%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: bottom center;
    /* 关键：基于天空图片底部定位 */
    bottom: 10vh; /* 先对齐到天空图片底部 */
    left: 17.5%;
    z-index: 1002; /* 确保在天空图片之上 */
    /* 可调节的偏移量 - 通过CSS变量控制 */
    --offset-from-sky-bottom: 250px; /* vvip参数，这里可以调节光环上下值，负值向上，正值向下。但是好像相对位置是顶部容器的而不是相对底部图片的。 */
    /* bottom: var(--offset-from-sky-bottom);  前一版修改，此处删除。 此处由原数值0修改为公式，基于天空图片底部定位 */
    transform: translateY(calc(-1 * var(--offset-from-sky-bottom)));

    /* 旋转动画 */
    animation: rotateLight 150s linear infinite; /* 150秒完成360度旋转 */
    transform-origin: center center; /* 确保以图片中心旋转 */

}



/* 山脉容器 */
.mountain-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;    /*     height: auto; */
    z-index: 1003; /* 在远光之上，活动元素之下 */
    pointer-events: none;
}

.mountain-image {
    position: absolute;
    width: 100%;
    height: auto;
    bottom: 120%;
    left: 0%;
    display: block;
    object-fit: cover;
    object-position: bottom center;
}


/* 活动元素容器 */
.active-things-container {
    position: absolute;
    bottom: 55%;
    left: 10.5%;
    width: 72%;
    height: 1vh;
    z-index: 1004; /* 在山脉之上，%文本之下 */
    pointer-events: none;
}

.active-things-image01 {
    position: absolute;
    width: 9.8%;
    height: auto;
    bottom: 5%;      /* vvip: 2vh */
    left: 5%;
    display: block;
    object-fit: cover;
    object-position: bottom center;
    /* 修改：垂直移动动画，移动范围为相对高度的1.5%~2.6% */
    animation: verticalMove 3s ease-in-out infinite;
    /* 使用CSS变量控制移动范围 */
    --move-range-min: 1.5%;
    --move-range-max: 2.6%;
}

.active-things-image02 {
    position: absolute;
    width: 9%;
    height: auto;
    bottom: -5vh;     /*vvip: -5vh */
    left: 18%;
    display: block;
    object-fit: cover;
    object-position: bottom center;
    /* 修改：垂直移动动画，移动范围为相对高度的1.5%~2.6% */
    animation: verticalMove 3s ease-in-out infinite;
    /* 使用CSS变量控制移动范围 */
    --move-range-min: 3%;
    --move-range-max: 5%;
}


.active-things-image03 {
    position: absolute;
    width: 8%;
    height: auto;
    bottom: 0;        /* vvip: 0 */
    left: 28.8%;
    display: block;
    object-fit: cover;
    object-position: bottom center;
    /* 修改：垂直移动动画，移动范围为相对高度的1.5%~2.6% */
    animation: verticalMove 3s ease-in-out infinite;
    /* 使用CSS变量控制移动范围 */
    --move-range-min: 3%;
    --move-range-max: 5%;
}

.active-things-image04 {
    position: absolute;
    width: 8.0%;
    height: auto;
    bottom: -2vh;    /*vvip: -2vh */
    left: 39%;
    display: block;
    object-fit: cover;
    object-position: bottom center;
    /* 修改：垂直移动动画，移动范围为相对高度的1.5%~2.6% */
    animation: verticalMove 5s ease-in-out infinite;
    /* 使用CSS变量控制移动范围 */
    --move-range-min: 2%;
    --move-range-max: 5%;
}

.active-things-image05 {
    position: absolute;
    width: 12%;
    height: auto;
    bottom: 5vh;     /*vvip: 5vh */
    left: 49%;
    display: block;
    object-fit: cover;
    object-position: bottom center;
    /* 修改：垂直移动动画，移动范围为相对高度的1.5%~2.6% */
    animation: scaleAnimation var(--scale-duration, 3s) ease-in-out infinite;
    /* 使用CSS变量控制移动范围 */
    --scale-min: var(--scale-min-value, 0.95);
    --scale-max: var(--scale-max-value, 1.05);
}


.active-things-image06 {
    position: absolute;
    width: 6.6%;
    height: auto;
    bottom: -1vh;    /*vvip: -2vh */
    left: 65%;
    display: block;
    object-fit: cover;
    object-position: bottom center;
    /* 修改：垂直移动动画，移动范围为相对高度的1.5%~2.6% */
    animation: verticalMove 3s ease-in-out infinite;
    /* 使用CSS变量控制移动范围 */
    --move-range-min: 3%;
    --move-range-max: 5%;
}


.active-things-image07 {
    position: absolute;
    width: 11%;
    height: auto;
    bottom: -7vh;     /*vvip: -7vh */
    left: 73%;
    display: block;
    object-fit: cover;
    object-position: bottom center;
    /* 修改：垂直移动动画，移动范围为相对高度的1.5%~2.6% */
    animation: verticalMove 3s ease-in-out infinite;
    /* 使用CSS变量控制移动范围 */
    --move-range-min: 3%;
    --move-range-max: 5%;
}


.active-things-image08 {
    position: absolute;
    width: 9.3%;
    height: auto;
    bottom: -5vh;     /*vvip: -5vh */
    left: 84.5%;
    display: block;
    object-fit: cover;
    object-position: bottom center;
    /* 修改：垂直移动动画，移动范围为相对高度的1.5%~2.6% */
    animation: verticalMove 3s ease-in-out infinite;
    /* 使用CSS变量控制移动范围 */
    --move-range-min: 3%;
    --move-range-max: 5%;
}



.active-things-image09 {
    position: absolute;
    width: 8.2%;
    height: auto;
    bottom:  -7vh;     /*vvip: -7vh */
    left: 95.8%;
    display: block;
    object-fit: cover;
    object-position: bottom center;
    /* 修改：垂直移动动画，移动范围为相对高度的1.5%~2.6% */
    animation: verticalMove 3s ease-in-out infinite;
    /* 使用CSS变量控制移动范围 */
    --move-range-min: 3%;
    --move-range-max: 5%;
}


/* 如果有多个活动元素，可以为每个设置不同的动画参数 */
.active-thing-1 {
    --range-min: 1.5%;
    --range-max: 2.0%;
    --animation-duration: 5s;
}

.active-thing-2 {
    --range-min: 2.0%;
    --range-max: 2.6%;
    --animation-duration: 6s;
}

.active-thing-3 {
    --range-min: 1.8%;
    --range-max: 2.3%;
    --animation-duration: 7s;
}

.active-thing-4 {
    --range-min: 2.5%;
    --range-max: 3.5%;
    --animation-duration: 8s;
}

.active-thing-5 {
    --range-min: 1.5%;
    --range-max: 2.0%;
    --animation-duration: 7s;
    --scale-min-value: 0.90;
    --scale-max-value: 1.05;
    --scale-duration: 2s;
}



/* 底部容器 - 始终贴底 */
.bottom-container {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto;
    z-index: 1010;
    pointer-events: none;
    display: block;
    background-color: transparent;
    /* 确保顶部边缘对齐容器顶部 */
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

/* 底部图片 */
.bottom-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: top center; /* 关键：图片顶部对齐 */
    max-height: 30vh; /*  vvip有效参数，限制最大高度 */
    min-height: 100px; /* 确保最小高度 */
    /* 确保图片顶部与容器顶部对齐 */
    align-self: flex-start;
}

/* 主要内容区域 ttestt*/
.content {
    position: relative;    /* relative ，absolute ，fixed ，  sticky  */
    top: 40%;
    z-index: 1005;
    padding: 10px 0 270px ; /* 上下内边距，会被JS更新 */
    min-height: none;   /* 不要限制高度 80vh */
    display: block;
    overflow-y: visible;
}

/* 内容包装器 */
.content-wrapper {
    max-width: 90%;
    width: 80%;
    min-height: none;   /* 不要限制高度 80vh */
    margin: 0 auto;
    padding: 0 10px;
}

/* 内容区块样式 */
.content-section {
    background-color: rgba(255, 255, 255, 0.65);   /* vvip 中间内容模块的色彩及透明度 */
    border-radius: 12px;   /* vvip 中间内容模块倒角 */
    padding: 35px;    /* vvip 文字内容到模块边界距离 */
    margin-bottom: 20px;   /* vvip 模块之间的距离 */
    box-shadow: 0  6px 16px rgba(190, 220, 255, 0.6);     /* vvip 中间模块阴影 */
    border-left: 25px solid #3498db;     /* vvip 中间模块左边边条 */
}

/* 调试按钮 */
.debug-button {
    padding: 10px 30px;    /*   10px 30px   */
    background: #114f96;    /*  #3498db */
    color: white;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    margin-right: 10px;
    margin-top: 20px;
    font-size: 15px;
}


.debug-button:hover {
    background: #2980b9;
}

/* 以下为060112新加 */
/* 第二套音乐按钮样式 - 简化版 */
.audio-btn {
    width: 35px;     /* ttestt按钮大小 */
    height: 35px;      /* ttestt按钮大小 */
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    color: white;
    cursor: pointer;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.audio-btn:hover {
    background: rgba(74, 158, 255, 0.2);
    border-color: #4a9eff;
    transform: scale(1.1);
}

/* 音乐图标状态 */
.music-control-btn.music-on {
    background-color: rgba(76, 175, 80, 0.1) !important;
    border-color: #4CAF50 !important;
}

.music-control-btn.music-off {
    background-color: rgba(244, 67, 54, 0.1) !important;
    border-color: #F44336 !important;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .audio-btn {
        width: 60px;
        height: 60px;
        font-size: 28px;
    }
}
/* 以上为060112新加 */

/* 以下是新增按钮拷贝260112 */
/* 复制提示样式 */
.copy-toast {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(10, 20, 100, 0.85);
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 14px;
    z-index: 2026;
    pointer-events: none;
    font-family: 'DengXian', '等线', 'Arial', sans-serif;
    animation: fadeInOut 5s ease-in-out;          /* 窗口弹出时间 */
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    text-align: center;
    line-height: 1.4;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.toast-line {
    display: block;
}

/* 第一行英文样式 */
.toast-line:first-child {
    font-weight: 500;
    font-size: 16px;
    opacity: 0.95;
}

/* 第二行中文样式 */
.toast-line:last-child {
    font-size: 16px;
    opacity: 0.56;
}

@keyframes fadeInOut {
    0% { 
        opacity: 0; 
        transform: translate(-50%, -60%); 
    }
    15% { 
        opacity: 0.85; 
        transform: translate(-50%, -50%); 
    }
    85% { 
        opacity: 0.85; 
        transform: translate(-50%, -50%); 
    }
    100% { 
        opacity: 0; 
        transform: translate(-50%, -40%); 
    }
}

/* 移动端适配 */
@media (max-width: 768px) {
    .copy-toast {
        padding: 15px 30px;
        font-size: 16px;
        border-radius: 12px;
       gap: 6px;
        /* 移动端也需要相同的动画时间 */
        animation: fadeInOut 5s ease-in-out; /* 添加这行 */
    }

    .toast-line:first-child {
        font-size: 15px;
    }
    
    .toast-line:last-child {
        font-size: 12px;
    }

}

/* 以上是新增按钮拷贝260112 */

/* 以下是新增主题文字和图片260112 */

/* 留言框样式 ttestt */
.message-box {
    background: linear-gradient(135deg, rgba(74, 158, 255, 0.1), rgba(108, 99, 255, 0.1));
    border-left: 5px solid #4a9eff;
    padding: 35px;
    margin-bottom: 15px;
    border-radius: 20px;
    backdrop-filter: blur(7px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.message-content h2 {
    font-size: 45px;
    color: #f3f3f3;       /* 淡灰白#f3f3f3  天蓝#56d5ff  浅灰蓝 #a1c7ff */
    text-align: center;
    margin-bottom: 15px;
    font-weight: 700;
}

.message-content p {
    font-size: 20px;
    color: #dcdcdc;
    text-align: center;
    line-height: 1.2;
    margin: 0;
}

/* 作品展示区域 */
.portfolio-gallery {
    margin-bottom: 20px;
}

.gallery-title {           /* 作品区主标题 */
    font-size: 27px;   
    color: #bbd6ff;
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
}

/* 画廊容器 - 核心响应式布局-核心响应式布局 ttestt */
.gallery-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);  /* 4列布局 */
    width: 100%;   /* ttestt 增加项测试一下 */
    gap: 20px;    /* 减少间距 */
    padding: 0 5%; /* 两侧留白10% */ /* 减少两侧留白从10%到5% */
    max-width: none;  /* 移除最大宽度限制 1600px */
    margin: 0 auto;
    transition: all 0.3s ease;
    width: 90%; /* 容器宽度设为90%，两侧各留5% */
}

/* 画廊项目 */
.gallery-item {
    background: rgba(26, 26, 46, 0.75);
    border-radius: 15px;
    padding: 10px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    min-width: 300px; /* 设置最小宽度 */
    max-width: 500px; /* 设置最大宽度 */
    margin: 0 auto; /* 居中显示 */
}

.gallery-item:hover {    /* 鼠标悬停后的效果 */
    width: 135%;
    border-radius: 10px;
    padding: 5px;
    transform: translateY(-15px);   /* 确保点击后抬高 */
    border-color: #4a9eff;
    box-shadow: 0 10px 30px rgba(74, 158, 255, 0.2);
    z-index: 1090;   /* 确保在提升起来 */
}

.gallery-item img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    padding: 5px;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
    display: block;
}

.gallery-item:hover img {
    transform: scale(1.02);

}

.work-info {
    padding: 20px;
}

.work-info h3 {
    font-size: 18px;
    color: #4a9eff;
    margin-bottom: 8px;
    font-weight: 600;
}

.work-info p {
    font-size: 14px;
    color: #b0b0b0;
    line-height: 1.5;
    margin: 0;
}

/* 响应式设计 - 核心逻辑-核心响应式布局 ttestt */
@media (min-width: 1600px) {
    .gallery-container {
        grid-template-columns: repeat(4, 1fr);   /* 4列布局 */
        width: 100%;   /* ttestt 增加项测试一下 */
        gap: 20px;  /* 减少间距 */
        padding: 0 15px;
    }
    .gallery-item {
        /* 基础大小 */
        transform: scale(1.0);
    }
}

/* 中等屏幕：3列布局，图片缩放过渡 */
@media (max-width: 1599px) and (min-width: 1201px) {
    .gallery-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        padding: 0 15px;
    }
    
    /* 图片宽度在75%-100%之间过渡 */
    .gallery-item {
        transform: scale(0.9); /* 压缩到90% */
    }
}

/* 小屏幕：2列布局 */
@media (max-width: 1200px) and (min-width: 769px) {
    .gallery-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 0 5%;
    }
    
    .gallery-item {
        transform: scale(0.9);
    }
    
    .gallery-item img {
        height: 200px;
    }
}

/* 移动端：单列布局 */
@media (max-width: 768px) {
    .gallery-container {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 5%;
    }
    
    .gallery-item {
        transform: scale(1.2); /* 移动端恢复原始大小1.2x */
        max-width: 120%;
    }
    
    .gallery-item img {
        height: 180px;
    }
    
    .message-content h2 {
        font-size: 24px;
    }
    
    .message-content p {
        font-size: 16px;
    }
}

/* 超宽屏幕：保持4列但适当放大 */
@media (min-width: 1600px) {
    .gallery-container {
        padding: 0 15%;
    }
    
    .gallery-item {
        transform: scale(1.1); /* 放大到110% */
    }
}

/* 平滑的缩放过渡 */
.gallery-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

/* 加载动画 */
.gallery-item {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* 为每个项目添加延迟动画 */
.gallery-item:nth-child(1) { animation-delay: 0.1s; }
.gallery-item:nth-child(2) { animation-delay: 0.2s; }
.gallery-item:nth-child(3) { animation-delay: 0.3s; }
.gallery-item:nth-child(4) { animation-delay: 0.4s; }

/* 以上是新增主题文字和图片260112 */

/* 响应式设计 */
@media (max-width: 768px) {
    .content {
        padding: 100px 0 100px;
    }
    
    .content-wrapper {
        padding: 0 15px;
    }
    
    .content-section {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .top-image, .bottom-image {
        max-height: 35vh;
    }
}

@media (max-width: 480px) {
    .content {
        padding: 80px 0 80px;
    }
    
    .content-wrapper {
        padding: 0 10px;
    }
    
    .content-section {
        padding: 15px;
        margin-bottom: 15px;
    }
    
    .top-image, .bottom-image {
        max-height: 30vh;
        min-height: 100px;
    }
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 20px;
}

::-webkit-scrollbar-track {
    background: rgba(120, 175, 210, 0.6);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb {
    background: #85badd;   /#*7bb6d6*/
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #9ccff2;
}


/* 旋转动画定义 */
@keyframes rotateLight {
    0% { transform: rotate(0deg); }
    25% { transform: rotate(90deg); }
    50% { transform: rotate(180deg); }
    75% { transform: rotate(270deg); }
    100% { transform: rotate(360deg); }
}

     /* 垂直移动动画 */
@keyframes verticalMove {
    0%, 100% {
        transform: translateY(0);
    }
    25% {
        transform: translateY(calc(-1 * var(--move-range-min)));
    }
    50% {
        transform: translateY(calc(-1 * var(--move-range-max)));
    }
    75% {
        transform: translateY(var(--move-range-min));
    }
}

/* 缩放动画关键帧 */
@keyframes scaleAnimation {
    0%, 100% {
        transform: scale(var(--scale-min, 0.95));
    }
    50% {
        transform: scale(var(--scale-max, 1.05));
    }

