:root {
  color-scheme: light;
  --paper: #f7f2e7;
  --ink: #16231f;
  --muted: #65736e;
  --line: #d8cdbb;
  --teal: #245e57;
  --gold: #d8a437;
  --card: #fffaf0;
  --shadow: 0 24px 70px rgba(32, 30, 23, 0.14);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

.site-shell {
  width: min(1120px, calc(100vw - 32px));
  margin: 0 auto;
}

.hero {
  min-height: 82vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 480px);
  gap: 46px;
  align-items: center;
  padding: 42px 0 30px;
}

.brand,
.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(4.4rem, 13vw, 9.5rem);
  line-height: 0.84;
  letter-spacing: 0;
}

.intro {
  max-width: 560px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2.2vw, 1.28rem);
  line-height: 1.8;
}

.game-preview {
  padding: 22px;
  display: grid;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.preview-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.preview-row span,
.preview-row i {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 8px;
  border: 2px solid rgba(22, 35, 31, 0.16);
  font-size: 2rem;
  font-style: normal;
  font-weight: 900;
  box-shadow: inset 0 -10px 22px rgba(0, 0, 0, 0.1);
}

.preview-row span {
  background: #e8decc;
  color: #5e5549;
}

.red { background: #d94a3a; }
.blue { background: #2f75c9; }
.green { background: #3f9c63; }
.cyan { background: #2aa6a1; }
.purple { background: #8561c9; }

.preview-feedback {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  justify-items: center;
  gap: 10px;
}

.preview-feedback b {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.16);
}

.exact { background: #2f9d63; }
.close { background: #f0bf3a; }
.miss { background: #bbc2bd; }

.project-band {
  margin: 0 0 42px;
  padding: 30px 0 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 28px;
  align-items: stretch;
  border-top: 1px solid var(--line);
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1;
}

.project-copy p:last-child {
  max-width: 700px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.8;
}

.project-card {
  min-height: 180px;
  padding: 20px;
  display: grid;
  align-content: space-between;
  border-radius: 8px;
  background: #17231f;
  color: white;
}

.huarong-card {
  background: #5b2a1f;
}

.project-card span,
.project-card em {
  color: #d6e3de;
  font-style: normal;
  font-weight: 800;
}

.project-card strong {
  font-size: 1.6rem;
  line-height: 1.2;
}

@media (max-width: 820px) {
  .hero,
  .project-band {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }
}

@media (max-width: 520px) {
  .site-shell {
    width: min(100vw - 20px, 1120px);
  }

  .game-preview {
    padding: 12px;
  }
}
