/* 全局基础样式 */
* {
  -webkit-tap-highlight-color: transparent;
  box-sizing: border-box;
}
html, body {
  width: 100%;
  height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
}
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(ellipse 220% 95% at 50% 108%, #f8f9fa 42%, rgba(248, 249, 250, 0.35) 48%, transparent 52%),
    linear-gradient(180deg, #30c073 0%, #239c5c 100%);
  color: #ffffff;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Microsoft YaHei", sans-serif;
}

/* 动画关键帧 */
@keyframes slowFloat {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes fadeUp {
  0% { opacity: 0; transform: translateY(24px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes pulseGlow {
  0% { box-shadow: 0 4px 20px rgba(42,174,103,0.12); }
  100% { box-shadow: 0 10px 36px rgba(42,174,103,0.22); }
}
@keyframes rotateRing {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* 动画类 */
.animate-slowFloat {
  animation: slowFloat 6s ease-in-out infinite;
}
.animate-fadeUp {
  animation: fadeUp 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  opacity: 1 !important;
}
.animate-pulseGlow {
  animation: pulseGlow 3.2s ease-in-out infinite alternate;
}

/* 主容器 */
.main-container {
  position: relative;
  z-index: 10;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 24px 18px;
}

/* 顶部区域 */
.text-center { text-align: center; }
.mb-10 { margin-bottom: 40px; }
.inline-flex { display: inline-flex; }
.items-center { align-items: center; }
.gap-3 { gap: 12px; }
.px-5 { padding-left: 20px; padding-right: 20px; }
.py-3 { padding-top: 12px; padding-bottom: 12px; }
.rounded-full { border-radius: 9999px; }
.mb-6 { margin-bottom: 24px; }
.text-sm { font-size: 14px; }
.font-medium { font-weight: 500; }
.text-white { color: #fff; }
.text-\[10px\] { font-size: 10px; }
.font-bold { font-weight: 700; }
.bg-white { background-color: #fff; }
.px-2 { padding-left: 8px; padding-right: 8px; }
.py-0\.5 { padding-top: 2px; padding-bottom: 2px; }

h1 {
  font-size: clamp(1.9rem,7.5vw,3.4rem);
  font-weight: bold;
  line-height: 1.25;
  margin-bottom: 16px;
}
.text-white\/88 { color: rgba(255,255,255,0.88); }
.text-\[clamp\(0\.95rem\,2vw\,1\.1rem\)\] { font-size: clamp(0.95rem,2vw,1.1rem); }
.max-w-lg { max-width: 640px; }
.mx-auto { margin-left: auto; margin-right: auto; }
.leading-relaxed { line-height: 1.6; }
.md\:hidden { display: none; }
@media (min-width:768px){
  .md\:hidden { display: block; }
}

/* 白色卡片 */
.wx-card {
  background: #ffffff;
  border-radius: 26px;
  box-shadow: 0 10px 36px rgba(0,0,0,0.09);
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  width: 100%;
  max-width: 580px;
  padding: 28px;
}
@media(min-width:768px){
  .wx-card { padding: 40px; }
}
.wx-card:hover {
  box-shadow: 0 18px 52px rgba(0,0,0,0.13);
  transform: translateY(-6px);
}
.flex { display: flex; }
.flex-col { flex-direction: column; }
.md\:flex-row { flex-direction: column; }
.gap-8 { gap: 32px; }
.md\:gap-9 { gap: 36px; }
@media(min-width:768px){
  .md\:flex-row { flex-direction: row; }
}

/* 二维码区域 */
.shrink-0 { flex-shrink: 0; }
.qr-wrap {
  position: relative;
  border-radius: 22px;
  width: min(13rem, 44vw);
  height: min(13rem, 44vw);
  padding: 4px;
  background: #fff;
  box-shadow: 0 6px 20px rgba(0,0,0,0.07);
}
.qr-wrap::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 24px;
  background: conic-gradient(from 0deg, #2aae67, #86e0af 40%, transparent 70%);
  opacity: 0.72;
  animation: rotateRing 7s linear infinite;
  z-index: -1;
}
.qr-inner {
  position: relative;
  z-index: 2;
  background: #fff;
  border-radius: 19px;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #6b7280;
}
.mx-auto { margin-left: auto; margin-right: auto; }
.mb-3 { margin-bottom: 12px; }

/* 右侧内容 */
.flex-1 { flex: 1; }
.w-full { width: 100%; }
.md\:text-left { text-align: center; }
@media(min-width:768px){
  .md\:text-left { text-align: left; }
}
.text-xl { font-size: 20px; }
.md\:text-2xl { font-size: 20px; }
@media(min-width:768px){
  .md\:text-2xl { font-size: 24px; }
}
.font-semibold { font-weight: 600; }
.text-gray-800 { color: #1f2937; }
.mb-4 { margin-bottom: 16px; }
.text-gray-600 { color: #4b5563; }
.text-sm { font-size:14px; }
.mb-6 { margin-bottom:24px; }

.flex-wrap { flex-wrap: wrap; }
.gap-2\.5 { gap:10px; }
.justify-center { justify-content: center; }
.md\:justify-start { justify-content: center; }
@media(min-width:768px){
  .md\:justify-start { justify-content: flex-start; }
}
.mb-7 { margin-bottom:28px; }

.feature-tag {
  background: rgba(42,174,103,0.07);
  border: 1px solid rgba(42,174,103,0.16);
  color: #229959;
  transition: all 0.25s ease;
  padding:6px 16px;
  border-radius:9999px;
  font-size:12px;
  font-weight:500;
}
.feature-tag:hover {
  background: rgba(42,174,103,0.14);
  transform: translateY(-1px);
}

/* 按钮 */
.wx-btn {
  width: 100%;
  padding: 16px;
  border-radius: 12px;
  border:0;
  background: linear-gradient(135deg, #30c073 0%, #20a55e 100%);
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 5px 16px rgba(42,174,103,0.32);
  color:#fff;
  font-size:16px;
  font-weight:500;
  cursor:pointer;
}
.wx-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(42,174,103,0.4);
}
.wx-btn:active {
  transform: translateY(0);
  box-shadow: 0 3px 10px rgba(42,174,103,0.28);
}
.inline-flex { display:inline-flex; }
.justify-center { /*justify-content:center;*/ }
.gap-2 { gap:8px; }

/* 图标统一尺寸 */
.icon {
  width: 1em;
  height: 1em;
  vertical-align: -0.15em;
  fill: currentColor;
}

/* 底部版权 */
.mt-10 { margin-top:40px; }
.text-gray-500 { color:#6b7280; }
.text-xs { font-size:12px; }
.mb-2 { margin-bottom:8px; }

.top-badge {
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.35);
}
.text-\[\#2aae67\] { color:#2aae67; }

/* 移动端适配 */
@media screen and (max-width: 480px) {
  .main-container {
    justify-content: flex-start;
    padding-top: 10vh;
  }
  .wx-card {
    padding: 26px 20px !important;
  }
}