* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
:root {
  --bg: #08080B;
  --gold: #CBA35B;
  --gold-hi: #F2E0AE;
  --gold-soft: #E6D2A0;
  --gold-grad: linear-gradient(135deg, #F4E3B4 0%, #D8B675 42%, #B58A2E 78%, #E7CE92 100%);
  --ink: #F1F0F4;
  --ink-dim: #9a9aa6;
  --line: rgba(203, 163, 91, 0.30);
  --line-soft: rgba(203, 163, 91, 0.16);
  --panel: rgba(28, 28, 35, 0.55);
}
html { background-color: var(--bg); scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: radial-gradient(1200px 800px at 50% -10%, #181826 0%, var(--bg) 55%) fixed;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100vh;
}
#stars { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.nebula {
  position: fixed; inset: -25%; z-index: 0; pointer-events: none;
  background:
    radial-gradient(38% 28% at 22% 32%, rgba(79,134,198,.12), transparent 62%),
    radial-gradient(34% 26% at 78% 68%, rgba(201,169,98,.12), transparent 62%),
    radial-gradient(30% 24% at 60% 18%, rgba(120,90,180,.08), transparent 60%);
  filter: blur(22px);
  animation: nebulaDrift 28s ease-in-out infinite alternate;
}
@keyframes nebulaDrift {
  from { transform: translate3d(-3%, -2%, 0) scale(1); }
  to   { transform: translate3d(3%, 2%, 0) scale(1.08); }
}
body::after {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(125% 105% at 50% 42%, transparent 55%, rgba(0,0,0,0.55) 100%);
}
.topbar, .combo-page, .wall { position: relative; z-index: 1; }
a { color: var(--gold); text-decoration: none; }

/* ---------- top bar ---------- */
.topbar { display: flex; align-items: center; justify-content: space-between; padding: 22px 30px; max-width: 1100px; margin: 0 auto; }
.brand {
  font-family: 'Cormorant Garamond', serif; letter-spacing: 0.46em; font-weight: 600; font-size: 20px;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}
.topbar nav a { color: var(--ink-dim); text-decoration: none; margin-left: 26px; font-size: 13px; letter-spacing: 0.1em; transition: color .25s; }
.topbar nav a:hover { color: var(--gold-soft); }

/* ---------- language switch ---------- */
.lang-switch {
  background: rgba(28,28,35,0.4); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--line-soft); color: var(--gold-soft); border-radius: 30px;
  padding: 6px 15px; font-size: 12px; letter-spacing: 0.1em; cursor: pointer; font-family: inherit;
  transition: border-color .2s, color .2s;
}
.lang-switch:hover { border-color: var(--gold); color: var(--gold); }

/* ---------- language visibility (CN/EN 切换) ---------- */
.lang-cn { display: none; }
html.lang-zh .lang-en { display: none; }
html.lang-zh .lang-cn { display: revert; }

