/* =========================================
   AINFT Foundation - Pixel-Perfect Replica
   ========================================= */

:root {
  --bg: #FAFAFA;
  --fg: #000000;
  --black: #000000;
  --white: #FFFFFF;
  --pad: 60px; /* Increased padding for content inset */
  --pad-inner: 120px; /* Inner content padding */
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94); /* 更柔和的缓动曲线 */
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1); /* 标准平滑缓动 */
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1); /* 超柔和缓动 */
  --font: 'Inter', 'Helvetica Neue', -apple-system, BlinkMacSystemFont, 'SF Pro Text', sans-serif;
  --nav-height: 80px;
  }
  
* { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0; height: 100%;
    font-family: var(--font);
  font-size: 16px; /* Base font size ≥16px */
    background: var(--bg);
    color: var(--fg);
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  }

/* Logo Styles */
.logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--fg);
  transition: color 600ms var(--ease-soft);
  }
.logo__mark {
  width: 24px; height: 24px;
  border: 2px solid currentColor;
    transform: rotate(45deg);
  position: relative;
  transition: border-color 600ms var(--ease-soft);
}
.logo__mark::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 8px; height: 8px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: background-color 600ms var(--ease-soft);
  }
.logo__text {
  font-weight: 700; letter-spacing: 0.1em; font-size: 18px;
  transition: color 600ms var(--ease-soft);
  }
.logo--white { color: #fff; }

/* 当关于我们版块激活时，Logo 变为白色 */
.topbar.is-dark .logo {
  color: rgba(255, 255, 255, 0.95);
}
.topbar.is-dark .logo__mark {
  border-color: rgba(255, 255, 255, 0.95);
}
.topbar.is-dark .logo__mark::before {
  background-color: rgba(255, 255, 255, 0.95);
}
.topbar.is-dark .logo__text {
  color: rgba(255, 255, 255, 0.95);
}
  
/* =========================================
   A. Top Navigation
   ========================================= */
.topbar {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-height);
  z-index: 100;
  display: grid;
  grid-template-columns: 200px 1fr auto;
  align-items: center;
  padding: 0 var(--pad);
    background: transparent;
  transition: background 0.3s;
}
/* 确保 topbar 在 dark section 中前景元素可见 */
.section--dark ~ * .topbar,
.section--dark .topbar {
  z-index: 101; /* 确保在视频层上方 */
}
  
.topbar__left { display: flex; align-items: center; }

.topbar__center {
  display: flex; 
  justify-content: flex-end;
  gap: 10px;
  padding-right: 30px;
  }
  
.nav-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 20px;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: rgb(0, 0, 0);
  border: 1.5px solid rgba(0, 0, 0, 0.85);
  border-radius: 2px;
    background: transparent;
  white-space: nowrap;
  pointer-events: none;
  cursor: default;
  transition: 
    color 600ms var(--ease-soft),
    border-color 600ms var(--ease-soft),
    background-color 600ms var(--ease-soft);
  }

/* 当关于我们版块激活时，导航按钮变为白色 */
.topbar.is-dark .nav-tab {
  color: rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 255, 255, 0.5);
}

/* 可点击的导航按钮（平台治理） */
.nav-tab-link {
  text-decoration: none;
  pointer-events: auto;
  cursor: pointer;
}

.nav-tab-link:hover {
  background: rgba(0, 0, 0, 0.05);
}

.topbar.is-dark .nav-tab-link {
  color: rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 255, 255, 0.5);
}

.topbar.is-dark .nav-tab-link:hover {
  background: rgba(255, 255, 255, 0.1);
}
  
.topbar__right {
  display: flex; justify-content: flex-end; align-items: center; gap: 24px;
  }

.lang-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 60px;
  height: 32px;
  padding: 0 12px;
  background: transparent;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 4px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  color: var(--fg);
  transition: 
    color 600ms var(--ease-soft),
    background 0.2s ease,
    border-color 0.2s ease;
}
.lang-btn::after {
  content: '';
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  opacity: 0.6;
}
.lang-btn:hover {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.3);
}

/* 当关于我们版块激活时，语言按钮变为白色 */
.topbar.is-dark .lang-btn {
  color: rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 255, 255, 0.3);
}
.topbar.is-dark .lang-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

/* 语言选择下拉容器 */
.lang-switch {
  position: relative;
  display: inline-block;
}
.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 140px;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  z-index: 1000;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s ease;
}
.lang-menu.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.lang-menu.hidden {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
}
.lang-menu__item {
  display: block;
  width: 100%;
  padding: 12px 16px;
  background: transparent;
  border: none;
  color: #333;
  font-size: 14px;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s ease;
}
.lang-menu__item:hover {
  background: #f5f5f5;
}
.lang-menu__item.active {
  background: #e8f4fd;
  color: #1890ff;
  font-weight: 500;
}
.lang-menu__item + .lang-menu__item {
  border-top: 1px solid #f0f0f0;
}
/* 深色模式下的语言菜单 */
.topbar.is-dark .lang-menu {
  background: #1a1a1a;
  border-color: #333;
}
.topbar.is-dark .lang-menu__item {
  color: #fff;
}
.topbar.is-dark .lang-menu__item:hover {
  background: #2a2a2a;
}
.topbar.is-dark .lang-menu__item.active {
  background: #333;
  color: #4fd1c5;
}
.topbar.is-dark .lang-menu__item + .lang-menu__item {
  border-top-color: #333;
}
  
.menu-btn {
  background: none; border: none;
  font-size: 14px; font-weight: 600;
  cursor: pointer; color: var(--fg);
  display: flex; align-items: center; gap: 10px;
  transition: color 600ms var(--ease-soft);
}
.menu-text { 
  font-weight: 600; 
  letter-spacing: 0.05em;
  transition: color 600ms var(--ease-soft);
}
.menu-icon {
  display: flex; flex-direction: column; gap: 4px;
  width: 20px;
}
.menu-icon span {
  width: 100%; height: 2px;
  background: var(--fg);
  transition: 
    background-color 600ms var(--ease-soft),
    transform 0.3s var(--ease);
}

