/* WeChat QR page */
/* =============================
   WeChat QR Page
============================= */

.wechat-qr-page {
  position: relative;
  min-height: 620px;
  padding: clamp(34px, 5rem, 70px);
  border-radius: var(--radius-xl);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
}

.wechat-qr-page h1 {
  font-size: 72px;
  letter-spacing: 0;
}

.wechat-desc {
  max-width: 620px;
  margin: 22px auto 0;
  color: var(--text-muted);
  font-size: 18px;
  line-height: 1.8;
}

.wechat-actions {
  justify-content: center;
  margin-top: 34px;
}

@media (max-width: 920px) {
  .wechat-qr-page h1 {
    font-size: 52px;
  }
}

@media (max-width: 640px) {
  .wechat-qr-page {
    margin-top: 4px;
    min-height: calc(100vh - 190px);
    padding: 30px 16px 28px;
    justify-content: flex-start;
    border-radius: 30px;
  }

  .wechat-qr-page h1 {
    font-size: 38px;
    line-height: 1.05;
    letter-spacing: 0;
  }

  .wechat-desc {
    margin-top: 16px;
    font-size: 15px;
    line-height: 1.7;
  }

  .wechat-qr-box {
    width: min(78vw, 280px);
    margin-top: 24px;
    padding: 10px;
    border-radius: 26px;
  }

  .wechat-actions {
    width: 100%;
    margin-top: 24px;
    gap: 12px;
  }

  .wechat-actions .btn {
    min-height: 44px;
    font-size: 14px;
  }
}

@media (max-width: 390px) {
  .wechat-qr-box {
    width: min(76vw, 250px);
    padding: 9px;
  }

  .wechat-qr-page h1 {
    font-size: 34px;
  }

  .wechat-desc {
    font-size: 14px;
  }
}
