:root {
  --bg: #eaf1f7;
  --bg-soft: #dce8f2;
  --surface: #eaf1f7;
  --surface-2: #dfeaf3;
  --text: #26374d;
  --muted: #55718c;
  --soft: #7890a8;
  --line: rgba(116, 147, 178, 0.18);
  --blue: #7fb7e8;
  --cyan: #69d5dc;
  --aqua: #9be8e8;
  --green: #7fd8b0;
  --ink: #17324a;
  --shadow-dark: rgba(130, 158, 184, 0.36);
  --shadow-light: rgba(255, 255, 255, 0.92);
  --snow: 118, 168, 200;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 10%, rgba(105, 213, 220, 0.20), transparent 26rem),
    radial-gradient(circle at 84% 16%, rgba(127, 183, 232, 0.18), transparent 26rem),
    var(--bg);
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.75;
  overflow-x: hidden;
}

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

button {
  font: inherit;
  cursor: pointer;
}

button,
a {
  outline: none;
}

:focus-visible {
  outline: 3px solid rgba(55, 130, 180, 0.38);
  outline-offset: 3px;
}

.wrap {
  width: min(1100px, calc(100% - 34px));
  margin: 0 auto;
}

.wrap.narrow {
  max-width: 820px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(234, 241, 247, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.topbar {
  background: linear-gradient(90deg, #e7f3f5, #dcebf4);
  border-bottom: 1px solid var(--line);
}

.topbar-inner {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 6px 0;
}

.topbar-brand {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.04em;
}

.ai-credit {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px;
  border-radius: 999px;
  color: var(--ink);
  background: #ffffff;
  box-shadow: 4px 4px 10px rgba(130, 158, 184, 0.22), -4px -4px 10px rgba(255, 255, 255, 0.92);
  font-size: 12px;
  font-weight: 850;
}

.ai-logo {
  display: block;
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.ai-credit-label {
  color: var(--muted);
  font-weight: 700;
}

.ai-credit-name {
  font-weight: 900;
}

.ai-credit-x {
  color: var(--soft);
  font-weight: 900;
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 850;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.logo {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  color: #fff;
  background: linear-gradient(145deg, var(--cyan), var(--blue));
  box-shadow: 7px 7px 16px var(--shadow-dark), -7px -7px 16px var(--shadow-light);
  font-size: 15px;
  font-weight: 950;
}

.brand-avatar {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  border-radius: 15px;
  object-fit: cover;
  background: var(--surface-2);
  box-shadow: 5px 5px 11px var(--shadow-dark), -5px -5px 11px var(--shadow-light);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 15px;
}

.nav-links a {
  padding: 8px 9px;
  border-radius: 11px;
  transition: background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--ink);
  background: var(--surface);
  box-shadow: 3px 3px 8px var(--shadow-dark), -3px -3px 8px var(--shadow-light);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.theme-toggle {
  min-height: 42px;
  padding: 0 13px;
  border: 0;
  border-radius: 14px;
  color: var(--ink);
  background: var(--surface);
  box-shadow: 5px 5px 11px var(--shadow-dark), -5px -5px 11px var(--shadow-light);
  font-size: 13px;
  font-weight: 850;
  transition: box-shadow 160ms ease, transform 160ms ease;
}

.theme-toggle:active {
  transform: translateY(1px);
  box-shadow: 2px 2px 5px var(--shadow-dark), -2px -2px 5px var(--shadow-light);
}

.menu-toggle {
  width: 46px;
  height: 46px;
  display: none;
  place-items: center;
  border: 0;
  border-radius: 15px;
  color: var(--ink);
  background: var(--surface);
  box-shadow: 6px 6px 13px var(--shadow-dark), -6px -6px 13px var(--shadow-light);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 19px;
  border: 0;
  border-radius: 15px;
  font-weight: 850;
  transition: box-shadow 160ms ease, transform 160ms ease, background 160ms ease, color 160ms ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(145deg, #6bc6cf, #5aa8dc);
  box-shadow: 7px 7px 16px rgba(111, 165, 199, 0.32), -7px -7px 16px var(--shadow-light);
}

.btn-secondary {
  color: var(--ink);
  background: var(--surface);
  box-shadow: 6px 6px 13px var(--shadow-dark), -6px -6px 13px var(--shadow-light);
}

.btn-sm {
  min-height: 40px;
  padding: 0 14px;
  border-radius: 12px;
  font-size: 14px;
}

.hero {
  position: relative;
  padding: 82px 0 76px;
  overflow: hidden;
}

.hero-decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.pixel-cube {
  position: absolute;
  display: block;
  width: 42px;
  height: 42px;
  border-radius: 15px;
  background: var(--surface);
  box-shadow: 8px 8px 18px var(--shadow-dark), -8px -8px 18px var(--shadow-light);
}

.cube-grass { left: 5%; top: 18%; background: linear-gradient(145deg, #c7f0e0, #9bdcc8); }
.cube-dirt { right: 6%; top: 14%; background: linear-gradient(145deg, #d5eaf8, #a9cee8); }
.cube-water { left: 11%; bottom: 16%; background: linear-gradient(145deg, #d1f5f4, #a4e4e3); }
.cube-gold { right: 4%; bottom: 22%; background: linear-gradient(145deg, #f4e4bd, #e4ca91); }

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  align-items: center;
  gap: 54px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--ink);
  background: var(--surface);
  box-shadow: 5px 5px 11px var(--shadow-dark), -5px -5px 11px var(--shadow-light);
  font-size: 13px;
  font-weight: 850;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin: 22px 0 18px;
  font-size: clamp(46px, 7vw, 82px);
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.grad-text {
  color: var(--ink);
  background: linear-gradient(110deg, #1f4f78, #2b8f9c, #65c8d0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  max-width: 630px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.pixel-panel {
  padding: 28px;
  border-radius: 28px;
  background: var(--surface);
  box-shadow: 12px 12px 26px var(--shadow-dark), -12px -12px 26px var(--shadow-light);
}

.pixel-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 850;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 9px;
  border-radius: 999px;
  color: #0e6d57;
  background: #c9f3e3;
  box-shadow: 3px 3px 7px rgba(118, 165, 148, 0.22), -3px -3px 7px rgba(255, 255, 255, 0.85);
  font-size: 12px;
  font-weight: 850;
}

.address-list {
  display: grid;
  gap: 12px;
}

.address-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-width: 0;
  padding: 15px 16px;
  border-radius: 18px;
  background: var(--surface-2);
  box-shadow: 4px 4px 9px var(--shadow-dark), -4px -4px 9px var(--shadow-light);
}

.address-meta {
  min-width: 0;
}

.address-label {
  display: block;
  color: var(--soft);
  font-size: 12px;
  line-height: 1.4;
}

.address-value {
  display: block;
  overflow: hidden;
  color: var(--ink);
  font-size: 16px;
  font-weight: 850;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.copy-btn {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 0 13px;
  border: 0;
  border-radius: 12px;
  color: var(--ink);
  background: var(--surface);
  box-shadow: 4px 4px 9px var(--shadow-dark), -4px -4px 9px var(--shadow-light);
  font-size: 13px;
  font-weight: 850;
  transition: box-shadow 150ms ease, transform 150ms ease;
}

.copy-btn:active {
  transform: translateY(1px);
  box-shadow: 2px 2px 5px var(--shadow-dark), -2px -2px 5px var(--shadow-light);
}

.panel-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 20px;
}

.panel-actions .btn {
  width: 100%;
}

.section {
  padding: 76px 0;
}

.section-alt {
  background: var(--bg-soft);
}

.section-head {
  max-width: 720px;
  margin-bottom: 34px;
}

.kicker {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  color: #176f83;
  background: #d4f4f4;
  box-shadow: 3px 3px 7px rgba(105, 160, 165, 0.18), -3px -3px 7px rgba(255, 255, 255, 0.85);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

h2 {
  margin: 14px 0 12px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.16;
  letter-spacing: -0.02em;
}

.section-head p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.prose {
  max-width: 780px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.85;
}

.prose p + p {
  margin-top: 14px;
}

.mode-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.mode-card {
  min-height: 240px;
  padding: 24px;
  border-radius: 24px;
  background: var(--surface);
  box-shadow: 9px 9px 20px var(--shadow-dark), -9px -9px 20px var(--shadow-light);
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.mode-card:hover {
  transform: translateY(-4px);
  box-shadow: 13px 13px 28px var(--shadow-dark), -13px -13px 28px var(--shadow-light);
}

.icon-letter {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(145deg, #69d5dc, #7fb7e8);
  box-shadow: 7px 7px 15px rgba(111, 165, 199, 0.30), -7px -7px 15px var(--shadow-light);
  font-size: 18px;
  font-weight: 950;
}

.mode-card:nth-child(2) .icon-letter {
  background: linear-gradient(145deg, #7fd8b0, #69c7a0);
}

.mode-card:nth-child(3) .icon-letter {
  background: linear-gradient(145deg, #9bd7f2, #7dbce8);
}

.mode-card:nth-child(4) .icon-letter {
  background: linear-gradient(145deg, #f4d98c, #d8bd6c);
}

.mode-card h3 {
  margin-bottom: 9px;
  font-size: 21px;
}

.mode-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feature {
  padding: 22px;
  border-radius: 20px;
  background: var(--surface);
  box-shadow: 7px 7px 16px var(--shadow-dark), -7px -7px 16px var(--shadow-light);
}

.feature h3 {
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 17px;
}

.feature p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.72;
}

.team-card {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 720px;
  padding: 26px;
  border-radius: 24px;
  background: var(--surface);
  box-shadow: 10px 10px 22px var(--shadow-dark), -10px -10px 22px var(--shadow-light);
}

.team-avatar {
  flex: 0 0 auto;
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  color: #fff;
  background: linear-gradient(145deg, #69d5dc, #5aa8dc);
  box-shadow: 8px 8px 18px rgba(111, 165, 199, 0.30), -8px -8px 18px var(--shadow-light);
  font-size: 25px;
  font-weight: 950;
}

.team-card h3 {
  margin-bottom: 7px;
  font-size: 21px;
}

.team-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.join-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.8fr);
  gap: 28px;
  padding: 30px;
  border-radius: 28px;
  background: var(--surface);
  box-shadow: 12px 12px 26px var(--shadow-dark), -12px -12px 26px var(--shadow-light);
}

.join-card h2 {
  margin-bottom: 10px;
}

.join-card p {
  max-width: 560px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.join-card .group-name {
  margin: 4px 0 18px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.contact-list {
  display: grid;
  gap: 12px;
}

.contact-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 12px;
  padding: 15px;
  border-radius: 17px;
  background: var(--surface-2);
  box-shadow: 4px 4px 9px var(--shadow-dark), -4px -4px 9px var(--shadow-light);
}

.contact-item span {
  color: var(--soft);
  font-size: 12px;
}

.contact-item strong {
  font-size: 16px;
}

.contact-item .copy-btn {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
}

.site-footer {
  padding: 32px 0 38px;
  color: var(--soft);
  background: #e0e9f1;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 13px;
}

.credit-row {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.credit-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 11px;
  border-radius: 13px;
  color: var(--ink);
  background: var(--surface);
  box-shadow: 5px 5px 11px var(--shadow-dark), -5px -5px 11px var(--shadow-light);
  font-weight: 850;
}

.credit-mark {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: #fff;
  font-size: 12px;
  font-weight: 950;
}

.credit-mark.codex {
  background: #d8b64d;
}

.credit-mark.deepseek {
  background: #4f8cff;
}

.credit-sep {
  color: var(--soft);
  font-size: 18px;
  font-weight: 850;
}

.credit-text {
  color: var(--soft);
  font-size: 13px;
}

.credit-simple {
  color: var(--muted);
  font-size: 13px;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 50;
  padding: 12px 18px;
  border-radius: 14px;
  color: var(--ink);
  background: var(--surface);
  box-shadow: 8px 8px 18px var(--shadow-dark), -8px -8px 18px var(--shadow-light);
  font-size: 14px;
  font-weight: 850;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 10px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* 子页面：玩法 / 加入指南 / 常见问题 */

section {
  padding: 72px 0;
}

.page-hero {
  position: relative;
  padding: 74px 0 68px;
  overflow: hidden;
}

.page-hero .wrap {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  margin-bottom: 14px;
  font-size: clamp(38px, 5.5vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.play-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.play-card {
  min-height: 280px;
  padding: 26px;
  border-radius: 24px;
  background: var(--surface);
  box-shadow: 9px 9px 20px var(--shadow-dark), -9px -9px 20px var(--shadow-light);
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.play-card:hover {
  transform: translateY(-4px);
  box-shadow: 13px 13px 28px var(--shadow-dark), -13px -13px 28px var(--shadow-light);
}

.play-card h3 {
  margin-bottom: 9px;
  font-size: 21px;
}

.play-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.play-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.tag {
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--ink);
  background: var(--surface-2);
  box-shadow: 3px 3px 7px var(--shadow-dark), -3px -3px 7px var(--shadow-light);
  font-size: 12px;
  font-weight: 800;
}

.play-card:nth-child(1) .icon-letter {
  background: linear-gradient(145deg, #7fd8b0, #69c7a0);
}

.play-card:nth-child(2) .icon-letter {
  background: linear-gradient(145deg, #f4d98c, #d8bd6c);
}

.play-card:nth-child(3) .icon-letter {
  background: linear-gradient(145deg, #9bd7f2, #7dbce8);
}

.play-card:nth-child(4) .icon-letter {
  background: linear-gradient(145deg, #f0b8d4, #e29ab8);
}

.play-card:nth-child(5) .icon-letter {
  background: linear-gradient(145deg, #d8b98c, #c19a68);
}

.play-card:nth-child(6) .icon-letter {
  background: linear-gradient(145deg, #b9b0f0, #9a8fe0);
}

.address-panel {
  padding: 24px;
  border-radius: 24px;
  background: var(--surface);
  box-shadow: 9px 9px 20px var(--shadow-dark), -9px -9px 20px var(--shadow-light);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 16px;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 660px;
}

th,
td {
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--ink);
  background: var(--surface-2);
  font-size: 13px;
  letter-spacing: 0.04em;
}

td {
  color: var(--muted);
  font-size: 14px;
}

td:first-child {
  color: var(--ink);
  font-weight: 850;
}

tr:last-child td {
  border-bottom: 0;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 24px;
  border-radius: 22px;
  background: var(--surface);
  box-shadow: 7px 7px 16px var(--shadow-dark), -7px -7px 16px var(--shadow-light);
}

.step::before {
  content: counter(step, decimal-leading-zero);
  counter-increment: step;
  display: block;
  margin-bottom: 24px;
  color: #2b8f9c;
  font-size: 14px;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.step h3 {
  margin-bottom: 8px;
  font-size: 20px;
}

.step p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.notice {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
  border-radius: 18px;
  color: var(--ink);
  background: #fdf2d5;
  box-shadow: 6px 6px 14px var(--shadow-dark), -6px -6px 14px var(--shadow-light);
}

.notice-icon {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #7a5a12;
  background: #f4d98c;
  font-size: 20px;
  font-weight: 950;
}

.notice strong {
  display: block;
  margin-bottom: 4px;
  color: #7a5a12;
}

.notice p {
  margin: 0;
  color: #5f5533;
  font-size: 14px;
  line-height: 1.7;
}

.cta {
  position: relative;
  padding: 42px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 78% 18%, rgba(105, 213, 220, 0.18), transparent 22rem),
    var(--surface);
  box-shadow: 12px 12px 26px var(--shadow-dark), -12px -12px 26px var(--shadow-light);
  overflow: hidden;
}

.cta h2 {
  margin-bottom: 10px;
}

.cta p {
  max-width: 640px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.contact-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}

.contact-row .lead {
  margin: 0;
  font-size: 15px;
}

.faq {
  display: grid;
  gap: 12px;
  max-width: 820px;
}

details {
  border-radius: 16px;
  background: var(--surface);
  box-shadow: 5px 5px 12px var(--shadow-dark), -5px -5px 12px var(--shadow-light);
}

summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 17px 20px;
  cursor: pointer;
  font-weight: 800;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  color: #2b8f9c;
  font-size: 22px;
  font-weight: 500;
}

details[open] summary::after {
  content: "−";
}

.faq-answer {
  padding: 0 20px 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.faq-answer p {
  margin-bottom: 0;
}

.notfound {
  max-width: 640px;
  margin: 0 auto;
  padding: 38px 30px;
  text-align: center;
  border-radius: 28px;
  background: var(--surface);
  box-shadow: 12px 12px 26px var(--shadow-dark), -12px -12px 26px var(--shadow-light);
}

.notfound .code {
  font-size: 92px;
  font-weight: 900;
  line-height: 1;
  color: var(--ink);
}

.notfound h1 {
  margin: 18px 0 12px;
  font-size: 30px;
}

.notfound p {
  margin: 0 0 28px;
  color: var(--muted);
}

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

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

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

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

  .steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .nav-links,
  .nav-actions {
    display: none;
  }

  .menu-toggle {
    display: grid;
  }

  .nav.is-open {
    flex-wrap: wrap;
  }

  .nav.is-open .nav-links {
    order: 3;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-bottom: 14px;
  }

  .nav.is-open .nav-links a {
    padding: 12px 9px;
  }

  .play-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .wrap {
    width: min(100% - 24px, 1100px);
  }

  .hero {
    padding: 58px 0 56px;
  }

  .section {
    padding: 58px 0;
  }

  .mode-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .pixel-panel {
    padding: 22px;
  }

  .panel-actions {
    grid-template-columns: 1fr;
  }

  .team-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .join-card {
    padding: 22px;
  }

  .page-hero {
    padding: 58px 0 50px;
  }

  .address-panel {
    padding: 18px;
  }

  .cta {
    padding: 30px 24px;
  }

  .topbar-inner {
    justify-content: center;
    text-align: center;
  }

  .footer-inner {
    justify-content: center;
    text-align: center;
  }
}