/* 当关于我们版块激活时，菜单按钮变为白色 */
.topbar.is-dark .menu-btn {
  color: rgba(255, 255, 255, 0.9);
}
.topbar.is-dark .menu-text {
  color: rgba(255, 255, 255, 0.9);
}
.topbar.is-dark .menu-icon span {
  background-color: rgba(255, 255, 255, 0.9);
}
  
/* =========================================
   B. Video Background Layer
   ========================================= */
.video-layer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  /* 不设置背景，让视频完全可见 */
  }
.bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s var(--ease);
  }
/* 激活状态的视频显示 */
.bg-video.is-active {
  opacity: 1 !important;
}
/* 视频覆盖层 - 左侧渐变遮罩，确保文字可读 */
.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(244,244,244,0.9) 0%,
    rgba(244,244,244,0.7) 30%,
    rgba(244,244,244,0.3) 50%,
    rgba(244,244,244,0) 70%
  );
  pointer-events: none;
  transition: background 0.8s var(--ease);
  z-index: 1;
  }
  
/* =========================================
   C. Section Layouts
   ========================================= */
.main-container {
  height: 100vh;
  overflow: hidden; 
  position: relative;
  }
  
.section {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%;
  padding: calc(var(--nav-height) + 40px) var(--pad-inner) 60px;
  display: flex;
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
  transition: transform 1.2s var(--ease-soft), opacity 1.2s var(--ease-soft);
    background: transparent;
  z-index: 1; /* 确保内容在视频层之上 */
  }
  
.section.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  z-index: 10;
  }

.section.prev {
  transform: translateY(-100%);
  opacity: 0;
  }
  
/* Dark Section - 纯黑背景 */
.section--dark {
  color: #fff;
  background: #050505a0; /* 透明背景，让视频可见 */
}

  
/* Content Wrapper */
.section__content {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
}

/* Split Layout - 左侧30-35%宽度，右侧留白 */
.split-layout {
  display: grid;
  grid-template-columns: 50% 1fr;
  width: 100%; 
  height: 100%;
  gap: 0;
  align-items: center;
}

.split-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: 0;
  text-align: left;
  max-width: 100%;
}

/* 右侧区域保持透明，让背景视频可见 */
.split-right {
  position: relative; /* 占位，让背景视频可见 */
}

.column-layout {
  display: flex; flex-direction: column;
  width: 100%; height: 100%;
  padding-top: 20px;
  }
  
/* =========================================
   D. Section 1: Home Carousel
   ========================================= */
.home-carousel {
  position: relative;
  min-height: 320px;
  width: 100%;
  }
  
.home-slide {
  position: absolute; top: 0; left: 0;
  width: 100%;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 600ms var(--ease-soft),
              transform 600ms var(--ease-soft);
  pointer-events: none;
}
.home-slide.is-active {
  opacity: 1;
    transform: translateY(0);
  pointer-events: auto;
}
/* 退出的slide向上淡出 */
.home-slide.is-exiting {
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 400ms var(--ease-smooth),
              transform 400ms var(--ease-smooth);
  }
  
/* =========================================
   Home Slide Staggered Entrance
   无延迟设计：通过不同的过渡时长实现层次感
   ========================================= */
.home-slide .hero-title,
.home-slide .hero-sub,
.home-slide .btn-primary,
.home-slide .hero-desc {
  opacity: 0;
  transform: translateY(12px);
}

/* 第1组：主标题 - 最快（700ms） */
.home-slide .hero-title {
  transition: opacity 700ms var(--ease-soft),
              transform 700ms var(--ease-soft);
}
.home-slide.is-active .hero-title {
  opacity: 1;
    transform: translateY(0);
  }
/* 第二个标题稍慢（800ms） */
.home-slide .hero-title:nth-of-type(2) {
  transition: opacity 800ms var(--ease-soft),
              transform 800ms var(--ease-soft);
}

/* 第2组：副标题 - 更慢（1000ms） */
.home-slide .hero-sub {
  transition: opacity 1000ms var(--ease-soft),
              transform 1000ms var(--ease-soft);
}
.home-slide.is-active .hero-sub {
  opacity: 1;
    transform: translateY(0);
}

/* 第3组：按钮/描述 - 最慢（1200ms） */
.home-slide .btn-primary,
.home-slide .hero-desc {
  transition: opacity 650ms var(--ease-soft),
              transform 650ms var(--ease-soft);
  }
.home-slide.is-active .btn-primary,
.home-slide.is-active .hero-desc {
  opacity: 1;
  transform: translateY(0);
}

/* Hero Typography - Larger Sizes */
.hero-title {
  font-size: clamp(42px, 5vw, 72px);
  line-height: 1.05;
  margin: 0 0 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  }
.hero-sub {
  font-size: 22px;
  opacity: 0.85;
  margin-bottom: 32px;
  font-weight: 400;
}
.hero-desc {
  font-size: 16px;
  opacity: 0.6;
  margin-bottom: 24px;
  }
  
/* Primary Button */
.btn-primary {
  display: inline-block;
  padding: 16px 32px;
  background: var(--fg);
  color: var(--bg);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
  }
.btn-primary:hover {
  opacity: 0.85;
  transform: translateY(-2px);
  }
  
/* Pagination Dots - Below Text Content */
.home-pagination {
  display: flex;
  gap: 14px;
  margin-top: 60px;
  }
.home-dot {
  width: 10px; height: 10px;
  border: 1.5px solid var(--fg);
  border-radius: 50%;
    background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s, transform 0.2s;
  }
.home-dot:hover {
  transform: scale(1.2);
  }
.home-dot.is-active {
  background: var(--fg);
  }
  
