* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  color: #ffffff;
  background: #4f7fe3;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 34px 18px;
}

.service-area {
  width: min(1020px, 94vw);
  text-align: center;
}

.qr-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0, 300px));
  gap: 24px;
  align-items: stretch;
  justify-content: center;
}

.wechat-card {
  min-width: 0;
  overflow: hidden;
  border: 5px solid rgba(255, 255, 255, 0.94);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 5px 7px 10px rgba(25, 47, 92, 0.48);
}

.card-body {
  min-height: 292px;
  padding: 34px 22px 16px;
  background: #ffffff;
}

h2 {
  margin: 0 0 20px;
  color: #000000;
  font-size: 23px;
  line-height: 1.22;
  font-weight: 800;
  letter-spacing: 0;
}

.qr-image {
  display: block;
  width: 100%;
  max-width: 194px;
  height: auto;
  margin: 0 auto;
  border-radius: 4px;
}

.card-footer {
  position: relative;
  min-height: 90px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 7px;
  padding: 0 12px 24px;
  overflow: hidden;
  color: #ffffff;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 700;
  background: linear-gradient(180deg, #8bdd89 0%, #6dcd6e 100%);
}

.card-footer::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -62px;
  width: 430px;
  height: 96px;
  transform: translateX(-50%);
  border-radius: 0 0 50% 50%;
  background: #ffffff;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.card-footer > span {
  position: relative;
  z-index: 1;
}

.wechat-icon {
  position: relative;
  width: 19px;
  height: 16px;
  display: inline-block;
  flex: 0 0 auto;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.wechat-icon::after {
  content: "";
  position: absolute;
  left: 4px;
  bottom: -4px;
  width: 7px;
  height: 7px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  background: #70cf70;
  transform: rotate(-34deg);
}

.tips {
  margin-top: 34px;
  text-align: center;
  color: #ffffff;
  font-weight: 800;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}

.tips p {
  margin: 0;
  font-size: 24px;
  line-height: 1.52;
  letter-spacing: 0;
}

@media (max-width: 560px) {
  .page {
    justify-content: flex-start;
    padding: 32px 14px;
  }

  .service-area {
    width: min(292px, 88vw);
  }

  .qr-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .wechat-card {
    border-width: 4px;
    border-radius: 10px;
  }

  .card-body {
    min-height: 274px;
    padding: 32px 18px 16px;
  }

  h2 {
    margin-bottom: 18px;
    font-size: 21px;
  }

  .qr-image {
    max-width: 178px;
  }

  .card-footer {
    min-height: 84px;
    gap: 6px;
    padding-bottom: 22px;
    font-size: 13px;
  }

  .card-footer::before {
    top: -55px;
    width: 360px;
    height: 86px;
  }

  .wechat-icon {
    width: 18px;
    height: 15px;
    border-width: 2px;
  }

  .wechat-icon::after {
    left: 3px;
    bottom: -4px;
    width: 6px;
    height: 6px;
  }

  .tips {
    margin-top: 22px;
  }

  .tips p {
    font-size: 21px;
  }
}
