:root {
  --ink: #eaf0ff;
  --muted: #9aa6c8;
  --warm: #ffcf8a;
  --panel: rgba(16, 22, 46, 0.55);
  --border: rgba(150, 170, 230, 0.18);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  height: 100%;
  background: #070b1c;
  color: var(--ink);
  font-family: system-ui, -apple-system, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}

#sky {
  position: fixed;
  inset: 0;
  z-index: 0;
  display: block;
}

.stage {
  position: relative;
  z-index: 1;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 8vh 20px 28px;
  text-align: center;
}

.hero { margin-top: 4vh; }

.title {
  font-size: clamp(48px, 12vw, 104px);
  font-weight: 200;
  letter-spacing: 0.18em;
  margin: 0;
  background: linear-gradient(180deg, #fff, var(--warm));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 40px rgba(255, 200, 130, 0.25);
}

.subtitle {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: clamp(14px, 3.4vw, 18px);
  letter-spacing: 0.12em;
}

.panel {
  width: min(440px, 92vw);
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 22px 22px 20px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.wish-label {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 8px;
  letter-spacing: 0.06em;
}

#wish {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(8, 12, 28, 0.7);
  color: var(--ink);
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s;
}
#wish:focus { border-color: rgba(255, 200, 130, 0.5); }
#wish::placeholder { color: #5d688f; }

.btn {
  margin-top: 14px;
  width: 100%;
  padding: 13px 18px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-size: 16px;
  letter-spacing: 0.08em;
  color: #2a1a05;
  background: linear-gradient(135deg, #ffd89b, #ff9d5c);
  box-shadow: 0 6px 22px rgba(255, 150, 80, 0.3);
  transition: transform 0.12s ease, box-shadow 0.2s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 28px rgba(255, 150, 80, 0.42); }
.btn:active { transform: translateY(0); }

.hint {
  margin: 12px 0 0;
  font-size: 12px;
  color: #7682a6;
  line-height: 1.6;
}

.site-footer { margin-top: 24px; }

.foot-links {
  display: flex;
  gap: 22px;
  justify-content: center;
  flex-wrap: wrap;
}
.foot-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.06em;
  transition: color 0.2s;
}
.foot-links a:hover { color: var(--warm); }

.disclaimer {
  margin: 14px auto 0;
  max-width: 520px;
  font-size: 11.5px;
  color: #5d688f;
  line-height: 1.7;
}

/* 法律页面 */
.doc {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  padding: 60px 22px 80px;
  text-align: left;
  line-height: 1.75;
}
.doc a.back {
  color: var(--warm);
  text-decoration: none;
  font-size: 14px;
}
.doc h1 {
  font-weight: 300;
  letter-spacing: 0.06em;
  margin: 18px 0 6px;
}
.doc .updated { color: var(--muted); font-size: 13px; margin-bottom: 28px; }
.doc h2 {
  font-weight: 400;
  font-size: 19px;
  margin: 34px 0 10px;
  color: var(--warm);
}
.doc p, .doc li { color: #c3cce6; font-size: 15px; }
.doc ul { padding-left: 20px; }
.doc li { margin: 6px 0; }
.doc .fine { color: #6b769a; font-size: 13px; margin-top: 40px; }
