:root {
  color-scheme: dark;
  --ink: #111411;
  --panel: #1a201b;
  --panel-2: #222a23;
  --grid: rgba(196, 255, 177, 0.08);
  --line: rgba(220, 255, 205, 0.16);
  --text: #f3f7ef;
  --muted: #abb9a7;
  --melon: #59c55a;
  --melon-deep: #1f7e42;
  --flesh: #ef4760;
  --seed: #161716;
  --warning: #f1c94b;
  --steel: #8fa09a;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  /* 纯灰色背景 */
  background: #2a2f2e;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(118deg, rgba(89, 197, 90, 0.18), transparent 36%),
    linear-gradient(304deg, rgba(239, 71, 96, 0.15), transparent 38%),
    radial-gradient(circle at 70% 18%, rgba(241, 201, 75, 0.12), transparent 28rem);
}

.page-shell {
  width: min(1160px, calc(100% - 40px));
  min-height: calc(100vh - 72px);
  margin: 0 auto;
  padding: 28px 0 32px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--text);
  text-decoration: none;
  font-size: 1.08rem;
  font-weight: 900;
  letter-spacing: 0;
}

.brand-icon {
  width: 52px;
  height: 52px;
  border: 2px solid rgba(220, 255, 205, 0.18);
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.32);
  image-rendering: auto;
  object-fit: cover;
}

.download-panel {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 52%),
    linear-gradient(135deg, rgba(30, 39, 31, 0.96), rgba(17, 20, 17, 0.96));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.download-panel::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(90deg, rgba(241, 201, 75, 0.18) 0 9px, transparent 9px 18px) top left / 36px 8px repeat-x,
    linear-gradient(90deg, rgba(239, 71, 96, 0.12), transparent 34%);
}

.app-hero {
  position: relative;
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 44px;
  align-items: center;
  padding: clamp(28px, 4vw, 54px);
}

.app-visual {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(89, 197, 90, 0.14), rgba(239, 71, 96, 0.09)), #171d18;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.hazard-strip {
  position: absolute;
  top: 18px;
  right: 18px;
  left: 18px;
  height: 12px;
  border-radius: 3px;
  background: repeating-linear-gradient(
    135deg,
    var(--warning) 0 12px,
    #181b18 12px 24px
  );
  opacity: 0.9;
}

.app-icon {
  width: 68%;
  height: 68%;
  border: 2px solid rgba(243, 247, 239, 0.2);
  border-radius: 26px;
  object-fit: cover;
  box-shadow:
    0 24px 42px rgba(0, 0, 0, 0.44),
    0 0 0 8px rgba(89, 197, 90, 0.08);
}

.pixel-badge {
  position: absolute;
  right: 22px;
  bottom: 22px;
  display: grid;
  place-items: center;
  min-width: 64px;
  height: 38px;
  border: 1px solid rgba(241, 201, 75, 0.56);
  border-radius: 6px;
  color: #151713;
  background: var(--warning);
  font-weight: 950;
}

.app-details {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--warning);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

h1 {
  max-width: 760px;
  margin: 0;
  color: var(--text);
  font-size: clamp(2.5rem, 6vw, 4.6rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.summary {
  max-width: 690px;
  margin: 18px 0 22px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 24px;
}

.info-grid div {
  min-width: 0;
  min-height: 76px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015)),
    rgba(26, 32, 27, 0.86);
}

.info-grid dt {
  margin-bottom: 7px;
  color: var(--steel);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.info-grid dd {
  margin: 0;
  overflow-wrap: anywhere;
  color: var(--text);
  font-size: 1rem;
  font-weight: 900;
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.download-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 32px;
  border: 1px solid rgba(220, 255, 205, 0.28);
  border-radius: 8px;
  color: #071009;
  background:
    linear-gradient(180deg, #8df274, #46c25a 48%, #1f8a45),
    var(--melon);
  box-shadow:
    0 18px 34px rgba(31, 126, 66, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.38);
  font-weight: 950;
  text-decoration: none;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    filter 180ms ease;
}

.download-button:hover {
  transform: translateY(-2px);
  filter: saturate(1.12);
  box-shadow:
    0 22px 38px rgba(31, 126, 66, 0.44),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.download-button:focus-visible {
  outline: 3px solid rgba(239, 71, 96, 0.45);
  outline-offset: 4px;
}

.source-note {
  margin: 0;
  color: var(--steel);
  font-size: 0.92rem;
  font-weight: 700;
}

.site-footer {
  display: grid;
  place-items: center;
  min-height: 72px;
  color: var(--muted);
  font-weight: 800;
}

@media (max-width: 930px) {
  .app-hero {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .app-visual {
    max-width: 310px;
    margin: 0 auto;
  }

  .app-details {
    text-align: center;
  }

  .summary {
    margin-right: auto;
    margin-left: auto;
  }

  .info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    text-align: left;
  }

  .action-row {
    justify-content: center;
  }
}

@media (max-width: 560px) {
  .page-shell {
    width: min(100% - 20px, 440px);
    padding-top: 18px;
  }

  .brand {
    gap: 10px;
    font-size: 0.98rem;
  }

  .brand-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
  }

  .app-hero {
    padding: 26px 16px;
  }

  h1 {
    font-size: 2.55rem;
  }

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

  .download-button {
    width: 100%;
  }
}