:root {
    /* ========== 主色系 (基于 #0f2f73) ========== */
    --primary: #0f2f73;
    --primary-light: #153a6b;
    --primary-dark: #0a1f4d;

    /* 背景渐变 - 更加深邃有层次 */
    --bg-gradient-start: #0f2f73;
    --bg-gradient-mid: #132a56;
    --bg-gradient-end: #1a3a6e;
    --bg-gradient-dark: #081838;

    /* ========== 辅助色系 - 青色点缀 ========== */
    --accent-cyan: #06b6d4;
    --accent-cyan-light: #22d3ee;
    --accent-cyan-dark: #0891b2;

    /* ========== 强调色 - 琥珀金 (替代橙红) ========== */
    --accent-gold: #d97706;
    --accent-gold-light: #f59e0b;
    --accent-gold-dark: #b45309;

    /* ========== 中性色 - 白色系 ========== */
    --white-95: rgba(255, 255, 255, 0.95);
    --white-90: rgba(255, 255, 255, 0.90);
    --white-80: rgba(255, 255, 255, 0.80);
    --white-70: rgba(255, 255, 255, 0.70);
    --white-60: rgba(255, 255, 255, 0.60);
    --white-50: rgba(255, 255, 255, 0.50);
    --white-40: rgba(255, 255, 255, 0.40);
    --white-30: rgba(255, 255, 255, 0.30);
    --white-20: rgba(255, 255, 255, 0.20);
    --white-15: rgba(255, 255, 255, 0.15);
    --white-10: rgba(255, 255, 255, 0.10);
    --white-08: rgba(255, 255, 255, 0.08);
    --white-05: rgba(255, 255, 255, 0.05);

    /* 文字颜色 */
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;

    /* 阴影 */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 30px rgba(6, 182, 212, 0.15);
    --shadow-gold: 0 4px 20px rgba(217, 119, 6, 0.25);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
    background: linear-gradient(135deg, var(--bg-gradient-start) 0%, var(--bg-gradient-mid) 50%, var(--bg-gradient-end) 100%);
    background-attachment: fixed;
    min-height: 100vh;
    color: var(--text-primary);
    line-height: 1.7;
}

/* 头图区域 */
.hero {
    width: 100%;
/*    max-width: 1664px;*/
    height: 500px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--bg-gradient-start) 0%, var(--bg-gradient-mid) 50%, var(--bg-gradient-end) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at 20% 50%, rgba(6, 182, 212, 0.12) 0%, transparent 50%),
                radial-gradient(ellipse at 80% 50%, rgba(217, 119, 6, 0.08) 0%, transparent 40%);
    animation: heroGlow 20s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(8, 24, 56, 0.4) 100%);
    pointer-events: none;
}

@keyframes heroGlow {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(2%, 1%) scale(1.05); }
}

.hero img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    position: relative;
    z-index: 1;
}

/* 主内容区域 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

/* 摘要区域 */
.summary {
    background: var(--white-08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 20px;
    padding: 40px;
    margin: -30px auto 40px;
    position: relative;
    z-index: 10;
    border: 1px solid var(--white-10);
    border-left: 4px solid var(--accent-gold);
    box-shadow: var(--shadow-md), inset 0 1px 0 var(--white-10);
}

.summary h1 {
    font-size: 28px;
    background: linear-gradient(90deg, var(--accent-gold-light), var(--accent-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.summary p {
    font-size: 16px;
    color: var(--text-secondary);
    text-indent: 2em;
    line-height: 1.9;
}

/* 标题装饰 */
.section-title {
    text-align: center;
    margin-bottom: 32px;
    position: relative;
}

.section-title h2 {
    font-size: 24px;
    color: var(--text-primary);
    display: inline-flex;
    align-items: center;
    padding: 0 24px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, var(--primary) 100%);
    position: relative;
    z-index: 1;
    font-weight: 600;
    letter-spacing: 2px;
}

.section-title::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-cyan), var(--accent-gold), transparent);
}

.section-title .icon {
    display: inline-block;
    width: 10px;
    height: 10px;
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-light));
    transform: rotate(45deg);
    margin-right: 10px;
    box-shadow: 0 0 10px rgba(217, 119, 6, 0.5);
}

