/* ======================================= */
/* 自定义 Zen 字体导入 */
/* ======================================= */
@font-face {
  font-family: 'Zen';
  src: url('font/zen1.ttf') format('truetype');
  font-weight: 100;
  font-style: normal;
}
@font-face {
  font-family: 'Zen';
  src: url('font/zen2.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
}
@font-face {
  font-family: 'Zen';
  src: url('font/zen3.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'Zen';
  src: url('font/zen4.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: 'Zen';
  src: url('font/zen5.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
}

/* ======================================= */
/* 全局默认字体和隐藏鼠标 */
/* ======================================= */
html, body, *, a, nav, nav a, canvas {
  font-family: 'Zen', Arial, sans-serif !important;
  cursor: none !important;
}

/* ======================================= */
/* body 全局样式 */
/* ======================================= */
body {
  margin: 0;
  padding-top: 220px; /* header 高度 */
  line-height: 1.6;
  background: #fff;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ======================================= */
/* header 固定 */
/* ======================================= */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #fff;
  z-index: 100;
  padding: 30px 0;
  text-align: center;
  margin-top: 100px;
}

header h1 {
  font-size: 27px;
  text-align: left;
  margin-left: 20px;
  font-weight: 700; /* 粗体 */
}

header h2 {
  font-size: 80px;
  margin: 10px 0;
  font-weight: 900; /* 最粗 */
}

/* ======================================= */
/* 恢复 About 页面鼠标默认样式 */
html.about, body.about, a.about, canvas.about {
  cursor: auto !important;
}

/* ======================================= */
/* 确保导航栏、链接可点击 */
header, nav, main, footer {
  position: relative;
  z-index: 10;
}

/* 背景动画不挡点击 */
#animation-container,
#animation-container canvas {
  pointer-events: none !important;
  z-index: 0 !important;
}

/* 防止画布遮挡交互 */
canvas {
  pointer-events: none !important;
  z-index: 0 !important;
}

/* ======================================= */
/* 导航栏统一样式 */
nav {
  text-align: center;
  margin: 0;
}

nav a {
  margin: 0 80px;
  text-decoration: none;
  color: #000;
  font-weight: 400; /* 常规 */
}

/* ======================================= */
/* main 区域 */
main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center; /* 垂直居中 */
  align-items: center;     /* 水平居中 */
  min-height: calc(100vh - 220px - 60px); /* header + footer */
  padding: 20px;
  text-align: center;
  font-weight: 400; /* 常规 */
}

/* ======================================= */
/* 图片统一样式，可用于 shop 或其他页面 */
.centerImage {
  display: block;
  margin: 0 auto;
  width: 300px;       /* 可修改大小 */
  max-width: 80%;
  height: auto;
}

.centerText {
  margin-top: 15px;
  font-size: 1.2rem;
  color: #555;
  text-align: inherit;
  font-weight: 300; /* 轻体 */
}

/* ======================================= */
/* footer 统一样式 */
footer {
  text-align: center;
  color: #000000;
  background: transparent;
  font-weight: 400; /* 常规 */
}

/* ======================================= */
/* 鼠标 canvas */
#mouseDiv {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 999999;
}

/* ======================================= */
/* About 页面居中样式 */
.centered-page {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  flex-direction: column;
  min-height: calc(100vh - 220px - 60px);
  font-weight: 400; /* 常规 */
  font-family: 'Zen', Arial, sans-serif;
}

.centered-page .intro-text {
  max-width: 800px;
  line-height: 1.6;
  font-size: 1.1rem;
  color: #000;
  padding: 20px;
  font-weight: 300; /* 轻体 */
  font-family: 'Zen', Arial, sans-serif;
}

/* ======================================= */
/* 首页视频样式 */
#homeVideo {
  display: block;
  margin: 0 auto;
  max-width: 70%;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(255, 231, 47, 0.2);
  font-weight: 400;
  font-family: 'Zen', Arial, sans-serif;
}