/* ========================================
   PORTFOLIO — 个人作品集
   三维动画 · 静态渲染 · AIGC 创作
   Premium CSS with Glass Morphism & Themes
   ======================================== */

/* === 防下载保护 === */
img, video {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
    -webkit-touch-callout: none;
    pointer-events: auto;
}

/* Lightbox 图片额外保护层 */
.lightbox-image-wrapper {
    position: relative;
}
.lightbox-image-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}

/* 缩略图区域禁止右键保存 */
.work-thumbnail img,
.gallery-item img,
.aigc-image-wrap img,
.partner-logo-wrap img {
    pointer-events: auto;
}

.work-thumbnail,
.gallery-item,
.aigc-image-wrap,
.partner-logo-wrap {
    position: relative;
}

/* 透明覆盖层 — 不影响点击但阻止右键保存图片 */
.work-thumbnail::after,
.aigc-image-wrap::after,
.partner-logo-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

/* 画廊项需要点击穿透覆盖层来保留交互 */
.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

/* === 水印系统 === */
.watermark-global {
    position: fixed;
    inset: 0;
    z-index: 999;
    pointer-events: none;
    background-repeat: repeat;
    opacity: 0.08;
    transition: opacity 0.4s var(--ease-out);
}
[data-theme="dark"] .watermark-global { opacity: 0.1; }

.watermark-overlay {
    position: absolute;
    inset: 0;
    z-index: 5;
    pointer-events: none;
    background-repeat: repeat;
    opacity: 0.22;
}

/* === 主题变量 === */
:root {
    --bg-primary: #fafaf9;
    --bg-secondary: #f5f5f4;
    --bg-elevated: #ffffff;
    --bg-glass: rgba(255, 255, 255, 0.6);
    --bg-glass-hover: rgba(255, 255, 255, 0.8);
    --bg-overlay: rgba(250, 250, 249, 0.95);

    --text-primary: #1c1917;
    --text-secondary: #57534e;
    --text-tertiary: #a8a29e;
    --text-inverse: #fafaf9;

    --border-color: rgba(28, 25, 23, 0.08);
    --border-strong: rgba(28, 25, 23, 0.15);

    --accent: #7c3aed;
    --accent-light: #a78bfa;
    --accent-dark: #6d28d9;
    --accent-glow: rgba(124, 58, 237, 0.3);
    --accent-soft: rgba(124, 58, 237, 0.08);

    --gradient-1: #7c3aed;
    --gradient-2: #ec4899;
    --gradient-3: #06b6d4;

    --shadow-sm: 0 1px 2px rgba(28, 25, 23, 0.04);
    --shadow-md: 0 4px 12px rgba(28, 25, 23, 0.06), 0 1px 3px rgba(28, 25, 23, 0.04);
    --shadow-lg: 0 12px 32px rgba(28, 25, 23, 0.08), 0 4px 8px rgba(28, 25, 23, 0.04);
    --shadow-xl: 0 24px 64px rgba(28, 25, 23, 0.12), 0 8px 16px rgba(28, 25, 23, 0.06);
    --shadow-glow: 0 0 40px var(--accent-glow);

    --nav-bg: rgba(250, 250, 249, 0.7);
    --card-bg: rgba(255, 255, 255, 0.5);
    --card-border: rgba(28, 25, 23, 0.06);

    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
}

[data-theme="dark"] {
    --bg-primary: #0c0a09;
    --bg-secondary: #161412;
    --bg-elevated: #1c1917;
    --bg-glass: rgba(28, 25, 23, 0.6);
    --bg-glass-hover: rgba(28, 25, 23, 0.8);
    --bg-overlay: rgba(12, 10, 9, 0.95);

    --text-primary: #fafaf9;
    --text-secondary: #d6d3d1;
    --text-tertiary: #78716c;
    --text-inverse: #0c0a09;

    --border-color: rgba(250, 250, 249, 0.08);
    --border-strong: rgba(250, 250, 249, 0.15);

    --accent: #a78bfa;
    --accent-light: #c4b5fd;
    --accent-dark: #7c3aed;
    --accent-glow: rgba(167, 139, 250, 0.4);
    --accent-soft: rgba(167, 139, 250, 0.12);

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.3), 0 1px 3px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.4), 0 4px 8px rgba(0, 0, 0, 0.2);
    --shadow-xl: 0 24px 64px rgba(0, 0, 0, 0.5), 0 8px 16px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 60px var(--accent-glow);

    --nav-bg: rgba(12, 10, 9, 0.7);
    --card-bg: rgba(28, 25, 23, 0.5);
    --card-border: rgba(250, 250, 249, 0.06);
}

