/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #f5f5f5;
    line-height: 1.6;
}

/* 容器 */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

/* 图片画廊 */
.image-gallery {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.image-gallery img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* PC端样式 - 屏幕宽度大于768px */
@media screen and (min-width: 768px) {
    .container {
        padding: 40px 60px;
    }
    
    .image-gallery {
        gap: 20px;
    }
    
    .image-gallery img {
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    
    .image-gallery img:hover {
        transform: translateY(-5px);
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    }
}

/* 平板端样式 - 屏幕宽度在481px到767px之间 */
@media screen and (min-width: 481px) and (max-width: 767px) {
    .container {
        padding: 20px 30px;
    }
    
    .image-gallery {
        gap: 15px;
    }
    
    .image-gallery img {
        border-radius: 6px;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    }
}

/* 手机端样式 - 屏幕宽度小于等于480px */
@media screen and (max-width: 480px) {
    .container {
        padding: 10px;
    }
    
    .image-gallery {
        gap: 10px;
    }
    
    .image-gallery img {
        border-radius: 4px;
    }
}

/* 小屏手机优化 - 屏幕宽度小于360px */
@media screen and (max-width: 360px) {
    .container {
        padding: 5px;
    }
    
    .image-gallery {
        gap: 5px;
    }
}

/* 加载动画效果 */
.image-gallery img {
    opacity: 0;
    animation: fadeIn 0.5s ease-in forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* 为每张图片添加延迟动画 */
.image-gallery img:nth-child(1) { animation-delay: 0.05s; }
.image-gallery img:nth-child(2) { animation-delay: 0.1s; }
.image-gallery img:nth-child(3) { animation-delay: 0.15s; }
.image-gallery img:nth-child(4) { animation-delay: 0.2s; }
.image-gallery img:nth-child(5) { animation-delay: 0.25s; }

/* 剩余图片使用统一延迟 */
.image-gallery img:nth-child(n+6) { animation-delay: 0.3s; }

/* 页脚备案信息 */
.footer {
    margin-top: 40px;
    padding: 30px 0;
    border-top: 1px solid #e0e0e0;
    text-align: center;
}

.beian-info {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 14px;
    color: #666;
}

.beian-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.beian-link:hover {
    color: #333;
}

.beian-icon {
    width: 20px;
    height: 20px;
    vertical-align: middle;
}

.separator {
    color: #ccc;
    margin: 0 5px;
}

/* 手机端备案信息优化 */
@media screen and (max-width: 480px) {
    .footer {
        margin-top: 30px;
        padding: 20px 0;
    }
    
    .beian-info {
        font-size: 12px;
        flex-direction: column;
        gap: 8px;
    }
    
    .separator {
        display: none;
    }
    
    .beian-icon {
        width: 18px;
        height: 18px;
    }
}
