/* ========== 全局重置 · 深邃质感 ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', 'Microsoft YaHei', -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
    background: #0b0e14;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(44,122,123,0.06) 0%, transparent 30%),
        radial-gradient(circle at 90% 40%, rgba(44,122,123,0.06) 0%, transparent 35%),
        radial-gradient(circle at 30% 80%, rgba(44,122,123,0.06) 0%, transparent 30%),
        radial-gradient(circle at 70% 70%, rgba(230,180,34,0.06) 0%, transparent 30%),
        radial-gradient(circle at 50% 30%, rgba(44,122,123,0.06) 0%, transparent 35%);
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 24px 32px;
}

/* ========== 毛玻璃卡片 ========== */
.card {
    border-radius: 24px;
    padding: 24px 28px;
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.3);
    transition: all 0.25s cubic-bezier(0.2, 0.9, 0.4, 1);
    background: rgba(15, 20, 30, 0.32);
}
.card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
    transform: translateY(-3px);
}

/* 彩色卡片变体（不含动态border-left） */
.card-blue { background: linear-gradient(145deg, rgba(59,130,246,0.14), rgba(15,20,30,0.4)); }
.card-green { background: linear-gradient(145deg, rgba(16,185,129,0.12), rgba(15,20,30,0.4)); }
.card-red { background: linear-gradient(145deg, rgba(239,68,68,0.12), rgba(15,20,30,0.4)); }
.card-yellow { background: linear-gradient(145deg, rgba(252,211,77,0.12), rgba(15,20,30,0.4)); }
.card-purple { background: linear-gradient(145deg, rgba(139,92,246,0.12), rgba(15,20,30,0.4)); }
.card-orange { background: linear-gradient(145deg, rgba(249,115,22,0.12), rgba(15,20,30,0.4)); }
.card-pink { background: linear-gradient(145deg, rgba(236,72,153,0.12), rgba(15,20,30,0.4)); }
/* .card-station 背景与边框色已内联动态生成，此处不定义 */

/* ========== 英雄区 ========== */
.hero {
    background: linear-gradient(145deg, 
        rgba(44, 122, 123, 0.25) 0%,
        rgba(8, 16, 24, 0.8) 80%);
    backdrop-filter: blur(14px);
    border-radius: 28px;
    padding: 32px 40px;
    margin-bottom: 32px;
    border: 1px solid rgba(255,255,255,0.15);
    box-shadow: 0 18px 35px -10px rgba(0,0,0,0.4);
    position: relative;
    overflow: hidden;
}
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 30%, rgba(230,180,34,0.05) 0%, transparent 60%);
    pointer-events: none;
}
.hero h1 {
    font-size: 2.3rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 18px;
    text-shadow: 0 4px 12px rgba(0,0,0,0.3);
    flex-wrap: wrap;
    color: white;
}
.lang-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 16px 0 20px;
}
.lang-tag {
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(8px);
    padding: 8px 20px;
    border-radius: 40px;
    border: 1px solid rgba(255,255,255,0.2);
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: white;
    font-weight: 500;
}
.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
    margin-top: 24px;
    background: rgba(0,0,0,0.15);
    backdrop-filter: blur(12px);
    padding: 20px 24px;
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,0.08);
}
.hero-stat-item { display: flex; flex-direction: column; }
.hero-stat-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 4px;
}
.hero-stat-value {
    font-size: 1.4rem;
    font-weight: 700;
    color: white;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ========== 图片画廊 ========== */
.gallery-card {
    background: rgba(10, 18, 28, 0.45);
    backdrop-filter: blur(16px);
    border-radius: 24px;
    padding: 20px;
    border: 1px solid rgba(255,255,255,0.08);
    margin-bottom: 24px;
}
.main-image-wrapper {
    width: 100%;
    background: rgba(0,0,0,0.3);
    border-radius: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 320px;
    margin-bottom: 16px;
    border: 1px solid rgba(255,255,255,0.1);
    cursor: pointer;
    transition: 0.2s;
}
.main-image-wrapper:hover {
    border-color: #2c7a7b;
    box-shadow: 0 0 20px rgba(44,122,123,0.3);
}
.main-image {
    max-width: 100%;
    max-height: 360px;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 14px;
}
.thumbnail-strip {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 10px;
}
.thumbnail {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
    border: 2px solid transparent;
    opacity: 0.8;
    background: rgba(0,0,0,0.2);
}
.thumbnail:hover {
    opacity: 1;
    transform: scale(1.06);
    border-color: rgba(255,255,255,0.5);
}
.thumbnail.active {
    border: 3px solid #2c7a7b;
    opacity: 1;
    box-shadow: 0 0 12px rgba(44,122,123,0.6);
}

/* ===== 图片信息 —— 终极垂直居中对齐 ===== */
.image-meta {
    margin-top: 14px;
    padding: 12px 18px;
    background: rgba(0,0,0,0.2);
    backdrop-filter: blur(8px);
    border-radius: 16px;
    border-left: 4px solid #2c7a7b;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 16px;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.95);
    line-height: 1.2;
}
.image-meta span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    line-height: 1;
    vertical-align: middle;
    height: 1.8em;
    white-space: nowrap;
}
.image-meta i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.25em;
    font-size: 0.95rem;
    line-height: 1;
}
.image-title { font-weight: 600; color: white; }
.image-desc { opacity: 0.85; }
.image-year { color: #e6b422; }

/* ========== 灯箱 ========== */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.92);
    backdrop-filter: blur(12px);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    overflow: auto;
}
.lightbox.active { display: flex; }
.lightbox img {
    display: block;
    max-width: min(1000px, 90vw);
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
    box-shadow: 0 15px 40px rgba(0,0,0,0.5);
    border-radius: 8px;
    transition: transform 0.1s ease;
    cursor: zoom-out;
    user-select: none;
}
.lightbox img.no-limit {
    max-width: none;
    max-height: none;
}

