/* ===== works.css - 超创游乐作品页面专属样式 v2 ===== */
/* 风格统一：对齐全局CSS变量、字体、间距、圆角、动效 */

/* ============ 页面标题区 ============ */
.works-hero {
    height: 60vh;
    min-height: 420px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.works-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.works-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(30,42,58,0.5) 0%, rgba(30,42,58,0.75) 100%);
    z-index: 1;
}

.works-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 900px;
    padding: 0 40px;
}

.works-hero-label {
    font-size: 12px;
    font-weight: 300;
    letter-spacing: 6px;
    text-transform: uppercase;
    font-family: var(--font-en);
    color: var(--accent);
    margin-bottom: 24px;
}

.works-hero-title {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 4px;
    margin-bottom: 24px;
}

.works-hero-subtitle {
    font-size: 16px;
    font-weight: 300;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
}

/* ============ 筛选区域 ============ */
.works-filter-section {
    padding: 80px 0 40px;
    background: var(--bg-warm);
}

.works-filter-section .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 80px;
}

.filter-bar {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    flex-wrap: wrap;
}

.filter-block {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.filter-block-label {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 4px;
    text-transform: uppercase;
    font-family: var(--font-en), var(--font-cn);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 12px;
}

.filter-block-label::before {
    content: '';
    width: 24px;
    height: 2px;
    background: var(--accent);
    border-radius: 1px;
}

/* 系列筛选 - 标签按钮 */
.filter-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-tag {
    padding: 10px 20px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 13px;
    letter-spacing: 1px;
    font-family: var(--font-cn), var(--font-en);
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    user-select: none;
}

.filter-tag:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255,107,53,0.12);
}

.filter-tag.active {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
    box-shadow: 0 4px 16px rgba(255,107,53,0.25);
}

.filter-tag.active:hover {
    background: var(--accent-light);
    border-color: var(--accent-light);
    color: white;
}

/* 片区筛选 - 下拉选择器 */
.filter-dropdown-wrap {
    position: relative;
    min-width: 180px;
}

.filter-dropdown-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 16px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
    font-family: var(--font-cn), var(--font-en);
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.4s ease;
    user-select: none;
    width: 100%;
}

.filter-dropdown-trigger:hover {
    border-color: var(--accent);
}

.filter-dropdown-trigger.open {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(255,107,53,0.1);
}

.filter-dropdown-trigger svg {
    width: 16px;
    height: 16px;
    stroke: var(--text-muted);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.filter-dropdown-trigger.open svg {
    transform: rotate(180deg);
}

.filter-dropdown-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    width: 100%;
    background: white;
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: 0 12px 40px rgba(44,62,80,0.12);
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.filter-dropdown-menu.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.filter-dropdown-item {
    padding: 12px 16px;
    font-size: 14px;
    font-family: var(--font-cn), var(--font-en);
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 1px solid var(--border);
}

.filter-dropdown-item:last-child {
    border-bottom: none;
}

.filter-dropdown-item:hover {
    background: var(--bg-warm-soft);
    color: var(--accent);
}

.filter-dropdown-item.active {
    background: rgba(255,107,53,0.06);
    color: var(--accent);
    font-weight: 500;
}

/* 筛选状态 */
.filter-status-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    font-size: 13px;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.filter-status-bar strong {
    color: var(--accent);
    font-weight: 600;
}

.filter-reset-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 12px;
    font-family: var(--font-en), var(--font-cn);
    letter-spacing: 1px;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-reset-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.filter-reset-btn svg {
    width: 14px;
    height: 14px;
}

/* ============ 项目网格区域 ============ */
.works-projects-section {
    padding: 40px 0 120px;
    background: var(--bg-warm);
    min-height: 400px;
}

.works-projects-section .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 80px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* ============ 项目卡片 ============ */
.project-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    background: white;
    box-shadow: 0 4px 20px var(--shadow);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(40px);
}

.project-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.project-card.hidden-card {
    display: none;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px var(--shadow-hover);
}

.project-card-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--bg-warm-soft);
}

.project-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover .project-card-image img {
    transform: scale(1.05);
}

/* hover 遮罩 + 查看详情按钮 */
.card-hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(30, 42, 58, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 2;
}

.project-card:hover .card-hover-overlay {
    opacity: 1;
}

.card-hover-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: var(--accent);
    color: white;
    font-family: var(--font-en);
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    border-radius: 100px;
    transform: translateY(12px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    pointer-events: none;
}

.project-card:hover .card-hover-btn {
    transform: translateY(0);
}

.card-hover-btn svg {
    width: 16px;
    height: 16px;
}

/* 卡片内容 */
.project-card-content {
    padding: 24px;
    background: white;
}

.project-card-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.project-card-tag {
    display: inline-block;
    padding: 4px 12px;
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-family: var(--font-en);
    border-radius: 4px;
    font-weight: 500;
}