/* 右侧视觉区域已移除 - 几何体由背景视频提供 */

/* =========================================
   E. Section Typography - Larger Sizes
   ========================================= */
/* 主标题 - FINE ART STORAGE */
.section-title {
  font-size: 56px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.02em;
  color: #000000;
  margin: 48px 0 24px 0;
  max-width: 100%;
  white-space: nowrap; /* 强制单行显示，不换行 */
  overflow: hidden; /* 防止溢出 */
  text-overflow: ellipsis; /* 如果文本过长，显示省略号 */
}

/* Logo下方公司介绍正文 - 12px */
.section-desc {
  max-width: 800px;
  min-width: 700px;
    font-size: 15px;
  font-weight: 600;
  line-height: 1.6;
  color: #222222;
  margin-bottom: 16px;
}
.section-desc.long-text {
  max-width: 420px;
}

/* 主标题下方说明段落 - 14px */
.storage-intro {
  max-width: 460px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  color: #333333;
  margin-bottom: 20px;
}
.section-label {
  font-size: 14px;
  opacity: 0.7;
  margin-bottom: 16px;
  }
  
/* =========================================
   Staggered Section Transitions
   有延迟设计：通过延迟时间实现层次感
   统一的过渡时长（800ms），通过延迟形成层次
   延迟时间柔和递增，避免顿挫感
   ========================================= */
.section .section-title,
.section .section-desc,
.section .stats-grid,
.section .stats-label,
.section .feature-list,
.section .contract-list,
.section .brand-logo-text,
.section .brand-logo-img,
.section .storage-intro,
.section .section-label,
.section .cards-grid,
.section .section-header,
.section .artist-grid,
.section .about-cols,
.section .divider-line,
.section .partners-section {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 800ms var(--ease-soft),
              transform 800ms var(--ease-soft);
  }
  
/* 第1组：主标题 - 最先出现（无延迟） */
.section.active .section-title {
  opacity: 1;
    transform: translateY(0);
  transition-delay: 0ms;
}

/* 第2组：品牌文字/Logo图片/分割线 - 延迟200ms */
.section.active .brand-logo-text,
.section.active .brand-logo-img,
.section.active .divider-line {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 200ms;
}

/* 第3组：描述文字 - 延迟400ms */
.section.active .section-desc {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 400ms;
  }
  
/* 仓储介绍文字 - 延迟500ms */
.section.active .storage-intro {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 500ms;
}

/* 第4组：标签/小标题 - 延迟600ms */
.section.active .stats-label,
.section.active .section-label,
.section.active .section-header {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 600ms;
}

/* 第5组：数据/列表/卡片 - 延迟700ms */
.section.active .stats-grid,
.section.active .feature-list,
.section.active .contract-list {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 700ms;
}

/* 第6组：网格内容 - 延迟800ms */
.section.active .cards-grid {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 800ms;
}

/* 艺术家网格和关于我们网格 - 有延迟 */
.section.active .artist-grid {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 800ms;
}

/* 合作伙伴部分 - 有延迟 */
.section.active .partners-section {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 1000ms;
}

/* 艺术家网格和关于我们 - 缩短延迟，使用创新动画 */
.section.active .artist-grid,
.section.active .about-cols {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 1000ms;
}

/* 第7组：合作伙伴 - 缩短延迟 */
.section.active .partners-section {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 1200ms;
  }
  
/* =========================================
   F. Stats Grid (Background Section)
   ========================================= */
.stats-label {
  font-size: 16px;
  opacity: 0.5;
  letter-spacing: 0.1em;
  margin-top: 40px;
  margin-bottom: 16px;
}
.stats-grid {
  display: flex;
  gap: 50px;
  margin-top: 20px;
}
.stat-item {
  flex: 1;
  max-width: 220px;
}
.stat-num {
  font-size: clamp(48px, 5vw, 72px);
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1;
}
.stat-txt {
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.65;
  }
  
/* =========================================
   G. Artworks Cards Grid - 完整布局
   ========================================= */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.pagination-ctl {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  color: rgba(0,0,0,0.5);
}
.page-indicator {
  min-width: 60px;
  text-align: center;
  }
.arrow-btn {
  width: 40px; height: 40px;
  border: 1px solid rgba(0,0,0,0.15);
  background: transparent;
  border-radius: 0;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
  color: rgba(0,0,0,0.4);
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  }
.arrow-btn:hover {
  background: rgba(0,0,0,0.03);
  color: rgba(0,0,0,0.7);
  border-color: rgba(0,0,0,0.3);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 16px;
}

/* 作品卡片 - 匹配原版布局 */
.art-card {
  background: rgba(255,255,255,0.6);
  display: flex;
  flex-direction: column;
  padding: 0 0 24px 0;
  opacity: 0;
  transform: translateY(8px);
  transition: transform 600ms var(--ease-soft), 
              background 600ms var(--ease-soft),
              opacity 600ms var(--ease-soft);
  }
/* 卡片错峰进入动画 */
.art-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.art-card:nth-child(1) { transition-delay: 0ms; }
.art-card:nth-child(2) { transition-delay: 150ms; }
.art-card:nth-child(3) { transition-delay: 300ms; }
.art-card:nth-child(4) { transition-delay: 450ms; }
.art-card:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,0.85);
}

/* 卡片翻页过渡 - 淡出 */
.cards-grid.is-transitioning .art-card {
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 500ms var(--ease-soft),
              transform 500ms var(--ease-soft);
  }

/* 作品信息区域 */
.art-card__info {
  padding: 0 16px;
  display: flex;
  flex-direction: column;
}

