/* 蜉熵阁 · 阁书 —— 《蜉熵阁宣言》 */

:root {
  --bg-deep: #0f0f1a;
  --bg-mid: #1a1a2e;
  --gold: #ffd700;
  --gold-dim: rgba(255, 215, 0, 0.22);
  --gold-faint: rgba(255, 215, 0, 0.07);
  --ink: #e8e6e3;
  --ink-dim: #9ca3af;
  --font-serif: "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif;
}

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

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255, 215, 0, 0.06) 0%, transparent 56%),
    radial-gradient(ellipse at 12% 36%, rgba(162, 155, 254, 0.035) 0%, transparent 46%),
    linear-gradient(180deg, var(--bg-mid) 0%, var(--bg-deep) 28%, var(--bg-deep) 100%);
  color: var(--ink);
  font-family: var(--font-serif);
  line-height: 1.9;
}

::selection {
  background: var(--gold);
  color: var(--bg-deep);
}

/* ---- 容器 ---- */

.geshu {
  max-width: 42rem;
  margin: 0 auto;
  padding: 6rem 1.5rem 5rem;
}

/* ---- Hero ---- */

.geshu__hero {
  text-align: center;
  margin-bottom: 5.5rem;
}

.geshu__eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.5em;
  color: var(--ink-dim);
  margin-bottom: 2rem;
}

.geshu__title {
  font-size: clamp(2.6rem, 8vw, 5rem);
  font-weight: 600;
  letter-spacing: 0.28em;
  text-indent: 0.28em;
  color: var(--gold);
  text-shadow: 0 0 80px rgba(255, 215, 0, 0.3);
}

.geshu__title a {
  color: inherit;
  text-decoration: none;
}

.geshu__rule {
  width: 1px;
  height: 4.5rem;
  background: linear-gradient(180deg, transparent, var(--gold), transparent);
  margin: 3rem auto 0;
}

/* ---- 章节 ---- */

.chapter {
  margin-bottom: 5rem;
}

.chapter__head {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 2rem;
}

.chapter__no {
  font-size: 2.2rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1;
  color: var(--gold-dim);
}

.chapter__title {
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--gold);
}

.chapter__sub {
  margin-left: 0.6em;
  font-size: 0.8em;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--ink-dim);
}

.chapter__body p {
  text-indent: 2em;
  text-align: justify;
  margin-bottom: 1.4rem;
  font-size: 1.05rem;
  line-height: 2.05;
  color: var(--ink);
}

.chapter__body p:last-child {
  margin-bottom: 0;
}

.hl {
  color: var(--gold);
}

/* ---- 信 / 拒：排比 ---- */

.creed {
  list-style: none;
}

.creed li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 1.3rem;
  font-size: 1.05rem;
  line-height: 2.05;
  text-align: justify;
  color: var(--ink);
}

.creed li:last-child {
  margin-bottom: 0;
}

.creed li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 2px;
  height: 1.05em;
  background: var(--gold);
  opacity: 0.55;
}

.creed__verb {
  color: var(--gold);
  letter-spacing: 0.06em;
}

/* ---- 建：三件事 ---- */

.pillars {
  list-style: none;
  margin-top: 0.6rem;
}

.pillars li {
  margin-bottom: 1.6rem;
  padding-left: 1.5rem;
  border-left: 1px solid var(--gold-dim);
  font-size: 1.05rem;
  line-height: 2.05;
  text-align: justify;
  color: var(--ink);
}

.pillars li:last-child {
  margin-bottom: 0;
}

.pillars__head {
  color: var(--gold);
  letter-spacing: 0.08em;
}

/* ---- Footer ---- */

.geshu__footer {
  text-align: center;
  margin-top: 3rem;
  padding-top: 4rem;
  border-top: 1px solid var(--gold-faint);
}

.geshu__slogan {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  letter-spacing: 0.4em;
  color: var(--gold);
  text-shadow: 0 0 50px rgba(255, 215, 0, 0.25);
}

.geshu__footnote {
  margin-top: 2.2rem;
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  color: var(--ink-dim);
}

/* ---- 响应式 ---- */

@media (max-width: 600px) {
  .geshu {
    padding: 4rem 1.25rem 3.5rem;
  }

  .geshu__hero {
    margin-bottom: 3.5rem;
  }

  .chapter {
    margin-bottom: 3.5rem;
  }

  .chapter__body p,
  .creed li,
  .pillars li {
    font-size: 0.98rem;
    line-height: 1.95;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }
}