.project-card-tag--series {
    background: rgba(255, 107, 53, 0.12);
    color: var(--accent);
}

.project-card-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    letter-spacing: 1px;
    line-height: 1.4;
}

.project-card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

.project-card-meta svg {
    width: 14px;
    height: 14px;
    stroke: var(--text-dim);
    flex-shrink: 0;
}

.project-card-meta-sep {
    width: 1px;
    height: 12px;
    background: var(--border);
}

/* ============ 加载更多 ============ */
.load-more-wrap {
    text-align: center;
    margin-top: 60px;
}

.load-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 40px;
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: var(--font-en);
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.load-more-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(255,107,53,0.1);
}

.load-more-btn svg {
    width: 16px;
    height: 16px;
    transition: transform 0.4s ease;
}

.load-more-btn:hover svg {
    transform: translateY(2px);
}

.load-more-btn.hidden {
    display: none;
}

/* ============ 无结果提示 ============ */
.no-results {
    text-align: center;
    padding: 100px 20px;
    display: none;
}

.no-results.active {
    display: block;
}

.no-results-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    color: var(--text-dim);
}

.no-results-icon svg {
    width: 100%;
    height: 100%;
}

.no-results h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
    letter-spacing: 2px;
}

.no-results p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 24px;
    line-height: 1.8;
}

/* ============ 详情弹窗 ============ */
.works-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(30, 42, 58, 0.95);
    backdrop-filter: blur(16px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 40px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.works-modal-overlay.active {
    display: flex;
    opacity: 1;
}

.works-modal {
    background: var(--bg-warm);
    max-width: 1200px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    border-radius: 16px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.3);
    transform: scale(0.95);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.works-modal-overlay.active .works-modal {
    transform: scale(1);
}

/* 弹窗关闭按钮 */
.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    color: var(--text-primary);
}

.modal-close:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
    transform: rotate(90deg);
}

.modal-close svg {
    width: 20px;
    height: 20px;
}

/* 弹窗内容布局 */
.modal-content-wrapper {
    display: flex;
    min-height: 500px;
}

.modal-gallery {
    flex: 0 0 60%;
    position: relative;
    background: var(--bg-darker);
    display: flex;
    flex-direction: column;
}

.gallery-main {
    position: relative;
    width: 100%;
    flex: 1;
    min-height: 400px;
    overflow: hidden;
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background: linear-gradient(to top, rgba(30, 42, 58, 0.5) 0%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}

/* 画廊导航箭头 */
.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
    z-index: 5;
}

.gallery-nav:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: translateY(-50%) scale(1.1);
}

.gallery-nav svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
}

.gallery-prev { left: 20px; }
.gallery-next { right: 20px; }
.gallery-nav.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

/* 图片计数器 */
.gallery-counter {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(30, 42, 58, 0.8);
    backdrop-filter: blur(10px);
    color: white;
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 12px;
    font-family: var(--font-en);
    letter-spacing: 2px;
    z-index: 5;
}

/* 缩略图导航 */
.gallery-thumbs {
    display: flex;
    gap: 8px;
    padding: 16px;
    background: var(--bg-darker);
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    flex-shrink: 0;
}

.gallery-thumbs::-webkit-scrollbar { display: none; }

.gallery-thumb {
    flex: 0 0 80px;
    height: 60px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    opacity: 0.6;
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-thumb:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.gallery-thumb.active {
    opacity: 1;
    border-color: var(--accent);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

/* 弹窗信息区域 */
.modal-info {
    flex: 0 0 40%;
    padding: 48px 40px;
    overflow-y: auto;
    background: var(--bg-warm);
}

.modal-info-inner { max-width: 100%; }

.modal-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 107, 53, 0.12);
    color: var(--accent);
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-family: var(--font-en);
    border-radius: 4px;
    margin-bottom: 16px;
    font-weight: 500;
}

.modal-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 24px;
    letter-spacing: 2px;
    line-height: 1.3;
}

/* 元数据 */
.modal-meta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding: 20px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin-bottom: 24px;
}

.meta-item { text-align: center; }

.meta-label {
    display: block;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-family: var(--font-en);
    color: var(--text-muted);
    margin-bottom: 6px;
}