/* === 基础重置 === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background 0.4s var(--ease-out), color 0.4s var(--ease-out);
}

body.modal-open, body.lightbox-open { overflow: hidden; }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; border: none; background: none; cursor: pointer; color: inherit; }
img, video { max-width: 100%; display: block; }

::selection { background: var(--accent); color: white; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-secondary); }
::-webkit-scrollbar-thumb { background: var(--text-tertiary); border-radius: 5px; border: 2px solid var(--bg-secondary); }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* === 自定义光标 === */
.cursor-dot, .cursor-ring {
    position: fixed; border-radius: 50%; pointer-events: none;
    z-index: 9999; mix-blend-mode: difference;
}
.cursor-dot {
    width: 8px; height: 8px; background: white;
    transition: transform 0.15s var(--ease-out);
}
.cursor-ring {
    width: 36px; height: 36px;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    transition: transform 0.3s var(--ease-out), width 0.3s, height 0.3s;
}
.cursor-ring.hover { width: 56px; height: 56px; border-color: var(--accent); }
@media (max-width: 768px) { .cursor-dot, .cursor-ring { display: none; } }

/* === 滚动进度条 === */
.scroll-progress {
    position: fixed; top: 0; left: 0; width: 0%; height: 3px;
    background: linear-gradient(90deg, var(--gradient-1), var(--gradient-2), var(--gradient-3));
    z-index: 10000; transition: width 0.1s linear;
}

/* === 导航栏 === */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    padding: 20px 0; transition: all 0.4s var(--ease-out);
}
.navbar.scrolled {
    padding: 12px 0;
    background: var(--nav-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border-color);
}
.nav-container {
    max-width: 1280px; margin: 0 auto; padding: 0 32px;
    display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
    display: flex; align-items: center; gap: 10px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700; font-size: 18px; letter-spacing: 0.05em;
    transition: opacity 0.3s var(--ease-out);
}
.nav-logo:hover { opacity: 0.7; }
.logo-mark { font-size: 24px; color: var(--accent); }
.nav-links { display: flex; gap: 8px; }
.nav-link {
    padding: 8px 16px; font-size: 14px; font-weight: 500;
    color: var(--text-secondary); border-radius: var(--radius-sm);
    position: relative; transition: color 0.3s var(--ease-out);
}
.nav-link::after {
    content: ''; position: absolute; bottom: 4px; left: 50%;
    width: 0; height: 2px; background: var(--accent);
    transition: all 0.3s var(--ease-out); transform: translateX(-50%);
}
.nav-link:hover { color: var(--text-primary); }
.nav-link:hover::after { width: 40%; }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.theme-toggle {
    width: 40px; height: 40px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s var(--ease-out);
    position: relative; overflow: hidden;
}
.theme-toggle:hover { border-color: var(--accent); transform: rotate(15deg); }
.theme-toggle svg { width: 18px; height: 18px; position: absolute; transition: all 0.4s var(--ease-spring); }
.icon-sun { opacity: 1; transform: rotate(0) scale(1); }
.icon-moon { opacity: 0; transform: rotate(90deg) scale(0); }
[data-theme="dark"] .icon-sun { opacity: 0; transform: rotate(-90deg) scale(0); }
[data-theme="dark"] .icon-moon { opacity: 1; transform: rotate(0) scale(1); }

.menu-toggle {
    display: none; flex-direction: column; gap: 5px; padding: 8px;
}
.menu-toggle span {
    width: 24px; height: 2px; background: var(--text-primary);
    border-radius: 2px; transition: all 0.3s var(--ease-out);
}
.menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { transform: translateY(-7px) rotate(-45deg); }

/* === 通用按钮 === */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 8px; padding: 14px 28px; font-size: 15px; font-weight: 500;
    border-radius: var(--radius-md); transition: all 0.3s var(--ease-out);
    position: relative; overflow: hidden; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform 0.3s var(--ease-out); }