/* 作品图片 - 带斜角装饰 */
.art-card__img {
  position: relative;
  aspect-ratio: 1;
  background: linear-gradient(135deg, #e8e8e8, #d0d0d0);
  background-size: cover;
  background-position: center;
  margin-bottom: 20px;
  }
/* 右上角斜角标记 */
.art-card__img::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 50px 50px 0;
  border-color: transparent rgba(244,244,244,0.9) transparent transparent;
}
/* 斜角内的logo图标 */
.art-card__corner-icon {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 24px;
  height: 24px;
  z-index: 2;
}
.art-card__corner-icon svg {
  width: 100%;
  height: 100%;
  opacity: 0.6;
  }

/* 作品标题 */
.art-name {
    font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
  line-height: 1.3;
}
/* 艺术家名 */
.artist-name {
  font-size: 14px;
  opacity: 0.55;
  margin-bottom: 24px;
  }
  
/* 价格区域 */
.price-section {
  margin-bottom: 12px;
  }
.price-label {
  font-size: 13px;
  opacity: 0.45;
  margin-bottom: 4px;
}
.art-price {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 0;
  }
  
/* 合约地址区域 */
.contract-section {
  margin-bottom: 24px;
}
.contract-label {
  font-size: 13px;
  opacity: 0.45;
  margin-bottom: 4px;
}
.contract-addr-link {
    font-size: 12px;
  font-family: monospace;
  color: inherit;
  opacity: 0.7;
  text-decoration: none;
  word-break: break-all;
  line-height: 1.4;
  display: block;
  transition: opacity 0.2s;
}
.contract-addr-link:hover {
  opacity: 1;
  }
  
/* 了解更多按钮 */
.btn-details {
  display: inline-block;
  background: var(--fg);
  color: var(--bg);
  border: none;
  padding: 14px 28px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
  margin-top: auto;
  align-self: flex-start;
}
.btn-details:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}

/* Legacy btn-text style */
.btn-text {
  background: none;
  border: none;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
  border-bottom: 1.5px solid currentColor;
  transition: opacity 0.2s;
}
.btn-text:hover { opacity: 0.7; }

/* =========================================
   G2. Gallery Detail Overlay - 作品详情弹窗
   动画缓动：cubic-bezier(0.22, 0.61, 0.36, 1)
   ========================================= */
.gallery-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: #1a1a1a;
    color: #fff;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 700ms var(--ease-soft),
              transform 700ms var(--ease-soft);
  display: flex;
  overflow: hidden;
}
.gallery-overlay.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
/* 退出动画 - 更快速的下沉消失 */
.gallery-overlay.is-closing {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 400ms var(--ease-smooth),
              transform 400ms var(--ease-smooth);
}

/* 关闭按钮 - 极简设计 */
.gallery-close {
  position: absolute;
  top: 40px;
  right: 40px;
  width: 60px;
  height: 60px;
  border: 0.5px solid rgba(255,255,255,0.3);
  border-radius: 50%;
    background: transparent;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  opacity: 0.65;
  transition: opacity 120ms ease;
  }
.gallery-close:hover {
  opacity: 1;
  /* 不旋转、不放大、不变色 */
}
.gallery-close:active {
  opacity: 0.4;
}
.close-icon {
    font-size: 28px;
  font-weight: 200;
  line-height: 1;
  }
  
/* 主内容区域 */
.gallery-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  height: 100%;
  padding: 80px 120px;
  gap: 80px;
  align-items: center;
  }
  
/* 左侧图片 */
.gallery-left {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}
.gallery-image {
  width: 100%;
  max-width: 500px;
  aspect-ratio: 1;
  background: linear-gradient(135deg, #333, #222);
    background-size: cover;
    background-position: center;
  border: 4px solid #fff;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 480ms cubic-bezier(0.22, 0.61, 0.36, 1),
              transform 480ms cubic-bezier(0.22, 0.61, 0.36, 1);
}
.gallery-overlay.is-visible .gallery-image {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 300ms;
  }
  
/* 右侧信息 */
.gallery-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: 100px;
  }
  
/* 
 * 文字内容分组错峰进入
 * 进入顺序：NFT名称 → 艺术家 → 描述 → 元数据
 * 每组间隔至少 200-300ms，主标题与内容间隔 1s+
 */

/* 艺术家名 - 第1组 */
.gallery-artist {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  margin-bottom: 16px;
  cursor: pointer;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 360ms cubic-bezier(0.22, 0.61, 0.36, 1),
              transform 360ms cubic-bezier(0.22, 0.61, 0.36, 1);
  }
.gallery-overlay.is-visible .gallery-artist {
  opacity: 0.7;
  transform: translateY(0);
  transition-delay: 500ms; /* 页面进入后 0.5s */
}
.gallery-artist:hover {
  opacity: 1;
}
.artist-arrow {
  font-size: 18px;
}

/* 作品标题 - 第2组（最重要，视觉权重30%）*/
.gallery-title {
  font-size: clamp(36px, 4vw, 52px);
    font-weight: 700;
  margin: 0 0 32px;
  line-height: 1.15;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 420ms cubic-bezier(0.22, 0.61, 0.36, 1),
              transform 420ms cubic-bezier(0.22, 0.61, 0.36, 1);
}
.gallery-overlay.is-visible .gallery-title {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 700ms; /* 艺术家后 200ms */
}

/* 作品背景/故事 - 第3组 */
.gallery-story {
  margin-bottom: 40px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 360ms cubic-bezier(0.22, 0.61, 0.36, 1),
              transform 360ms cubic-bezier(0.22, 0.61, 0.36, 1);
}
.gallery-overlay.is-visible .gallery-story {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 1200ms; /* 标题后 500ms (1s+ 间隔) */
}
.story-label {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
  opacity: 0.9;
}
.story-text {
  font-size: 15px;
  line-height: 1.8;
  opacity: 0.75;
  margin: 0;
  max-height: 200px;
  overflow-y: auto;
  }
  
