@font-face {
    font-family: 'HYWenHei-85W';
    src: url('./assets/fonts/HYWenHei-HEW.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* ---------- Base ---------- */
* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: "HYWenHei-85W", sans-serif;
  color: #f5f7fa;
  height: 100%;
  overflow-x: hidden;
}

/* ---------- Background ---------- */
#bg-gradient {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at top, #8fbcd4, transparent 60%),
    linear-gradient(180deg, #1c2a3a, #0e1622);
  z-index: -2;
}

#particles {
  position: fixed;
  inset: 0;
  z-index: -1;
}

/* ---------- Top Bar ---------- */
.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 2rem;
  backdrop-filter: blur(8px);
  background: rgba(20, 30, 45, 0.4);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.top-bar h1 {
  font-family: "HYWenHei-85W", serif;
  font-weight: 600;
  letter-spacing: 0.08em;
  margin: 0;
}

.top-bar nav a {
  margin-left: 1.5rem;
  text-decoration: none;
  color: #e6ecf3;
  font-size: 0.9rem;
  opacity: 0.85;
}

.top-bar nav a:hover {
  opacity: 1;
}

/* ---------- Main Content ---------- */
.container {
  max-width: 900px;
  margin: 4rem auto;
  padding: 0 1.5rem;
}

.glass-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 16px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.glass-card h2 {
  font-family: "Cinzel", serif;
  font-weight: 400;
  letter-spacing: 0.05em;
  margin-top: 0;
}

.glass-card ul {
  list-style: none;
  padding-left: 0;
}

.glass-card li {
  margin: 0.6rem 0;
}

/* ---------- Button ---------- */
button {
  margin-top: 1rem;
  padding: 0.7rem 1.5rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.4);
  background: linear-gradient(135deg, #d4af7a, #f5e4b2);
  color: #2a1f12;
  font-weight: 500;
  cursor: pointer;
}

button:hover {
  filter: brightness(1.1);
}

/* ---------- Footer ---------- */
footer {
  text-align: center;
  padding: 2rem;
  font-size: 0.8rem;
  opacity: 0.6;
}