/* ========== 双栏布局 ========== */
.two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: start;
}
@media (max-width: 1000px) {
    .two-columns { grid-template-columns: 1fr; }
    .container { padding: 16px; }
    .hero { padding: 24px; }
    .hero h1 { font-size: 2rem; }
}
.left-col, .right-col {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* ========== 卡片内标题 ========== */
.card h2 {
    font-size: 1.5rem;
    font-weight: 650;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1.5px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
}
.card h2 i {
    filter: drop-shadow(0 0 6px currentColor);
    font-size: 1.5rem;
}

/* ========== 信息网格 ========== */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px;
}
.info-item {
    background: rgba(0, 0, 0, 0.16);
    padding: 12px 16px;
    border-radius: 16px;
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,0.04);
    transition: 0.15s;
}
.info-item:hover {
    background: rgba(230,180,34,0.08);
    border-color: #e6b422;
}
.info-label {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 4px;
}
.info-value {
    font-size: 1rem;
    font-weight: 500;
    color: white;
    line-height: 1.4;
}

/* ========== 徽章 ========== */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    background: rgba(0,0,0,0.16);
    border: 1.5px solid;
    color: white;
    letter-spacing: 0.5px;
}
.badge i { font-size: 0.95rem; }
.badge.using { border-color: #10b981; background: rgba(16,185,129,0.12); }
.badge.abandoned { border-color: #f59e0b; background: rgba(245,158,11,0.12); }
.badge.damaged { border-color: #ef4444; background: rgba(239,68,68,0.12); }
.badge.protected { border-color: #8b5cf6; background: rgba(139,92,246,0.12); }

/* ========== 构件网格 ========== */
.components-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 18px;
}
.component-card {
    background: rgba(0,0,0,0.16);
    border-radius: 20px;
    padding: 20px;
    border: 1px solid rgba(255,255,255,0.06);
    transition: 0.2s;
    backdrop-filter: blur(8px);
}
.component-card:hover {
    background: rgba(0,0,0,0.25);
    border-color: rgba(230,180,34,0.3);
}

/* ========== 玻璃表格 ========== */
.glass-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(0,0,0,0.12);
    backdrop-filter: blur(12px);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.06);
    font-size: 0.9rem;
}
.glass-table th {
    background: rgba(0,0,0,0.25);
    padding: 14px 16px;
    font-weight: 600;
    color: rgba(255,255,255,0.95);
    text-align: left;
}
.glass-table td {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    color: rgba(255,255,255,0.9);
}

/* ========== 按钮 ========== */
.action-buttons {
    display: flex;
    gap: 18px;
    margin: 40px 0 25px;
    flex-wrap: wrap;
}
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(12px);
    border: 1.5px solid rgba(255,255,255,0.15);
    color: white;
    text-decoration: none;
    transition: 0.2s;
    box-shadow: 0 6px 14px rgba(0,0,0,0.2);
}
.btn-primary {
    background: #2c7a7b;
    border-color: #2c7a7b;
}
.btn:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.3);
    transform: translateY(-3px);
}
.btn-primary:hover {
    background: #e6b422;
    color: #0b0e14;
    border-color: #e6b422;
}

/* ========== 页脚 ========== */
.footer {
    text-align: center;
    padding: 35px 20px 20px;
    color: rgba(255,255,255,0.45);
    border-top: 1px solid rgba(230,180,34,0.15);
    margin-top: 50px;
    font-size: 0.9rem;
}
.footer p:first-child { color: #e6b422; opacity: 0.9; }

/* ========== 动画 ========== */
@keyframes gentleRise {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}
.hero, .card, .gallery-card {
    animation: gentleRise 0.5s ease-out;
}

/* ========== 墨绿·青铜主题静态变量 ========== */
:root {
    --building-primary: #2c7a7b;
    --building-primary-soft: rgba(44, 122, 123, 0.15);
    --building-gold: #e6b422;
    --building-gold-soft: rgba(230, 180, 34, 0.12);
    --building-deep: #1e3d58;
}

/* 标题字体升级 */
.hero h1, .card h2 {
    font-family: 'Playfair Display', 'Times New Roman', serif;
}
.hero h1 {
    font-weight: 700;
    letter-spacing: -0.02em;
}
.card h2 {
    font-weight: 600;
    letter-spacing: 0.5px;
    border-bottom-color: var(--building-gold-soft) !important;
}

/* 卡片左边框默认主色（.card-station 由内联动态覆盖） */
.card {
    border-left-width: 4px !important;
    border-left-color: var(--building-primary) !important;
}

/* 高亮色 */
.hero-stat-value,
.stat-value,
.product-price {
    color: var(--building-gold);
    text-shadow: 0 0 12px rgba(230, 180, 34, 0.25);
}
.hero-stat-value i,
.card h2 i {
    filter: drop-shadow(0 0 8px currentColor);
    transition: color 0.2s;
}
.card:hover h2 i {
    color: var(--building-gold);
}

/* 辅助点缀 */
.card h2 i { color: var(--building-primary); }
.footer { border-top-color: var(--building-gold-soft); }