/* 现代化AI科技风格CSS */

/* 全局变量定义 */
:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --blue-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.8);
    --shadow-light: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    --shadow-heavy: 0 15px 35px rgba(31, 38, 135, 0.2);
    --border-radius: 16px;
    --border-radius-small: 8px;
}

/* 全局重置和基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--primary-gradient);
    background-attachment: fixed;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* 作品详情激活状态 */
.work-detail-active {
    position: relative !important;
    height: auto !important;
}

/* 隐藏首页布局，保留详情内容（仅限覆盖层） */
.viewphoto .banner-section,
.viewphoto .filter-section,
.viewphoto .gallery-section,
.viewphoto .pagination-wrapper,
.viewphoto .loading-overlay,
.viewphoto .modern-header,
.viewphoto .tech-decoration,
.viewphoto .header-container {
    display: none !important;
}

.work-detail-active .container {
    padding-top: 40px;
}

/* 覆盖层样式 */
.viewphoto {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(5, 12, 30, 0.95);
    overflow-y: auto;
    padding: 40px 0;
    box-sizing: border-box;
}

.viewphoto .work-detail-page {
    max-width: 1400px;
    margin: 0 auto;
}

.viewphoto .glass-card {
    background: rgba(255, 255, 255, 0.08);
}

/* 玻璃质感效果 */
.glass-effect {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
}

.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 24px;
    transition: all 0.3s ease;
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
}

/* 现代化头部导航 */
.modern-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* 下拉菜单 */
.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    padding: 12px 0;
    margin-top: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
}

.dropdown-item:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.1);
}

.dropdown-item i {
    width: 16px;
    text-align: center;
}

.header-container {
    max-width: 1600px; /* 宽屏头部容器 */
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modern-logo {
    font-size: 28px;
    font-weight: 700;
    background: var(--blue-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--blue-gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
}

.modern-nav {
    display: flex;
    gap: 40px; /* 宽屏增加导航间距 */
    align-items: center;
}

@media (min-width: 1920px) {
    .modern-nav {
        gap: 50px;
    }
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: var(--border-radius-small);
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.1);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--blue-gradient);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

/* 搜索框 */
.modern-search {
    position: relative;
    width: 350px; /* 宽屏增加搜索框宽度 */
}

@media (min-width: 1920px) {
    .modern-search {
        width: 400px;
    }
}

.search-input {
    width: 100%;
    padding: 12px 20px 12px 48px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    color: var(--text-primary);
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
}

.search-input::placeholder {
    color: var(--text-secondary);
}

.search-input:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 20px rgba(79, 172, 254, 0.3);
}

.search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    font-size: 16px;
}

/* 主要内容区域 */
.main-content {
    margin-top: 100px;
    min-height: calc(100vh - 100px);
    padding: 40px 0;
    position: relative;
    z-index: 1;
}

/* Banner轮播区域 */
.banner-section {
    margin-bottom: 60px;
    position: relative;
}

.banner-carousel {
    position: relative;
    width: 100%;
    height: 500px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-heavy);
}

.banner-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-slide.active {
    opacity: 1;
}

.banner-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.banner-image.banner-default {
    background: var(--primary-gradient);
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.2) 100%);
}

.banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 40px;
}

.banner-text {
    padding: 20px 30px;
    background: transparent !important; /* 完全透明背景 */
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
}

.banner-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.8), 0 0 40px rgba(0,0,0,0.5);
}

.banner-title i {
    color: #4facfe;
    font-size: 3rem;
}

.banner-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    line-height: 1.6;
    opacity: 0.95;
    text-shadow: 0 1px 10px rgba(0,0,0,0.7);
}

.banner-actions {
    margin-bottom: 30px;
}

.banner-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    display: block;
    text-decoration: none;
}

.banner-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 40px;
    flex-wrap: wrap;
}

/* Banner控制按钮 */
.banner-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
    z-index: 3;
}

