:root {
  --bg-primary: #000000;
  --bg-elevated: #111111;
  --bg-input: #1c1c1e;
  --gold-start: #e2c77b;
  --gold-mid: #c9a962;
  --gold-end: #9a7b3c;
  --gold-border: rgba(201, 169, 98, 0.45);
  --gold-glow: rgba(201, 169, 98, 0.28);
  --text-primary: #ffffff;
  --text-secondary: #8a8a8a;
  --text-on-gold: #1a1204;
  --border-default: #2a2a2a;
  --radius-button: 8px;
  --radius-card: 12px;
  --radius-card-lg: 20px;
  --screen-x: 20px;
  --max-width: 430px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.5;
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(201, 169, 98, 0.14), transparent 60%),
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(154, 123, 60, 0.08), transparent 55%);
  z-index: 0;
}

a {
  color: var(--gold-mid);
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.page {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--screen-x) 48px;
}

/* Hero */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 0 32px;
  gap: 14px;
}

.hero-line {
  width: 140px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-mid), transparent);
  opacity: 0.55;
}

.hero-diamond {
  color: var(--gold-mid);
  font-size: 10px;
  letter-spacing: 2px;
}

.hero-icon {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  margin: 8px 0 4px;
  box-shadow: 0 8px 32px var(--gold-glow);
}

.hero-logo {
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 36px;
  font-weight: 600;
  letter-spacing: 4px;
  background: linear-gradient(180deg, var(--gold-start) 0%, var(--gold-mid) 55%, var(--gold-end) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-tagline {
  font-size: 13px;
  letter-spacing: 6px;
  color: var(--gold-mid);
  opacity: 0.85;
}

.hero-invite {
  margin-top: 24px;
  font-size: 12px;
  letter-spacing: 4px;
  color: var(--text-secondary);
}

.hero-cta {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 280px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 50px;
  padding: 0 18px;
  border-radius: var(--radius-button);
  font-size: 15px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: linear-gradient(180deg, var(--gold-start) 0%, var(--gold-mid) 55%, var(--gold-end) 100%);
  color: var(--text-on-gold);
  box-shadow: 0 4px 20px var(--gold-glow);
}

.btn-outline {
  background: transparent;
  color: var(--gold-mid);
  border: 1px solid var(--gold-mid);
}

/* Sections */
.section {
  padding: 40px 0 8px;
}

.section-label {
  font-size: 11px;
  letter-spacing: 4px;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 8px;
}

.section-title {
  font-family: "Noto Serif SC", serif;
  font-size: 22px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 24px;
  color: var(--text-primary);
}

/* Feature cards */
.features {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-card);
  padding: 20px;
}

.feature-card h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--gold-mid);
}

.feature-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Steps */
.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.step {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border-default);
}

.step:last-child {
  border-bottom: none;
}

.step-num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--gold-mid);
}

.step-body h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}

.step-body p {
  font-size: 13px;
  color: var(--text-secondary);
}

/* Download card */
.download-card {
  margin-top: 8px;
  background: linear-gradient(160deg, #1a1510 0%, var(--bg-elevated) 50%, #0d0d0d 100%);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-card-lg);
  padding: 28px 20px;
  text-align: center;
}

.download-card .app-preview {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  margin: 0 auto 16px;
  box-shadow: 0 6px 24px var(--gold-glow);
}

.download-card h3 {
  font-family: "Noto Serif SC", serif;
  font-size: 20px;
  margin-bottom: 8px;
}

.download-card p {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.download-note {
  margin-top: 12px;
  font-size: 11px;
  color: var(--text-secondary);
  letter-spacing: 1px;
}

.download-version {
  margin-top: 8px;
  font-size: 12px;
  color: var(--gold-mid);
  line-height: 1.5;
  padding: 0 12px;
}

.hidden {
  display: none !important;
}

.wechat-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.wechat-modal-card {
  width: 100%;
  max-width: 340px;
  background: var(--bg-elevated);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-card-lg);
  padding: 24px 20px;
  text-align: center;
}

.wechat-modal-card h3 {
  font-family: "Noto Serif SC", serif;
  color: var(--gold-mid);
  margin-bottom: 12px;
  font-size: 18px;
}

.wechat-modal-card p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.wechat-modal-card .btn {
  width: 100%;
}

/* Footer */
.footer {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border-default);
  text-align: center;
}

.footer-logo {
  font-family: "Noto Serif SC", serif;
  font-size: 18px;
  letter-spacing: 3px;
  color: var(--gold-mid);
  margin-bottom: 8px;
}

.footer p {
  font-size: 11px;
  color: var(--text-secondary);
  letter-spacing: 2px;
}

/* Tablet / desktop — still mobile-first but centered */
@media (min-width: 768px) {
  .page {
    max-width: 480px;
  }

  .hero-logo {
    font-size: 42px;
  }
}
