*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
        html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
        body {
            font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Helvetica Neue', 'Noto Sans SC', sans-serif;
            background: #f5f5f7; color: #1d1d1f; overflow-x: hidden; line-height: 1.6;
        }

        /* ===== 液态玻璃基础 ===== */
        .glass {
            background: rgba(255, 255, 255, 0.72);
            backdrop-filter: saturate(180%) blur(20px);
            -webkit-backdrop-filter: saturate(180%) blur(20px);
            border: 1px solid rgba(255, 255, 255, 0.5);
            box-shadow: 0 1px 2px rgba(0,0,0,0.02), 0 4px 16px rgba(0,0,0,0.04), inset 0 0 0 1px rgba(255,255,255,0.6);
        }
        .glass-card {
            background: rgba(255, 255, 255, 0.55);
            backdrop-filter: saturate(180%) blur(24px);
            -webkit-backdrop-filter: saturate(180%) blur(24px);
            border: 1px solid rgba(255, 255, 255, 0.4);
            border-radius: 24px;
            box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 8px 24px rgba(0,0,0,0.06), 0 0 0 1px rgba(255,255,255,0.3) inset, 0 0 40px rgba(255,255,255,0.15);
            transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
            overflow: hidden; position: relative;
        }
        .glass-card::before {
            content: ''; position: absolute; inset: 0; border-radius: 24px; padding: 1.5px;
            background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.3) 25%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0.3) 75%, rgba(255,255,255,0.9) 100%);
            -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
            -webkit-mask-composite: xor; mask-composite: exclude;
            pointer-events: none; opacity: 0.6; transition: opacity 0.5s ease;
        }
        .glass-card::after {
            content: ''; position: absolute; inset: -1px; border-radius: 25px;
            background: linear-gradient(135deg, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0.05) 30%, rgba(255,255,255,0) 50%, rgba(255,255,255,0.05) 70%, rgba(255,255,255,0.4) 100%);
            z-index: -1; filter: blur(8px); opacity: 0.5; transition: opacity 0.5s ease, filter 0.5s ease;
        }
        .glass-card:hover {
            background: rgba(255, 255, 255, 0.72);
            box-shadow: 0 4px 12px rgba(0,0,0,0.06), 0 20px 48px rgba(0,0,0,0.08), 0 0 0 1px rgba(255,255,255,0.4) inset, 0 0 60px rgba(255,255,255,0.25);
            transform: translateY(-4px);
        }
        .glass-card:hover::before { opacity: 1; }
        .glass-card:hover::after { opacity: 0.8; filter: blur(12px); }
        .glass-card:active {
            transform: translateY(-1px) scale(0.995);
            box-shadow: 0 2px 8px rgba(0,0,0,0.04), 0 8px 20px rgba(0,0,0,0.06), 0 0 0 1px rgba(255,255,255,0.3) inset, 0 0 30px rgba(255,255,255,0.15);
            transition-duration: 0.15s;
        }

        /* ===== iOS 入场动画 ===== */
        @keyframes fadeInUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }
        @keyframes fadeInScale { from { opacity: 0; transform: scale(0.92); } to { opacity: 1; transform: scale(1); } }
        .ios-fade { opacity: 0; animation: fadeInUp 0.8s cubic-bezier(0.23, 1, 0.32, 1) forwards; }
        .ios-scale { opacity: 0; animation: fadeInScale 0.7s cubic-bezier(0.23, 1, 0.32, 1) forwards; }
        .stagger-1 { animation-delay: 0.1s; }
        .stagger-2 { animation-delay: 0.25s; }
        .stagger-3 { animation-delay: 0.45s; }
        .stagger-4 { animation-delay: 0.65s; }
        .stagger-5 { animation-delay: 0.85s; }
        .stagger-6 { animation-delay: 1.05s; }

        .reveal { opacity: 0; transform: translateY(30px); transition: all 0.7s cubic-bezier(0.23, 1, 0.32, 1); }
        .reveal.visible { opacity: 1; transform: translateY(0); }
        .reveal-left { opacity: 0; transform: translateX(-40px); transition: all 0.7s cubic-bezier(0.23, 1, 0.32, 1); }
        .reveal-left.visible { opacity: 1; transform: translateX(0); }
        .reveal-right { opacity: 0; transform: translateX(40px); transition: all 0.7s cubic-bezier(0.23, 1, 0.32, 1); }
        .reveal-right.visible { opacity: 1; transform: translateX(0); }
        .reveal-scale { opacity: 0; transform: scale(0.95); transition: all 0.7s cubic-bezier(0.23, 1, 0.32, 1); }
        .reveal-scale.visible { opacity: 1; transform: scale(1); }

        /* ===== 打字机 & 液态玻璃光标 ===== */
        .type-wrap { text-align: center; position: relative; }
        .type-line { display: block; min-height: 1.6em; }
        .type-cursor {
            display: inline-block; width: 2.5px; height: 1.15em; vertical-align: text-bottom; border-radius: 2px; margin-left: 3px;
            background: rgba(255, 255, 255, 0.92);
            backdrop-filter: blur(10px) saturate(180%);
            -webkit-backdrop-filter: blur(10px) saturate(180%);
            border: 1px solid rgba(255, 255, 255, 0.7);
            box-shadow: 0 0 14px rgba(255,255,255,0.6), 0 0 4px rgba(255,255,255,0.4), inset 0 0 10px rgba(255,255,255,0.5);
            animation: cursor-blink 1s step-end infinite;
            transition: opacity 0.5s ease;
        }
        .type-cursor.typing { animation: none; opacity: 1; }
        .type-cursor.done { opacity: 0; pointer-events: none; }
        @keyframes cursor-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.15; } }

        .section-title .type-cursor {
            background: rgba(29, 29, 31, 0.85);
            border-color: rgba(29, 29, 31, 0.4);
            box-shadow: 0 0 10px rgba(0,0,0,0.15);
        }

        /* ===== 导航按钮 — 圆圈旋转后依次展开 ===== */
        .nav-buttons {
            display: block;
            text-align: center;
            margin-top: 8px;
            position: relative;
            height: 50px;
        }

        /* 按钮基础样式 */
        .nav-btn {
            display: inline-block;
            padding: 10px 28px;
            border-radius: 100px;
            font-size: 0.88rem;
            font-weight: 500;
            color: #fff;
            background: rgba(255,255,255,0.12);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            border: 1px solid rgba(255,255,255,0.25);
            box-shadow: 0 1px 3px rgba(0,0,0,0.1), 0 4px 12px rgba(0,0,0,0.08), inset 0 1px 0 rgba(255,255,255,0.15);
            cursor: pointer;
            transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
            position: relative;
            overflow: hidden;
            user-select: none;
        }

        /* 波浪效果 */
        .nav-btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 200%;
            height: 100%;
            background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0) 20%, rgba(255,255,255,0.15) 40%, rgba(255,255,255,0.25) 50%, rgba(255,255,255,0.15) 60%, rgba(255,255,255,0) 80%, transparent 100%);
            transform: translateX(-100%);
            transition: none;
            z-index: 0;
        }
        .nav-btn:hover::before {
            animation: waveFlow 1.2s ease-in-out infinite;
        }
        @keyframes waveFlow {
            0% { transform: translateX(-100%); }
            100% { transform: translateX(100%); }
        }
        .nav-btn::after {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg, rgba(255,255,255,0.2), rgba(255,255,255,0.05));
            opacity: 0;
            transition: opacity 0.3s ease;
            z-index: 0;
        }
        .nav-btn:hover {
            background: rgba(255,255,255,0.22);
            box-shadow: 0 4px 16px rgba(0,0,0,0.12), 0 8px 32px rgba(0,0,0,0.08), inset 0 1px 0 rgba(255,255,255,0.2);
            transform: translateY(-2px);
            border-color: rgba(255,255,255,0.4);
        }
        .nav-btn:hover::after { opacity: 1; }
        .nav-btn:active { transform: translateY(0) scale(0.97); box-shadow: 0 2px 8px rgba(0,0,0,0.08); transition-duration: 0.1s; }
        .nav-btn span { position: relative; z-index: 1; }

        /* 入场动画：先组成圆圈旋转1圈，再展开（时长3.5秒，分段缓动） */
        @keyframes circleSpinExpand1 {
            0%   { opacity: 0; transform: translateX(-50%) rotate(0deg) translateX(0px) rotate(0deg); animation-timing-function: ease-out; }
            7%   { opacity: 1; transform: translateX(-50%) rotate(0deg) translateX(0px) rotate(0deg); animation-timing-function: ease-out; }
            14%  { opacity: 1; transform: translateX(-50%) rotate(0deg) translateX(100px) rotate(0deg); animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }
            65%  { opacity: 1; transform: translateX(-50%) rotate(360deg) translateX(100px) rotate(-360deg); animation-timing-function: ease-in-out; }
            72%  { opacity: 1; transform: translateX(-50%) rotate(360deg) translateX(100px) rotate(-360deg); animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94); }
            100% { opacity: 1; transform: translateX(-240px) rotate(360deg) translateX(0px) rotate(-360deg); }
        }
        @keyframes circleSpinExpand2 {
            0%   { opacity: 0; transform: translateX(-50%) rotate(0deg) translateX(0px) rotate(0deg); animation-timing-function: ease-out; }
            7%   { opacity: 1; transform: translateX(-50%) rotate(0deg) translateX(0px) rotate(0deg); animation-timing-function: ease-out; }
            14%  { opacity: 1; transform: translateX(-50%) rotate(72deg) translateX(100px) rotate(-72deg); animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }
            65%  { opacity: 1; transform: translateX(-50%) rotate(432deg) translateX(100px) rotate(-432deg); animation-timing-function: ease-in-out; }
            72%  { opacity: 1; transform: translateX(-50%) rotate(432deg) translateX(100px) rotate(-432deg); animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94); }
            100% { opacity: 1; transform: translateX(-120px) rotate(432deg) translateX(0px) rotate(-432deg); }
        }
        @keyframes circleSpinExpand3 {
            0%   { opacity: 0; transform: translateX(-50%) rotate(0deg) translateX(0px) rotate(0deg); animation-timing-function: ease-out; }
            7%   { opacity: 1; transform: translateX(-50%) rotate(0deg) translateX(0px) rotate(0deg); animation-timing-function: ease-out; }
            14%  { opacity: 1; transform: translateX(-50%) rotate(144deg) translateX(100px) rotate(-144deg); animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }
            65%  { opacity: 1; transform: translateX(-50%) rotate(504deg) translateX(100px) rotate(-504deg); animation-timing-function: ease-in-out; }
            72%  { opacity: 1; transform: translateX(-50%) rotate(504deg) translateX(100px) rotate(-504deg); animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94); }
            100% { opacity: 1; transform: translateX(-50%) rotate(504deg) translateX(0px) rotate(-504deg); }
        }
        @keyframes circleSpinExpand4 {
            0%   { opacity: 0; transform: translateX(-50%) rotate(0deg) translateX(0px) rotate(0deg); animation-timing-function: ease-out; }
            7%   { opacity: 1; transform: translateX(-50%) rotate(0deg) translateX(0px) rotate(0deg); animation-timing-function: ease-out; }
            14%  { opacity: 1; transform: translateX(-50%) rotate(216deg) translateX(100px) rotate(-216deg); animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }
            65%  { opacity: 1; transform: translateX(-50%) rotate(576deg) translateX(100px) rotate(-576deg); animation-timing-function: ease-in-out; }
            72%  { opacity: 1; transform: translateX(-50%) rotate(576deg) translateX(100px) rotate(-576deg); animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94); }
            100% { opacity: 1; transform: translateX(0px) rotate(576deg) translateX(0px) rotate(-576deg); }
        }
        @keyframes circleSpinExpand5 {
            0%   { opacity: 0; transform: translateX(-50%) rotate(0deg) translateX(0px) rotate(0deg); animation-timing-function: ease-out; }
            7%   { opacity: 1; transform: translateX(-50%) rotate(0deg) translateX(0px) rotate(0deg); animation-timing-function: ease-out; }
            14%  { opacity: 1; transform: translateX(-50%) rotate(288deg) translateX(100px) rotate(-288deg); animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }
            65%  { opacity: 1; transform: translateX(-50%) rotate(648deg) translateX(100px) rotate(-648deg); animation-timing-function: ease-in-out; }
            72%  { opacity: 1; transform: translateX(-50%) rotate(648deg) translateX(100px) rotate(-648deg); animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94); }
            100% { opacity: 1; transform: translateX(120px) rotate(648deg) translateX(0px) rotate(-648deg); }
        }

        /* 默认状态：隐藏，等待body.loaded后触发动画 */
        .nav-btn.nav-drop {
            opacity: 0;
            position: absolute;
            left: 50%;
            top: 5px;
            will-change: transform;
        }

        /* body.loaded后触发动画（时长3.5秒，分段缓动在keyframes内定义） */
        body.loaded .nav-btn.nav-drop.stagger-1 {
            animation: circleSpinExpand1 3.5s 0.3s forwards;
        }
        body.loaded .nav-btn.nav-drop.stagger-2 {
            animation: circleSpinExpand2 3.5s 0.5s forwards;
        }
        body.loaded .nav-btn.nav-drop.stagger-3 {
            animation: circleSpinExpand3 3.5s 0.7s forwards;
        }
        body.loaded .nav-btn.nav-drop.stagger-4 {
            animation: circleSpinExpand4 3.5s 0.9s forwards;
        }
        body.loaded .nav-btn.nav-drop.stagger-5 {
            animation: circleSpinExpand5 3.5s 1.1s forwards;
        }

        /* 动画完成后恢复为正常布局 */
        .nav-buttons.nav-expanded .nav-btn.nav-drop {
            animation: none !important;
            opacity: 1;
            position: relative;
            left: auto;
            top: auto;
            transform: none;
            margin-left: 6px;
            will-change: auto;
        }
