 
 
 
html, body {
    overflow-x: hidden;
}




/* 默认隐藏汉堡菜单按钮 */
.hamburger {
    display: none;
}

@media (min-width: 829px), (orientation: landscape) {
    :root {
        /* Single control for nav-related text sizes */
        --nav-font-size: clamp(1rem, 0.6vw + 0.8rem, 1.2rem);
        font-size: clamp(15px, 0.7vw + 13px, 20px);
    }
    /* More specific selector that matches the actual element and forces override */
    #last-update.text {
        font-size: 1em !important;
        color: #333 !important;
        text-align: right !important;
        margin-top: -1em !important;
        margin-bottom: -1.5em !important;
        padding-left: 1em !important;
        padding-right: 1em !important;
    }
    
    header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        background-color: #ffffff;
        padding: 14px 24px;
        border-bottom: 1px solid #e6e8ee;
    }

    /* 让整个 index 区块填充整个视口，并居中内容 */
    #index {
        position: relative;
        width: 100%;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content:center; /* 让内容垂直居中 */
        align-items: center; /* 让内容水平居中 */
        text-align: center;
        background-image: url('/image/paris/par-12.jpeg');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        color: white;
        overflow: hidden;    
    }

    #index::before {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.35);
        z-index: 1;
    }
    
   
    
    
    /* 标题优化 */
    #index .title {
        font-size: clamp(3.2rem, 3vw + 2rem, 4.7rem);
        font-weight:normal;
        line-height: 1.4em;
        justify-content: center;
        text-align: center;
        text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.7);
        
        z-index: 2; /* 确保文字在遮罩上方 */
        
    }
    
    /* 文字说明 */
    #index .text {
        font-size: clamp(1.1rem, 0.8vw + 1rem, 1.6rem);
        max-width: 80%;
        color: white;
        text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
        line-height: 1.8em;
        z-index: 2; /* 确保文字在遮罩上方 */
        
    }
    .subtitle {
        max-width: 90%;
        text-align: center;
        font-size: 3em;
        font-weight:normal;
        margin: auto;
        margin-top: 0.5em;
        margin-bottom: 0.5em;
        color: #111;
        
    }

    :not(#index) > .text {
        max-width: 1200px;
        flex: 1;
        text-align: center;
        margin: auto;
        margin-bottom: 1.5em;
        
        line-height: 1.8;
        color: #333;
        padding-left: 1em;
        padding-right: 1em;
        
    }

    
        
    
    .logo {
        font-size: var(--nav-font-size);
        font-weight: bold;
        margin-left: 2em;
        color: #111;
    }

    .nav-liquid {
        --pill-height: 36px;
        display: flex;
        align-items: center;
        gap: 6px;
        padding: 4px;
        border-radius: calc((var(--pill-height) + 8px) / 2);
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(232, 237, 245, 0.62) 52%, rgba(246, 248, 252, 0.44));
        border: 1px solid rgba(255, 255, 255, 0.72);
        box-shadow:
            0 18px 42px rgba(15, 23, 42, 0.14),
            inset 0 1px 0 rgba(255, 255, 255, 0.86),
            inset 0 -1px 0 rgba(148, 163, 184, 0.18);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        position: relative;
        overflow: hidden;
    }

    .nav-liquid::before {
        content: "";
        position: absolute;
        inset: 1px;
        border-radius: inherit;
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0.08) 42%, rgba(148, 163, 184, 0.12));
        pointer-events: none;
        z-index: 0;
    }
    
    .nav-liquid .nav-link {
        text-decoration: none;
        color: rgba(15, 23, 42, 0.76);
        padding: 0 18px;
        height: var(--pill-height);
        border-radius: calc(var(--pill-height) / 2);
        font-size: var(--nav-font-size);
        font-weight: 500;
        transition: color 0.25s ease, transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
        position: relative;
        z-index: 2;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        line-height: 1;
        text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
    }

    .nav-liquid .nav-link.active {
        color: #082746;
        font-weight: 600;
        text-shadow: 0 1px 0 rgba(255, 255, 255, 0.72);
    }

    .nav-liquid .liquid-indicator {
        position: absolute;
        left: 4px;
        top: 4px;
        bottom: 4px;
        border-radius: calc(var(--pill-height) / 2);
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(220, 229, 241, 0.9));
        border: 1px solid rgba(255, 255, 255, 0.78);
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.95),
            inset 0 -10px 18px rgba(255, 255, 255, 0.12),
            0 12px 28px rgba(15, 23, 42, 0.16);
        transition: transform 0.35s ease, width 0.35s ease, opacity 0.2s ease;
        transform: translateY(0);
        z-index: 1;
        opacity: 0;
    }

    .nav-liquid .liquid-indicator.is-visible {
        opacity: 1;
    }
    .lang-dropdown {
        font-size: var(--nav-font-size);
        padding: 0 32px 0 16px;
        height: var(--pill-height);
        border: 1px solid rgba(15, 23, 42, 0.2);
        border-radius: calc(var(--pill-height) / 2);
        background-color: rgba(15, 23, 42, 0.05);
        color: #111;
        cursor: pointer;
        margin: 0 2px;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        appearance: none;
        background-image: linear-gradient(45deg, transparent 50%, rgba(15, 23, 42, 0.8) 50%),
            linear-gradient(135deg, rgba(15, 23, 42, 0.8) 50%, transparent 50%);
        background-position: calc(100% - 14px) 50%, calc(100% - 8px) 50%;
        background-size: 6px 6px;
        background-repeat: no-repeat;
    }

    .lang-dropdown option {
        color: #111;
    }

    .lang-dropdown:focus-visible {
        outline: none;
        border-color: rgba(15, 23, 42, 0.35);
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.7),
            0 0 0 3px rgba(15, 23, 42, 0.08);
    }

    .nav-liquid .nav-link:hover {
        transform: none;
        color: #0b2b4a;
        background: rgba(255, 255, 255, 0.26);
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.58),
            0 8px 18px rgba(15, 23, 42, 0.08);
    }

    .gallery-cover {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 24px;
        padding: 20px clamp(1.5em, 6vw, 8em) 40px;
        margin: 0 auto;
        max-width: 1400px;
    }

    .gallery-cover-item {
        background: rgba(255, 255, 255, 0.75);
        border-radius: 24px;
        overflow: hidden;
        border: 1px solid rgba(15, 23, 42, 0.08);
        box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
        position: relative;
        backdrop-filter: blur(16px);
    }

    .gallery-cover img {
        width: 100%;
        height: auto;
        display: block;
        aspect-ratio: 3 / 2;
        object-fit: cover;
        transition: transform 0.4s ease;
    }

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

    .cat {
        font-size: 1.15em;
        padding: 16px 18px;
        color: #111;
        background: rgba(255, 255, 255, 0.8);
        border-top: 1px solid rgba(15, 23, 42, 0.06);
    }
    
    
    

    .gallery-wrapper {
        display: none;
    }

    .gallery-carousel {
        margin: 0 auto;
        padding: clamp(1.2em, 2vw + 0.8em, 2.6em) 0 clamp(1.8em, 4vw, 3.5em);
        width: min(1400px, 100%);
        position: relative;
    }

    .carousel-viewport {
        overflow: hidden;
        padding: 12px clamp(1.2em, 4vw, 3em);
    }

    .carousel-container {
        display: flex;
        gap: clamp(1.2em, 3vw, 2.8em);
        align-items: stretch;
        touch-action: pan-y;
    }

    .carousel-slide {
        flex: 0 0 auto;
        width: clamp(320px, 28vw, 460px);
        aspect-ratio: 3 / 4;
        border-radius: 22px;
        overflow: hidden;
        border: none;
        background: transparent;
        box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
        padding: 0;
        cursor: pointer;
        transition: transform 0.3s ease;
    }

    .carousel-slide.is-active {
        transform: translateY(-4px);
        box-shadow:
            0 24px 48px rgba(15, 23, 42, 0.22),
            0 0 0 2px rgba(255, 255, 255, 0.55);
    }

    .carousel-slide:hover {
        transform: translateY(-4px);
    }

    .carousel-slide img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
        background: transparent;
    }

    .carousel-controls {
        display: flex;
        justify-content: center;
        gap: 12px;
        margin-top: 12px;
    }

    .carousel-arrow {
        width: 42px;
        height: 42px;
        border-radius: 50%;
        border: 1px solid rgba(15, 23, 42, 0.2);
        background: rgba(255, 255, 255, 0.85);
        color: #111;
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
        backdrop-filter: blur(12px);
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .carousel-arrow:disabled {
        opacity: 0.4;
        cursor: not-allowed;
        box-shadow: none;
    }

    .carousel-arrow:hover:not(:disabled) {
        transform: translateY(-2px);
        box-shadow: 0 16px 30px rgba(15, 23, 42, 0.16);
    }

    .carousel-progress {
        height: 4px;
        margin: 16px auto 0;
        background: rgba(15, 23, 42, 0.08);
        border-radius: 999px;
        overflow: hidden;
        width: min(320px, 60%);
    }

    .carousel-progress span {
        display: block;
        height: 100%;
        background: linear-gradient(90deg, rgba(71, 168, 242, 0.9), rgba(33, 115, 198, 0.9));
        width: 0%;
    }

    

    
        
    

        
    

}