.btn-primary {
    background: var(--accent); color: white;
    box-shadow: 0 4px 16px var(--accent-glow);
}
.btn-primary::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, var(--gradient-1), var(--gradient-2));
    opacity: 0; transition: opacity 0.3s var(--ease-out);
}
.btn-primary span, .btn-primary svg { position: relative; z-index: 1; }
.btn-primary:hover::before { opacity: 1; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px var(--accent-glow); }
.btn-primary:hover svg { transform: translateX(4px); }
.btn-ghost {
    background: var(--bg-glass); color: var(--text-primary);
    border: 1px solid var(--border-strong); backdrop-filter: blur(10px);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.btn-full { width: 100%; }

/* === Hero 区域 === */
.hero {
    min-height: 100vh; display: flex; align-items: center;
    justify-content: center; position: relative; overflow: hidden;
    padding: 120px 32px 120px;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(var(--border-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--border-color) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 70%);
    opacity: 0.5;
}
.hero-glow {
    position: absolute; border-radius: 50%; filter: blur(80px);
    opacity: 0.3; animation: float 12s ease-in-out infinite;
}
.glow-1 { width: 500px; height: 500px; background: var(--gradient-1); top: 10%; right: 5%; }
.glow-2 { width: 400px; height: 400px; background: var(--gradient-3); bottom: 5%; left: 5%; animation-delay: -4s; }
@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}
.hero-content { position: relative; z-index: 1; max-width: 900px; text-align: center; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 16px; background: var(--bg-glass);
    border: 1px solid var(--border-color); border-radius: 50px;
    font-size: 13px; font-weight: 500; color: var(--text-secondary);
    backdrop-filter: blur(10px); margin-bottom: 32px;
}
.badge-dot {
    width: 8px; height: 8px; background: #22c55e; border-radius: 50%;
    box-shadow: 0 0 8px #22c55e; animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(0.8); }
}
.hero-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700; line-height: 1.05;
    letter-spacing: -0.03em; margin-bottom: 28px;
}
.title-line { display: block; }
.gradient-text {
    background: linear-gradient(135deg, var(--gradient-1), var(--gradient-2), var(--gradient-3));
    background-size: 200% auto;
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient-shift 6s ease-in-out infinite;
}
@keyframes gradient-shift {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 100% center; }
}
.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem); color: var(--text-secondary);
    max-width: 600px; margin: 0 auto 40px; line-height: 1.7;
}
.hero-actions { display: flex; gap: 16px; justify-content: center; margin-bottom: 64px; flex-wrap: wrap; }
.hero-stats { display: flex; align-items: center; justify-content: center; gap: 32px; margin-bottom: 80px; }
.stat { text-align: center; }
.stat-num {
    display: block; font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem); font-weight: 700;
    color: var(--text-primary); line-height: 1;
}
.stat-label { font-size: 13px; color: var(--text-tertiary); margin-top: 4px; display: block; }
.stat-divider { width: 1px; height: 40px; background: var(--border-strong); }
.hero-scroll {
    position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 12px;
    font-size: 12px; color: var(--text-tertiary); letter-spacing: 0.1em; text-transform: uppercase;
}
.scroll-line {
    width: 1px; height: 40px;
    background: linear-gradient(to bottom, var(--accent), transparent);
    position: relative; overflow: hidden;
}
.scroll-line::after {
    content: ''; position: absolute; top: -40px; left: 0;
    width: 100%; height: 40px; background: var(--accent);
    animation: scroll-down 2s ease-in-out infinite;
}
@keyframes scroll-down {
    0% { top: -40px; }
    100% { top: 40px; }
}

/* === 通用 Section === */
section { padding: 120px 32px; position: relative; }
.section-header { max-width: 1280px; margin: 0 auto 64px; text-align: center; }
.section-label {
    display: inline-block; font-size: 13px; font-weight: 500;
    color: var(--accent); letter-spacing: 0.15em; text-transform: uppercase;
    margin-bottom: 16px;
}
.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700; line-height: 1.1; letter-spacing: -0.02em;
    margin-bottom: 16px;
}
.section-desc {
    font-size: 1.05rem; color: var(--text-secondary);
    max-width: 600px; margin: 0 auto; line-height: 1.7;
}