/* 新闻列表 */
.news-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding-bottom: 60px;
}

.news-card,
a.news-card {
    display: block;
    background: var(--white-08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--white-10);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.news-card:hover,
a.news-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-glow), var(--shadow-lg);
    border-color: var(--accent-cyan);
}

.news-card .card-image {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    position: relative;
}

.news-card .card-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 70%, rgba(8, 24, 56, 0.3) 100%);
    pointer-events: none;
}

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

.news-card:hover .card-image img {
    transform: scale(1.08);
}

.news-card .card-content {
    padding: 20px;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.1) 100%);
}

.news-card .card-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

.news-card:hover .card-title {
    color: var(--accent-cyan-light);
}

.news-card .card-excerpt {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 底部 */
.footer {
    background: linear-gradient(180deg, var(--bg-gradient-dark) 0%, var(--bg-gradient-start) 100%);
    color: var(--text-muted);
    text-align: center;
    padding: 28px;
    font-size: 14px;
    border-top: 1px solid var(--white-08);
}

.footer a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--accent-gold-light);
}

/* 响应式 */
@media (max-width: 1199px) {
    .news-list {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    .hero {
        height: auto;
        background: linear-gradient(135deg, var(--bg-gradient-start) 0%, var(--bg-gradient-end) 100%);
    }

    .hero::before {
        display: none;
    }

    .hero img {
        width: 100%;
        height: auto;
    }

    .summary {
        padding: 24px;
        margin: -20px 16px 30px;
        border-radius: 16px;
    }

    .summary h1 {
        font-size: 22px;
    }

    .summary p {
        font-size: 15px;
    }

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

    .section-title h2 {
        font-size: 20px;
        letter-spacing: 1px;
    }
}

/* ========== 现场图片模块 ========== */
.scene-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    padding-bottom: 60px;
}

/* 只有1张图片：居中显示（大图） */
.scene-gallery:has(.gallery-item:nth-child(1):last-child) {
    grid-template-columns: 1fr;
    max-width: 60%;
    margin: 0 auto;
}

/* 只有2张图片：一行显示2个 */
.scene-gallery:has(.gallery-item:nth-child(2):last-child) {
    grid-template-columns: repeat(2, 1fr);
    max-width: 80%;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    aspect-ratio: 16 / 10;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    border: 1px solid var(--white-10);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-glow), var(--shadow-lg);
    border-color: var(--accent-cyan);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

/* 懒加载渐入动画 */
.gallery-item img {
    opacity: 0;
    animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(1.02);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* 错开动画延迟 */
.gallery-item:nth-child(1) img { animation-delay: 0.05s; }
.gallery-item:nth-child(2) img { animation-delay: 0.1s; }
.gallery-item:nth-child(3) img { animation-delay: 0.15s; }
.gallery-item:nth-child(4) img { animation-delay: 0.2s; }
.gallery-item:nth-child(5) img { animation-delay: 0.25s; }
.gallery-item:nth-child(6) img { animation-delay: 0.3s; }
.gallery-item:nth-child(7) img { animation-delay: 0.35s; }
.gallery-item:nth-child(8) img { animation-delay: 0.4s; }

/* ========== 灯箱查看器 ========== */
.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;
    flex-direction: column;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: var(--white-80);
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 10001;
    line-height: 1;
}

.lightbox-close:hover {
    color: var(--accent-gold-light);
}

.lightbox-img {
    max-width: 90%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.5);
}

/* ========== 现场图片响应式 ========== */
@media (max-width: 1199px) {
    .scene-gallery {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

    /* 2张图片时保持双列 */
    .scene-gallery:has(.gallery-item:nth-child(2):last-child) {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-item {
        border-radius: 10px;
    }
}

@media (max-width: 767px) {
    .scene-gallery {
        grid-template-columns: 1fr !important;
        max-width: 100% !important;
        gap: 8px;
    }

    .gallery-item {
        border-radius: 8px;
    }

    .lightbox-img {
        max-width: 95%;
        max-height: 70vh;
    }
}