/* ===== 作品卡片 — 3D 弧形入场（滚动触发，可重复） ===== */
        .projects-grid { perspective: 1200px; transform-style: preserve-3d; }
        @keyframes arcEntry3D {
            0% { opacity: 0; transform: rotateY(-55deg) translate3d(-350px, 40px, -280px) scale(0.65); }
            35% { opacity: 0.9; transform: rotateY(-20deg) translate3d(-80px, -60px, 100px) scale(1.08); }
            65% { opacity: 1; transform: rotateY(8deg) translate3d(30px, -20px, 40px) scale(1.02); }
            100% { opacity: 1; transform: rotateY(0deg) translate3d(0, 0, 0) scale(1); }
        }
        @keyframes arcExit3D {
            0% { opacity: 1; transform: rotateY(0deg) translate3d(0, 0, 0) scale(1); }
            100% { opacity: 0; transform: rotateY(25deg) translate3d(200px, -80px, -200px) scale(0.75); }
        }
        .project-card.arc-entry {
            opacity: 0;
            transform-style: preserve-3d;
            animation: none;
        }
        .project-card.arc-entry.is-visible {
            animation: arcEntry3D 2.4s cubic-bezier(0.23, 1, 0.32, 1) forwards;
        }
        .project-card.arc-entry.is-hidden {
            animation: arcExit3D 0.8s cubic-bezier(0.23, 1, 0.32, 1) forwards;
        }
        .project-card.arc-entry.is-visible.stagger-1 { animation-delay: 0.2s; }
        .project-card.arc-entry.is-visible.stagger-2 { animation-delay: 0.55s; }
        .project-card.arc-entry.is-visible.stagger-3 { animation-delay: 0.9s; }
        .project-card.arc-entry.is-visible.stagger-4 { animation-delay: 1.25s; }
        .project-card.arc-entry.is-visible.stagger-5 { animation-delay: 1.6s; }

        /* ===== 旅行足迹 — 3D 弧形入场 ===== */
        .languages-grid { perspective: 1200px; transform-style: preserve-3d; }
        @keyframes langArcEntry3D {
            0% { opacity: 0; transform: rotateY(-45deg) translate3d(-300px, 50px, -220px) scale(0.7); }
            40% { opacity: 0.9; transform: rotateY(-15deg) translate3d(-60px, -45px, 80px) scale(1.06); }
            70% { opacity: 1; transform: rotateY(6deg) translate3d(25px, -15px, 35px) scale(1.02); }
            100% { opacity: 1; transform: rotateY(0deg) translate3d(0, 0, 0) scale(1); }
        }
        @keyframes langArcExit3D {
            0% { opacity: 1; transform: rotateY(0deg) translate3d(0, 0, 0) scale(1); }
            100% { opacity: 0; transform: rotateY(20deg) translate3d(150px, -60px, -150px) scale(0.78); }
        }
        .language-card.lang-arc-entry {
            opacity: 0;
            transform-style: preserve-3d;
            animation: none;
        }
        .language-card.lang-arc-entry.is-visible {
            animation: langArcEntry3D 2.2s cubic-bezier(0.23, 1, 0.32, 1) forwards;
        }
        .language-card.lang-arc-entry.is-hidden {
            animation: langArcExit3D 0.8s cubic-bezier(0.23, 1, 0.32, 1) forwards;
        }
        .language-card.lang-arc-entry.is-visible.stagger-1 { animation-delay: 0.15s; }
        .language-card.lang-arc-entry.is-visible.stagger-2 { animation-delay: 0.4s; }
        .language-card.lang-arc-entry.is-visible.stagger-3 { animation-delay: 0.65s; }
        .language-card.lang-arc-entry.is-visible.stagger-4 { animation-delay: 0.9s; }
        .language-card.lang-arc-entry.is-visible.stagger-5 { animation-delay: 1.15s; }

        /* ===== 鼠标滚动提示（2秒后显示，长条白点） ===== */
        .scroll-indicator {
            position: absolute;
            bottom: 110px;
            left: 50%;
            transform: translateX(-50%);
            z-index: 10;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 10px;
            pointer-events: none;
            opacity: 0;
            animation: indicatorFadeIn 1s ease 2s forwards;
        }
        @keyframes indicatorFadeIn {
            to { opacity: 1; }
        }
        .mouse-body {
            width: 26px;
            height: 40px;
            border: 2px solid rgba(255, 255, 255, 0.75);
            border-radius: 13px;
            position: relative;
            box-shadow: 0 0 12px rgba(255,255,255,0.15), inset 0 0 8px rgba(255,255,255,0.05);
        }
        .mouse-bar {
            width: 3px;
            height: 10px;
            background: #fff;
            border-radius: 2px;
            position: absolute;
            top: 7px;
            left: 50%;
            margin-left: -1.5px;
            box-shadow: 0 0 8px rgba(255,255,255,0.9);
            animation: scroll-bar 2.2s ease-in-out infinite;
        }
        @keyframes scroll-bar {
            0% { top: 7px; opacity: 1; height: 10px; }
            35% { top: 20px; opacity: 0.5; height: 6px; }
            50% { top: 20px; opacity: 0; height: 4px; }
            51% { top: 5px; opacity: 0; height: 10px; }
            100% { top: 7px; opacity: 1; height: 10px; }
        }
        .scroll-hint {
            font-size: 0.72rem;
            color: rgba(255,255,255,0.55);
            letter-spacing: 3px;
            text-shadow: 0 1px 4px rgba(0,0,0,0.3);
        }

        /* ===== Hero ===== */
        .hero-section {
            min-height: 100vh; width: 100%; position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden;
            background: linear-gradient(rgba(0,0,0,0.35), rgba(0,0,0,0.45)), url('https://1856092630.v.123pan.cn/1856092630/29649950') no-repeat center center/cover;
        }
        .hero-section::before {
            content: ''; position: absolute; inset: 0;
            background: radial-gradient(ellipse at 30% 20%, rgba(255,255,255,0.06) 0%, transparent 50%), radial-gradient(ellipse at 70% 80%, rgba(255,255,255,0.04) 0%, transparent 50%);
            pointer-events: none; z-index: 1;
        }
        .hero-content { position: relative; z-index: 10; text-align: center; padding: 40px 24px; max-width: 680px; }

        .avatar-wrapper { position: relative; width: 140px; height: 140px; margin: 0 auto 32px; }
        .avatar-wrapper::before {
            content: ''; position: absolute; inset: -6px; border-radius: 50%;
            background: linear-gradient(135deg, rgba(255,255,255,0.5) 0%, rgba(255,255,255,0.1) 40%, rgba(255,255,255,0.05) 50%, rgba(255,255,255,0.1) 60%, rgba(255,255,255,0.5) 100%);
            z-index: -1; filter: blur(10px); opacity: 0.7; animation: avatar-glow 3s ease-in-out infinite;
        }
        .avatar-wrapper::after {
            content: ''; position: absolute; inset: -3px; border-radius: 50%;
            background: linear-gradient(135deg, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0.2) 30%, rgba(255,255,255,0) 50%, rgba(255,255,255,0.2) 70%, rgba(255,255,255,0.8) 100%);
            -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
            -webkit-mask-composite: xor; mask-composite: exclude;
            padding: 2px; pointer-events: none; z-index: 2;
        }
        @keyframes avatar-glow {
            0%, 100% { opacity: 0.5; filter: blur(10px); transform: scale(1); }
            50% { opacity: 0.9; filter: blur(14px); transform: scale(1.03); }
        }
        .avatar-container {
            width: 100%; height: 100%; border-radius: 50%; overflow: hidden;
            border: 2px solid rgba(255,255,255,0.6);
            box-shadow: 0 4px 20px rgba(0,0,0,0.2), 0 0 0 1px rgba(255,255,255,0.3), inset 0 0 20px rgba(255,255,255,0.1);
            position: relative; z-index: 1;
        }
        .avatar-container img { width: 100%; height: 100%; object-fit: cover; }

        .hero-title {
            font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 700; color: #fff; margin-bottom: 12px;
            letter-spacing: -0.02em; line-height: 1.1; text-shadow: 0 2px 20px rgba(0,0,0,0.3);
        }
        .hero-subtitle {
            font-size: 1.05rem; color: rgba(255,255,255,0.85); font-weight: 400;
            letter-spacing: 0.02em; text-shadow: 0 1px 10px rgba(0,0,0,0.2);
        }
        .hero-subtitle.secondary { font-size: 0.9rem; color: rgba(255,255,255,0.6); text-shadow: 0 1px 8px rgba(0,0,0,0.15); }

        .nav-buttons { 
            display: block;
            text-align: center;
            margin-top: 8px;
            position: relative;
            height: 50px;
        }
        .nav-btn {
            display: inline-block;
            padding: 10px 28px; border-radius: 100px; font-size: 0.88rem; font-weight: 500; color: #fff;
            background: rgba(255,255,255,0.12); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
            border: 1px solid rgba(255,255,255,0.25);
            box-shadow: 0 1px 3px rgba(0,0,0,0.1), 0 4px 12px rgba(0,0,0,0.08), inset 0 1px 0 rgba(255,255,255,0.15);
            cursor: pointer; transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1); position: relative; overflow: hidden; user-select: none;
        }
        /* 连续波浪动画 */
        @keyframes waveFlow {
            0% { transform: translateX(-100%); }
            100% { transform: translateX(100%); }
        }
        .nav-btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 200%;
            height: 100%;
            background: linear-gradient(90deg, 
                transparent 0%, 
                rgba(255,255,255,0) 20%,
                rgba(255,255,255,0.15) 40%, 
                rgba(255,255,255,0.25) 50%, 
                rgba(255,255,255,0.15) 60%, 
                rgba(255,255,255,0) 80%,
                transparent 100%
            );
            transform: translateX(-100%);
            transition: none;
            z-index: 0;
        }
        .nav-btn:hover::before {
            animation: waveFlow 1.2s ease-in-out infinite;
        }
        .nav-btn::after {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg, rgba(255,255,255,0.2), rgba(255,255,255,0.05));
            opacity: 0;
            transition: opacity 0.3s ease;
            z-index: 0;
        }
        .nav-btn:hover {
            background: rgba(255,255,255,0.22);
            box-shadow: 0 4px 16px rgba(0,0,0,0.12), 0 8px 32px rgba(0,0,0,0.08), inset 0 1px 0 rgba(255,255,255,0.2);
            transform: translateY(-2px); border-color: rgba(255,255,255,0.4);
        }
        .nav-btn:hover::after { opacity: 1; }
        .nav-btn:active { transform: translateY(0) scale(0.97); box-shadow: 0 2px 8px rgba(0,0,0,0.08); transition-duration: 0.1s; }
        .nav-btn span { position: relative; z-index: 1; }

        .hero-gradient-bottom { position: absolute; bottom: 0; left: 0; right: 0; height: 200px; background: linear-gradient(to top, #f5f5f7, transparent); pointer-events: none; z-index: 5; }

        /* ===== 通用标题 ===== */
        .section-title {
            text-align: center; font-size: clamp(1.6rem, 4vw, 2.2rem); font-weight: 700; color: #1d1d1f;
            margin-bottom: 48px; letter-spacing: -0.02em; position: relative; display: inline-block; left: 50%; transform: translateX(-50%);
        }
        .section-title::after {
            content: ''; position: absolute; bottom: -12px; left: 50%; transform: translateX(-50%);
            width: 40px; height: 3px; background: #1d1d1f; border-radius: 2px; opacity: 0.15;
        }

        /* ===== 作品区域 ===== */
        .projects-section { padding: 100px 24px; width: 100%; background: #f5f5f7; }
        .projects-inner { max-width: 1200px; margin: 0 auto; }
        .projects-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
        .project-card { cursor: pointer; text-decoration: none; display: block; color: inherit; }
        .project-card .project-image-wrapper { overflow: hidden; position: relative; aspect-ratio: 16 / 10; }
        .project-card .project-image { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1); }
        .project-card:hover .project-image { transform: scale(1.06); }
        .project-card .project-content { padding: 20px 24px 24px; position: relative; z-index: 2; }
        .project-card .project-title { font-size: 1.15rem; font-weight: 600; color: #1d1d1f; margin-bottom: 12px; letter-spacing: -0.01em; }
        .project-card .project-tags { display: flex; gap: 6px; flex-wrap: wrap; }
        .project-card .tag {
            padding: 4px 12px; background: rgba(0,0,0,0.04); border-radius: 100px; font-size: 0.75rem;
            color: #86868b; font-weight: 500; transition: all 0.3s ease; border: 1px solid rgba(0,0,0,0.03);
        }
        .project-card:hover .tag { background: rgba(0,0,0,0.06); color: #636366; }

        /* ===== 开发者区域 ===== */
        .about-section { padding: 100px 24px; width: 100%; background: #f5f5f7; }
        .about-container { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
        @media (max-width: 768px) { .about-container { grid-template-columns: 1fr; gap: 60px; } }
        .developer-card { display: flex; gap: 28px; align-items: flex-start; }
        .dev-avatar {
            width: 120px; height: 120px; border-radius: 20px; object-fit: cover; position: relative;
            box-shadow: 0 8px 32px rgba(0,0,0,0.08), 0 0 0 1px rgba(0,0,0,0.04);
            transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
        }
        .dev-avatar-wrapper { position: relative; display: inline-block; }
        .dev-avatar-wrapper::before {
            content: ''; position: absolute; inset: -5px; border-radius: 24px;
            background: linear-gradient(135deg, rgba(255,255,255,0.7) 0%, rgba(255,255,255,0.15) 40%, rgba(255,255,255,0.05) 50%, rgba(255,255,255,0.15) 60%, rgba(255,255,255,0.7) 100%);
            z-index: -1; filter: blur(8px); opacity: 0.6; transition: opacity 0.5s ease, filter 0.5s ease;
        }
        .dev-avatar-wrapper::after {
            content: ''; position: absolute; inset: -2px; border-radius: 22px;
            background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.3) 30%, rgba(255,255,255,0) 50%, rgba(255,255,255,0.3) 70%, rgba(255,255,255,0.9) 100%);
            -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
            -webkit-mask-composite: xor; mask-composite: exclude;
            padding: 1.5px; pointer-events: none; z-index: 2;
        }
        .dev-avatar-wrapper:hover::before { opacity: 0.9; filter: blur(12px); }
        .dev-avatar-wrapper:hover .dev-avatar { transform: scale(1.04) rotate(1deg); box-shadow: 0 12px 40px rgba(0,0,0,0.1), 0 0 0 1px rgba(0,0,0,0.06); }
        .dev-info h3 { font-size: 1.4rem; font-weight: 700; margin-bottom: 16px; color: #1d1d1f; letter-spacing: -0.01em; }
        .dev-detail { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; color: #86868b; font-size: 0.92rem; font-weight: 400; transition: color 0.3s ease; }
        .dev-detail:hover { color: #636366; }
        .dev-detail i { width: 20px; text-align: center; color: #c7c7cc; font-size: 0.9rem; transition: color 0.3s ease; }
        .dev-detail:hover i { color: #86868b; }

        .skills-container { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; }
        .skill-circle { position: relative; width: 110px; height: 110px; }
        .skill-circle svg { transform: rotate(-90deg); width: 100%; height: 100%; }
        .skill-circle circle { fill: none; stroke-width: 6; stroke-linecap: round; }
        .skill-circle .bg { stroke: rgba(0,0,0,0.06); }
        .skill-circle .progress { stroke-dasharray: 339.292; stroke-dashoffset: 339.292; }
        .skill-circle:nth-child(1) .progress { stroke: #007aff; }
        .skill-circle:nth-child(2) .progress { stroke: #ff9500; }
        .skill-circle:nth-child(3) .progress { stroke: #34c759; }
        .skill-circle:nth-child(4) .progress { stroke: #af52de; }
        .skill-text { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); text-align: center; }
        .skill-percent { font-size: 1.3rem; font-weight: 700; color: #1d1d1f; letter-spacing: -0.02em; }
        .skill-name { font-size: 0.75rem; color: #86868b; margin-top: 2px; font-weight: 500; }

        /* ===== 旅行足迹 ===== */
        .languages-section { padding: 100px 24px; width: 100%; background: #f5f5f7; }
        .languages-inner { max-width: 1200px; margin: 0 auto; }
        .languages-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 24px; }
        .language-card { display: flex; flex-direction: column; }
        .language-card .lang-image { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1); }
        .language-card:hover .lang-image { transform: scale(1.04); }
        .language-card .lang-content { padding: 24px; flex: 1; display: flex; flex-direction: column; position: relative; z-index: 2; }
        .language-card .lang-header { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid rgba(0,0,0,0.05); }
        .language-card .lang-icon { width: 40px; height: 40px; border-radius: 12px; background-size: contain; background-repeat: no-repeat; background-position: center; flex-shrink: 0; box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
        .language-card .lang-title { font-size: 1.15rem; font-weight: 600; color: #1d1d1f; letter-spacing: -0.01em; }
        .language-card .lang-desc { color: #86868b; line-height: 1.75; font-size: 0.88rem; list-style: none; flex: 1; }
        .language-card .lang-desc li { margin-bottom: 8px; position: relative; padding-left: 16px; }
        .language-card .lang-desc li::before { content: ''; position: absolute; left: 0; top: 9px; width: 5px; height: 5px; background: #c7c7cc; border-radius: 50%; transition: background 0.3s ease; }
        .language-card:hover .lang-desc li::before { background: #86868b; }

        /* ===== 视频区域 ===== */
        .video-section { padding: 100px 24px; width: 100%; background: #f5f5f7; }
        .video-container { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
        .video-card { overflow: hidden; cursor: pointer; }
        .video-card .video-wrapper { position: relative; width: 100%; padding-top: 56.25%; background: #000; overflow: hidden; }
        .video-card .video-wrapper iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; transition: opacity 0.4s ease; }
        .video-card:hover .video-wrapper iframe { opacity: 0.95; }
        .video-card .video-info { padding: 20px 24px 24px; position: relative; z-index: 2; }
        .video-card .video-header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
        .video-avatar-wrapper { position: relative; display: inline-block; flex-shrink: 0; }
        .video-avatar-wrapper::before {
            content: ''; position: absolute; inset: -4px; border-radius: 50%;
            background: linear-gradient(135deg, rgba(255,255,255,0.6) 0%, rgba(255,255,255,0.1) 40%, rgba(255,255,255,0.05) 50%, rgba(255,255,255,0.1) 60%, rgba(255,255,255,0.6) 100%);
            z-index: -1; filter: blur(6px); opacity: 0.5; transition: opacity 0.4s ease, filter 0.4s ease;
        }
        .video-avatar-wrapper::after {
            content: ''; position: absolute; inset: -1.5px; border-radius: 50%;
            background: linear-gradient(135deg, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0.2) 30%, rgba(255,255,255,0) 50%, rgba(255,255,255,0.2) 70%, rgba(255,255,255,0.8) 100%);
            -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
            -webkit-mask-composite: xor; mask-composite: exclude;
            padding: 1.5px; pointer-events: none; z-index: 2;
        }
        .video-card:hover .video-avatar-wrapper::before { opacity: 0.8; filter: blur(10px); }
        .video-card .video-avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; box-shadow: 0 2px 8px rgba(0,0,0,0.08); transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1); }
        .video-card:hover .video-avatar { transform: rotate(4deg) scale(1.05); box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
        .video-card .video-title { font-size: 1.05rem; font-weight: 600; color: #1d1d1f; letter-spacing: -0.01em; transition: color 0.3s ease; }
        .video-card:hover .video-title { color: #007aff; }
        .video-card .video-list { list-style: none; color: #86868b; font-size: 0.85rem; line-height: 1.6; }
        .video-card .video-list li { position: relative; padding-left: 14px; }
        .video-card .video-list li::before { content: ''; position: absolute; left: 0; top: 7px; width: 4px; height: 4px; background: #c7c7cc; border-radius: 50%; }

        /* ===== 引言 & 页脚 ===== */
        .quote-section { padding: 80px 24px; text-align: center; background: #f5f5f7; width: 100%; }
        .quote-section .quote-inner { max-width: 600px; margin: 0 auto; }
        .quote-section p { font-size: 1.1rem; color: #86868b; margin-bottom: 8px; font-weight: 400; letter-spacing: 0.02em; line-height: 2; }
        .quote-section .divider { margin: 20px 0; color: #d2d2d7; font-size: 0.8rem; letter-spacing: 8px; }

        .footer { background: #1d1d1f; color: #fff; padding: 80px 24px 40px; text-align: center; position: relative; overflow: hidden; width: 100%; }
        .footer-content { position: relative; z-index: 2; max-width: 600px; margin: 0 auto; }
        .footer-quote { font-size: 1.05rem; color: rgba(255,255,255,0.5); margin-bottom: 24px; font-weight: 400; letter-spacing: 0.05em; }
        .footer-divider { width: 32px; height: 1px; background: rgba(255,255,255,0.15); margin: 0 auto 24px; }
        .footer-logo { font-size: clamp(2.5rem, 6vw, 4rem); font-weight: 800; color: rgba(255,255,255,0.08); margin: 32px 0; letter-spacing: 8px; line-height: 1.2; }
        .footer-sub { color: rgba(255,255,255,0.25); font-size: 0.85rem; margin-top: 16px; font-weight: 500; letter-spacing: 0.1em; }
        .footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.06); color: rgba(255,255,255,0.3); font-size: 0.8rem; font-weight: 400; letter-spacing: 0.05em; }

        /* ===== 粒子 & 滚动条 & 加载 ===== */
        .particles { position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; pointer-events: none; z-index: 1; }
        .particle { position: absolute; width: 3px; height: 3px; background: rgba(255,255,255,0.08); border-radius: 50%; animation: particle-float 20s infinite linear; }
        @keyframes particle-float {
            0% { transform: translateY(100vh) translateX(0); opacity: 0; }
            5% { opacity: 1; } 95% { opacity: 1; }
            100% { transform: translateY(-10vh) translateX(30px); opacity: 0; }
        }
        ::-webkit-scrollbar { width: 6px; height: 6px; }
        ::-webkit-scrollbar-track { background: transparent; }
        ::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.15); border-radius: 3px; }
        ::-webkit-scrollbar-thumb:hover { background: rgba(0,0,0,0.25); }

        /* ===== 原神元素加载动画（扫描填充效果） ===== */
        .loader {
            position: fixed; inset: 0;
            background: #f5f5f7;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            z-index: 9999;
            transition: opacity 0.8s cubic-bezier(0.23, 1, 0.32, 1), visibility 0.8s;
            will-change: opacity, visibility;
        }
        .loader.hidden {
            opacity: 0; visibility: hidden; pointer-events: none;
        }
        .genshin-loader {
            display: flex;
            flex-direction: row;
            gap: 28px;
            align-items: center;
            justify-content: center;
            padding: 20px;
            transition: opacity 0.5s ease, transform 0.5s ease;
        }
        .genshin-loader.fadeout {
            opacity: 0;
            transform: scale(0.9) translateZ(0);
        }
        .genshin-icon {
            width: 64px;
            height: 64px;
            flex-shrink: 0;
            position: relative;
            opacity: 0.45;
            transform: scale(0.95) translateZ(0);
            will-change: transform, opacity;
            transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
        }
        .genshin-icon img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            display: block;
            position: absolute;
            top: 0;
            left: 0;
            transform: translateZ(0);
        }
        .genshin-icon .icon-gray {
            filter: grayscale(100%) brightness(1.3) contrast(0.9);
            opacity: 1;
            z-index: 1;
        }
        .genshin-icon .icon-fill {
            filter: grayscale(100%) brightness(0.6) contrast(1.2);
            opacity: 1;
            z-index: 2;
            clip-path: inset(0 100% 0 0);
            transition: clip-path 0.5s cubic-bezier(0.23, 1, 0.32, 1);
        }
        .genshin-icon.active {
            opacity: 1;
            transform: scale(1) translateZ(0);
        }
        .genshin-icon.active .icon-fill {
            clip-path: inset(0 0% 0 0);
        }

        /* ===== 命座拼合图案（原色，显示1.2秒） ===== */
        .constellation-wrapper {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%) scale(0.85);
            width: 400px;
            height: 280px;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.8s cubic-bezier(0.23, 1, 0.32, 1), transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
        }
        .constellation-wrapper.show {
            opacity: 1;
            transform: translate(-50%, -50%) scale(1);
        }
        /* 中间主体 */
        .constellation-center {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 180px;
            height: 130px;
            z-index: 2;
        }
        .constellation-center img {
            width: 100%;
            height: 100%;
            object-fit: contain;
        }
        /* 左下角碎片 */
        .constellation-bl {
            position: absolute;
            bottom: 40px;
            left: 30px;
            width: 90px;
            height: 60px;
            z-index: 1;
            opacity: 0;
            transform: translate(-20px, 20px) translateZ(0);
            transition: opacity 0.6s ease 0.3s, transform 0.6s cubic-bezier(0.23, 1, 0.32, 1) 0.3s;
        }
        .constellation-bl img {
            width: 100%;
            height: 100%;
            object-fit: contain;
        }
        /* 右上角碎片 */
        .constellation-tr {
            position: absolute;
            top: 30px;
            right: 40px;
            width: 70px;
            height: 50px;
            z-index: 1;
            opacity: 0;
            transform: translate(20px, -20px) translateZ(0);
            transition: opacity 0.6s ease 0.5s, transform 0.6s cubic-bezier(0.23, 1, 0.32, 1) 0.5s;
        }
        .constellation-tr img {
            width: 100%;
            height: 100%;
            object-fit: contain;
        }
        .constellation-wrapper.show .constellation-bl,
        .constellation-wrapper.show .constellation-tr {
            opacity: 1;
            transform: translate(0, 0) translateZ(0);
        }
        /* 浮动动画 */
        @keyframes floatUpDown {
            0%, 100% { transform: translateY(0) translateZ(0); }
            50% { transform: translateY(-8px) translateZ(0); }
        }
        .float-anim {
            animation: floatUpDown 3s ease-in-out infinite;
        }
        .constellation-bl.float-anim {
            animation-delay: 0s;
        }
        .constellation-tr.float-anim {
            animation-delay: 1.5s;
        }
        /* 连线 */
        .constellation-line {
            position: absolute;
            height: 1.5px;
            background: linear-gradient(90deg, transparent, #d4b896, transparent);
            opacity: 0;
            transition: opacity 0.5s ease;
        }
        .line-bl {
            bottom: 80px;
            left: 100px;
            width: 80px;
            transform: rotate(35deg);
            transform-origin: left center;
        }
        .line-tr {
            top: 65px;
            right: 90px;
            width: 70px;
            transform: rotate(-30deg);
            transform-origin: right center;
        }
        .constellation-wrapper.show .constellation-line {
            opacity: 0.6;
            transition-delay: 0.7s;
        }
        @media (max-width: 768px) {
            .genshin-loader { gap: 16px; }
            .genshin-icon { width: 48px; height: 48px; }
            .constellation-wrapper { width: 300px; height: 220px; }
            .constellation-center { width: 140px; height: 100px; }
            .constellation-bl { width: 70px; height: 48px; bottom: 30px; left: 20px; }
            .constellation-tr { width: 55px; height: 40px; top: 25px; right: 30px; }
        }

        /* ===== 主界面过渡入场动画 ===== */
        body.loading main,
        body.loading .hero-section,
        body.loading section {
            opacity: 0;
            transform: translateY(20px) scale(0.98);
        }
        body.loaded main,
        body.loaded .hero-section,
        body.loaded section {
            opacity: 1;
            transform: translateY(0) scale(1);
            transition: opacity 0.9s cubic-bezier(0.23, 1, 0.32, 1), transform 0.9s cubic-bezier(0.23, 1, 0.32, 1);
        }
        body.loaded .hero-section { transition-delay: 0.05s; }
        body.loaded .projects-section { transition-delay: 0.15s; }
        body.loaded .about-section { transition-delay: 0.25s; }
        body.loaded .languages-section { transition-delay: 0.35s; }
        body.loaded .video-section { transition-delay: 0.45s; }
        body.loaded .quote-section { transition-delay: 0.55s; }
        body.loaded .footer { transition-delay: 0.65s; }

        /* ===== 响应式 ===== */
        @media (max-width: 768px) {
            .hero-title { font-size: 2rem; }
            .nav-buttons { gap: 8px; }
            .nav-btn { padding: 8px 20px; font-size: 0.82rem; }
            .projects-grid { grid-template-columns: 1fr; }
            .languages-grid { grid-template-columns: 1fr; }
            .video-container { grid-template-columns: 1fr; }
            .developer-card { flex-direction: column; align-items: center; text-align: center; }
            .dev-avatar { width: 100px; height: 100px; }
            .skills-container { gap: 16px; }
            .skill-circle { width: 90px; height: 90px; }
            .skill-percent { font-size: 1.1rem; }
            .skill-name { font-size: 0.7rem; }
            .about-container { gap: 48px; }
            .projects-section, .about-section, .languages-section, .video-section { padding: 60px 20px; }
            .scroll-indicator { bottom: 90px; }
        }
        @media (min-width: 769px) and (max-width: 1024px) {
            .projects-grid { grid-template-columns: repeat(2, 1fr); }
            .languages-grid { grid-template-columns: repeat(2, 1fr); }
            .video-container { grid-template-columns: repeat(2, 1fr); }
        }

        a { text-decoration: none; color: inherit; transition: color 0.3s ease; }
        img { max-width: 100%; display: block; }
        .ripple-container { position: relative; overflow: hidden; }
        .ripple-container::after {
            content: ''; position: absolute; inset: 0;
            background: radial-gradient(circle at var(--x, 50%) var(--y, 50%), rgba(255,255,255,0.08) 0%, transparent 60%);
            opacity: 0; transition: opacity 0.3s ease; pointer-events: none;
        }
        .ripple-container:active::after { opacity: 1; }
    
        /* 导航按钮动画完成后恢复为正常布局 */
        .nav-buttons.nav-expanded .nav-btn.nav-drop {
            animation: none;
            opacity: 1;
            transform: none;
            margin-left: 6px;
        }

        /* 图库全屏容器 - 覆盖整个页面，非弹窗 */
        #galleryFrameContainer {
            position: fixed; inset: 0; z-index: 10000;
            display: none; background: #000;
        }
        #galleryFrameContainer.show { display: block; }
        #galleryFrameContainer iframe {
            width: 100%; height: 100%; border: none;
        }
        #galleryBackBtn {
            position: fixed; top: 12px; right: 20px; z-index: 10001;
            padding: 6px 18px; font-size: 0.85rem;
            background: rgba(0,0,0,0.5); color: #fff;
            border: 1px solid rgba(255,255,255,0.25);
            border-radius: 20px; cursor: pointer;
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
            display: none; transition: background 0.3s;
        }
        #galleryBackBtn.show { display: block; }
        #galleryBackBtn:hover { background: rgba(0,0,0,0.7); }

        /* ===== 图库加载动画 ===== */
        .gallery-loader {
            position: absolute; inset: 0;
            background: #f5f5f7;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            z-index: 1;
            transition: opacity 0.8s cubic-bezier(0.23, 1, 0.32, 1), visibility 0.8s;
            will-change: opacity, visibility;
        }
        .gallery-loader.hidden {
            opacity: 0; visibility: hidden; pointer-events: none;
        }