* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #030303;
  color: #e8e0d0;
  font-family: "Microsoft YaHei", "PingFang SC", serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(255,255,255,0.08), transparent 40%),
    linear-gradient(to bottom, rgba(0,0,0,0.2), #000 90%);
  pointer-events: none;
  z-index: -1;
}

.site-header {
  height: 88px;
  padding: 0 7vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(8px);
}

.brand-title {
  font-size: 28px;
  letter-spacing: 2px;
}

.brand-subtitle {
  margin-top: 4px;
  font-size: 14px;
  color: #aaa;
}

.nav a {
  color: #aaa;
  text-decoration: none;
  margin-left: 42px;
  font-size: 20px;
  padding-bottom: 26px;
}

.nav a.active {
  color: #ead8b8;
  border-bottom: 2px solid #ead8b8;
}

.home {
  max-width: 1120px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

.hero {
  position: relative;
  text-align: center;
}

.hero-image {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: 6px;
  opacity: 0.88;
}

.book-title {
  margin-top: -150px;
  position: relative;
  padding-bottom: 80px;
}

.book-title h1 {
  margin: 0;
  font-size: 52px;
  letter-spacing: 4px;
  color: #d8c7aa;
  text-shadow: 0 4px 16px #000;
}

.book-title p {
  margin-top: 14px;
  font-size: 20px;
  color: #b8b0a3;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

h2 {
  font-size: 30px;
  font-weight: 400;
  letter-spacing: 4px;
  color: #ead8b8;
}

.section-head a {
  color: #d8c7aa;
  text-decoration: none;
}

.latest-card {
  display: grid;
  grid-template-columns: 120px 1fr 180px;
  align-items: center;
  gap: 28px;
  padding: 34px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 8px;
  background: rgba(15,15,15,0.82);
  box-shadow: 0 0 40px rgba(0,0,0,0.35);
}

.chapter-num {
  font-size: 30px;
  line-height: 1.55;
  text-align: center;
  color: #ead8b8;
  border-right: 1px solid rgba(255,255,255,0.18);
}

.chapter-info h3 {
  margin: 0;
  font-size: 32px;
  font-weight: 400;
}

.chapter-info p {
  color: #b9b1a5;
  line-height: 1.9;
}

.chapter-info span {
  color: #8f887d;
}

.read-button {
  display: inline-block;
  text-align: center;
  padding: 18px 24px;
  background: #e3d2b4;
  color: #16120d;
  text-decoration: none;
  border-radius: 4px;
  font-size: 20px;
}

.chapters {
  margin-top: 64px;
}

.chapter-list {
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 8px;
  background: rgba(10,10,10,0.82);
  padding: 18px 28px;
}

.chapter-row {
  display: grid;
  grid-template-columns: 1fr 160px 40px;
  align-items: center;
  min-height: 72px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  color: #e8e0d0;
  text-decoration: none;
  font-size: 22px;
}

.chapter-row:last-child {
  border-bottom: none;
}

.chapter-row em {
  font-style: normal;
  color: #888;
  font-size: 18px;
}

.chapter-row strong {
  font-weight: 400;
  color: #d8c7aa;
}

.chapter-row.disabled {
  color: #777;
}

.footer {
  text-align: center;
  padding: 40px 20px 56px;
  color: #777;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.reader {
  max-width: 820px;
  margin: 0 auto;
  padding: 60px 24px 100px;
}

.reader-title {
  text-align: center;
  margin-bottom: 50px;
}

.reader-title h1 {
  font-size: 42px;
  font-weight: 400;
  color: #ead8b8;
}

.reader-title p {
  color: #888;
}

.reader-content {
  font-size: 20px;
  line-height: 2.15;
  color: #ddd4c4;
}

.reader-content p {
  margin: 0 0 28px;
}

.reader-nav {
  margin-top: 70px;
  display: flex;
  justify-content: space-between;
}

.reader-nav a {
  color: #d8c7aa;
  text-decoration: none;
}

.about-box {
  max-width: 820px;
  margin: 80px auto;
  padding: 42px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 8px;
  background: rgba(10,10,10,0.78);
  line-height: 2;
  font-size: 20px;
}

@media (max-width: 760px) {
  .site-header {
    height: auto;
    padding: 22px;
    flex-direction: column;
    align-items: flex-start;
  }

  .nav {
    margin-top: 20px;
  }

  .nav a {
    margin-left: 0;
    margin-right: 22px;
    font-size: 16px;
  }

  .book-title {
    margin-top: -90px;
    padding-bottom: 50px;
  }

  .book-title h1 {
    font-size: 36px;
  }

  .latest-card {
    grid-template-columns: 1fr;
  }

  .chapter-num {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.18);
    padding-bottom: 20px;
  }

  .chapter-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 18px 0;
  }
}
