/* 加载界面样式 */
#loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 5px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

#loading p {
  color: white;
  margin-top: 20px;
  font-family: sans-serif;
}




/* 加载完成后显示主内容 */
body.loaded #app {
  display: block;
}

body.loaded #loading {
  display: none;
}





body, html, #app {
  margin: 0;
  width: 100%;
  height: 100%;
}

body {
  touch-action: none;
}

#app {
  height: 100%;
  font-family: "微软雅黑", sans-serif; /* 将 Montserrat 字体替换为微软雅黑 */
}

/* 修改链接的颜色 */
#app a {
  text-decoration: none;
  color: #e0e0e0; /* 与标题保持一致的银灰色 */
  text-shadow: 0 0 10px rgba(100, 149, 237, 0.5); /* 添加轻微的蓝色背光效果 */
}

.hero {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

/* 修改标题和段落的颜色与阴影效果 */
h1, h2, p {
  margin: 0;
  padding: 0;
  color: #e0e0e0; /* 将纯白色改为柔和的银灰色，更加高级 */
  text-shadow: 0 0 10px rgba(100, 149, 237, 0.5); /* 添加轻微的蓝色背光效果 */
  line-height: 160%;
  user-select: none;
}

h1 {
  font-size: 80px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.1rem; /* 增加字间距 */
}

h2 {
  font-size: 24px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.6rem; /* 增加字间距 */
}

#canvas {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  overflow: hidden;
}