:root {
  --bg: #090705;
  --bg2: #140d09;
  --panel: rgba(24, 17, 12, 0.88);
  --panel2: #1c130d;
  --text: #fff7ea;
  --muted: #cbbda8;
  --gold: #f6c35b;
  --gold2: #ffe9a4;
  --red: #e64432;
  --blue: #4aa3ff;
  --line: rgba(255, 226, 153, 0.18);
  --shadow: 0 22px 72px rgba(0, 0, 0, 0.45);
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at 80% 0%, rgba(230, 68, 50, 0.2), transparent 28rem),
    radial-gradient(circle at 20% 12%, rgba(246, 195, 91, 0.18), transparent 30rem),
    linear-gradient(180deg, #0d0805, #050403 72%);
}

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

button {
  font: inherit;
  cursor: pointer;
}

.topbar {
  position: fixed;
  z-index: 20;
  top: 14px;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(1180px, calc(100% - 28px));
  min-height: 72px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(10, 7, 5, 0.82);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  color: #150b03;
  background: linear-gradient(135deg, var(--gold2), var(--gold) 62%, #c77a24);
  box-shadow: 0 10px 28px rgba(246, 195, 91, 0.28);
}

.brand-text {
  color: var(--gold2);
  letter-spacing: 0;
}

.nav {
  display: flex;
  gap: 24px;
  color: var(--muted);
  font-weight: 700;
}

.nav a:hover {
  color: var(--gold2);
}

.outline-btn,
.primary-btn,
.secondary-btn,
.game-card button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 10px;
  border: 0;
  font-weight: 900;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.outline-btn,
.secondary-btn,
.game-card button {
  border: 1px solid rgba(246, 195, 91, 0.36);
  color: var(--gold2);
  background: rgba(255, 255, 255, 0.05);
}

.primary-btn {
  color: #160c04;
  background: linear-gradient(135deg, var(--gold2), var(--gold) 55%, #dd872b);
  box-shadow: 0 16px 42px rgba(246, 195, 91, 0.25);
}

.outline-btn:hover,
.primary-btn:hover,
.secondary-btn:hover,
.game-card button:hover {
  transform: translateY(-2px);
}

.full {
  width: 100%;
}

.hero {
  position: relative;
  min-height: 780px;
  padding: 148px 24px 90px;
  overflow: hidden;
}

.hero-img,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 67% center;
  opacity: 0.64;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(8, 5, 3, 0.98), rgba(8, 5, 3, 0.78) 43%, rgba(8, 5, 3, 0.36)),
    linear-gradient(180deg, transparent, var(--bg) 96%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 420px);
  align-items: center;
  gap: 52px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.hero-copy {
  max-width: 680px;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(246, 195, 91, 0.28);
  border-radius: 10px;
  color: var(--gold2);
  background: rgba(246, 195, 91, 0.1);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

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

h1 {
  margin: 18px 0;
  color: var(--gold2);
  font-size: clamp(3.4rem, 9vw, 7.5rem);
  line-height: 0.92;
  font-weight: 900;
  letter-spacing: 0;
}

.hero-copy p {
  max-width: 600px;
  color: #efe2cf;
  font-size: 1.08rem;
  line-height: 1.9;
}

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

.trust-list span {
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  color: #eee0ce;
  background: rgba(0, 0, 0, 0.24);
  font-size: 0.88rem;
}

.download-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(35, 23, 14, 0.94), rgba(14, 9, 6, 0.9));
  box-shadow: var(--shadow);
}

.card-top,
.promo-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.card-top {
  color: var(--muted);
}

.card-top strong {
  color: var(--gold2);
}

.qr-box {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  margin: 22px auto;
  width: min(220px, 100%);
  border: 1px solid rgba(246, 195, 91, 0.28);
  border-radius: 12px;
  background: #fff7e8;
}

