html,
body {
  margin: 0;
  padding: 0;
}

body {
  width: 100%;
  min-height: 100vh;
  background-color: #222;
  color: #fff;
}

/* 宽度 100%、高度由内容自适应（至少满一屏），背景拉伸铺满整页 */
.page {
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: clamp(24px, 4vh, 56px);
  padding: clamp(28px, 6vh, 72px) clamp(20px, 5vw, 48px);
  overflow-x: hidden;
  background: #222 url(./img/bg.png) center center / 100% 100% no-repeat;
}

/* 三段内容统一水平居中 */
.panel {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* 1. 上：logo + 平台标语 */
.panel--brand {
  gap: clamp(14px, 2.5vh, 28px);
}

.brand-logo {
  display: block;
  width: clamp(150px, 30vw, 235px);
  height: auto;
}

.brand-tagline {
  margin: 0;
  font-size: clamp(13px, 3.2vw, 20px);
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.6;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.72);
}

/* 2. 中：小程序二维码（透明底图需白底卡片保证可扫） */
.panel--qr {
  gap: clamp(16px, 2.5vh, 28px);
}

.qr-card {
  /* padding: clamp(12px, 3vw, 20px);
  border-radius: clamp(14px, 3vw, 24px);
  background: #fff;
  box-shadow: 0 18px 48px rgba(18, 10, 80, 0.28); */
}

.qr-image {
  display: block;
  width: clamp(150px, 42vw, 240px);
  height: auto;
}

.qr-label {
  margin: 0;
  font-size: clamp(15px, 3.6vw, 22px);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.86);
}

/* 3. 下：品牌描述 + 备案信息 */
.panel--desc {
  gap: clamp(20px, 4vh, 40px);
}

.desc-text {
  width: 100%;
  margin: 0;
  font-size: clamp(13px, 2.8vw, 18px);
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.82);
}

.site-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.footer-line {
  margin: 0;
  font-size: clamp(11px, 2.4vw, 13px);
  line-height: 1.7;
  text-align: center;
  color: rgba(255, 255, 255, 0.55);
}

.footer-line a {
  color: inherit;
  text-decoration: none;
}

.footer-line a:hover {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: underline;
}

@media (max-height: 640px) {
  .page {
    gap: 20px;
    padding-top: 24px;
    padding-bottom: 24px;
  }

  .panel--desc {
    gap: 14px;
  }
}
