*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --bg-main:#faf7f2;
  --bg-section:#fdfbf8;
  --text-main:#333;
  --text-muted:#777;
  --accent:#d79c7a;
  --border:#e6dfd4;
}

body {
  margin:0;
  font-family:"Noto Sans SC",system-ui,sans-serif;
  background:var(--bg-main);
  color:var(--text-main);
}

.site-header {
  position:sticky;
  top:0;
  background:rgba(250,247,242,.95);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--border);
  z-index:1000;
}

.header-top {
  max-width:1120px;
  margin:auto;
  padding:12px 16px;
  display:flex;
  justify-content:space-between;
  gap:12px;
}

.brand-name {
  font-family:"Playfair Display",serif;
  font-size:1.6rem;
  letter-spacing:.08em;
}

.brand-sub {
  font-size:.75rem;
  color:var(--text-muted);
}

.lang-switch {
  font-size:.8rem;
}

.lang-switch select {
  border-radius:999px;
  border:1px solid var(--border);
  padding:4px 10px;
}

.main-nav {
  max-width:1120px;
  margin:auto;
  padding:6px 16px 12px;
  display:flex;
  gap:18px;
  overflow-x:auto;
}

.main-nav a {
  text-decoration:none;
  color:var(--text-main);
  white-space:nowrap;
}

.hero {
  overflow:hidden;
}

.hero-track {
  display:flex;
  transition:.8s ease;
}

.hero-slide img {
  width:100%;
  height:60vh;
  object-fit:cover;
}

.section {
  padding:56px 16px;
}

.section:nth-child(even) {
  background:var(--bg-section);
}

.section-inner {
  max-width:1120px;
  margin:auto;
}

.section-book .section-inner {
  display:grid;
  grid-template-columns:1fr 2fr;
  gap:32px;
}

.book-cover img {
  max-width:320px;
  width:100%;
  border-radius:18px;
}

.book-text p {
  line-height:1.8;
  font-size:.95rem;
}

.btn {
  display:inline-block;
  margin-top:14px;
  padding:8px 20px;
  border-radius:999px;
  background:var(--accent);
  color:white;
  text-decoration:none;
}

.derives-grid {
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:20px;
}

.derive-item {
  background:white;
  border-radius:18px;
  padding:16px 12px;
  text-align:center;
}

.derive-item img {
  max-width:140px;
}

.site-footer {
  text-align:center;
  padding:24px;
  font-size:.8rem;
  color:var(--text-muted);
}

/* 手机优化 */
@media (max-width:768px) {
  .section-book .section-inner {
    grid-template-columns:1fr;
    text-align:center;
  }

  .derives-grid {
    grid-template-columns:repeat(2,1fr);
  }

  .hero-slide img {
    height:55vh;
  }
}