:root {
  --gradient-start: #f08080;
  --gradient-end: #9370db;
  --text-primary: #1a1a1a;
  --text-secondary: #333333;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: "PingFang SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-primary);
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
}

.download-page {
  min-height: 100%;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  padding-bottom: calc(48px + env(safe-area-inset-bottom));
}

.download-card {
  width: 100%;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.app-logo {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(147, 112, 219, 0.22);
}

.download-hint {
  margin: 32px 0 40px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-secondary);
  letter-spacing: 0.2px;
}

.download-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 320px;
  height: 52px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
  color: #ffffff;
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.5px;
  box-shadow: 0 10px 28px rgba(147, 112, 219, 0.32);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.download-btn:hover,
.download-btn:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(147, 112, 219, 0.38);
}

.download-btn:active {
  transform: translateY(0);
  opacity: 0.92;
}

.wechat-mask {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.72);
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 16px 20px;
}

.wechat-mask[hidden] {
  display: none;
}

.wechat-tip {
  margin-top: 8px;
  color: #ffffff;
  font-size: 15px;
  line-height: 1.8;
  text-align: right;
}

.wechat-tip strong {
  font-size: 20px;
  letter-spacing: 2px;
}