/* === 作品区（通用） === */
.works.rendering { background: var(--bg-secondary); }
.works.aigc { background: var(--bg-primary); }

/* === 三维动画卡片 === */
.works-grid {
    max-width: 1280px; margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 24px;
}
.work-card {
    position: relative; border-radius: var(--radius-lg); overflow: hidden;
    cursor: pointer; background: var(--bg-elevated);
    border: 1px solid var(--card-border);
    transition: all 0.4s var(--ease-out);
    aspect-ratio: 16 / 10;
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    animation: card-in 0.6s var(--ease-out) forwards;
}
.work-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent);
}
.work-thumbnail { position: absolute; inset: 0; overflow: hidden; }
.work-thumbnail img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}
.work-card:hover .work-thumbnail img { transform: scale(1.08); }
.work-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 50%, transparent 100%);
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: 24px; transition: background 0.4s var(--ease-out);
}
.play-icon {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    width: 64px; height: 64px;
    background: rgba(255,255,255,0.15); backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.4); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: all 0.4s var(--ease-spring);
}
.play-icon svg { width: 24px; height: 24px; color: white; margin-left: 3px; }
.work-card:hover .play-icon { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.work-cat {
    display: inline-block; padding: 4px 12px; font-size: 11px;
    font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
    color: white; background: var(--accent); border-radius: 50px;
    margin-bottom: 12px; align-self: flex-start;
}
.work-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.35rem; font-weight: 600; color: white; margin-bottom: 4px;
}
.work-meta {
    font-size: 13px; color: rgba(255,255,255,0.7);
    display: flex; align-items: center; gap: 12px;
}

/* === 静态渲染 · 瀑布流画廊 === */
.masonry-gallery {
    max-width: 1280px; margin: 0 auto;
    columns: 3; column-gap: 24px;
}
.gallery-item {
    break-inside: avoid; margin-bottom: 24px;
    border-radius: var(--radius-lg); overflow: hidden;
    cursor: pointer; position: relative;
    background: var(--bg-elevated);
    border: 1px solid var(--card-border);
    transition: all 0.4s var(--ease-out);
    opacity: 0; transform: translateY(30px);
    animation: card-in 0.6s var(--ease-out) forwards;
}
.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent);
}
.gallery-item img {
    width: 100%; height: auto; display: block;
    transition: transform 0.6s var(--ease-out);
}
.gallery-item:hover img { transform: scale(1.04); }
.gallery-caption {
    padding: 16px 20px;
    background: linear-gradient(to top, var(--bg-elevated), transparent);
}
.gallery-caption h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem; font-weight: 600; margin-bottom: 4px;
}
.gallery-caption .gallery-meta {
    font-size: 13px; color: var(--text-tertiary);
    display: flex; align-items: center; gap: 12px;
}
.gallery-zoom {
    position: absolute; top: 16px; right: 16px;
    width: 40px; height: 40px; border-radius: 50%;
    background: rgba(0,0,0,0.5); backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.2);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transform: scale(0.7);
    transition: all 0.3s var(--ease-spring);
}
.gallery-zoom svg { width: 16px; height: 16px; color: white; }
.gallery-item:hover .gallery-zoom { opacity: 1; transform: scale(1); }

/* === AIGC 作品网格 === */
.aigc-grid {
    max-width: 1280px; margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}
.aigc-card {
    border-radius: var(--radius-lg); overflow: hidden;
    background: var(--bg-elevated);
    border: 1px solid var(--card-border);
    cursor: pointer; transition: all 0.4s var(--ease-out);
    opacity: 0; transform: translateY(30px);
    animation: card-in 0.6s var(--ease-out) forwards;
}
.aigc-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent);
}
.aigc-image-wrap {
    position: relative; overflow: hidden; aspect-ratio: 1;
}
.aigc-image-wrap img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}
.aigc-card:hover .aigc-image-wrap img { transform: scale(1.06); }
.aigc-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    display: flex; align-items: flex-end; padding: 16px;
    opacity: 0; transition: opacity 0.3s var(--ease-out);
}
.aigc-card:hover .aigc-overlay { opacity: 1; }
.aigc-tool-tag {
    padding: 4px 10px; font-size: 11px; font-weight: 600;
    letter-spacing: 0.05em; color: white;
    background: var(--accent); border-radius: 6px;
}
.aigc-info { padding: 16px 20px; }
.aigc-info h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem; font-weight: 600; margin-bottom: 8px;
}
.aigc-prompt-preview {
    font-size: 13px; color: var(--text-secondary);
    line-height: 1.5; display: -webkit-box;
    -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden;
}
.aigc-card-date {
    font-size: 12px; color: var(--text-tertiary); margin-top: 8px;
}

