:root {
  --bg: #090812;
  --panel: rgba(23, 15, 34, .78);
  --line: rgba(201, 166, 243, .18);
  --purple: #ba86ff;
  --text: #fbf7ff;
  --muted: rgba(239, 230, 248, .56);
}

* { box-sizing: border-box; }

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  color: var(--text);
  background:
    radial-gradient(circle at 50% 0, rgba(120, 68, 183, .16), transparent 32%),
    linear-gradient(180deg, #0b0913, #08070d);
  font-family: Inter, "Noto Sans SC", "Microsoft YaHei", system-ui, sans-serif;
}

.section-page {
  min-height: 100vh;
  padding: 126px 22px 70px;
}

.section-shell {
  width: min(980px, 100%);
  margin: 0 auto;
}



/* Shell entrance: back link, kicker, title, lead, panel stagger in. */
.section-shell > * {
  animation: top-rise-in var(--dur-l) var(--ease-out) both;
}
.section-shell > :nth-child(2) { animation-delay: calc(1 * var(--stagger)); }
.section-shell > :nth-child(3) { animation-delay: calc(2 * var(--stagger)); }
.section-shell > :nth-child(4) { animation-delay: calc(3 * var(--stagger)); }
.section-shell > :nth-child(5) { animation-delay: calc(5 * var(--stagger)); }

.section-kicker {
  margin-top: 38px;
  color: var(--purple);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .28em;
}

.section-title {
  margin: 12px 0 12px;
  font-family: "Noto Serif SC", "Songti SC", Georgia, serif;
  font-size: clamp(40px, 6vw, 74px);
  font-weight: 500;
}

.section-lead {
  max-width: 640px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.85;
}

.memory-panel {
  margin-top: 40px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    radial-gradient(circle at 80% 0, rgba(151, 92, 224, .10), transparent 35%),
    var(--panel);
  box-shadow: 0 22px 65px rgba(0,0,0,.24);
}

.memory-panel h2 {
  margin: 0 0 10px;
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 22px;
  font-weight: 500;
}

.memory-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

.member-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 36px;
}

.member-card {
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 18%, rgba(180, 126, 247, .15), transparent 38%),
    rgba(18, 12, 28, .78);
  color: #fff;
  text-decoration: none;
  transition:
    transform var(--dur-m) var(--ease-out),
    border-color var(--dur-m) var(--ease-out);
}

.member-card:focus-visible {
  transform: translateY(-5px);
  border-color: rgba(193, 145, 255, .55);
}

.member-card:active { transform: scale(.97); }

@media (hover: hover) {
  .member-card:hover {
    transform: translateY(-5px);
    border-color: rgba(193, 145, 255, .55);
  }
}

.member-card span {
  color: rgba(206, 174, 243, .48);
  font-size: 8px;
  letter-spacing: .18em;
}

.member-card strong {
  margin-top: 7px;
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 20px;
  font-weight: 500;
}

@media (max-width: 760px) {
  .section-page { padding-top: 104px; }
  .member-grid { grid-template-columns: repeat(2, 1fr); }
}