.banner-prev,
.banner-next {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: white;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.banner-prev:hover,
.banner-next:hover {
    background: rgba(0, 0, 0, 0.7);
    border-color: rgba(255, 255, 255, 1);
    transform: scale(1.1);
}

/* Banner指示器 */
.banner-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.banner-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    border: 2px solid rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.banner-indicator.active {
    background: white;
    border-color: rgba(0, 0, 0, 0.5);
    transform: scale(1.2);
}

/* 首页英雄区域（备用） */
.hero-section {
    margin-bottom: 60px;
    text-align: center;
}

.hero-container {
    max-width: 1600px; /* 增加最大宽度以适应宽屏 */
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.95); /* 临时添加背景确保可见 */
    min-height: 500px; /* 临时添加最小高度 */
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: var(--blue-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.hero-title i {
    color: #4facfe;
    font-size: 3rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px; /* 宽屏增加间距 */
    margin-top: 40px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--blue-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* 筛选区域 */
.filter-section {
    margin-bottom: 40px;
}

/* 现代化筛选菜单 */
.modern-filter-menu {
    padding: 24px;
    margin-bottom: 32px;
}

.filter-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
}

.filter-tab {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.filter-tab:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    transform: translateY(-2px);
}

.filter-tab.active {
    background: var(--blue-gradient);
    color: white;
    border-color: transparent;
}

.filter-tab i {
    font-size: 1.1rem;
}

.filter-tab span {
    font-weight: 500;
}

.tab-indicator {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--blue-gradient);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.filter-tab.active .tab-indicator {
    transform: scaleX(1);
}

/* 快速筛选 */
.quick-filters {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.filter-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    min-width: 100px;
}

.filter-options {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.filter-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    color: var(--text-secondary);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-option:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

.filter-option.active {
    background: var(--blue-gradient);
    color: white;
    border-color: transparent;
}

.filter-option i {
    font-size: 0.9rem;
}

/* 画廊区域 */
.gallery-section {
    margin-bottom: 60px;
}

.modern-gallery {
    transition: opacity 0.5s ease;
}

/* 空状态 */
.empty-state {
    text-align: center;
    padding: 80px 40px;
    max-width: 500px;
    margin: 0 auto;
}

.empty-state i {
    font-size: 4rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
    display: block;
}

.empty-state h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.empty-state p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* 加载动画 */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loading-spinner {
    text-align: center;
}

.spinner-ring {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top: 4px solid #4facfe;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

.loading-text {
    color: var(--text-primary);
    font-size: 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.container {
    max-width: 1600px; /* 增加最大宽度以适应宽屏 */
    margin: 0 auto;
    padding: 0 24px;
}

/* 现代化按钮 */
.modern-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--blue-gradient);
    color: white;
    text-decoration: none;
    border-radius: var(--border-radius-small);
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 14px;
}

.modern-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(79, 172, 254, 0.4);
}

.modern-btn.secondary {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.modern-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* 卡片网格布局 - 宽屏优化 */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 32px;
}

/* 宽屏特殊优化 */
@media (min-width: 1400px) {
    .card-grid {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
        gap: 24px;
    }
}

@media (min-width: 1800px) {
    .card-grid {
        grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
        gap: 28px;
    }
}

.photo-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.photo-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-heavy);
    background: rgba(255, 255, 255, 0.08);
}

.photo-card-image {
    width: 100%;
    height: 220px; /* 宽屏增加卡片高度 */
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* 宽屏卡片高度优化 */
@media (min-width: 1400px) {
    .photo-card-image {
        height: 240px;
    }
}

@media (min-width: 1920px) {
    .photo-card-image {
        height: 260px;
    }
}

@media (min-width: 2560px) {
    .photo-card-image {
        height: 300px;
    }
}

/* ===== 响应式适配：平板与手机 ===== */
@media (max-width: 1200px) {
    .container {
        padding: 0 20px;
    }

    .work-content {
        gap: 30px;
    }

    .info-section {
        position: relative;
        top: 0;
    }
}

@media (max-width: 992px) {
    body {
        font-size: 15px;
    }

    .work-content {
        grid-template-columns: 1fr;
    }

    .photo-section,
    .info-section {
        width: 100%;
    }

    .work-actions {
        flex-wrap: wrap;
    }

    .main-photo-container {
        padding: 24px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    .modern-header .header-container {
        flex-direction: column;
        gap: 10px;
    }

    .work-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .main-photo {
        max-height: 60vh;
    }

    .nav-btn {
        width: 38px;
        height: 38px;
    }

    .thumbnails-scroll {
        gap: 8px;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 12px;
    }

    .back-btn {
        width: 100%;
        justify-content: center;
    }

    .work-actions {
        width: 100%;
        justify-content: space-between;
    }

    .action-btn {
        flex: 1;
        justify-content: center;
        font-size: 12px;
        padding: 10px;
    }

    .photo-counter,
    .car-badge {
        font-size: 12px;
        padding: 6px 12px;
    }

    .thumbnails-container {
        padding: 16px;
    }

    .thumbnails-scroll {
        padding-bottom: 0;
    }
}

.photo-card:hover .photo-card-image {
    transform: scale(1.05);
}

/* 悬浮信息层 */
.photo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.8) 100%);
    opacity: 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.photo-card:hover .photo-overlay {
    opacity: 1;
}