/* === 加载更多按钮 === */
.load-more-wrap {
    display: flex; justify-content: center;
    margin-top: 48px; padding-top: 8px;
}
.btn-load-more {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 36px;
    font-family: inherit; font-size: 15px; font-weight: 600;
    color: var(--text-primary); background: var(--bg-elevated);
    border: 1.5px solid var(--border-strong); border-radius: 50px;
    cursor: pointer; outline: none;
    transition: all 0.35s var(--ease-out);
}
.btn-load-more:hover {
    color: var(--accent); border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--accent-soft);
}
.btn-load-more:active { transform: translateY(0); }
.btn-load-more svg {
    width: 18px; height: 18px;
    transition: transform 0.3s var(--ease-out);
}
.btn-load-more:hover svg { transform: translateY(2px); }

/* === 合作品牌 === */
.partners { background: var(--bg-primary); }
.partner-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 24px;
    max-width: 1280px;
    margin: 48px auto 0;
    padding: 0 24px;
}
.partner-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 28px 16px 20px;
    border-radius: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    cursor: default;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    animation: fadeInUp 0.6s var(--ease-out) both;
    overflow: hidden;
}
.partner-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, var(--accent), transparent 70%);
    opacity: 0;
    transition: opacity 0.35s var(--ease-out);
}
.partner-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent);
    box-shadow: 0 12px 40px rgba(124, 58, 237, 0.15);
}
.partner-card:hover::before { opacity: 0.06; }
.partner-logo-wrap {
    width: 100%;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}
.partner-logo-wrap img {
    max-width: 100%;
    max-height: 48px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.65;
    transition: all 0.35s var(--ease-out);
}
.partner-card:hover .partner-logo-wrap img {
    filter: grayscale(0%);
    opacity: 1;
}
.partner-logo-fallback {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 0.02em;
    color: var(--text-secondary);
    text-align: center;
    line-height: 1.2;
    transition: color 0.35s var(--ease-out);
    position: relative;
    z-index: 1;
}
.partner-card:hover .partner-logo-fallback {
    color: var(--text-primary);
}
.partner-name {
    font-size: 12px;
    color: var(--text-tertiary);
    margin-top: 10px;
    text-align: center;
    position: relative;
    z-index: 1;
    transition: color 0.35s var(--ease-out);
}
.partner-card:hover .partner-name {
    color: var(--text-secondary);
}

/* === 关于 === */
.about { background: var(--bg-secondary); }
.about-container {
    max-width: 1280px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
    align-items: start;
}
.about-text .section-label, .about-text .section-title { text-align: left; }
.about-desc {
    font-size: 1.05rem; color: var(--text-secondary);
    line-height: 1.8; margin-bottom: 28px;
}
.about-tags {
    display: flex; flex-wrap: wrap; gap: 10px;
}
.about-tags span {
    padding: 6px 14px; font-size: 13px; font-weight: 500;
    color: var(--accent); background: var(--accent-soft);
    border: 1px solid rgba(124,58,237,0.15); border-radius: 50px;
    transition: all 0.3s var(--ease-out);
}
.about-tags span:hover {
    background: var(--accent); color: white; border-color: var(--accent);
}
.about-visual { display: flex; justify-content: center; }
.visual-card {
    width: 100%; max-width: 400px; aspect-ratio: 3/4;
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    position: relative; overflow: hidden;
    display: flex; align-items: center; justify-content: center;
    box-shadow: var(--shadow-xl);
}
.visual-glow {
    position: absolute; width: 200%; height: 200%;
    background: conic-gradient(
        from 0deg,
        var(--gradient-1), var(--gradient-2), var(--gradient-3), var(--gradient-1)
    );
    animation: rotate 10s linear infinite; opacity: 0.3;
}
@keyframes rotate { to { transform: rotate(360deg); } }
.visual-content { position: relative; z-index: 1; text-align: center; color: white; }
.avatar-placeholder {
    width: 80px; height: 80px; margin: 0 auto 20px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    border: 2px solid rgba(255,255,255,0.3);
    display: flex; align-items: center; justify-content: center;
}
.avatar-placeholder svg { width: 36px; height: 36px; color: rgba(255,255,255,0.8); }
.visual-label {
    font-size: 14px; letter-spacing: 0.1em;
    text-transform: uppercase; color: rgba(255,255,255,0.7);
    margin-bottom: 8px;
}
.visual-quote {
    font-size: 16px; font-style: italic;
    color: rgba(255,255,255,0.6);
}

