@font-face {
  font-family: "MaShanZheng";
  src: url("./assets/fonts/MaShanZheng-Regular.ttf") format("truetype");
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f5efe2;
  --paper-shadow: #e6dac4;
  --ink: #241d19;
  --muted: #7d6e61;
  --frame: #d8c5aa;
  --accent: #b84c2a;
}

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

html,
body {
  min-height: 100%;
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.75), transparent 36%),
    linear-gradient(180deg, #efe5d2 0%, #f7f1e5 100%);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
}

body {
  padding: 32px;
}

.page {
  max-width: 1280px;
  margin: 0 auto;
}

.masthead {
  text-align: center;
  margin-bottom: 24px;
}

.eyebrow {
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}

.masthead h1 {
  font-family: "MaShanZheng", serif;
  font-size: 72px;
  font-weight: 400;
  line-height: 1;
  margin-bottom: 10px;
}

.subtitle {
  font-size: 16px;
  color: var(--muted);
}

.intro-text {
  max-width: 820px;
  margin: 18px auto 0;
  display: block;
  font-size: 15px;
  line-height: 1.65;
  color: #3f352e;
  text-align: left;
}

.canvas-shell {
  padding: 18px;
  border: 1px solid rgba(36, 29, 25, 0.12);
  border-radius: 28px;
  background: rgba(255, 251, 245, 0.72);
  box-shadow: 0 24px 70px rgba(88, 59, 28, 0.12);
}

#scene {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
  background: var(--paper);
}

.note {
  margin-top: 12px;
  text-align: center;
  color: var(--muted);
  font: 12px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace;
}

.reading-shell {
  margin-top: 28px;
  padding: 28px;
  border: 1px solid rgba(36, 29, 25, 0.12);
  border-radius: 28px;
  background: rgba(255, 251, 245, 0.78);
  box-shadow: 0 20px 60px rgba(88, 59, 28, 0.09);
}

.reading-header {
  text-align: center;
  margin-bottom: 24px;
}

.reading-header h2 {
  font-size: 32px;
  font-weight: 600;
}

.reading-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.reading-card {
  padding: 18px 20px;
  border: 1px solid rgba(184, 76, 42, 0.18);
  border-radius: 18px;
  background: rgba(245, 239, 226, 0.9);
}

.reading-card h3 {
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 16px;
  font-weight: 600;
}

.reading-zh {
  font-family: "MaShanZheng", serif;
  font-size: 34px;
  line-height: 1.45;
  margin-bottom: 14px;
}

.reading-en {
  font-size: 15px;
  line-height: 1.65;
  color: #3e342d;
}

@media (max-width: 900px) {
  .reading-grid {
    grid-template-columns: 1fr;
  }

  .reading-shell {
    padding: 22px;
  }
}
