/* 基础样式 */
body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    scroll-behavior: smooth;
}

/* 导航链接激活状态 */
.nav-link.active {
    color: #22d3ee;
    font-weight: 500;
}

/* 3D场景容器 */
#scene-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* 作品预览悬停效果 */
.work-preview {
    transition: all 0.3s ease;
}

.work-preview:hover {
    background-color: #1f2937;
    transform: scale(1.02);
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #111827;
}

::-webkit-scrollbar-thumb {
    background: #374151;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #06b6d4;
}

/* 页面平滑滚动 */
html {
    scroll-behavior: smooth;
}

/* 防止3D场景遮挡交互 */
main > section {
    position: relative;
    z-index: 1;
}

/* 移动端菜单动画 */
#mobileMenu {
    transition: all 0.3s ease-in-out;
}