/* === 个人信息 === */
.info { background: var(--bg-primary); overflow: hidden; }
.info-container { max-width: 900px; margin: 0 auto; position: relative; }
.info-glow {
    position: absolute; top: -80px; left: 50%; transform: translateX(-50%);
    width: 500px; height: 500px; background: var(--accent);
    filter: blur(140px); opacity: 0.12; border-radius: 50%; pointer-events: none;
}
.info-header { text-align: center; margin-bottom: 48px; }
.info-card {
    position: relative; z-index: 1;
    background: var(--card-bg);
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: 56px 48px;
    display: flex; flex-direction: column; align-items: center;
    gap: 40px;
    box-shadow: var(--shadow-lg);
    transition: box-shadow 0.4s var(--ease-out);
}
.info-card:hover { box-shadow: var(--shadow-xl), 0 0 60px var(--accent-glow); }
.info-avatar { position: relative; }
.avatar-ring {
    position: absolute; inset: -8px; border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--gradient-2), var(--gradient-3));
    mask: radial-gradient(circle 60px at center, transparent 58%, black 59%);
    -webkit-mask: radial-gradient(circle 60px at center, transparent 58%, black 59%);
    animation: ring-spin 6s linear infinite;
}
@keyframes ring-spin { to { transform: rotate(360deg); } }
.avatar-img {
    width: 120px; height: 120px; border-radius: 50%;
    background: var(--accent-soft);
    display: flex; align-items: center; justify-content: center;
    color: var(--accent); position: relative; z-index: 1;
    border: 3px solid var(--border-strong);
}
.avatar-img svg { width: 56px; height: 56px; }
.info-body {
    text-align: center;
    max-width: 640px;
}
.info-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.6rem, 3.6vw, 2.2rem);
    font-weight: 700; margin-bottom: 12px;
    color: var(--text-primary);
}
.info-bio {
    font-size: 1.05rem; color: var(--text-secondary);
    line-height: 1.7; margin-bottom: 40px;
}
.info-details {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 24px; margin-bottom: 40px;
    padding: 32px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}
.info-item {
    display: flex; flex-direction: column; align-items: center;
    gap: 12px; text-align: center;
    padding: 0 8px;
}
.info-icon {
    width: 44px; height: 44px; border-radius: 12px;
    background: var(--accent-soft); color: var(--accent);
    display: flex; align-items: center; justify-content: center;
    transition: transform 0.3s var(--ease-out), background 0.3s var(--ease-out);
}
.info-item:hover .info-icon {
    transform: scale(1.1);
    background: var(--accent); color: white;
}
.info-icon svg { width: 20px; height: 20px; }
.info-text { display: flex; flex-direction: column; gap: 2px; }
.info-label {
    font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em;
    color: var(--text-tertiary); font-weight: 500;
}
.info-value {
    font-size: 14px; color: var(--text-primary); font-weight: 500;
    word-break: break-all;
}
.info-social {
    display: flex; justify-content: center; gap: 12px;
    flex-wrap: wrap;
}
.social-link {
    display: flex; align-items: center; gap: 8px;
    padding: 10px 20px; border-radius: 50px;
    border: 1px solid var(--border-color);
    background: var(--bg-elevated);
    color: var(--text-secondary);
    font-size: 13px; font-weight: 500;
    transition: all 0.35s var(--ease-out);
    text-decoration: none;
}
.social-link:hover {
    color: var(--accent); border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px var(--accent-soft);
}
.social-link svg { width: 18px; height: 18px; flex-shrink: 0; }