.meta-value {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

/* 描述 */
.modal-desc {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.8;
    letter-spacing: 0.5px;
    margin-bottom: 32px;
}

.modal-desc p { margin-bottom: 12px; }
.modal-desc p:last-child { margin-bottom: 0; }

/* 服务范围 */
.modal-services { margin-bottom: 32px; }

.modal-services h4,
.modal-params h4,
.related-title {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-family: var(--font-en);
    color: var(--accent);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.modal-services h4::after,
.modal-params h4::after,
.related-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

.modal-services ul { list-style: none; }

.modal-services ul li {
    position: relative;
    padding-left: 20px;
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 10px;
    line-height: 1.6;
}

.modal-services ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
}

/* 技术参数 */
.modal-params { margin-bottom: 32px; }

.params-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.param-item {
    background: var(--bg-warm-soft);
    padding: 12px 16px;
    border-radius: 8px;
    border-left: 3px solid var(--accent-mint);
}

.param-item .param-label {
    font-size: 11px;
    color: var(--text-muted);
    letter-spacing: 1px;
    margin-bottom: 4px;
    text-transform: uppercase;
    font-family: var(--font-en);
}

.param-item .param-value {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
}

/* 相关推荐 */
.modal-related {
    padding: 32px 40px;
    border-top: 1px solid var(--border);
    background: var(--bg-warm-soft);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.related-card {
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
    background: white;
    box-shadow: 0 2px 12px var(--shadow);
    transition: all 0.4s ease;
}

.related-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px var(--shadow-hover);
}

.related-card-image {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.related-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.related-card:hover .related-card-image img {
    transform: scale(1.05);
}

.related-card-info { padding: 16px; }

.related-card-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
    letter-spacing: 0.5px;
}

.related-card-meta {
    font-size: 12px;
    color: var(--text-muted);
}

/* ============ 响应式适配 ============ */
@media (max-width: 1200px) {
    .works-filter-section .container,
    .works-projects-section .container {
        padding: 0 40px;
    }

    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .filter-bar {
        gap: 24px;
    }

    .modal-gallery { flex: 0 0 55%; }
    .modal-info { flex: 0 0 45%; padding: 36px 32px; }
    .modal-title { font-size: 24px; }
    .related-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .works-hero { height: 50vh; min-height: 320px; }
    .works-hero-title { font-size: clamp(28px, 8vw, 36px); }

    .works-filter-section .container,
    .works-projects-section .container {
        padding: 0 24px;
    }

    .works-filter-section { padding: 40px 0 24px; }

    .filter-bar {
        flex-direction: column;
        gap: 24px;
    }

    .filter-block { width: 100%; }

    /* 移动端：系列标签横向滚动 */
    .filter-tags {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        padding-bottom: 4px;
        gap: 8px;
    }

    .filter-tags::-webkit-scrollbar { display: none; }

    .filter-tag {
        padding: 8px 16px;
        font-size: 12px;
        flex-shrink: 0;
    }

    /* 下拉全宽 */
    .filter-dropdown-wrap { width: 100%; min-width: auto; }
    .filter-dropdown-trigger { width: 100%; }
    .filter-dropdown-menu { width: 100%; }

    .filter-status-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .works-projects-section { padding: 24px 0 80px; }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .project-card-image { aspect-ratio: 16 / 9; }
    .project-card-content { padding: 20px; }
    .project-card-title { font-size: 16px; }

    .load-more-wrap { margin-top: 40px; }

    /* 弹窗移动端 */
    .works-modal-overlay { padding: 0; align-items: flex-end; }
    .works-modal {
        max-width: 100%;
        max-height: 95vh;
        border-radius: 16px 16px 0 0;
        transform: translateY(100%);
    }
    .works-modal-overlay.active .works-modal { transform: translateY(0); }
    .modal-content-wrapper { flex-direction: column; }
    .modal-gallery { flex: none; width: 100%; }
    .gallery-main { min-height: 240px; aspect-ratio: 4 / 3; }
    .gallery-thumbs { padding: 12px; }
    .gallery-thumb { flex: 0 0 60px; height: 45px; }
    .gallery-nav { width: 40px; height: 40px; }
    .gallery-nav svg { width: 16px; height: 16px; }
    .gallery-prev { left: 12px; }
    .gallery-next { right: 12px; }
    .gallery-counter { bottom: 12px; right: 12px; padding: 6px 12px; font-size: 11px; }
    .modal-info { flex: none; width: 100%; padding: 28px 24px; max-height: 50vh; overflow-y: auto; }
    .modal-title { font-size: 22px; }
    .modal-meta { grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .meta-value { font-size: 13px; }
    .modal-related { padding: 24px; }
    .related-grid { grid-template-columns: 1fr; }
    .modal-close { top: 12px; right: 12px; width: 40px; height: 40px; }
}

@media (max-width: 480px) {
    .filter-tag { padding: 8px 14px; font-size: 12px; border-radius: 6px; }
    .project-card-title { font-size: 15px; }
    .modal-meta { grid-template-columns: 1fr; gap: 12px; text-align: left; }
    .meta-item { display: flex; align-items: center; gap: 8px; }
    .meta-label { margin-bottom: 0; }
    .params-grid { grid-template-columns: 1fr; }
    .modal-title { font-size: 20px; }
    .gallery-main { min-height: 200px; }
}

/* ============ 懒加载占位动画 ============ */
.project-card-image img.lazy-loading {
    background: linear-gradient(90deg, var(--bg-warm-soft) 25%, var(--bg-warm) 50%, var(--bg-warm-soft) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ============ 卡片入场动画 ============ */
@keyframes cardAppear {
    from { opacity: 0; transform: translateY(40px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