.qr-grid {
  width: 76%;
  height: 76%;
  background:
    linear-gradient(90deg, #111 10px, transparent 10px 20px, #111 20px 30px, transparent 30px),
    linear-gradient(#111 10px, transparent 10px 20px, #111 20px 30px, transparent 30px);
  background-size: 40px 40px;
  opacity: 0.9;
}

.qr-box span {
  position: absolute;
  padding: 6px 10px;
  border-radius: 8px;
  color: #1a0f05;
  background: var(--gold);
  font-weight: 900;
}

.download-card p,
.section p,
.promo p,
.footer p,
.download-modal p {
  color: var(--muted);
  line-height: 1.78;
}

.notice,
.stats-band,
.section,
.promo,
.footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.notice {
  display: flex;
  gap: 16px;
  align-items: center;
  min-height: 64px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(18, 12, 8, 0.9);
  box-shadow: var(--shadow);
}

.notice strong {
  color: var(--gold2);
}

.notice p {
  margin: 0;
  color: var(--muted);
}

.stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding: 76px 0 32px;
}

.stats-band div,
.game-card,
.promo-list,
.steps article {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
}

.stats-band div {
  padding: 22px;
}

.stats-band strong {
  display: block;
  color: var(--gold2);
  font-size: 2.4rem;
  line-height: 1;
}

.stats-band span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
}

.section,
.promo {
  padding: 72px 0;
}

.section-head {
  margin-bottom: 28px;
}

.section-head h2,
.promo h2 {
  margin: 14px 0 0;
  font-size: clamp(2rem, 5vw, 3.8rem);
  line-height: 1.06;
  font-weight: 900;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.tabs button {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  font-weight: 900;
}

.tabs button.active {
  border-color: rgba(246, 195, 91, 0.44);
  color: var(--gold2);
  background: rgba(246, 195, 91, 0.12);
}

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

.game-card {
  overflow: hidden;
}

.game-art {
  display: grid;
  place-items: center;
  height: 150px;
  background: #1b120c;
}

.game-art span {
  color: var(--gold2);
  font-size: 2.4rem;
  font-weight: 900;
}

.game-art.gold {
  background: linear-gradient(135deg, #2c1b08, #c78626);
}

.game-art.red {
  background: linear-gradient(135deg, #27100e, #d94433);
}

.game-art.green {
  background: linear-gradient(135deg, #102018, #2a9874);
}

.game-art.blue {
  background: linear-gradient(135deg, #10172d, #3d79d9);
}

.game-card h3,
.game-card p,
.game-card button {
  margin-left: 18px;
  margin-right: 18px;
}

.game-card h3 {
  margin-top: 18px;
}

.game-card button {
  width: calc(100% - 36px);
  margin-bottom: 18px;
}

.game-card.is-hidden {
  display: none;
}

.promo {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 460px);
  align-items: center;
  gap: 48px;
}

.promo-copy p {
  max-width: 640px;
  margin-top: 18px;
}

.promo-list {
  padding: 16px;
}

.promo-list div {
  min-height: 74px;
  padding: 0 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.promo-list div:last-child {
  border-bottom: 0;
}

.promo-list strong {
  color: var(--gold2);
}

.promo-list span {
  color: var(--muted);
}

.steps article {
  min-height: 210px;
  padding: 22px;
}

.steps span {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 34px;
  margin-bottom: 28px;
  border-radius: 10px;
  color: #160c04;
  background: var(--gold);
  font-weight: 900;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding: 42px 0 50px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer p {
  margin: 12px 0 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--muted);
}

.download-dialog {
  width: min(430px, calc(100% - 28px));
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--text);
  background: transparent;
}

.download-dialog::backdrop {
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(8px);
}

.download-modal {
  position: relative;
  display: grid;
  gap: 16px;
  padding: 28px;
  background: linear-gradient(180deg, #21150e, #0a0705);
}

.download-modal h2 {
  margin: 0;
  font-size: 2rem;
}

.close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  font-size: 1.3rem;
}

@media (max-width: 940px) {
  .nav {
    display: none;
  }

  .hero-inner,
  .promo {
    grid-template-columns: 1fr;
  }

  .download-card {
    max-width: 520px;
  }

  .stats-band,
  .game-grid,
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .topbar {
    min-height: 64px;
  }

  .outline-btn {
    min-height: 40px;
    padding: 0 12px;
    font-size: 0.88rem;
  }

  .hero {
    min-height: 0;
    padding: 112px 16px 60px;
  }

  h1 {
    font-size: clamp(3rem, 18vw, 4.8rem);
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions button {
    width: 100%;
  }

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

  .stats-band,
  .game-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .section,
  .promo {
    padding: 54px 0;
  }

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