@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;500;700&display=swap');

/* 核心基础设置 */
html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    /* 优先使用系统字体及优雅的无衬线字体 */
    font-family: 'Helvetica Neue', 'Arial', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
    color: #1a1a1a;
    background-color: #ffffff;
    overflow-x: hidden;
}

/* 高端感交互：文本选中反色 */
::selection {
    background: #1a1a1a;
    color: #ffffff;
}

/* 动效工具类 */
.hover-zoom-img {
    transition: transform 0.7s cubic-bezier(0.215, 0.61, 0.355, 1);
    will-change: transform;
}

.group:hover .hover-zoom-img {
    transform: scale(1.03);
}

/* 页面加载过渡动画 */
.fade-in-up {
    animation: fadeInUp 0.8s cubic-bezier(0.215, 0.61, 0.355, 1) forwards;
    opacity: 0;
    transform: translateY(30px);
}

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 滚动条美化 (极简灰调) */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: #e5e5e5;
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: #a3a3a3;
}

/* Firefox 滚动条 */
* {
    scrollbar-width: thin;
    scrollbar-color: #e5e5e5 transparent;
}

/* 隐藏特定区域滚动条 */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}
.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* 视觉优化 */
.text-balance {
    text-wrap: balance;
}