:root {
  color-scheme: dark;
  --bg: #06100c;
  --panel: #0c1b14;
  --panel-strong: #13281d;
  --text: #fff9e8;
  --muted: #c7bfa9;
  --gold: #f4c256;
  --gold-strong: #ffe08a;
  --green: #0a6b43;
  --red: #e14d38;
  --line: rgba(255, 224, 138, 0.22);
  --shadow: rgba(0, 0, 0, 0.55);
  font-family: "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", "Noto Sans SC", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(225, 77, 56, 0.16), transparent 28rem),
    linear-gradient(140deg, #06100c 0%, #10110b 48%, #080807 100%);
  color: var(--text);
}

button,
a {
  font: inherit;
}

.site-shell {
  width: min(100%, 750px);
  margin: 0 auto;
  background: var(--bg);
  box-shadow: 0 0 44px var(--shadow);
}

.poster {
  position: relative;
  display: flex;
  min-height: calc(100svh - 44px);
  overflow: hidden;
  padding: max(18px, env(safe-area-inset-top)) 22px 24px;
  flex-direction: column;
  justify-content: space-between;
  background-image: url("assets/poster-bg.png");
  background-position: center top;
  background-size: cover;
  isolation: isolate;
}

.poster-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.56) 0%, rgba(0, 0, 0, 0.08) 40%, rgba(0, 0, 0, 0.68) 100%),
    radial-gradient(circle at center 62%, transparent 0%, rgba(0, 0, 0, 0.18) 48%, rgba(0, 0, 0, 0.62) 100%);
}

.brand-row {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(4, 15, 10, 0.62);
  backdrop-filter: blur(12px);
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 224, 138, 0.5);
  border-radius: 50%;
  background: linear-gradient(145deg, #fff0a7, #c88924);
  color: #102016;
  font-size: 1.35rem;
  font-weight: 900;
}

.brand-kicker,
.brand-name,
.eyebrow,
.hero-subtitle,
.install-note {
  margin: 0;
}

.brand-kicker {
  color: var(--gold-strong);
  font-size: 0.72rem;
  font-weight: 800;
}

.brand-name {
  margin-top: 2px;
  font-size: 1rem;
  font-weight: 800;
}

.hero-copy {
  width: 100%;
  max-width: 620px;
  padding-top: 28px;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.72);
}

.eyebrow {
  color: var(--gold-strong);
  font-size: 0.82rem;
  font-weight: 900;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: 0;
}

h1 {
  margin-top: 8px;
  font-size: 4rem;
  line-height: 0.95;
  font-weight: 950;
  white-space: nowrap;
}

.hero-games {
  margin: 14px 0 0;
  color: var(--gold-strong);
  font-size: 2rem;
  font-weight: 950;
}

.hero-subtitle {
  max-width: 24rem;
  margin-top: 12px;
  color: #f5ead2;
  font-size: 1.05rem;
  line-height: 1.65;
}

.poster-bottom {
  display: grid;
  gap: 14px;
  padding-top: 28px;
}

.game-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.game-tags span {
  min-height: 36px;
  padding: 8px 13px;
  border: 1px solid rgba(244, 194, 86, 0.45);
  border-radius: 999px;
  background: rgba(8, 24, 16, 0.66);
  color: #ffedba;
  font-size: 0.95rem;
  font-weight: 850;
  backdrop-filter: blur(10px);
}

.cta-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.cta {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 950;
  text-decoration: none;
  transition: transform 160ms ease, filter 160ms ease, background 160ms ease;
}

.cta:focus-visible {
  outline: 3px solid rgba(255, 224, 138, 0.85);
  outline-offset: 3px;
}

.cta:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.cta-primary {
  background: linear-gradient(180deg, #ffe08a, #d99b2d);
  color: #132016;
  box-shadow: 0 10px 24px rgba(244, 194, 86, 0.28);
}

.cta-secondary {
  border: 1px solid rgba(255, 224, 138, 0.44);
  background: rgba(10, 32, 21, 0.8);
  color: #fff3cb;
}

.install-note {
  color: rgba(255, 249, 232, 0.78);
  font-size: 0.86rem;
  line-height: 1.55;
}

@media (min-width: 680px) {
  .poster {
    min-height: 980px;
    padding: 30px 34px 34px;
  }

  h1 {
    font-size: 4.7rem;
  }

}

@media (max-width: 460px) {
  .poster {
    padding-right: 16px;
    padding-left: 16px;
  }

  .hero-copy {
    padding-top: 18px;
  }

  h1 {
    font-size: 3rem;
  }

  .hero-games {
    font-size: 1.55rem;
  }

  .hero-subtitle {
    font-size: 0.98rem;
  }

  .cta-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 360px) {
  h1 {
    font-size: 3rem;
  }

  .brand-row {
    width: 100%;
  }
}