/* === 页脚 === */
.footer {
    background: var(--bg-secondary); border-top: 1px solid var(--border-color);
    padding: 64px 32px 32px;
}
.footer-container {
    max-width: 1280px; margin: 0 auto;
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 24px; margin-bottom: 32px;
}
.footer-brand {
    display: flex; align-items: center; gap: 10px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700; font-size: 18px;
}
.footer-links { display: flex; gap: 24px; }
.footer-links a {
    font-size: 14px; color: var(--text-secondary);
    transition: color 0.3s var(--ease-out);
}
.footer-links a:hover { color: var(--accent); }
.footer-social { display: flex; gap: 16px; }
.footer-social a {
    font-size: 13px; color: var(--text-secondary);
    padding: 8px 16px; border: 1px solid var(--border-color);
    border-radius: 50px; transition: all 0.3s var(--ease-out);
}
.footer-social a:hover { color: var(--accent); border-color: var(--accent); transform: translateY(-2px); }
.footer-bottom {
    max-width: 1280px; margin: 0 auto; padding-top: 32px;
    border-top: 1px solid var(--border-color); text-align: center;
}
.footer-bottom p { font-size: 13px; color: var(--text-tertiary); }

/* ======================
   视频模态框
   ====================== */
.video-modal {
    position: fixed; inset: 0; z-index: 10000;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden;
    transition: all 0.4s var(--ease-out);
    padding: 32px;
}
.video-modal.active { opacity: 1; visibility: visible; }
.modal-backdrop {
    position: absolute; inset: 0;
    background: rgba(0,0,0,0.9); backdrop-filter: blur(20px);
}
.modal-content {
    position: relative; z-index: 1; width: 100%; max-width: 1000px;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.4s var(--ease-spring);
}
.video-modal.active .modal-content { transform: scale(1) translateY(0); }
.modal-close {
    position: absolute; top: -50px; right: 0;
    width: 44px; height: 44px; border-radius: 50%;
    background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
    display: flex; align-items: center; justify-content: center;
    transition: all 0.3s var(--ease-out); z-index: 2;
}
.modal-close svg { width: 20px; height: 20px; color: white; }
.modal-close:hover { background: var(--accent); border-color: var(--accent); transform: rotate(90deg); }
.video-wrapper {
    position: relative; width: 100%; aspect-ratio: 16/9;
    background: black; border-radius: var(--radius-lg);
    overflow: hidden; box-shadow: 0 0 80px rgba(0,0,0,0.5);
}
.video-wrapper video { width: 100%; height: 100%; object-fit: contain; }
.modal-info { padding: 20px 0 0; color: white; }
.modal-info h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem; font-weight: 600; margin-bottom: 8px;
}
.modal-info p { font-size: 14px; color: rgba(255,255,255,0.7); }

/* ======================
   图片 Lightbox
   ====================== */