/* 元数据区域 - 第4组 */
.gallery-meta {
  display: flex;
  flex-direction: column;
  gap: 16px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 360ms cubic-bezier(0.22, 0.61, 0.36, 1),
              transform 360ms cubic-bezier(0.22, 0.61, 0.36, 1);
  }
.gallery-overlay.is-visible .gallery-meta {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 1500ms; /* 故事后 300ms */
}
.meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.meta-label {
  font-size: 13px;
  opacity: 0.5;
}
.meta-value {
  font-size: 18px;
  font-weight: 600;
}
.meta-link {
  font-size: 14px;
  font-family: monospace;
    color: #fff;
  opacity: 0.7;
  text-decoration: none;
  word-break: break-all;
  transition: opacity 0.2s;
  }
.meta-link:hover {
  opacity: 1;
}

/* 右侧导航 */
.gallery-nav {
  position: absolute;
  right: 40px;
    top: 50%;
    transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  opacity: 0;
  transition: opacity 400ms cubic-bezier(0.22, 0.61, 0.36, 1);
  }
.gallery-overlay.is-visible .gallery-nav {
  opacity: 1;
  transition-delay: 1800ms; /* 最后出现 */
}

/* =========================================
   G3. Gallery Content Switching Animation
   作品详情内切换动画 - 信息层级切换感
   使用更柔和的缓动和更长的过渡时间
   ========================================= */
.gallery-content-transitioning .gallery-image,
.gallery-content-transitioning .gallery-artist,
.gallery-content-transitioning .gallery-title,
.gallery-content-transitioning .gallery-story,
.gallery-content-transitioning .gallery-meta {
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 500ms var(--ease-soft),
              transform 500ms var(--ease-soft);
}

/* 内容切换后重新进入 - 从下方淡入 */
.gallery-content-entering .gallery-image,
.gallery-content-entering .gallery-artist,
.gallery-content-entering .gallery-title,
.gallery-content-entering .gallery-story,
.gallery-content-entering .gallery-meta {
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 700ms var(--ease-soft),
              transform 700ms var(--ease-soft);
  }
.gallery-content-entering .gallery-image {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 120ms;
}
.gallery-content-entering .gallery-artist {
  opacity: 0.7;
  transform: translateY(0);
  transition-delay: 300ms;
}
.gallery-content-entering .gallery-title {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 500ms;
}
.gallery-content-entering .gallery-story {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 800ms;
}
.gallery-content-entering .gallery-meta {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 1100ms;
  }
.gallery-nav-btn {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,0.3);
    background: transparent;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.gallery-nav-btn:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.5);
}
.nav-arrow {
  font-size: 18px;
  line-height: 1;
}
.gallery-counter {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 16px;
  gap: 6px;
  }
.counter-divider {
  width: 1px;
  height: 24px;
  background: rgba(255,255,255,0.3);
}

/* =========================================
   H. Feature List (Fine Art Storage)
   ========================================= */
.brand-logo-text {
    font-size: 28px;
  font-style: italic;
  font-weight: 300;
  margin-bottom: 24px;
  opacity: 0.9;
  }
  
/* Logo图片样式 */
.brand-logo-img {
  margin-bottom: 16px;
  display: block;
}
.brand-logo-img img {
  max-width: 280px;
  height: auto;
  display: block;
}


.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.feature-list li {
  padding: 0;
  margin-bottom: 8px;
  border-bottom: none;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.7;
  color: #000000;
  display: flex;
  align-items: flex-start;
    gap: 8px;
}
.feature-list li:last-child {
  margin-bottom: 0;
}
.feature-list li::before {
  content: "■";
  font-size: 8px;
  color: #BDBDBD;
  margin-top: 6px;
  flex-shrink: 0;
  line-height: 1.7;
}
  
/* =========================================
   I. Contract List (NFT Token)
   ========================================= */
.contract-list {
  margin: 24px 0;
  }
.contract-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.chain-icon {
  width: 32px; height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  opacity: 0.6;
  }
.addr-label {
  font-size: 13px;
  opacity: 0.6;
  margin-bottom: 4px;
}
.addr-val {
    font-size: 14px;
  font-family: monospace;
  word-break: break-all;
}
.mt-lg { margin-top: 32px; }

/* =========================================
   J. Artist Grid
   ========================================= */
.mb-lg { margin-bottom: 40px; }

.artist-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-top: 40px;
}
.artist-col {
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(20px) scale(0.95);
}

/* 艺术家卡片创新动画：左右交错进入，有延迟，统一时长 */
.section.active .artist-col:nth-child(odd) {
  animation: artistSlideInLeft 900ms var(--ease-soft) forwards;
}
.section.active .artist-col:nth-child(even) {
  animation: artistSlideInRight 900ms var(--ease-soft) forwards;
}

/* 艺术家卡片进入动画 - 左侧 */
@keyframes artistSlideInLeft {
  0% {
    opacity: 0;
    transform: translateX(-50px) translateY(20px) scale(0.92);
  }
  100% {
    opacity: 1;
    transform: translateX(0) translateY(0) scale(1);
  }
}

/* 艺术家卡片进入动画 - 右侧 */
@keyframes artistSlideInRight {
  0% {
    opacity: 0;
    transform: translateX(50px) translateY(20px) scale(0.92);
  }
  100% {
    opacity: 1;
    transform: translateX(0) translateY(0) scale(1);
  }
  }
  
