/* 引入字体: Inter (英文) & Noto Sans SC (中文) */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Noto+Sans+SC:wght@300;400;500;700&display=swap');

:root {
  --color-primary: #1a1a1a;
  --color-secondary: #4a4a4a;
  --transition-smooth: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

/* 全局基础设置 */
body {
  font-family: 'Inter', 'Noto Sans SC', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: #ffffff;
  color: var(--color-primary);
  overflow-x: hidden; /* 防止水平溢出 */
}

/* 滚动条美化 (极简风格) */
::-webkit-scrollbar {
  width: 4px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: 2px;
}
::-webkit-scrollbar-thumb:hover {
  background: #9ca3af;
}

/* 全局平滑滚动 */
html {
  scroll-behavior: smooth;
}

/* === 造型页面 (Looks) 专属样式 === */
/* 实现全屏纵向滚动吸附效果 */
.snap-container {
  height: 100vh;
  width: 100vw;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
}

.snap-section {
  height: 100vh;
  width: 100vw;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* === 交互动画工具类 === */

/* 图片轻微缩放悬停效果 */
.img-zoom-container {
  overflow: hidden;
  display: block;
}
.img-zoom-container img {
  transition: transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.img-zoom-container:hover img {
  transform: scale(1.03);
}

/* 导航链接下划线动效 */
.nav-link {
  position: relative;
  display: inline-block;
}
.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 1px;
  bottom: -4px;
  left: 0;
  background-color: currentColor;
  transition: width 0.3s ease;
}
.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* 极简淡入向上动画 */
.fade-up {
  animation: fadeInUp 0.8s ease-out forwards;
  opacity: 0;
  transform: translateY(20px);
}
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }

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

/* 移动端全屏高度适配 hack */
@supports (-webkit-touch-callout: none) {
  .h-screen-ios {
    height: -webkit-fill-available;
  }
}

/* 隐藏滚动条工具类 */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}