.lightbox {
    position: fixed; inset: 0; z-index: 10000;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden;
    transition: all 0.4s var(--ease-out);
    padding: 60px 32px;
}
.lightbox.active { opacity: 1; visibility: visible; }
.lightbox-backdrop {
    position: absolute; inset: 0;
    background: rgba(0,0,0,0.92); backdrop-filter: blur(20px);
}
.lightbox-content {
    position: relative; z-index: 1;
    max-width: min(90vw, 1200px); width: 100%;
    display: flex; flex-direction: column; align-items: center;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.4s var(--ease-spring);
}
.lightbox.active .lightbox-content { transform: scale(1) translateY(0); }
.lightbox-close {
    position: absolute; top: -50px; right: 0;
    width: 44px; height: 44px; border-radius: 50%;
    background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
    display: flex; align-items: center; justify-content: center;
    transition: all 0.3s var(--ease-out); z-index: 3;
}
.lightbox-close svg { width: 20px; height: 20px; color: white; }
.lightbox-close:hover { background: var(--accent); border-color: var(--accent); transform: rotate(90deg); }
.lightbox-nav {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 48px; height: 48px; border-radius: 50%;
    background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
    display: flex; align-items: center; justify-content: center;
    z-index: 3; transition: all 0.3s var(--ease-out);
    backdrop-filter: blur(8px);
}
.lightbox-nav svg { width: 22px; height: 22px; color: white; }
.lightbox-nav:hover { background: rgba(255,255,255,0.2); }
.lightbox-prev { left: -64px; }
.lightbox-next { right: -64px; }
.lightbox-image-wrapper {
    width: 100%; max-height: 65vh;
    border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: 0 0 80px rgba(0,0,0,0.5);
}
.lightbox-image-wrapper img {
    width: 100%; height: 100%; max-height: 65vh;
    object-fit: contain; background: #111;
}
.lightbox-info {
    width: 100%; padding: 20px 4px 0; color: white; text-align: center;
}
.lightbox-counter {
    font-size: 12px; color: rgba(255,255,255,0.4);
    display: block; margin-bottom: 8px;
}
.lightbox-info h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.3rem; font-weight: 600; margin-bottom: 6px;
}
.lightbox-info p {
    font-size: 14px; color: rgba(255,255,255,0.6);
}
.lightbox-prompt {
    margin-top: 12px; padding: 12px 20px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-sm); display: none;
}
.lightbox-prompt.visible { display: block; }
.lightbox-prompt .prompt-label {
    font-size: 11px; font-weight: 600; letter-spacing: 0.1em;
    text-transform: uppercase; color: var(--accent); margin-bottom: 6px;
    display: block;
}
.lightbox-prompt .prompt-text {
    font-size: 13px; color: rgba(255,255,255,0.7);
    line-height: 1.5; word-break: break-word;
    font-family: 'Space Grotesk', monospace;
}

/* === Toast === */
.toast {
    position: fixed; bottom: 32px; left: 50%;
    transform: translateX(-50%) translateY(120%);
    padding: 14px 28px;
    background: var(--bg-elevated); border: 1px solid var(--accent);
    border-radius: 50px; font-size: 14px; font-weight: 500;
    color: var(--text-primary); box-shadow: var(--shadow-lg);
    z-index: 10001; transition: transform 0.4s var(--ease-spring);
    display: flex; align-items: center; gap: 8px;
}
.toast.show { transform: translateX(-50%) translateY(0); }
.toast::before {
    content: ''; width: 8px; height: 8px;
    background: #22c55e; border-radius: 50%;
}

/* === 滚动动画 === */
.reveal {
    opacity: 0; transform: translateY(40px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

@keyframes card-in {
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ======================
   响应式
   ====================== */
@media (max-width: 1024px) {
    .about-container { grid-template-columns: 1fr; gap: 48px; }
    .about-visual { order: -1; }
    .visual-card { max-width: 300px; }
    .masonry-gallery { columns: 2; }
    .partner-grid { grid-template-columns: repeat(4, 1fr); }
    .lightbox-nav { display: none; }
    .lightbox { padding: 40px 16px; }
    .lightbox-close { top: -44px; }
}

@media (max-width: 768px) {
    section { padding: 80px 20px; }
    .nav-links {
        position: fixed; top: 0; right: -100%;
        width: 75%; height: 100vh;
        background: var(--bg-overlay);
        backdrop-filter: blur(20px);
        flex-direction: column; justify-content: center;
        align-items: center; gap: 16px;
        transition: right 0.4s var(--ease-out); z-index: 999;
    }
    .nav-links.open { right: 0; }
    .nav-link { font-size: 20px; }
    .menu-toggle { display: flex; z-index: 1000; }
    .works-grid { grid-template-columns: 1fr; }
    .aigc-grid { grid-template-columns: 1fr; }
    .masonry-gallery { columns: 1; }
    .partner-grid { grid-template-columns: repeat(2, 1fr); }
    .info-details { grid-template-columns: 1fr; gap: 20px; padding: 24px 0; }
    .hero-stats { gap: 16px; }
    .stat-divider { height: 30px; }
    .hero-actions { flex-direction: column; width: 100%; }
    .hero-actions .btn { width: 100%; }
    .footer-container { flex-direction: column; text-align: center; }
    .modal-close, .lightbox-close { top: -48px; }
    .lightbox-content { max-width: 95vw; }
    .info-card { padding: 40px 24px; }
    .info-social { gap: 8px; }
    .social-link { padding: 10px 16px; font-size: 12px; }
    .social-link span { display: none; }
    .social-link svg { width: 20px; height: 20px; }
}
