*, *::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: transparent;
            border-radius: 24px;
            border: none;
            box-shadow:
                0 8px 48px rgba(0,0,0,0.04),
                0 4px 16px rgba(0,0,0,0.06),
                0 1px 4px rgba(0,0,0,0.08),
                inset 0 1px 1px rgba(255,255,255,0.5),
                inset 0 3px 10px rgba(255,255,255,0.08),
                inset 0 6px 20px rgba(255,255,255,0.04),
                inset 0 -1px 1px rgba(0,0,0,0.08),
                inset 0 -3px 10px rgba(0,0,0,0.04),
                inset 0 -6px 20px rgba(0,0,0,0.03);
            transition: box-shadow 0.5s cubic-bezier(0.23, 1, 0.32, 1), transform 0.5s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.5s cubic-bezier(0.23, 1, 0.32, 1);
            overflow: hidden; position: relative;
        }
        .glass-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 8%;
            right: 8%;
            height: 1px;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5) 50%, transparent);
            border-radius: 100px;
            pointer-events: none;
            z-index: 2;
            opacity: 0.6;
            transition: opacity 0.5s ease;
        }
        .glass-card:hover {
            background: transparent;
            box-shadow:
                0 12px 56px rgba(0,0,0,0.05),
                0 6px 24px rgba(0,0,0,0.08),
                0 2px 6px rgba(0,0,0,0.1),
                inset 0 1px 1px rgba(255,255,255,0.6),
                inset 0 3px 12px rgba(255,255,255,0.12),
                inset 0 6px 24px rgba(255,255,255,0.06),
                inset 0 -1px 1px rgba(0,0,0,0.1),
                inset 0 -3px 12px rgba(0,0,0,0.05),
                inset 0 -6px 24px rgba(0,0,0,0.04);
            transform: translateY(-4px);
        }
        .glass-card:hover::before { opacity: 1; }
        .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),
                inset 0 1px 1px rgba(255,255,255,0.4),
                inset 0 3px 8px rgba(255,255,255,0.06),
                inset 0 -1px 1px rgba(0,0,0,0.06),
                inset 0 -3px 8px rgba(0,0,0,0.03);
            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); } }
        @keyframes videoCardEnter {
            0%   { opacity: 0; transform: translateY(140px) translateZ(-400px) rotateX(45deg) scale(0.65); }
            35%  { opacity: 0.95; transform: translateY(-20px) translateZ(100px) rotateX(-10deg) scale(1.06); }
            55%  { opacity: 1; transform: translateY(10px) translateZ(-30px) rotateX(5deg) scale(0.97); }
            75%  { opacity: 1; transform: translateY(-4px) translateZ(15px) rotateX(-2deg) scale(1.02); }
            100% { opacity: 1; transform: translateY(0) translateZ(0) rotateX(0) scale(1); }
        }
        @keyframes dropFall {
            0% { opacity: 0; transform: translate(-50%, -50%) translateY(-200px) scale(0.8); }
            20% { opacity: 1; transform: translate(-50%, -50%) translateY(-60px) scale(1); }
            45% { transform: translate(-50%, -50%) translateY(0) scale(1); }
            50% { transform: translate(-50%, -50%) translateY(4px) scaleX(1.35) scaleY(0.65); }
            60% { transform: translate(-50%, -50%) translateY(-10px) scaleX(0.9) scaleY(1.1); }
            70% { opacity: 1; transform: translate(-50%, -50%) translateY(0) scale(1); }
            100% { opacity: 0; transform: translate(-50%, -50%) translateY(0) scale(0.5); }
        }
        @keyframes avatarReveal {
            0% { opacity: 0; transform: scale(0.85); clip-path: circle(0% at 50% 50%); }
            100% { opacity: 1; transform: scale(1); clip-path: circle(50% at 50% 50%); }
        }
        @keyframes rippleExpand {
            0% { transform: translate(-50%, -50%) scale(0); opacity: 0.95; }
            100% { transform: translate(-50%, -50%) scale(2); opacity: 0; }
        }
        @keyframes waveLoop {
            0% { transform: translate(-50%, -50%) scale(1); opacity: 0.7; }
            100% { transform: translate(-50%, -50%) scale(1.6); opacity: 0; }
        }

        @keyframes heroTitleEnter {
            from { opacity: 0; transform: translateY(80px); }
            to   { opacity: 1; transform: translateY(0); }
        }
        @keyframes heroTypeEnter {
            from { opacity: 0; transform: translateY(50px); }
            to   { opacity: 1; transform: translateY(0); }
        }
        .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; }
        .hero-avatar-enter {
            /* 由子元素（water-drop、avatar-container、entry-ripple）分别管理入场动画 */
        }
        .hero-title-enter { opacity: 0; animation: heroTitleEnter 1s 0.55s cubic-bezier(0.23, 1, 0.32, 1) forwards; }
        .hero-type-enter { opacity: 0; animation: heroTypeEnter 0.9s 0.8s 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; }

        .video-section-visible .video-card-anim {
            opacity: 0;
            animation: videoCardEnter 1.6s cubic-bezier(0.23, 1, 0.32, 1) forwards;
            will-change: transform, opacity;
            transform-style: preserve-3d;
        }
        .video-section-visible .video-card-anim.stagger-1 { animation-delay: 0s; }
        .video-section-visible .video-card-anim.stagger-2 { animation-delay: 0.2s; }
        .video-section-visible .video-card-anim.stagger-3 { animation-delay: 0.4s; }

        .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::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 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); }
            55%  { opacity: 1; transform: translateX(-50%) rotate(300deg) translateX(100px) rotate(-300deg); animation-timing-function: ease-in-out; }
            100% { opacity: 1; transform: translateX(-240px) rotate(360deg) translateX(0px) rotate(-360deg); animation-timing-function: cubic-bezier(0.23, 1, 0.32, 1); }
        }
        @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); }
            55%  { opacity: 1; transform: translateX(-50%) rotate(372deg) translateX(100px) rotate(-372deg); animation-timing-function: ease-in-out; }
            100% { opacity: 1; transform: translateX(-120px) rotate(432deg) translateX(0px) rotate(-432deg); animation-timing-function: cubic-bezier(0.23, 1, 0.32, 1); }
        }
        @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); }
            55%  { opacity: 1; transform: translateX(-50%) rotate(444deg) translateX(100px) rotate(-444deg); animation-timing-function: ease-in-out; }
            100% { opacity: 1; transform: translateX(-50%) rotate(504deg) translateX(0px) rotate(-504deg); animation-timing-function: cubic-bezier(0.23, 1, 0.32, 1); }
        }
        @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); }
            55%  { opacity: 1; transform: translateX(-50%) rotate(516deg) translateX(100px) rotate(-516deg); animation-timing-function: ease-in-out; }
            100% { opacity: 1; transform: translateX(0px) rotate(576deg) translateX(0px) rotate(-576deg); animation-timing-function: cubic-bezier(0.23, 1, 0.32, 1); }
        }
        @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); }
            55%  { opacity: 1; transform: translateX(-50%) rotate(588deg) translateX(100px) rotate(-588deg); animation-timing-function: ease-in-out; }
            100% { opacity: 1; transform: translateX(120px) rotate(648deg) translateX(0px) rotate(-648deg); animation-timing-function: cubic-bezier(0.23, 1, 0.32, 1); }
        }

        /* 默认状态：隐藏，等待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: transform;
        }
/* ===== 作品区域 — 卷轴式 3D 飘移（滚动触发，可重复） ===== */
        .projects-grid {
            perspective: 1200px;
            transform-style: preserve-3d;
            opacity: 0;
            transform: translateX(-50vw) rotateY(35deg);
        }
        .projects-grid.scroll-roll {
            animation: scrollRollGrid 3.2s cubic-bezier(0.23, 1, 0.32, 1) forwards;
        }
        .projects-grid.scroll-roll .project-card {
            animation: scrollRollCard 3.2s cubic-bezier(0.23, 1, 0.32, 1) forwards;
            opacity: 0;
            transform-style: preserve-3d;
        }
        .projects-grid.scroll-roll .project-card:nth-child(1) { animation-delay: 0s; }
        .projects-grid.scroll-roll .project-card:nth-child(2) { animation-delay: 0.12s; }
        .projects-grid.scroll-roll .project-card:nth-child(3) { animation-delay: 0.24s; }
        .projects-grid.scroll-roll .project-card:nth-child(4) { animation-delay: 0.36s; }
        .projects-grid.scroll-roll .project-card:nth-child(5) { animation-delay: 0.48s; }

        @keyframes scrollRollGrid {
            0%   { opacity: 0; transform: translateX(-50vw) rotateY(35deg); }
            45%  { opacity: 1; transform: translateX(15vw) rotateY(-10deg); }
            80%  { opacity: 1; transform: translateX(-8vw) rotateY(5deg); }
            100% { opacity: 1; transform: translateX(0) rotateY(0deg); }
        }
        @keyframes scrollRollCard {
            0%   { opacity: 0; transform: translateZ(-400px) scale(0.6) rotateY(-25deg); }
            20%  { opacity: 1; }
            45%  { opacity: 1; transform: translateZ(220px) scale(1.08) rotateY(0deg); }
            80%  { opacity: 1; transform: translateZ(-140px) scale(0.92) rotateY(0deg); }
            100% { opacity: 1; transform: translateZ(0) scale(1) rotateY(0deg); }
        }

        /* ===== 旅行足迹 — iOS Spring 弹性 3D 浮起 + 液态玻璃 ===== */
        .languages-grid { perspective: 1400px; transform-style: preserve-3d; }

        @keyframes langFloatSpring3D {
            0%   { opacity: 0; transform: translateY(100px) translateZ(-350px) rotateX(28deg) scale(0.82); }
            35%  { opacity: 0.95; transform: translateY(-18px) translateZ(80px) rotateX(-8deg) scale(1.03); }
            55%  { opacity: 1; transform: translateY(8px) translateZ(-20px) rotateX(4deg) scale(0.99); }
            75%  { opacity: 1; transform: translateY(-3px) translateZ(10px) rotateX(-2deg) scale(1.01); }
            100% { opacity: 1; transform: translateY(0) translateZ(0) rotateX(0deg) scale(1); }
        }
        @keyframes langSpringExit {
            0%   { opacity: 1; transform: translateY(0) translateZ(0) rotateX(0deg) scale(1); }
            100% { opacity: 0; transform: translateY(-60px) translateZ(-200px) rotateX(-15deg) scale(0.88); }
        }

        .languages-section .language-card {
            opacity: 0;
            transform-style: preserve-3d;
            transition: box-shadow 0.5s ease, background 0.5s ease;
            transform: perspective(600px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
            will-change: transform;
        }
        .languages-section .language-card.lang-spring-entry {
            animation: none;
        }
        .languages-section .language-card.lang-spring-entry.is-visible {
            animation: langFloatSpring3D 2.6s cubic-bezier(0.23, 1, 0.32, 1) forwards;
        }
        .languages-section .language-card.lang-spring-entry.is-hidden {
            animation: langSpringExit 0.7s cubic-bezier(0.23, 1, 0.32, 1) forwards;
        }
        .languages-section .language-card.lang-spring-entry.is-visible.stagger-1 { animation-delay: 0s; }
        .languages-section .language-card.lang-spring-entry.is-visible.stagger-2 { animation-delay: 0.1s; }
        .languages-section .language-card.lang-spring-entry.is-visible.stagger-3 { animation-delay: 0.2s; }
        .languages-section .language-card.lang-spring-entry.is-visible.stagger-4 { animation-delay: 0.3s; }
        .languages-section .language-card.lang-spring-entry.is-visible.stagger-5 { animation-delay: 0.4s; }

        /* 液态玻璃增强 */
        .languages-section .language-card.glass-card {
            background: transparent;
            box-shadow:
                0 8px 48px rgba(0,0,0,0.04),
                0 4px 16px rgba(0,0,0,0.06),
                0 1px 4px rgba(0,0,0,0.08),
                inset 0 1px 1px rgba(255,255,255,0.5),
                inset 0 3px 10px rgba(255,255,255,0.08),
                inset 0 6px 20px rgba(255,255,255,0.04),
                inset 0 -1px 1px rgba(0,0,0,0.08),
                inset 0 -3px 10px rgba(0,0,0,0.04),
                inset 0 -6px 20px rgba(0,0,0,0.03);
        }
        .languages-section .language-card.glass-card::before {
            transform: translate(var(--tx, 0px), var(--ty, 0px));
            transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.5s ease;
        }
        .languages-section .language-card:hover {
            box-shadow:
                0 12px 56px rgba(0,0,0,0.05),
                0 6px 24px rgba(0,0,0,0.08),
                0 2px 6px rgba(0,0,0,0.1),
                inset 0 1px 1px rgba(255,255,255,0.6),
                inset 0 3px 12px rgba(255,255,255,0.12),
                inset 0 6px 24px rgba(255,255,255,0.06),
                inset 0 -1px 1px rgba(0,0,0,0.1),
                inset 0 -3px 12px rgba(0,0,0,0.05),
                inset 0 -6px 24px rgba(0,0,0,0.04);
        }
        .languages-section .language-card .lang-image {
            transition: transform 0.7s cubic-bezier(0.23, 1, 0.32, 1);
        }
        .languages-section .language-card:hover .lang-image {
            transform: scale(1.06);
        }

        /* 标题字符揭示 */
        .lang-title-reveal { display: inline-block; overflow: hidden; }
        .lang-title-reveal .char {
            display: inline-block;
            opacity: 0;
            transform: translateY(20px);
            filter: blur(4px);
        }
        .lang-title-reveal.visible .char {
            animation: charReveal 0.7s cubic-bezier(0.23, 1, 0.32, 1) forwards;
        }
        @keyframes charReveal {
            0%   { opacity: 0; transform: translateY(20px); filter: blur(4px); }
            100% { opacity: 1; transform: translateY(0); filter: blur(0); }
        }

        /* ===== 鼠标滚动提示（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: #1d1d1f;
        }
        .hero-video {
            position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0;
        }
        .hero-overlay {
            position: absolute; inset: 0; z-index: 1;
            background: linear-gradient(rgba(0,0,0,0.35), rgba(0,0,0,0.45));
        }
        .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: 2;
        }
        .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); }
        }
        /* 多层深度光晕 */
        .glow-depth {
            position: absolute; inset: -12px; border-radius: 50%;
            background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.05) 50%, rgba(255,255,255,0.2) 100%);
            z-index: -2; filter: blur(16px); opacity: 0.4; pointer-events: none;
        }
        /* 水滴 */
        .water-drop {
            position: absolute; top: 50%; left: 50%;
            width: 14px; height: 18px;
            background: radial-gradient(circle at 35% 35%, rgba(255,255,255,0.95), rgba(200,230,255,0.85) 40%, rgba(150,200,255,0.65) 100%);
            border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
            transform: translate(-50%, -50%) translateY(-200px) scale(0.8);
            opacity: 0; z-index: 5;
            box-shadow: 0 2px 8px rgba(150,200,255,0.4), inset 0 -2px 4px rgba(100,150,255,0.3);
            animation: dropFall 1.2s 0.3s cubic-bezier(0.23, 1, 0.32, 1) forwards;
            pointer-events: none;
        }
        /* 入场扩散圆环 — 3D 立体波浪光环 */
        .entry-ripple {
            position: absolute; top: 50%; left: 50%;
            width: 100%; height: 100%;
            border: none;
            background: radial-gradient(circle at 50% 50%,
                transparent 52%,
                rgba(255,255,255,0.2) 60%,
                rgba(255,255,255,0.95) 70%,
                rgba(255,255,255,0.2) 80%,
                transparent 90%);
            box-shadow:
                0 0 30px 8px rgba(255,255,255,0.3),
                0 0 80px 20px rgba(255,255,255,0.15),
                inset 0 0 30px rgba(255,255,255,0.2);
            border-radius: 50%;
            transform: translate(-50%, -50%) scale(0);
            opacity: 0; pointer-events: none; z-index: 3;
        }
        .entry-ripple.e1 { animation: rippleExpand 1.5s 0.75s cubic-bezier(0.23, 1, 0.32, 1) forwards; background: radial-gradient(circle at 48% 50%, transparent 52%, rgba(255,255,255,0.2) 60%, rgba(255,255,255,0.95) 70%, rgba(255,255,255,0.2) 80%, transparent 90%); }
        .entry-ripple.e2 { animation: rippleExpand 1.5s 1.0s cubic-bezier(0.23, 1, 0.32, 1) forwards; background: radial-gradient(circle at 52% 50%, transparent 52%, rgba(255,255,255,0.2) 60%, rgba(255,255,255,0.95) 70%, rgba(255,255,255,0.2) 80%, transparent 90%); }
        .entry-ripple.e3 { animation: rippleExpand 1.5s 1.25s cubic-bezier(0.23, 1, 0.32, 1) forwards; background: radial-gradient(circle at 50% 48%, transparent 52%, rgba(255,255,255,0.2) 60%, rgba(255,255,255,0.95) 70%, rgba(255,255,255,0.2) 80%, transparent 90%); }
        /* 循环涟漪 — 3D 立体波浪光环 */
        .loop-wave {
            position: absolute; top: 50%; left: 50%;
            width: 100%; height: 100%;
            border: none;
            background: radial-gradient(circle at 50% 50%,
                transparent 55%,
                rgba(255,255,255,0.18) 63%,
                rgba(255,255,255,0.8) 72%,
                rgba(255,255,255,0.18) 81%,
                transparent 90%);
            box-shadow:
                0 0 20px 6px rgba(255,255,255,0.22),
                0 0 60px 16px rgba(255,255,255,0.1),
                inset 0 0 20px rgba(255,255,255,0.15);
            border-radius: 50%;
            transform: translate(-50%, -50%) scale(1);
            opacity: 0; pointer-events: none; z-index: 2;
        }
        .loop-wave.l1 { animation: waveLoop 2.5s 2.5s ease-out infinite; background: radial-gradient(circle at 48% 52%, transparent 55%, rgba(255,255,255,0.18) 63%, rgba(255,255,255,0.8) 72%, rgba(255,255,255,0.18) 81%, transparent 90%); }
        .loop-wave.l2 { animation: waveLoop 2.5s 3.7s ease-out infinite; background: radial-gradient(circle at 52% 48%, transparent 55%, rgba(255,255,255,0.18) 63%, rgba(255,255,255,0.8) 72%, rgba(255,255,255,0.18) 81%, transparent 90%); }
        .loop-wave.l3 { animation: waveLoop 2.5s 4.9s ease-out infinite; background: radial-gradient(circle at 50% 52%, transparent 55%, rgba(255,255,255,0.18) 63%, rgba(255,255,255,0.8) 72%, rgba(255,255,255,0.18) 81%, transparent 90%); }
        .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.15);
            position: relative; z-index: 1;
            /* 液态玻璃核心 */
            backdrop-filter: saturate(180%) blur(20px);
            -webkit-backdrop-filter: saturate(180%) blur(20px);
            /* 入场动画初始状态 */
            opacity: 0; transform: scale(0.85);
            clip-path: circle(0% at 50% 50%);
            animation: avatarReveal 1.2s 0.7s cubic-bezier(0.23, 1, 0.32, 1) forwards;
        }
        .avatar-container img {
            width: 100%; height: 100%; object-fit: cover;
            opacity: 0; transform: scale(1.2); filter: blur(10px);
            animation: imgReveal 1.4s 0.7s cubic-bezier(0.23, 1, 0.32, 1) forwards;
        }
        @keyframes imgReveal {
            0% { opacity: 0; transform: scale(1.2); filter: blur(10px); }
            100% { opacity: 1; transform: scale(1); filter: blur(0px); }
        }
        /* 液态玻璃内部高光折射层 */
        .avatar-container::before {
            content: ''; position: absolute; inset: 0; border-radius: 50%;
            background: linear-gradient(135deg, rgba(255,255,255,0.25) 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.25) 100%);
            z-index: 2; pointer-events: none; mix-blend-mode: overlay; opacity: 0.6;
        }

        .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: transparent;
            border: none;
            box-shadow:
                0 16px 64px rgba(0,0,0,0.12),
                0 8px 32px rgba(0,0,0,0.16),
                0 2px 8px rgba(0,0,0,0.2),
                inset 0 1px 1px rgba(255,255,255,0.85),
                inset 0 3px 12px rgba(255,255,255,0.2),
                inset 0 6px 24px rgba(255,255,255,0.12),
                inset 0 10px 30px rgba(255,255,255,0.05),
                inset 0 -1px 1px rgba(0,0,0,0.2),
                inset 0 -3px 12px rgba(0,0,0,0.12),
                inset 0 -6px 24px rgba(0,0,0,0.08),
                inset 0 -10px 30px rgba(0,0,0,0.04);
            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:hover {
            background: transparent;
            box-shadow:
                0 20px 72px rgba(0,0,0,0.14),
                0 10px 36px rgba(0,0,0,0.18),
                0 3px 10px rgba(0,0,0,0.22),
                inset 0 1px 1px rgba(255,255,255,0.95),
                inset 0 3px 16px rgba(255,255,255,0.24),
                inset 0 6px 32px rgba(255,255,255,0.14),
                inset 0 10px 40px rgba(255,255,255,0.06),
                inset 0 -1px 1px rgba(0,0,0,0.24),
                inset 0 -3px 16px rgba(0,0,0,0.14),
                inset 0 -6px 32px rgba(0,0,0,0.1),
                inset 0 -10px 40px rgba(0,0,0,0.05);
            transform: translateY(-2px);
        }
        .nav-btn:active {
            transform: translateY(0) scale(0.97);
            box-shadow:
                0 2px 8px rgba(0,0,0,0.1),
                inset 0 1px 1px rgba(255,255,255,0.6),
                inset 0 3px 10px rgba(255,255,255,0.12),
                inset 0 -1px 1px rgba(0,0,0,0.12),
                inset 0 -3px 10px rgba(0,0,0,0.06);
            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; perspective: 1600px; transform-style: preserve-3d; }
        .video-card { overflow: hidden; cursor: pointer; transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.5s ease; }
        .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:hover {
            transform: translateY(-6px);
            box-shadow: 0 12px 32px rgba(0,0,0,0.08), 0 4px 12px rgba(0,0,0,0.04);
        }
        .video-card:hover .video-wrapper {
            transform: scale(1.03);
            overflow: hidden;
        }
        .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: 3; }
        .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; }
        /* Hero区域只做淡入，内部元素独立负责大幅动画 */
        body.loading .hero-section { transform: none; }
        body.loaded .hero-section { transform: none; transition: opacity 0.4s cubic-bezier(0.23, 1, 0.32, 1); }
        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: translateY(var(--wave-lift, 0px)) scale(var(--wave-scale, 1));
            margin-left: 6px;
            transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1),
                        background 0.4s cubic-bezier(0.23, 1, 0.32, 1),
                        box-shadow 0.4s cubic-bezier(0.23, 1, 0.32, 1),
                        z-index 0s;
            z-index: var(--wave-z, 1);
            will-change: transform;
        }
        .nav-buttons.nav-expanded.wave-resetting .nav-btn.nav-drop {
            transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1),
                        background 0.4s cubic-bezier(0.23, 1, 0.32, 1),
                        box-shadow 0.4s cubic-bezier(0.23, 1, 0.32, 1),
                        z-index 0s;
        }

        /* 图库全屏容器 - 覆盖整个页面，非弹窗 */
        #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;
        }

        /* ===== 自定义光标 ===== */
        @media (hover: hover) and (pointer: fine) {
            html, body, a, button, .nav-btn, .project-card, .video-card, .language-card, .glass-card, .ripple-container, .skill-circle, .dev-avatar-wrapper, #galleryBackBtn {
                cursor: none !important;
            }
            .custom-cursor {
                position: fixed; top: 0; left: 0;
                pointer-events: none; z-index: 99999;
                mix-blend-mode: difference;
            }

            .cursor-ring {
                width: 34px; height: 34px;
                border: 1.5px solid rgba(255,255,255,0.9);
                border-radius: 50%;
                position: absolute; top: 0; left: 0;
                margin-top: -17px; margin-left: -17px;
                transition: transform 0.25s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
                box-shadow: 0 0 12px rgba(255,255,255,0.15);
                will-change: transform;
            }
            .cursor-dot {
                width: 5px; height: 5px;
                background: #fff; border-radius: 50%;
                position: absolute; top: 0; left: 0;
                margin-top: -2.5px; margin-left: -2.5px;
                transition: transform 0.15s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.3s ease;
                box-shadow: 0 0 8px rgba(255,255,255,0.5);
                will-change: transform;
            }
            .custom-cursor.hover .cursor-ring {
                transform: scale(1.7);
                border-color: rgba(255,255,255,0.5);
                box-shadow: 0 0 20px rgba(255,255,255,0.3);
            }
            .custom-cursor.hover .cursor-dot {
                transform: scale(0.4);
                opacity: 0.6;
            }
            .custom-cursor.click .cursor-ring {
                transform: scale(0.85);
                border-width: 2.5px;
            }
            .custom-cursor.click .cursor-dot {
                transform: scale(1.2);
            }
        }
        /* ===== 3D Tilt 卡片倾斜交互 ===== */
        .projects-section .project-card,
        .languages-section .language-card {
            transform-style: preserve-3d;
            will-change: transform;
            transition: box-shadow 0.5s ease, background 0.5s ease !important;
        }
        .projects-section .project-card {
            transform: perspective(600px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
        }

        /* 内部视差：图片和文字以不同深度浮动 */
        .project-card .project-image,
        .language-card .lang-image {
            transform: translateZ(30px);
            transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
        }
        .project-card .project-content,
        .language-card .lang-content {
            transform: translateZ(50px);
            transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
        }

        /* 动态高光反射层 */
        .project-card .tilt-shine,
        .language-card .tilt-shine {
            position: absolute; inset: 0; border-radius: 24px;
            pointer-events: none; z-index: 10;
            background: radial-gradient(circle at var(--shine-x, 50%) var(--shine-y, 50%), rgba(255,255,255,0.25) 0%, transparent 60%);
            opacity: 0; transition: opacity 0.3s ease;
            mix-blend-mode: overlay;
        }
        .project-card:hover .tilt-shine,
        .language-card:hover .tilt-shine {
            opacity: 1;
        }

        @media (hover: none), (pointer: coarse) {
            .custom-cursor { display: none !important; }
        }

        /* ===== 图片墙（2 行横向自动流动 + 滚动视差叠加） =====
           每行结构：
             .image-wall-row
               └ .image-wall-parallax   ← JS 只在这里写 transform，且只在滚动时
                   └ .image-wall-track  ← CSS @keyframes 无限循环，跑在合成器线程
           为什么必须拆两层：CSS 级联里 animation 的优先级高于普通作者声明（含内联 style），
           若把动画和 JS 写的 style.transform 放在同一个元素上，动画会吞掉视差写入。 */
        .image-wall-section {
            /* 一行「卡宽 + 间距」的步距：桌面 420+12=432，≤768px 时 260+12=272。
               行2 的半卡错位由它推导，将来改卡宽必须同步改这里 */
            --wall-pitch: 432px;
            /* 自动流动线速度 60px/s → 时长 = 周期 / 60 = n × 步距 / 60
               行1 n=11 → 4752/60 = 79.2s；行2 n=10 → 4320/60 = 72s（两行同线速度） */
            --wall-dur-1: 79.2s;
            --wall-dur-2: 72s;
            width: 100%;
            padding: 0;
            background: #f5f5f7;
            overflow: hidden;
        }
        .image-wall-row {
            width: 100%;
            overflow: hidden;
            margin-bottom: 12px;        /* 两行之间 gap-3 */
            contain: paint;
        }
        .image-wall-row:last-child { margin-bottom: 0; }

        /* 视差层：只由 JS 在滚动时写 transform，与下层的 CSS 动画天然叠加 */
        .image-wall-parallax {
            will-change: transform;     /* 单独提层，滚动时只做 GPU 位移 */
        }

        /* 自动流动层：无限循环 */
        .image-wall-track {
            display: flex;
            gap: 12px;                  /* 卡片之间 gap-3 */
            width: max-content;
            /* 关键：尾部补一个 gap 的 padding，使 border-box 宽度精确 = 3P。
               内容宽 = 3n·W + (3n-1)·g，而 3P = 3n·W + 3n·g，两者恰好差一个 g；
               补上后 border-box = 3P，于是 translateX(calc(-100% / 3)) 精确等于一个周期 -P，
               与卡宽 / 断点 / 张数全部无关，同时保证循环接缝处逐像素一致 */
            padding-right: 12px;
            will-change: transform;
            transform: translate3d(0, 0, 0);
            backface-visibility: hidden;
            -webkit-backface-visibility: hidden;
            animation: wallFlowRight var(--wall-dur-1) linear infinite;
        }
        /* 第 2 行：反向流动 + 整体左移半张卡。
           margin 不属于 border-box，不会破坏上面的 1/3 周期技巧。
           反向流动下错位无法永久固定，这条只保证首屏 t=0 处于最大错位状态——
           否则第一眼看到的就是两行列位对齐的「网格」 */
        .image-wall-row[data-row="1"] .image-wall-track {
            animation-name: wallFlowLeft;
            animation-duration: var(--wall-dur-2);
            margin-left: calc(var(--wall-pitch) / -2);
        }

        /* 自动流动：整体平移恰好一个周期后无缝跳回（接缝处画面逐像素一致） */
        @keyframes wallFlowRight {
            from { transform: translateX(calc(-100% / 3)); }
            to   { transform: translateX(0); }
        }
        @keyframes wallFlowLeft {
            from { transform: translateX(0); }
            to   { transform: translateX(calc(-100% / 3)); }
        }

        .image-wall-card {
            width: 420px;
            height: 270px;
            flex: 0 0 auto;
            position: relative;
            overflow: hidden;
            border-radius: 16px;        /* rounded-2xl */
            display: block;
            background: rgba(0, 0, 0, 0.04);   /* 懒加载期间的占位底色，防闪白 */
            transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1),
                        box-shadow 0.5s cubic-bezier(0.23, 1, 0.32, 1);
            transform-style: preserve-3d;
            will-change: transform;
        }
        .image-wall-card .image-wall-img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 16px;
            display: block;
            pointer-events: none;
        }
        @media (hover: hover) and (pointer: fine) {
            .image-wall-card:hover {
                transform: translateY(-4px) scale(1.03);
                box-shadow: 0 12px 32px rgba(0, 0, 0, 0.14);
            }
            /* 悬停暂停自动流动（滚动视差不受影响，仍会响应） */
            .image-wall-section:hover .image-wall-track { animation-play-state: paused; }
        }
        /* 离屏暂停：JS 用 IntersectionObserver 切换 .is-hidden。
           放 hover 规则之后，同特异性下源序靠后者胜出 */
        .image-wall-section.is-hidden .image-wall-track { animation-play-state: paused; }

        @media (max-width: 768px) {
            .image-wall-section {
                --wall-pitch: 272px;    /* 260 + 12 */
                --wall-dur-1: 49.867s;  /* 11 × 272 / 60 */
                --wall-dur-2: 45.333s;  /* 10 × 272 / 60 */
            }
            .image-wall-card { width: 260px; height: 168px; }
        }
        /* 尊重系统「减少动态效果」：关闭自动流动（JS 侧同步停止视差）。
           选择器写到 3 个类，才能盖住上面 .image-wall-row[data-row="1"] 那条的
           animation-name / animation-duration，且必须放在文件最后 */
        @media (prefers-reduced-motion: reduce) {
            .image-wall-section .image-wall-row .image-wall-track { animation: none; }
        }
