:root {
  --bg: #12061f;
  --bg2: #1a0b2e;
  --card: #24123a;
  --card-border: rgba(255, 120, 200, 0.18);
  --pink: #ff5a9a;
  --pink2: #ff85b3;
  --gold: #ffd56a;
  --green: #22c55e;
  --text: #f8eef5;
  --muted: rgba(248, 238, 245, 0.72);
  --radius: 18px;
  --gap: 8px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  min-height: 100vh;
  font-family: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 50% -10%, #3b1458 0%, var(--bg2) 42%, var(--bg) 100%);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.page {
  max-width: 720px;
  margin: 0 auto;
  padding: 20px 16px 32px;
}

.card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

.hero-head { text-align: center; margin-bottom: 12px; }
.brand-title {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: clamp(28px, 6vw, 42px);
  font-weight: 800;
  letter-spacing: 1px;
  line-height: 1.2;
}
.brand-name { color: var(--gold); }
.brand-deco { flex-shrink: 0; font-size: 0.82em; color: var(--pink2); }
.brand-sub {
  margin: 6px 0 0;
  color: rgba(248, 238, 245, 0.78);
  font-size: 14px;
  letter-spacing: 3px;
}

.banner { overflow: hidden; background: linear-gradient(135deg, #4a1a5c, #2a1145 55%, #180624); }
.banner__inner { padding: 22px 20px 24px; }
.banner__tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255, 213, 106, 0.18);
  color: var(--gold);
  font-size: 12px;
  border: 1px solid rgba(255, 213, 106, 0.35);
}
.banner__title {
  margin: 14px 0 0;
  font-size: clamp(18px, 4.5vw, 24px);
  font-weight: 700;
  line-height: 1.45;
}
.banner__note {
  margin: 10px 0 0;
  text-align: right;
  color: var(--pink2);
  font-size: 13px;
}

.notice {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  margin-bottom: var(--gap);
}
.notice__badge {
  flex-shrink: 0;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--pink);
  font-size: 12px;
  font-weight: 700;
}
.notice__text { margin: 0; font-size: 14px; color: var(--muted); }

.section-title {
  margin: 0 0 10px;
  font-size: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--pink2);
}
.section-title--light { color: #fff; }
.section-bar {
  width: 4px;
  height: 18px;
  border-radius: 4px;
  background: var(--pink);
}

.routes { padding: 14px 14px 12px; margin-bottom: var(--gap); }
.route-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.route-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.route-domain {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.route-btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  background: #7c3aed;
  white-space: nowrap;
}

.download {
  padding: 16px 14px 14px;
  margin-bottom: var(--gap);
  text-align: center;
}
.download-top {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 12px 16px;
  margin-bottom: 8px;
}
.download-top__qr {
  flex: 0 0 auto;
  text-align: center;
  max-width: 42%;
}
.download-top__btns {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  flex: 1 1 auto;
  min-width: 0;
  max-width: 240px;
}

.dl-btn,
.dl-btn--disabled {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  padding: 12px 14px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  box-sizing: border-box;
}
.dl-btn--android { background: #22c55e; color: #052e16; }
.dl-btn--pc { background: #2563eb; color: #eff6ff; }
.dl-btn--ios { background: #3b82f6; color: #0f172a; }
.dl-btn--disabled {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.45);
  font-size: 13px;
}

.qrcode-box__canvas {
  width: 132px;
  height: 132px;
  margin: 0 auto;
  padding: 6px;
  border-radius: 14px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.qrcode-box__canvas img {
  width: 120px;
  height: 120px;
  display: block;
}
.qrcode-box__tip {
  margin: 8px 0 0;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.35;
}

@media (max-width: 420px) {
  .download-top { gap: 10px; }
  .qrcode-box__canvas {
    width: 108px;
    height: 108px;
    padding: 4px;
    border-radius: 12px;
  }
  .qrcode-box__canvas img {
    width: 100px;
    height: 100px;
  }
  .qrcode-box__tip { font-size: 11px; }
  .dl-btn,
  .dl-btn--disabled {
    padding: 10px 12px;
    font-size: 13px;
  }
}

.permanent-addr {
  margin: 4px 0 0;
  font-size: 14px;
  color: var(--muted);
}
.permanent-addr strong { color: var(--gold); font-weight: 700; }

.tips { padding: 12px 14px; margin-bottom: var(--gap); }
.tips-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.tips-list li {
  font-size: 13px;
  color: var(--muted);
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.tips-heart { color: var(--pink); flex-shrink: 0; }