/* 艺术家卡片通过延迟实现层次 */
.section.active .artist-col:nth-child(1) {
  animation-delay: 800ms;
}
.section.active .artist-col:nth-child(2) {
  animation-delay: 900ms;
}
.section.active .artist-col:nth-child(3) {
  animation-delay: 1000ms;
}
.section.active .artist-col:nth-child(4) {
  animation-delay: 1100ms;
}
.artist-avatar {
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(135deg, #ddd, #bbb);
  margin-bottom: 20px;
}
.artist-name-lg {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  }
.artist-desc {
  font-size: 14px;
    line-height: 1.6;
  opacity: 0.65;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  }
.arrow-link {
  font-size: 0; /* 隐藏原始文本 */
  color: var(--fg);
  text-decoration: none;
  opacity: 0.5;
  display: inline-flex;
  align-items: center;
  width: 24px;
  overflow: hidden;
  transition: width 400ms var(--ease-soft),
              opacity 300ms var(--ease-soft);
  position: relative;
  margin-top: auto;
  line-height: 1;
  white-space: nowrap;
}
/* 使用伪元素创建箭头和伸长效果 */
.arrow-link::before {
  content: "→";
  font-size: 20px;
  display: inline-block;
  transition: transform 400ms var(--ease-soft);
}
.arrow-link::after {
  content: "→→→→→";
  font-size: 20px;
  display: inline-block;
  width: 0;
  opacity: 0;
  overflow: hidden;
  transition: width 400ms var(--ease-soft),
              opacity 300ms var(--ease-soft);
  margin-left: 0;
}
.arrow-link:hover {
  opacity: 1;
  width: 120px; /* 箭头伸长 */
}
.arrow-link:hover::before {
  transform: translateX(0);
  }
.arrow-link:hover::after {
  width: 96px;
  opacity: 1;
  margin-left: 0;
}

/* =========================================
   J2. Artist Detail Overlay - 艺术家详情弹窗
   博物馆级人物详情页：左图沉浸 + 右侧展签
   ========================================= */
.artist-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: #0B0B0B; /* 博物馆黑 */
  color: #fff;
  opacity: 0;
  pointer-events: none;
  transition: opacity 600ms var(--ease-soft);
  display: flex;
  overflow: hidden;
  }
.artist-overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
  }
  
/* 关闭按钮 - 极简设计（轻、淡、克制） */
.artist-close {
  position: absolute;
  top: 40px;
  right: 40px;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 50%;
  background: transparent;
  color: rgba(255,255,255,0.30);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: opacity 200ms ease;
  opacity: 1;
}
.artist-close:hover {
  opacity: 0.5; /* 仅轻微提高透明度 */
}
.close-icon {
  font-size: 20px;
  font-weight: 300;
  line-height: 1;
  color: rgba(255,255,255,0.30);
}

/* 主内容区域 - 左右分栏 48-52% */
.artist-detail-content {
  display: grid;
  grid-template-columns: 50% 50%;
  width: 100%;
  height: 100%;
  position: relative;
}

/* 左侧肖像 - 沉浸式大图 */
.artist-detail-left {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  height: 100%;
  padding: 0;
  position: relative;
  overflow: hidden;
}
.artist-portrait {
  width: 100%;
  height: 100%;
  min-height: 80vh;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 800ms var(--ease-soft),
              transform 800ms var(--ease-soft);
  /* 禁止边框、阴影、外框容器样式 */
  border: none;
  box-shadow: none;
  border-radius: 0;
  display: block;
}
.artist-overlay.is-visible .artist-portrait {
  opacity: 1;
    transform: translateX(0);
  transition-delay: 200ms;
  }
  
/* 分界黑雾过渡层 - 从透明到纯黑 */
.artist-detail-left::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 300px; /* 160-260px之间，渐变宽度明显 */
  height: 100%;
  pointer-events: none;
  z-index: 1;
  background: linear-gradient(
    to right,
    rgba(11, 11, 11, 0) 0%,
    rgba(11, 11, 11, 0.35) 35%,
    rgba(11, 11, 11, 0.75) 70%,
    rgba(11, 11, 11, 1) 100%
  );
  opacity: 0;
  transition: opacity 1000ms var(--ease-soft);
}
.artist-overlay.is-visible .artist-detail-left::after {
  opacity: 1;
  transition-delay: 400ms;
}

/* 右侧文字区域 - 展签风格 */
.artist-detail-right {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 64px 80px 80px 60px; /* 顶部至少64px留白 */
  height: 100%;
  overflow-y: auto;
  background: #0B0B0B; /* 与整体背景一致 */
}

/* 删除模糊背景效果 */
.artist-detail-blur-bg {
  display: none;
}

/* 文字内容 */
.artist-detail-text {
  position: relative;
  z-index: 2;
  margin-bottom: 60px;
}

/* 艺术家名字 - 克制但权威的标题 */
.artist-detail-name {
  font-size: clamp(48px, 5vw, 56px);
  font-weight: 500; /* 500-600，不要700 */
  line-height: 1.05; /* 行高更紧 */
  color: #FFFFFF;
  margin: 0 0 28px 0; /* 标题到分割线间距 */
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 800ms var(--ease-soft),
              transform 800ms var(--ease-soft);
  }
.artist-overlay.is-visible .artist-detail-name {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 500ms;
  }

/* 分割线 - 极细更淡 */
.artist-detail-divider {
  width: 100%;
  height: 1px;
  background: rgba(255,255,255,0.10); /* 更细更淡 */
  margin: 0 0 32px 0; /* 标题 → 正文间距加大 */
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 700ms var(--ease-soft),
              transform 700ms var(--ease-soft);
}
.artist-overlay.is-visible .artist-detail-divider {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 700ms;
}

/* 艺术家简介 - 展签说明文字 */
.artist-detail-bio {
  font-size: 15px; /* 14-15px */
  line-height: 1.8; /* 更松 */
  color: rgba(255,255,255,0.62); /* 浅灰而非白 */
  margin: 0 0 0 0;
  max-width: 560px; /* 限制正文最大宽度 */
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 800ms var(--ease-soft),
              transform 800ms var(--ease-soft);
  }
.artist-overlay.is-visible .artist-detail-bio {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 900ms;
}

/* 作品区域 - 自由漂浮 */
.artist-works-section {
  position: relative;
  z-index: 2;
  margin-top: auto;
  padding-top: 64px; /* 正文 → Works 标题间距加大（56-72px） */
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 800ms var(--ease-soft),
              transform 800ms var(--ease-soft);
  }
