 /* ============================================
               全局重置 & 丰富渐变背景 (流动)
            ============================================ */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
            min-height: 100vh;
            display: flex;
            justify-content: center;
            align-items: flex-start;
            padding: 30px 20px 40px;
            background: linear-gradient(135deg, #fbc2eb, #a6c1ee, #84fab0, #fddb92);
            background-size: 300% 300%;
            animation: gradientFlow 16s ease-in-out infinite alternate;
        }

        @keyframes gradientFlow {
            0% { background-position: 0% 50%; }
            25% { background-position: 50% 0%; }
            50% { background-position: 100% 50%; }
            75% { background-position: 50% 100%; }
            100% { background-position: 0% 50%; }
        }

        /* ============================================
               主容器 — flex列布局，最小高度80vh
            ============================================ */
        .container {
            max-width: 1400px;
            width: 100%;
            background: rgba(255, 255, 255, 0.2);
            backdrop-filter: blur(18px);
            -webkit-backdrop-filter: blur(18px);
            border-radius: 40px;
            padding: 48px 56px 40px;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.10);
            border: 1px solid rgba(255, 255, 255, 0.25);
            display: flex;
            flex-direction: column;
            min-height: 80vh;  /* 至少占视口80%，内容多时自动扩展 */
        }

        /* ============================================
               头部 — 禁止压缩
            ============================================ */
        .header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding-bottom: 20px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.2);
            margin-bottom: 28px;
            flex-wrap: wrap;
            gap: 12px 20px;
            flex-shrink: 0;
        }

        .header-left .name {
            font-size: 28px;
            font-weight: 700;
            color: #1a1a2e;
            letter-spacing: 0.5px;
            white-space: nowrap;
        }

        .header-left .emoji {
            margin-right: 4px;
        }

        .header-center {
            flex: 1;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .nav {
            display: flex;
            align-items: center;
            gap: 8px;
            flex-wrap: wrap;
            justify-content: center;
        }

        .nav-item {
            padding: 6px 20px;
            border-radius: 40px;
            font-size: 15px;
            font-weight: 500;
            color: rgba(30, 30, 60, 0.5);
            background: rgba(255, 255, 255, 0.1);
            border: 1px solid transparent;
            cursor: pointer;
            transition: all 0.3s ease;
            user-select: none;
            white-space: nowrap;
        }

        .nav-item:hover {
            color: #1a1a2e;
            background: rgba(255, 255, 255, 0.25);
        }

        .nav-item.active {
            color: #ffffff;
            background: #2d6af0;
            border-color: #2d6af0;
            box-shadow: 0 4px 16px rgba(45, 106, 240, 0.35);
        }

        .header-right {
            display: flex;
            align-items: center;
            gap: 16px;
            flex-wrap: wrap;
            white-space: nowrap;
            flex-shrink: 0;
        }

        .header-right .subtitle {
            font-size: 15px;
            color: rgba(30, 30, 60, 0.6);
            letter-spacing: 0.5px;
            font-weight: 400;
        }

        .header-phone {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            color: #1a1a2e;
            font-size: 15px;
            font-weight: 500;
            text-decoration: none;
            padding: 8px 20px 8px 16px;
            border-radius: 40px;
            background: rgba(255, 255, 255, 0.3);
            border: 1px solid rgba(45, 106, 240, 0.15);
            transition: all 0.3s ease;
            animation: phoneGlow 2.4s ease-in-out infinite;
        }

        @keyframes phoneGlow {
            0% { box-shadow: 0 0 0 0 rgba(45, 106, 240, 0.15), 0 0 0 0 rgba(45, 106, 240, 0.05); }
            50% { box-shadow: 0 0 12px 4px rgba(45, 106, 240, 0.20), 0 0 24px 8px rgba(45, 106, 240, 0.06); }
            100% { box-shadow: 0 0 0 0 rgba(45, 106, 240, 0.15), 0 0 0 0 rgba(45, 106, 240, 0.05); }
        }

        .header-phone .phone-icon {
            font-size: 20px;
            color: #2d6af0;
            transition: transform 0.3s ease;
            line-height: 1;
        }

        .header-phone:hover {
            background: rgba(255, 255, 255, 0.6);
            border-color: #2d6af0;
            transform: scale(1.04);
            animation-play-state: paused;
        }

        .header-phone:hover .phone-icon {
            transform: rotate(12deg) scale(1.15);
        }

        .header-divider {
            color: rgba(30, 30, 60, 0.15);
            font-size: 15px;
        }

        /* ============================================
               图集 — flex:1 撑满剩余高度
            ============================================ */
        .gallery {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 20px;
            flex: 1;                /* 自动撑满剩余高度 */
            margin-bottom: 0;
            align-content: start;   /* 卡片从顶部排列，底部留白 */
        }

        /* ============================================
               卡片
            ============================================ */
        .card {
            display: block;
            text-decoration: none;
            color: inherit;
            background: rgba(255, 255, 255, 0.5);
            backdrop-filter: blur(4px);
            border-radius: 20px;
            overflow: hidden;
            border: 1px solid rgba(255, 255, 255, 0.3);
            transition: transform 0.35s ease, box-shadow 0.35s ease, background 0.3s;
            cursor: pointer;
        }

        .card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 56px rgba(0, 0, 0, 0.14);
            background: rgba(255, 255, 255, 0.78);
        }

        .card-image {
            width: 100%;
            aspect-ratio: 4 / 3;
            overflow: hidden;
            background: rgba(0, 0, 0, 0.04);
        }

        .card-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            transition: transform 0.5s ease;
        }

        .card:hover .card-image img {
            transform: scale(1.06);
        }

        .card-title {
            padding: 22px 20px 24px;
            font-size: 18px;
            font-weight: 600;
            color: #1a1a2e;
            text-align: center;
            letter-spacing: 0.5px;
            border-top: 1px solid rgba(255, 255, 255, 0.15);
            transition: color 0.3s;
        }

        .card:hover .card-title {
            color: #2d6af0;
        }

        /* ============================================
               底部 — 禁止压缩，始终在容器底部
            ============================================ */
        .footer {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding-top: 28px;
            margin-top: 16px;
            border-top: 1px solid rgba(255, 255, 255, 0.15);
            gap: 6px;
            flex-shrink: 0;
        }

        .footer-divider-line {
            width: 60px;
            height: 2px;
            background: rgba(30, 30, 60, 0.12);
            border-radius: 2px;
            margin-bottom: 4px;
        }

        .footer-content {
            display: flex;
            align-items: center;
            gap: 14px;
            font-size: 14px;
            color: rgba(30, 30, 60, 0.35);
            letter-spacing: 0.8px;
            font-weight: 300;
        }

        .footer-content .dot {
            color: rgba(30, 30, 60, 0.15);
            font-size: 12px;
        }

        .footer-content .year {
            font-weight: 500;
            color: rgba(30, 30, 60, 0.4);
        }

        .footer-content .name {
            font-weight: 500;
            color: rgba(30, 30, 60, 0.5);
        }

        .footer-content .rights {
            font-weight: 500;
            color: rgba(30, 30, 60, 0.4);
        }

        /* ============================================
               响应式
            ============================================ */
        @media (max-width: 992px) {
            .gallery {
                grid-template-columns: repeat(2, 1fr);
                gap: 24px;
            }
            .container {
                padding: 32px 28px 28px;
                min-height: 70vh;
            }
            .header-center {
                flex: 0 1 auto;
                width: 100%;
                order: 3;
                justify-content: center;
            }
            .header {
                justify-content: space-between;
            }
        }

        @media (max-width: 600px) {
            .gallery {
                grid-template-columns: 1fr;
                gap: 20px;
            }
            body {
                padding: 20px 12px 30px;
            }
            .container {
                padding: 22px 18px 20px;
                border-radius: 28px;
                min-height: 60vh;
            }
            .header {
                flex-direction: row;
                flex-wrap: wrap;
                gap: 8px;
            }
            .header-left .name {
                font-size: 20px;
            }
            .header-right .subtitle {
                font-size: 12px;
            }
            .header-phone {
                font-size: 12px;
                padding: 5px 14px 5px 10px;
            }
            .header-phone .phone-icon {
                font-size: 16px;
            }
            .header-divider {
                font-size: 12px;
            }
            .card-title {
                font-size: 16px;
                padding: 16px 18px 18px;
            }
            .nav-item {
                font-size: 13px;
                padding: 4px 14px;
            }
            .header-center {
                order: 3;
                width: 100%;
                justify-content: center;
                margin-top: 4px;
            }
            .header-left, .header-right {
                flex: 1;
            }
            .footer-content {
                font-size: 12px;
                gap: 10px;
                flex-wrap: wrap;
                justify-content: center;
            }
            .footer-divider-line {
                width: 40px;
            }
            .footer {
                margin-top: 12px;
                padding-top: 20px;
            }
        }

        /* ============================================
               加载动画
            ============================================ */
        .gallery {
            animation: fadeUp 0.8s ease forwards;
        }

        @keyframes fadeUp {
            0% { opacity: 0; transform: translateY(30px); }
            100% { opacity: 1; transform: translateY(0); }
        }

        .card {
            opacity: 0;
            animation: fadeUp 0.6s ease forwards;
        }
        .card:nth-child(1) { animation-delay: 0.05s; }
        .card:nth-child(2) { animation-delay: 0.10s; }
        .card:nth-child(3) { animation-delay: 0.15s; }
        .card:nth-child(4) { animation-delay: 0.20s; }
        .card:nth-child(5) { animation-delay: 0.25s; }
        .card:nth-child(6) { animation-delay: 0.30s; }
        .card:nth-child(7) { animation-delay: 0.35s; }
        .card:nth-child(8) { animation-delay: 0.40s; }
        .card:nth-child(9) { animation-delay: 0.45s; }
        .card:nth-child(10) { animation-delay: 0.50s; }
        .card:nth-child(11) { animation-delay: 0.55s; }
        .card:nth-child(12) { animation-delay: 0.60s; }