.overlay-content {
    width: 100%;
}

.photo-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 12px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.photo-stats {
    display: flex;
    gap: 12px;
}

.stat-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    color: white;
    font-weight: 500;
}

.photo-card-content {
    padding: 20px;
}

/* 车辆信息行样式 */
.car-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin-bottom: 12px;
}

.car-plate,
.car-model,
.car-date {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--text-secondary);
    flex: 1;
    min-width: 0; /* 允许文本截断 */
}

.car-plate {
    font-weight: 600;
    color: var(--blue-primary);
}

.car-plate i {
    color: var(--blue-primary);
}

.car-model i {
    color: #ffa726;
}

.car-date i {
    color: #66bb6a;
}

/* 卡片标签和元数据 */
.photo-card-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--blue-gradient);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 16px;
}

.photo-card-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 12px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.meta-item i {
    width: 16px;
    text-align: center;
    color: #4facfe;
}

.photo-card-remark {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.4;
    padding: 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border-left: 3px solid #4facfe;
}

.photo-card-remark i {
    color: #4facfe;
    margin-top: 2px;
    flex-shrink: 0;
}

.photo-card-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.photo-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--text-secondary);
}

.photo-card-badge {
    background: var(--blue-gradient);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
}

/* 科技感装饰元素 */
.tech-decoration {
    position: fixed;
    pointer-events: none;
    z-index: -1;
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.shape:nth-child(1) {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape:nth-child(2) {
    width: 120px;
    height: 120px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.shape:nth-child(3) {
    width: 60px;
    height: 60px;
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.5;
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 0.8;
    }
}

/* 光效动画 */
.glow-effect {
    position: relative;
    overflow: hidden;
}

.glow-effect::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(transparent, rgba(79, 172, 254, 0.3), transparent);
    animation: rotate 4s linear infinite;
    z-index: -1;
}

.glow-effect::after {
    content: '';
    position: absolute;
    inset: 2px;
    background: var(--primary-gradient);
    border-radius: inherit;
    z-index: -1;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 作品详情页面样式 */
.work-detail-page {
    padding: 30px 0;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative !important;
    z-index: 10 !important;
    background: transparent !important;
    width: 100%;
    margin: 0 auto;
    display: block !important;
}

/* 重置可能冲突的样式 */
.work-detail-page * {
    box-sizing: border-box;
}

.work-detail-page .container {
    position: static !important;
    height: auto !important;
    overflow: visible !important;
    min-height: auto !important;
    max-height: none !important;
    background: transparent !important;
}

.work-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.back-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.back-btn:hover {
    transform: translateY(-2px);
    color: var(--blue-primary);
}

.work-actions {
    display: flex;
    gap: 12px;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 12px;
    color: var(--text-primary);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.action-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.action-btn.liked {
    color: #ff4757;
}


.work-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
}

/* 照片展示区域 */
.photo-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.main-photo-container {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    box-sizing: border-box;
}

.photo-counter {
    position: absolute !important;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    z-index: 15 !important;
    backdrop-filter: blur(10px);
    display: block !important;
}

.car-badge {
    position: absolute !important;
    bottom: 20px;
    left: 20px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    z-index: 15 !important;
    display: flex !important;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(10px);
}

.photo-view {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.main-photo {
    max-width: 100%;
    max-height: calc(80vh - 140px);
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    transition: transform 0.3s ease;
    display: block;
    margin: 0 auto;
}

.nav-btn {
    position: absolute !important;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: rgba(0, 0, 0, 0.45);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 20 !important;
    opacity: 0.85;
    pointer-events: auto !important;
}

.nav-btn:hover {
    background: rgba(0, 0, 0, 0.65);
    transform: translateY(-50%) scale(1.08);
    opacity: 1;
}

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}

/* 缩略图容器 */
.thumbnails-container {
    padding: 20px;
    border-radius: 16px;
}

.thumbnails-scroll {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.thumbnails-scroll::-webkit-scrollbar {
    height: 6px;
}

.thumbnails-scroll::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.thumbnails-scroll::-webkit-scrollbar-thumb {
    background: var(--blue-gradient);
    border-radius: 3px;
}

.thumbnail-item {
    position: relative;
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.thumbnail-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.thumbnail-item.active {
    border-color: var(--blue-primary);
    transform: translateY(-2px);
}

.thumbnail-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbnail-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.thumbnail-item:hover .thumbnail-overlay {
    opacity: 1;
}

.next-work-btn {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: var(--blue-gradient);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 12px;
}

.next-work-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(79, 172, 254, 0.4);
}

/* 信息区域 */
.info-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.work-info {
    padding: 24px;
    border-radius: 16px;
}

.work-title {
    margin-bottom: 20px;
}

.work-title h1 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.work-stats {
    display: flex;
    gap: 20px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-secondary);
    font-size: 14px;
}

.work-description {
    margin-bottom: 20px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    line-height: 1.6;
}

.car-details h3,
.work-remark h3,
.work-tags h3,
.exif-info h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.1rem;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.detail-grid {
    display: grid;
    gap: 12px;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-item .label {
    color: var(--text-secondary);
    font-weight: 500;
}

.detail-item .value {
    color: var(--text-primary);
    font-weight: 600;
}

.work-remark {
    margin-bottom: 20px;
}

.work-remark p {
    padding: 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    line-height: 1.6;
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-item {
    padding: 6px 12px;
    background: var(--blue-gradient);
    color: white;
    text-decoration: none;
    border-radius: 16px;
    font-size: 12px;
    transition: all 0.3s ease;
}

.tag-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(79, 172, 254, 0.4);
}

/* EXIF信息 */
.exif-info {
    padding: 24px;
    border-radius: 16px;
}

.exif-content {
    display: grid;
    gap: 8px;
}

.exif-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
}

.exif-item:last-child {
    border-bottom: none;
}

.exif-label {
    color: var(--text-secondary);
}

.exif-value {
    color: var(--text-primary);
    font-weight: 500;
}

/* 管理操作面板 */
.work-actions-panel {
    padding: 24px;
    border-radius: 16px;
}

.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.modern-btn.danger {
    background: linear-gradient(135deg, #ff4757 0%, #ff3742 100%);
}

.modern-btn.success {
    background: linear-gradient(135deg, #2ed573 0%, #1dd1a1 100%);
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .work-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .info-section {
        order: -1;
    }
}

@media (max-width: 768px) {
    .work-header {
        flex-direction: column;
        gap: 16px;
        align-items: stretch;
    }
    
    .work-actions {
        justify-content: center;
    }
    
    .main-photo {
        max-height: 60vh;
        max-width: 100%;
    }
    
    .car-badge,
    .photo-counter {
        font-size: 12px;
        padding: 6px 12px;
    }
    
    .nav-btn {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
    
    .work-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .thumbnails-scroll {
        gap: 8px;
    }
    
    .thumbnail-item {
        width: 60px;
        height: 60px;
    }
}

/* 分类页面样式 */
.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 32px;
    margin-bottom: 32px;
    border-radius: 16px;
}

.category-info {
    display: flex;
    align-items: center;
    gap: 24px;
}

.category-icon {
    width: 80px;
    height: 80px;
    background: var(--blue-gradient);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    box-shadow: 0 8px 25px rgba(79, 172, 254, 0.3);
}

.category-details {
    flex: 1;
}

.category-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
    background: var(--blue-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.category-stats {
    display: flex;
    gap: 24px;
    margin-bottom: 16px;
}

.category-stats .stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 500;
}

.category-stats .stat-item i {
    color: var(--blue-primary);
}

.category-description {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 1rem;
    max-width: 600px;
}

.category-actions {
    display: flex;
    gap: 16px;
}

.back-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.back-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* 分类页面图册展示 */
.modern-gallery {
    opacity: 1 !important;
}

.modern-gallery .card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    padding: 0;
}

/* 确保分类页面使用现代化卡片布局 */
.gallery-section .card-grid {
    margin-top: 0;
}

/* 现代化分页样式 */
.modern-pagination {
    display: flex;
    justify-content: center;
    margin-top: 48px;
    padding: 24px;
}

.modern-pagination .pagination {
    display: flex;
    gap: 8px;
    align-items: center;
}

.modern-pagination .pagination a,
.modern-pagination .pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.modern-pagination .pagination a {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
}

.modern-pagination .pagination a:hover {
    background: var(--blue-gradient);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(79, 172, 254, 0.4);
}

.modern-pagination .pagination .current {
    background: var(--blue-gradient);
    color: white;
    border-color: transparent;
}

.modern-pagination .pagination .disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* 分类页面响应式设计 */
@media (min-width: 1400px) {
    .modern-gallery .card-grid {
        grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
        gap: 28px;
    }
}

@media (min-width: 1800px) {
    .modern-gallery .card-grid {
        grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .category-header {
        flex-direction: column;
        gap: 24px;
        padding: 24px;
        text-align: center;
    }
    
    .category-info {
        flex-direction: column;
        text-align: center;
    }
    
    .category-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .category-title {
        font-size: 2rem;
    }
    
    .category-stats {
        justify-content: center;
        flex-wrap: wrap;
        gap: 16px;
    }
    
    .category-actions {
        width: 100%;
        justify-content: center;
    }
    
    .modern-gallery .card-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* 宽屏优化 */
@media (min-width: 1920px) {
    .container, .header-container, .footer-container {
        max-width: 1800px;
        padding: 0 40px;
    }
    
    .hero-content {
        max-width: 1200px;
        padding: 80px 60px;
    }
    
    .hero-title {
        font-size: 4rem;
    }
    
    .hero-stats {
        gap: 80px;
    }
    
    .modern-filter-menu {
        padding: 32px;
    }
    
    .filter-tabs {
        gap: 16px;
    }
    
    .filter-tab {
        padding: 20px 32px;
    }
}

@media (min-width: 2560px) {
    .container, .header-container, .footer-container {
        max-width: 2200px;
        padding: 0 60px;
    }
    
    .card-grid {
        grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
        gap: 32px;
    }
    
    .hero-title {
        font-size: 4.5rem;
    }
    
    .hero-content {
        max-width: 1400px;
        padding: 100px 80px;
    }
}

/* 动态宽屏类样式 */
body.ultra-wide {
    --container-padding: 80px;
}

body.ultra-wide .modern-header {
    padding: 20px 0;
}

body.ultra-wide .hero-stats {
    gap: 100px;
}

body.ultra-wide .filter-tabs {
    gap: 20px;
}

body.ultra-wide .filter-tab {
    padding: 24px 40px;
    font-size: 1.1rem;
}

body.wide-screen .hero-stats {
    gap: 80px;
}

body.wide-screen .filter-tabs {
    gap: 16px;
}

body.standard-wide .hero-stats {
    gap: 60px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .header-container {
        padding: 0 16px;
        flex-direction: column;
        gap: 16px;
    }
    
    .modern-nav {
        gap: 16px;
    }
    
    .modern-search {
        width: 100%;
        max-width: 300px;
    }
    
    .container {
        padding: 0 16px;
    }
    
    .card-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    /* 车辆信息行响应式 */
    .car-info-row {
        flex-direction: column;
        gap: 8px;
        align-items: stretch;
        padding: 10px 12px;
    }
    
    .car-plate,
    .car-model,
    .car-date {
        justify-content: center;
        padding: 4px 0;
        font-size: 11px;
    }
    
    .main-content {
        margin-top: 140px;
    }
    
    .hero-stats {
        gap: 20px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
}

/* 现代化页脚 */
.modern-footer {
    margin-top: 80px;
    padding: 40px 0 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-container {
    max-width: 1600px; /* 宽屏页脚容器 */
    margin: 0 auto;
    padding: 0 24px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 32px;
}

.footer-info {
    flex: 1;
    min-width: 250px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.footer-logo i {
    color: #4facfe;
}

.footer-description {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.9rem;
}

.footer-stats {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-stats .stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.footer-stats .stat-item i {
    color: #4facfe;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    flex-wrap: wrap;
    gap: 16px;
}

.copyright {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.powered-by {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.footer-link {
    color: #4facfe;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #00f2fe;
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

::-webkit-scrollbar-thumb {
    background: var(--blue-gradient);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #3a8bfd 0%, #00d4ff 100%);
}