.artist-overlay.is-visible .artist-works-section {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 1100ms;
}

/* WORKS 标题 - 小号全大写，左对齐基线 */
.artist-works-title {
    font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.45);
  margin: 0 0 28px 0; /* 与正文左对齐基线 */
  text-transform: uppercase;
}

/* 作品容器 - 横向排列布局 */
.artist-works-grid {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 24px; /* 作品间距 */
  width: 100%;
  flex-wrap: wrap; /* 允许换行，但保持横向排列 */
}

/* 作品缩略图 - 横向排列，不重叠，大小相等 */
.artist-work-item {
  width: 160px;
  height: 160px;
    background-size: cover;
    background-position: center;
  background-color: #1a1a1a;
  cursor: pointer;
  position: relative; /* 改为relative，配合flex布局 */
  opacity: 0;
  transform: translateY(0);
  transition: opacity 600ms var(--ease-soft),
              transform 400ms var(--ease-soft);
  flex-shrink: 0; /* 防止压缩 */
  /* 禁止边框、阴影、标题文字、按钮 */
  border: none;
  box-shadow: none;
  border-radius: 0;
}

.artist-overlay.is-visible .artist-work-item {
  opacity: 1;
  transform: translateY(0);
}
.artist-overlay.is-visible .artist-work-item:nth-child(1) {
  transition-delay: 1300ms;
}
.artist-overlay.is-visible .artist-work-item:nth-child(2) {
  transition-delay: 1400ms;
}
.artist-overlay.is-visible .artist-work-item:nth-child(3) {
  transition-delay: 1500ms;
}
.artist-overlay.is-visible .artist-work-item:nth-child(n+4) {
  transition-delay: 1600ms;
}

/* 作品hover效果 - 轻微上浮 + 轻微变亮 */
.artist-work-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.08);
  opacity: 0;
  transition: opacity 400ms var(--ease-soft);
  pointer-events: none;
}
.artist-work-item:hover {
  transform: translateY(-4px); /* 轻微上浮 */
}
.artist-work-item:hover::before {
  opacity: 1; /* 轻微变亮 */
}

/* =========================================
   K. About Us Section - 纯黑展墙风格
   ========================================= */

/* 主标题 - 64-72px，700-800字重 */
.section--dark .section-title {
  font-size: clamp(64px, 6vw, 72px);
    font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.02em;
  color: #FFFFFF;
  margin-bottom: 18px;
}

/* 分割线 - 1px，rgba(255,255,255,.25)，贯穿内容区 */
.section--dark .divider-line {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.25);
  margin: 0 0 28px 0;
}

.about-cols {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 80px;
  margin-bottom: 60px;
  opacity: 0;
  transform: scale(0.94) translateY(15px);
  transition: opacity 800ms var(--ease-soft),
              transform 800ms var(--ease-soft);
}

/* 关于我们部分创新动画：缩放+淡入，有延迟 */
.section.active .about-cols {
  opacity: 1;
  transform: scale(1) translateY(0);
  transition-delay: 800ms;
}

/* 关于我们内部元素错峰出现，通过延迟实现层次 */
.about-left,
.about-right {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 800ms var(--ease-soft),
              transform 800ms var(--ease-soft);
}

.section.active .about-left {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 1000ms;
}

.section.active .about-right {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 1100ms;
}
/* 小标题 */
.about-sub {
  font-size: 13px;
  font-weight: 500;
  opacity: 0.8;
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.75);
}

/* 正文 - 展签灰度风格 */
.about-text {
  font-size: 15px; /* 14-15px */
  line-height: 1.8; /* 1.75-1.85行高 */
  color: rgba(255, 255, 255, 0.62); /* 展签灰度 */
  margin-bottom: 14px;
  max-width: 560px; /* 限制最大宽度560px */
}

/* Contact 区域 */
.contact-block {
  margin-bottom: 20px;
}

.contact-title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.75;
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.75);
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
    gap: 12px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact-icon {
  width: 26px;
  height: 26px;
  object-fit: contain;
  flex-shrink: 0;
  opacity: 0.9;
  transition: opacity 200ms ease;
}

.contact-icon:hover {
  opacity: 1;
}

.contact-text {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
}

.contact-text:hover {
  text-decoration: underline;
}

/* Terms 区块 */
.doc-links {
  margin-top: 20px;
}

.terms-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 8px;
}

.terms-link {
  display: inline-block;
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  padding: 6px 0;
  /* 样式克制：不使用按钮投影，只用文字 */
}

.terms-link:hover {
  text-decoration: underline;
}

/* Partners - 机构合作墙风格 */
.partners-section {
  margin-top: 48px;
  padding-top: 0;
}

.partners-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.65;
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.75);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 800ms var(--ease-soft),
              transform 800ms var(--ease-soft);
}
.section.active .partners-label {
  opacity: 0.65;
  transform: translateY(0);
  transition-delay: 1000ms;
}

.partners-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center; /* 同一基线对齐 */
  gap: 26px;
}

/* Partner Logo - 图片占位符，统一高度，整体偏白/浅灰 */
.partner-logo {
  height: 30px; /* 统一高度 */
  width: auto;
  opacity: 0.9; /* 亮度统一，整体偏白/浅灰 */
  filter: grayscale(1); /* 灰度滤镜，整体偏白/浅灰效果 */
  transition: opacity 300ms ease;
  object-fit: contain;
  /* 占位符：使用 <img class="partner-logo" src="./assets/partners/placeholder.svg"> */
}

.partner-logo:hover {
  opacity: 1; /* hover仅opacity变化 */
}

