* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "huxiaobo-gdh1e91397a5f211c5", "PingFang SC", "Microsoft Yahei",
    sans-serif;
}

main {
  /* 移除背景色，让3D场景作为背景 */
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  /* 设置为绝对定位，覆盖在canvas之上 */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  /* 设置z-index确保在3D场景前面 */
  z-index: 10;
  /* 允许鼠标事件穿透，以便操作3D场景 */
  pointer-events: none;
}

.title-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

/* 固定标题样式 - 灰白色加粗 */
.fixed-title {
  font-size: 4em;
  font-weight: 700;
  color: #e8e8e8;
  text-shadow: 0 0 30px rgba(255, 255, 255, 0.3),
               0 2px 10px rgba(0, 0, 0, 0.5);
  margin-bottom: 10px;
  letter-spacing: 2px;
}

/* 动态文字容器 - 灰白色加粗 */
h1 {
  font-size: 2.5em;
  font-weight: 700;
  text-align: center;
  color: #d0d0d0;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.2),
               0 2px 8px rgba(0, 0, 0, 0.4);
  min-height: 100px;
  letter-spacing: 1px;
}

span.mark {
  border-right: 3px solid #e8e8e8;
  animation: blink 0.6s step-end infinite;
  /* 让光标显示 */
  display: inline-block;
  margin-left: 2px;
}

@keyframes blink {
  from,
  to {
    border-color: transparent;
  }
  50% {
    border-color: #e8e8e8;
  }
}

/* 了解更多按钮样式 */
.learn-more-btn {
  position: fixed;
  bottom: 180px;
  left: 50%;
  transform: translateX(-50%);
  padding: 15px 40px;
  font-size: 1.2em;
  font-weight: 600;
  color: #ffffff;
  background: linear-gradient(135deg, #00d4ff 0%, #0099ff 100%);
  border: 2px solid rgba(0, 200, 255, 0.5);
  border-radius: 50px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 0 20px rgba(0, 150, 255, 0.4),
              0 0 40px rgba(0, 150, 255, 0.2);
  pointer-events: auto;
  z-index: 20;
}

.learn-more-btn:hover {
  background: linear-gradient(135deg, #00f5ff 0%, #00c3ff 100%);
  box-shadow: 0 0 30px rgba(0, 200, 255, 0.6),
              0 0 60px rgba(0, 150, 255, 0.4);
  transform: translateX(-50%) translateY(-5px);
  border-color: rgba(0, 255, 255, 0.8);
}

.learn-more-btn:active {
  transform: translateX(-50%) translateY(-2px);
}

/* 版权信息样式 */
.copyright-container a:hover {
  color: rgba(0, 212, 255, 1) !important;
  text-shadow: 0 0 10px rgba(0, 212, 255, 0.5), 0 2px 4px rgba(0,0,0,0.5) !important;
}

/* 页面过渡遮罩层 */
.page-transition-overlay {
  position: fixed;
  top: 0;
  left: 100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0a0e27 0%, #1a1a2e 50%, #16213e 100%);
  z-index: 9999;
  transition: left 0.8s cubic-bezier(0.77, 0, 0.175, 1);
  pointer-events: none;
}

.page-transition-overlay.active {
  left: 0;
  pointer-events: all;
}
