/* 演示截图前端样式 */
.ds-gallery-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.ds-gallery-header {
    margin-bottom: 30px;
}

.ds-tabs {
    border-bottom: 2px solid #ddd;
    margin-bottom: 30px;
}

.ds-tab-btn {
    padding: 10px 20px;
    margin-right: 10px;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 16px;
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
}

.ds-tab-btn.active {
    color: #DD2222;
    border-bottom-color: #DD2222;
    font-weight: 600;
}

.ds-tab-btn:hover {
    color: #DD2222;
}

.ds-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.ds-grid-item {
    cursor: pointer;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.ds-grid-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.ds-grid-item img {
    width: 100%;
    height: auto;
    display: block;
}

#ds-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

#ds-lightbox-img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

@media (max-width: 768px) {
    .ds-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 15px;
    }
    
    .ds-tab-btn {
        font-size: 14px;
        padding: 8px 15px;
    }
}