/* 合作伙伴logo通过延迟实现层次 */
.section.active .partner-logo {
  opacity: 0.9;
  transform: translateY(0) scale(1);
}
.section.active .partner-logo:nth-child(1) {
  transition-delay: 1100ms;
}
.section.active .partner-logo:nth-child(2) {
  transition-delay: 1200ms;
}
.section.active .partner-logo:nth-child(3) {
  transition-delay: 1300ms;
}
.section.active .partner-logo:nth-child(4) {
  transition-delay: 1400ms;
}
.section.active .partner-logo:nth-child(5) {
  transition-delay: 1500ms;
}
.section.active .partner-logo:nth-child(6) {
  transition-delay: 1600ms;
}
.section.active .partner-logo:nth-child(7) {
  transition-delay: 1700ms;
}
.section.active .partner-logo:nth-child(8) {
  transition-delay: 1800ms;
}
.section.active .partner-logo:nth-child(9) {
  transition-delay: 1900ms;
}
.section.active .partner-logo:nth-child(10) {
  transition-delay: 2000ms;
}
  
/* =========================================
   L. Menu Overlay
   ========================================= */
.menuOverlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: #0b0c0f;
  color: #fff;
  clip-path: circle(0% at 95% 5%);
  transition: clip-path 0.8s var(--ease-soft);
  display: flex;
  flex-direction: column;
  padding: 0;
}

.menuOverlay:not([hidden]) {
  clip-path: circle(150% at 95% 5%);
}

.menu-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px var(--pad);
  height: var(--nav-height);
}
.menu-close-btn {
  background: none;
  border: none;
  display: flex;
  align-items: center;
    gap: 12px;
  cursor: pointer;
    color: #fff;
  }

.menu-icon--close span:first-child {
  transform: rotate(45deg) translateY(6px);
  }

.menu-icon--close span:last-child {
  transform: rotate(-45deg) translateY(-6px);
  }

.menuNav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 40px var(--pad-inner);
  max-width: 800px;
}

.menuLink {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 42px;
    font-weight: 700;
  color: #fff;
  text-decoration: none;
  transition: transform 600ms var(--ease-soft), opacity 600ms var(--ease-soft);
  opacity: 0;
  transform: translateY(20px);
  }

.menuOverlay:not([hidden]) .menuLink {
  opacity: 1;
  transform: translateY(0);
  }

.menuLink:nth-child(1) {
  transition-delay: 0.2s;
}

.menuLink:nth-child(2) {
  transition-delay: 0.3s;
}

.menuLink:nth-child(3) {
  transition-delay: 0.4s;
}

.menuLink:nth-child(4) {
  transition-delay: 0.5s;
}

.menuLink:nth-child(5) {
  transition-delay: 0.6s;
}

.menuLink:nth-child(6) {
  transition-delay: 0.7s;
}

.menuLink:nth-child(7) {
  transition-delay: 0.8s;
}

.menuLink:nth-child(8) {
  transition-delay: 0.9s;
}

.menuLink:hover {
  transform: translateX(16px);
  opacity: 0.8;
}

.menuLink__num {
  font-size: 16px;
  font-weight: 400;
  opacity: 0.4;
  min-width: 40px;
  display: inline-block;
}

.menuLink__txt {
  flex: 1;
}

.menuLink__badge {
  background: #ff4b4b;
  color: #fff;
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 2px;
  font-weight: 600;
  letter-spacing: 0.05em;
  display: inline-block;
}

.menuLink--highlight {
  /* 高亮菜单项样式（如果需要特殊样式可以在这里添加） */
}

/* =========================================
   M. Responsive Design
   ========================================= */
@media (max-width: 1400px) {
  .gallery-content {
    padding: 60px 80px;
    gap: 60px;
  }
  .gallery-right {
    padding-right: 80px;
  }
}

@media (max-width: 1200px) {
  :root {
    --pad: 40px;
    --pad-inner: 60px;
  }
  .cards-grid { grid-template-columns: repeat(3, 1fr); }
  .artist-grid { grid-template-columns: repeat(2, 1fr); }
  
  .gallery-content {
    padding: 60px;
    gap: 40px;
  }
  .gallery-image {
    max-width: 400px;
  }
  .gallery-title {
    font-size: 36px;
  }
}

@media (max-width: 1024px) {
  .topbar__center { display: none; }
  .split-layout { grid-template-columns: 1fr; }
  .split-right { display: none; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .about-cols { grid-template-columns: 1fr; gap: 40px; }
  .menuLink { font-size: 32px; }
  
  .gallery-content {
    grid-template-columns: 1fr;
    padding: 100px 40px 60px;
    overflow-y: auto;
  }
  .gallery-left {
    height: auto;
  }
  .gallery-image {
    max-width: 300px;
    margin: 0 auto;
  }
  .gallery-right {
    padding-right: 60px;
  }
  .gallery-nav {
    right: 20px;
  }
}

@media (max-width: 768px) {
  :root {
    --pad: 24px;
    --pad-inner: 24px;
  }
  .hero-title { font-size: 36px; }
  .section-title { 
    font-size: 40px; 
    white-space: nowrap; /* 移动端也保持单行 */
  }
  .cards-grid { grid-template-columns: 1fr; }
  .artist-grid { grid-template-columns: 1fr; }
  .stats-grid { flex-direction: column; gap: 32px; }
  .menuLink { font-size: 28px; gap: 20px; }
  .menuLink__num { font-size: 14px; min-width: 30px; }
  
  .gallery-close {
    top: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
  }
  .gallery-content {
    padding: 80px 24px 40px;
  }
  .gallery-image {
    max-width: 100%;
    max-height: 300px;
  }
  .gallery-title {
    font-size: 28px;
  }
  .gallery-nav {
    position: fixed;
    right: 10px;
    top: auto;
    bottom: 20px;
    transform: none;
    flex-direction: row;
    gap: 12px;
  }
  .gallery-counter {
    flex-direction: row;
    gap: 8px;
  }
  .counter-divider {
    width: 20px;
    height: 1px;
  }
  }
  