/* ================================================================
   4. 第一屏 — Hero 区域
   ================================================================ */

/* ── 第一屏容器 ── */
#page1 {
  height: 100vh;
  overflow: hidden;
}

/* ── Hero 包裹层 ── */
.hero-wrapper {
  position: relative;
  display: flex;
  flex-direction: column; /* 纵向排列 */
  align-items: center; /* 水平居中 */
  width: 90%;
  max-width: 800px;
  z-index: 1;
}

/* ── 首页 Logo ── */
.index_logo {
  width: clamp(300px, 40vw, 600px); /* 响应式宽度：最小 300px，最大 600px */
  user-select: none; /* 禁止选中 */
  pointer-events: none; /* 不响应鼠标事件 */
  margin-bottom: -15%; /* 与下方文字重叠 */
}

/* ── Hero 描述文字 ── */
.hero-text {
  font-size: clamp(14px, 1.6vw, 20px); /* 响应式字号 */
  color: white;
  text-align: justify; /* 两端对齐 */
  line-height: 1.6;
  margin: 0;
  transform: translateY(-30px); /* 向上偏移 */
}

/* ── "查看更多" 按钮（保留原始实现） ── */
.more-btn {
  margin-top: 35px;
  border-radius: 999px;
  padding: 8px 36px 16px 36px;
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  transform: translateY(-20px);
  -webkit-user-select: none; /* Safari/Chrome */
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* IE/Edge */
  user-select: none; /* 标准语法 */
}

.more-btn:hover {
  color: #fff;
  transform: translateY(-23px);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.4);
}

.more-btn:hover::before {
  background: radial-gradient(
    ellipse at center,
    rgba(255, 255, 255, 0.35) 0%,
    rgba(255, 255, 255, 0.12) 30%,
    transparent 70%
  );
}

/* ── 固定背景层（通用） ── */
.fixed-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1; /* 置于内容层之下 */
  overflow: hidden; /* 裁剪超出部分 */
}

/* ── 背景图片填满容器 ── */
.fixed-background img {
  width: 100%;
  height: 100%;
  object-fit: fill; /* 强制拉伸填满（等效 background-size: 100% 100%） */
  display: block; /* 消除图片底部间隙 */
}
