/* ========== 背景与全局 ========== */
html, body {
  margin: 0;
  height: 100%;
  font-family: "Noto Sans SC", "Space Grotesk", sans-serif;
  color: #fff;
  background: radial-gradient(circle at 20% 20%, #1e3c72 0%, #0b1437 60%, #070b22 100%);
  overflow-x: hidden;
}

/* 粒子层 */
#particles {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background: transparent;
  pointer-events: none;
}

/* 导航栏整体 */
#header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 50px;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  backdrop-filter: blur(10px);
  background: rgba(10, 12, 28, 0.35);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
/* 导航栏整体 */
#header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 40px; /* 左右改成40，避免过度靠边 */
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  backdrop-filter: blur(10px);
  background: rgba(10, 12, 28, 0.35);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-sizing: border-box; /* 保证padding生效 */
}

/* 导航菜单容器 */
.nav-links {
  display: flex;
  align-items: center;
  gap: 22px; /* 菜单之间的间距 */
  margin-right: 10px; /* 整体稍微往左推 */
}

/* 登录按钮美化 */
.login-btn {
  padding: 8px 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.15); /* 半透明 */
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(6px);
}

/* 悬停效果 */
.login-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transform: translateY(-1px);
}

/* ========== Hero ========== */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 0 20px;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}
.hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: auto;
}

/* ========== 页脚 ========== */
footer {
  text-align: center;
  padding: 40px 20px;
  background: rgba(10, 12, 28, 0.35);
  z-index: 1;
  position: relative;
}

/* 关于页面专用 */
.about-section {
  max-width: 800px;
  margin: 100px auto;
  padding: 20px;
  text-align: center;
  color: #fff;
}

#important-people.blurred {
  filter: blur(6px);
  pointer-events: none; /* 防止复制 */
  user-select: none;
}

#important-people {
  transition: filter 0.5s ease;
}

.about-login {
  text-align: center;
  margin: 40px 0;
}

/* 登录弹窗样式 */
.modal {
  display: none; /* 默认隐藏 */
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.6);
}

.modal-content {
  background-color: #fff;
  margin: 10% auto;
  padding: 20px 30px;
  border-radius: 8px;
  width: 300px;
  text-align: center;
  position: relative;
}

.modal-content h2 {
  margin-bottom: 20px;
}

.modal-content input {
  width: 90%;
  padding: 10px;
  margin: 10px 0;
  border-radius: 5px;
  border: 1px solid #ccc;
}

.modal-content button {
  padding: 10px 20px;
  border: none;
  background-color: #007bff;
  color: #fff;
  border-radius: 5px;
  cursor: pointer;
}

.modal-content button:hover {
  background-color: #0056b3;
}

.close {
  position: absolute;
  right: 15px;
  top: 10px;
  font-size: 25px;
  cursor: pointer;
}
