* { margin: 0; padding: 0; box-sizing: border-box; }
html, body {
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  overflow-y: hidden;
  font-family: 'Noto Sans SC', Arial, sans-serif;
  background: #000;
  color: #fff;
}

/* 顶部导航 */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: calc(100% - 8px);
  right: 8px;
  padding: 15px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0,0,0,0.6);
  z-index: 100;
}
.logo {
  font-family: 'Orbitron', 'Noto Sans SC', sans-serif;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #ff4b2b;
}
nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
}
nav ul li a {
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  position: relative;
  text-decoration: none;
  color: #fff;
}
nav ul li a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #ff4b2b;
  transition: width 0.3s ease;
}
nav ul li a:hover::after { width: 100%; }
.auth {
  display: flex;
  gap: 10px;
}
.auth .btn {
  font-family: 'Orbitron', 'Noto Sans SC', sans-serif;
  font-size: 14px;
  font-weight: 600;
  padding: 6px 14px;
  border: 1px solid #ff4b2b;
  background: transparent;
  color: #ff4b2b;
  cursor: pointer;
  transition: 0.3s;
  letter-spacing: 1px;
  text-decoration: none;
}
.auth .btn:hover { background: #ff4b2b; color: #fff; }

/* 移动端菜单 */
.menu-toggle {
  display: none;
  font-size: 26px;
  cursor: pointer;
  color: #ff4b2b;
}
@media (max-width: 768px) {
  nav ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 30px;
    background: rgba(0,0,0,0.9);
    padding: 20px;
    border-radius: 8px;
  }
  nav ul.active { display: flex; }
  .menu-toggle { display: block; }
}

/* 容器 */
.container {
  width: 100%;
  height: 100%;
  overflow-y: scroll;
  overflow-x: hidden;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  box-sizing: border-box;
}

/* 滚动条 */
.container::-webkit-scrollbar { width: 8px; }
.container::-webkit-scrollbar-track { background: transparent; }
.container::-webkit-scrollbar-thumb {
  background: rgba(255, 75, 43, 0.6);
  border-radius: 4px;
}
.container::-webkit-scrollbar-thumb:hover { background: rgba(255, 75, 43, 1); }
.container { scrollbar-width: thin; scrollbar-color: rgba(255, 75, 43, 0.6) transparent; }

/* 分屏 */
section {
  width: 100%;
  height: 100vh;
  scroll-snap-align: start;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  position: relative;
  text-align: center;
  padding: 40px;
}
.bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
  animation: zoom 25s infinite alternate ease-in-out;
}
.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.65);
  z-index: -1;
}

/* 动效 */
@keyframes zoom {
  from { transform: scale(1); }
  to { transform: scale(1.03); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
section .content > * { opacity: 0; transform: translateY(40px); }
section.active .content > * { animation: fadeUp 1s ease forwards; }
section.active .content > *:nth-child(2) { animation-delay: 0.2s; }
section.active .content > *:nth-child(3) { animation-delay: 0.4s; }
section.active .content > *:nth-child(4) { animation-delay: 0.6s; }
section.active .content > *:nth-child(5) { animation-delay: 0.8s; }
section.active .content > *:nth-child(6) { animation-delay: 1s; }

/* 字体层级 */
h1 {
  font-family: 'Orbitron', 'Noto Sans SC', sans-serif;
  font-size: 46px;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 1px;
}
h2 {
  font-family: 'Orbitron', 'Noto Sans SC', sans-serif;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #ff4b2b;
  letter-spacing: 1px;
}
p {
  max-width: 800px;
  margin: 10px auto;
  font-size: 16px;
  line-height: 1.8;
  font-weight: 400;
}
.btn-primary {
  display: inline-block;
  margin: 10px;
  padding: 12px 30px;
  border: 1px solid #ff4b2b;
  color: #ff4b2b;
  text-decoration: none;
  transition: 0.3s;
  font-family: 'Orbitron', 'Noto Sans SC', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 1px;
}
.btn-primary:hover { background: #ff4b2b; color: #fff; }
/* Logo 链接样式 */
.logo-link {
  color: inherit;          /* 保持 header 的文字颜色 */
  text-decoration: none;   /* 去掉下划线 */
  font-weight: bold;       /* 可选，让 Logo 更显眼 */
}
.logo-link:hover {
  color: inherit;          /* 悬停时颜色不变 */
  text-decoration: none;   /* 悬停时也不出现下划线 */
}
/* footer */
footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: calc(100% - 8px);
  right: 8px;
  background: rgba(0,0,0,0.85);
  font-size: 12px;
  font-weight: 400;
  color: #ccc;
  text-align: center;
  line-height: 1.6;
  z-index: 200;
  padding: 10px;
}
footer .links a, footer .record a {
  color: #ccc;
  margin: 0 8px;
  text-decoration: none;
}
footer .links a:hover, footer .record a:hover { color: #fff; }
footer .record { font-size: 11px; margin-top: 4px; }
footer .record img { height: 14px; vertical-align: middle; margin-right: 4px; }
