:root {
  color-scheme: light;
  --ink: #071311;
  --ink-soft: #173128;
  --muted: #60706b;
  --line: #dce6e2;
  --paper: #f4f8f6;
  --white: #ffffff;
  --lime: #b7f34b;
  --teal: #0d5b4d;
  --alipay: #1677ff;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background:
    linear-gradient(90deg, rgba(7, 19, 17, 0.026) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(rgba(7, 19, 17, 0.026) 1px, transparent 1px) 0 0 / 48px 48px,
    radial-gradient(circle at 85% 4%, rgba(183, 243, 75, 0.22), transparent 30%),
    var(--paper);
  color: var(--ink);
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.page-shell {
  width: min(1180px, calc(100% - 40px));
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  margin: 0 auto;
}

.site-header {
  min-height: 94px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--ink);
  color: var(--lime);
  font-size: 12px;
  letter-spacing: -0.05em;
}

.verification-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border: 1px solid #d4e3cf;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: #466340;
  font-size: 12px;
  font-weight: 700;
}

.verification-badge > span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #63b83a;
  box-shadow: 0 0 0 4px rgba(99, 184, 58, 0.13);
}

.recharge-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.92fr);
  overflow: hidden;
  border: 1px solid rgba(208, 223, 217, 0.95);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 30px 90px rgba(21, 54, 44, 0.1);
  backdrop-filter: blur(18px);
}

.content-column {
  display: flex;
  flex-direction: column;
  padding: 58px 58px 52px;
}

.context-line {
  margin: 0 0 16px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
}

.title-block h1 {
  margin: 0;
  max-width: 620px;
  font-size: clamp(42px, 5.2vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.07em;
}

.lead {
  max-width: 620px;
  margin: 23px 0 0;
  color: #52655f;
  font-size: 16px;
  line-height: 1.75;
}

.steps {
  display: grid;
  gap: 0;
  margin: 42px 0 0;
  padding: 0;
  list-style: none;
}

.steps li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 17px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.step-number {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--lime);
  font-size: 12px;
  font-weight: 850;
}

.steps h2 {
  margin: 2px 0 7px;
  font-size: 16px;
  letter-spacing: -0.025em;
}

.steps p {
  margin: 0;
  color: #667873;
  font-size: 13px;
  line-height: 1.68;
}

.safety-note {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 15px;
  margin-top: auto;
  padding: 17px 18px;
  border: 1px solid #d7e2de;
  border-radius: 15px;
  background: #f2f6f4;
}

.safety-note strong {
  color: var(--ink-soft);
  font-size: 12px;
  white-space: nowrap;
}

.safety-note p {
  margin: 0;
  color: #64736e;
  font-size: 12px;
  line-height: 1.65;
}

.payment-column {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 34px;
  background: var(--ink);
  color: #f2faf6;
}

.payment-column::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 100% 0, rgba(183, 243, 75, 0.22), transparent 34%),
    linear-gradient(130deg, transparent 56%, rgba(255, 255, 255, 0.035));
}

.payment-column > * {
  position: relative;
}

.payment-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 1px 2px 20px;
}

.payment-heading > div {
  display: grid;
  gap: 4px;
}

.payment-heading span {
  color: #91a49d;
  font-size: 11px;
}

.payment-heading strong {
  font-size: 18px;
  letter-spacing: -0.03em;
}

.payment-heading .alipay-tag {
  padding: 8px 11px;
  border-radius: 9px;
  background: var(--alipay);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.qr-frame {
  display: block;
  overflow: hidden;
  border: 8px solid #fff;
  border-radius: 19px;
  background: #fff;
  box-shadow: 0 24px 65px rgba(0, 0, 0, 0.28);
}

.qr-frame:focus-visible {
  outline: 4px solid var(--lime);
  outline-offset: 5px;
}

.qr-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.image-hint {
  margin: 14px 0 0;
  color: #8fa39b;
  font-size: 11px;
  text-align: center;
}

.status-strip {
  display: grid;
  grid-template-columns: 9px 1fr;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  padding: 16px 17px;
  border: 1px solid #2c433b;
  border-radius: 14px;
  background: #10231d;
}

.status-strip > span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 5px rgba(183, 243, 75, 0.1);
}

.status-strip p {
  margin: 0;
  color: #91a39d;
  font-size: 11px;
  line-height: 1.6;
}

.status-strip strong {
  color: #eff9f4;
  font-size: 12px;
}

.site-footer {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: #73827d;
  font-size: 11px;
}

@media (max-width: 900px) {
  .recharge-panel {
    grid-template-columns: 1fr;
  }

  .content-column {
    padding: 44px 38px 40px;
  }

  .payment-column {
    padding: 30px;
  }

  .qr-frame {
    width: min(100%, 520px);
    margin: 0 auto;
  }
}

@media (max-width: 560px) {
  body {
    background: var(--paper);
  }

  .page-shell {
    width: 100%;
  }

  .site-header,
  .site-footer {
    padding-inline: 18px;
  }

  .site-header {
    min-height: 76px;
  }

  .recharge-panel {
    border-width: 1px 0;
    border-radius: 0;
    box-shadow: none;
  }

  .content-column {
    padding: 38px 20px 34px;
  }

  .title-block h1 {
    font-size: clamp(39px, 12vw, 55px);
  }

  .lead {
    font-size: 14px;
  }

  .steps {
    margin-top: 30px;
  }

  .steps li {
    grid-template-columns: 30px 1fr;
    gap: 13px;
  }

  .safety-note {
    grid-template-columns: 1fr;
    gap: 7px;
    margin-top: 12px;
  }

  .payment-column {
    padding: 24px 18px 26px;
  }

  .qr-frame {
    border-width: 6px;
    border-radius: 14px;
  }

  .site-footer {
    min-height: 70px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }
}
