:root {
  --green: #166534;
  --green-deep: #0f3d22;
  --muted: #4b5c52;
  --paper: #f4f8f5;
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  height: 100%;
}
body {
  position: relative;
  color: var(--green-deep);
  font-family: "Noto Sans SC", system-ui, sans-serif;
  background:
    radial-gradient(900px 520px at 85% 15%, rgba(22, 101, 52, 0.18), transparent 60%),
    radial-gradient(700px 420px at 10% 90%, rgba(243, 231, 211, 0.55), transparent 55%),
    linear-gradient(160deg, #e8f3eb 0%, var(--paper) 45%, #fff 100%);
}

.screen {
  position: relative;
  min-height: 100dvh;
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(28px, 5vh, 48px) 24px calc(48px + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.glow {
  position: absolute;
  width: min(420px, 80vw);
  height: min(420px, 80vw);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(22, 101, 52, 0.2), transparent 70%);
  top: 8%;
  right: -8%;
  filter: blur(6px);
  animation: pulse 6s ease-in-out infinite;
  pointer-events: none;
}

.mark {
  width: clamp(96px, 18vw, 140px);
  height: auto;
  margin-bottom: clamp(12px, 2vh, 20px);
  filter: drop-shadow(0 16px 24px rgba(15, 61, 34, 0.22));
  animation: float 4.5s ease-in-out infinite, rise 0.8s ease both;
}

.brand {
  margin: 0;
  font-family: "ZCOOL XiaoWei", "Noto Sans SC", serif;
  font-size: clamp(52px, 12vw, 80px);
  line-height: 1;
  color: var(--green);
  letter-spacing: 0.14em;
  animation: rise 0.8s ease 0.06s both;
}

h1 {
  margin: 12px 0 0;
  font-size: clamp(22px, 4.5vw, 30px);
  font-weight: 900;
  letter-spacing: 0.06em;
  animation: rise 0.8s ease 0.12s both;
}

.lead {
  margin: 12px 0 0;
  max-width: 22em;
  color: var(--muted);
  font-size: clamp(14px, 2.8vw, 16px);
  line-height: 1.65;
  animation: rise 0.8s ease 0.18s both;
}

.qr-wrap {
  margin-top: clamp(22px, 4vh, 36px);
  padding: 14px;
  background: #fff;
  border: 1px solid rgba(22, 101, 52, 0.12);
  box-shadow: 0 18px 40px rgba(20, 35, 26, 0.08);
  animation: rise 0.8s ease 0.26s both;
}

.qr {
  width: clamp(168px, 42vw, 220px);
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}

.tip {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
  letter-spacing: 0.04em;
  animation: rise 0.8s ease 0.32s both;
}

.site-foot {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  text-align: center;
  pointer-events: none;
}
.beian {
  margin: 0;
  color: #999;
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0.02em;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes pulse {
  0%, 100% { opacity: 0.65; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.04); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

@media (max-height: 700px) {
  .mark { width: 84px; margin-bottom: 8px; }
  .brand { font-size: 48px; }
  .qr { width: 150px; }
  .qr-wrap { margin-top: 16px; padding: 10px; }
}