/* ---------- combo page ---------- */
.combo-page { max-width: 720px; margin: 0 auto; padding: 8px 24px 80px; }
.back { display: inline-block; margin: 4px 0 18px; color: var(--ink-dim); font-size: 13px; letter-spacing: .04em; }
.back:hover { color: var(--gold); }
.eyebrow { letter-spacing: .4em; text-transform: uppercase; font-size: 12px; color: var(--gold); margin: 0 0 16px; }
.combo-head { text-align: center; padding: 10px 0 4px; }
.combo-head h1 { font-family: 'Cormorant Garamond', serif; font-weight: 500; font-size: clamp(38px, 7vw, 60px); line-height: 1.1; margin: 8px 0 14px;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.sig-meta { color: var(--ink-dim); letter-spacing: .12em; margin: 0; font-size: 14px; }
.sig-meta .lang-cn { letter-spacing: .2em; }

.pair { display: flex; gap: 18px; margin: 38px 0; }
.pair-card { flex: 1; background: var(--panel); border: 1px solid var(--line-soft); border-radius: 18px; padding: 26px 20px; text-align: center; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.pair-card h2 { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin: 0 0 12px; font-weight: 600; }
.big-sym { font-size: 40px; margin: 6px 0 14px; }
.pair-card p { margin: 4px 0; color: var(--ink); }
.pair-card .lang-cn { color: var(--gold-soft); font-size: 14px; font-family: 'Noto Serif SC', serif; }

.fusion, .mantra, .stones, .related, .cta { margin: 46px 0; }
.fusion h2, .mantra h2, .stones h2, .related h2 { font-family: 'Cormorant Garamond', serif; font-size: 26px; letter-spacing: .02em; color: var(--gold); border-bottom: 1px solid var(--line); padding-bottom: 12px; margin: 0 0 18px; font-weight: 500; }
.fusion p, .mantra p { color: var(--ink); font-size: 16px; line-height: 1.95; }
.fusion .lang-cn, .mantra .lang-cn { color: var(--ink); font-family: 'Noto Serif SC', serif; }
.mantra .lang-en { font-family: 'Cormorant Garamond', serif; font-size: 27px; font-style: italic; line-height: 1.5; }
.mantra .lang-cn { font-size: 20px; text-align: center; }

.stone-list { list-style: none; padding: 0; display: flex; gap: 12px; flex-wrap: wrap; }
.stone-list li { background: rgba(201,162,95,0.10); border: 1px solid rgba(201,162,95,0.30); color: var(--gold-soft); padding: 8px 18px; border-radius: 999px; font-size: 14px; }
.src { color: #7d7d8a; font-size: 12px; margin-top: 14px; letter-spacing: .04em; }
.rel-list { list-style: none; padding: 0; columns: 2; column-gap: 22px; }
.rel-list li { margin: 6px 0; break-inside: avoid; }
.rel-list a { color: var(--ink); font-size: 14px; text-decoration: none; transition: color .2s; }
.rel-list a:hover { color: var(--gold); }
.rel-list .lang-cn { color: var(--gold-soft); font-family: 'Noto Serif SC', serif; margin-left: 6px; font-size: 13px; }
.cta { text-align: center; display: flex; flex-direction: column; gap: 16px; align-items: center; }
.btn { display: inline-block; background: var(--gold-grad); color: #1a1408; font-weight: 700; letter-spacing: .08em; padding: 15px 32px; border-radius: 999px; border: none; text-decoration: none; box-shadow: 0 10px 30px rgba(203,163,91,0.30); transition: transform .25s, box-shadow .25s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 42px rgba(203,163,91,0.42); }
.btn-ghost { background: transparent; color: var(--gold); border: 1px solid rgba(201,162,95,0.5); padding: 12px 24px; border-radius: 999px; cursor: pointer; font-size: 14px; font-family: inherit; transition: border-color .2s, color .2s; }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-soft); }

/* ---------- signature wall ---------- */
.wall { max-width: 1100px; margin: 0 auto; padding: 8px 24px 80px; }
.wall-head { text-align: center; padding: 20px 0 8px; }
.wall-head h1 { font-family: 'Cormorant Garamond', serif; font-size: clamp(40px, 7vw, 60px); margin: 10px 0 16px;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.wall-head .sub { color: var(--ink-dim); max-width: 560px; margin: 0 auto 22px; }
.wall-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(155px, 1fr)); gap: 16px; margin-top: 30px; }
.sig-card { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 22px 12px; border-radius: 18px; background: var(--panel); border: 1px solid var(--line-soft); border-top: 2px solid var(--el); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: transform .2s, border-color .2s; }
.sig-card:hover { transform: translateY(-4px); border-color: var(--el); }
.sig-sym { font-size: 28px; }
.sig-en { font-weight: 600; font-size: 14px; text-align: center; color: var(--ink); }
.sig-cn { color: var(--gold); font-size: 13px; font-family: 'Noto Serif SC', serif; }
.sig-z { color: var(--ink-dim); font-size: 12px; }
.wall-foot { text-align: center; color: #6f6f7c; margin-top: 46px; font-size: 13px; letter-spacing: .1em; }
@media (max-width: 560px) {
  .topbar { padding: 18px 18px; }
  .topbar nav a { margin-left: 16px; font-size: 12px; }
  .pair { flex-direction: column; }
  .rel-list { columns: 1; }
  .combo-head h1 { font-size: 34px; }
}
