/* AI生成图片样式 */
.ai-generated-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ai-generated-image:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* 图片容器样式 */
.image-container {
    overflow: hidden;
    border-radius: 8px;
    position: relative;
}

/* 加载动画 */
.ai-image-loading {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading-animation 1.5s infinite;
}

@keyframes loading-animation {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* 响应式图片 */
@media (max-width: 768px) {
    .ai-generated-image {
        max-width: 100%;
        height: auto;
    }
}

/* 懒加载样式 */
.ai-image-lazy {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ai-image-lazy.loaded {
    opacity: 1;
}

/* 图片占位符 */
.image-placeholder {
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-size: 14px;
}

/* 特定类型图片样式 */
.ai-business-image {
    border: 2px solid #007cba;
}

.ai-tech-image {
    border: 2px solid #28a745;
}

.ai-people-image {
    border: 2px solid #ffc107;
}

.ai-nature-image {
    border: 2px solid #20c997;
}