/* 集锦页面专用样式 */
.gallery-section {
    padding: 150px 20px 80px;
    max-width: 1400px;
    margin: 0 auto;
}

.back-home-container {
    text-align: center;
    margin-bottom: 40px;
}
.back-home-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f0f4f8;
    color: #2c3e50;
    padding: 10px 25px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}
.back-home-btn:hover {
    background: #3498db;
    color: #fff;
}

/* 相册区块 */
.album-section {
    margin-bottom: 60px;
}
.album-title {
    font-size: 28px;
    color: #2c3e50;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid #3498db;
    display: inline-block;
}
.album-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    grid-auto-rows: 200px;
    gap: 15px;
}
.album-item {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.album-item:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 25px rgba(52,152,219,0.2);
}
.album-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.album-item:hover img {
    transform: scale(1.08);
}

.album-item.tall {
    grid-row: span 2;
}

/* 视频区域 */
.video-section {
    margin-top: 40px;
}
.video-section .section-title {
    margin-bottom: 30px;
}
.video-section .section-title h3 {
    font-size: 28px;
}
.video-carousel-container {
    position: relative;
    padding: 10px 0;
}
.video-carousel {
    display: flex;
    gap: 25px;
    overflow-x: hidden;
    scroll-behavior: smooth;
    padding: 10px 5px;
}
.video-card {
    flex: 0 0 360px;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    cursor: pointer;
    transition: all 0.3s ease;
}
.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(52,152,219,0.15);
}
.video-thumb {
    height: 220px;
    background: linear-gradient(145deg, #1e2a36 0%, #2c3e50 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}
.video-thumb i {
    font-size: 64px;
    opacity: 0.8;
}
.video-info {
    padding: 16px 20px;
}
.video-info h4 {
    font-size: 18px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.video-info p {
    font-size: 14px;
    color: #7f8c8d;
    margin: 0;
}

/* 轮播导航按钮 */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    cursor: pointer;
    z-index: 5;
    transition: all 0.3s;
}
.carousel-nav:hover {
    background: #3498db;
    color: #fff;
}
.carousel-nav.prev-video { left: -20px; }
.carousel-nav.next-video { right: -20px; }

/* Lightbox 样式（与主页共用） */
.lightbox-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
}
.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
}
.lightbox-close, .video-modal-close {
    position: absolute;
    top: 20px; right: 30px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
    z-index: 100000;
    background: rgba(0,0,0,0.5);
    width: 50px; height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}
.lightbox-close:hover, .video-modal-close:hover {
    background: rgba(231,76,60,0.8);
}

/* 视频弹窗 */
.video-modal {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.95);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}
.video-modal video {
    max-width: 90%;
    max-height: 80vh;
    border-radius: 12px;
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
}

/* 无内容提示 */
.empty-message {
    text-align: center;
    padding: 40px;
    color: #95a5a6;
    font-size: 18px;
}

@media (max-width: 768px) {
    .gallery-section { padding: 120px 15px 60px; }
    .album-grid { grid-template-columns: 1fr; }
    .video-card { flex: 0 0 280px; }
    .carousel-nav { display: none; }
}
.footer {
    padding-bottom: 35px !important;
}