:root {
  --bg: #04060d;
  --text: #eaeefb;
  --dim: rgba(234, 238, 251, 0.62);
  --faint: rgba(234, 238, 251, 0.34);
  --gold: #e3c489;
  --line: rgba(255, 255, 255, 0.11);
  --card: rgba(255, 255, 255, 0.035);
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC',
    'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body { height: 100%; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  line-height: 1.7;
}

/* 背景星空 */
#stars {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.wrap {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  padding: 16vh 24px 80px;
}

/* ---------------- 头部 ---------------- */
.hero { margin-bottom: 64px; }

.hero h1 {
  font-size: 44px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 14px;
}

.tagline {
  font-size: 17px;
  color: var(--dim);
}

/* 名字下面一道金色短横线，和海报呼应 */
.hero::after {
  content: '';
  display: block;
  width: 56px;
  height: 2px;
  margin-top: 26px;
  background: var(--gold);
  opacity: 0.85;
}

/* ---------------- 分区 ---------------- */
section { margin-bottom: 56px; }

h2 {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 22px;
}

.prose {
  color: var(--dim);
  font-size: 15.5px;
  max-width: 60ch;
}

/* ---------------- 工具卡片 ---------------- */
.cards {
  display: grid;
  gap: 14px;
}

.card {
  display: block;
  position: relative;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.22s, background 0.22s, transform 0.22s;
}

.card:hover {
  border-color: rgba(227, 196, 137, 0.5);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-2px);
}

.card h3 {
  font-size: 18px;
  font-weight: 500;
  margin: 10px 0 8px;
}

.card p {
  font-size: 14.5px;
  color: var(--dim);
  line-height: 1.75;
}

.tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--gold);
  border: 1px solid rgba(227, 196, 137, 0.32);
  border-radius: 999px;
  padding: 2px 10px;
}

.go {
  display: inline-block;
  margin-top: 14px;
  font-size: 13.5px;
  color: var(--gold);
  opacity: 0.75;
  transition: opacity 0.2s;
}

.card:hover .go { opacity: 1; }

/* ---------------- 页脚 ---------------- */
footer {
  margin-top: 72px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--faint);
}

footer a {
  color: var(--faint);
  text-decoration: none;
  transition: color 0.2s;
}

footer a:hover { color: var(--gold); }

.dot { margin: 0 10px; }

/* ---------------- 手机 ---------------- */
@media (max-width: 560px) {
  .wrap { padding: 11vh 20px 60px; }
  .hero h1 { font-size: 34px; }
  .hero { margin-bottom: 48px; }
  .card { padding: 18px 20px; }
}
