:root {
  --bg: #0b0a10;
  --text: #f7f3ff;
  --muted: #9992a7;
  --line: rgba(255, 255, 255, 0.11);
  --gradient: linear-gradient(115deg, #6b7cff 0%, #a86bff 52%, #ff9a76 100%);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background:
    radial-gradient(circle at 50% 28%, rgba(168, 107, 255, 0.14), transparent 28rem),
    radial-gradient(circle at 78% 78%, rgba(255, 154, 118, 0.09), transparent 25rem),
    radial-gradient(circle at 16% 66%, rgba(107, 124, 255, 0.08), transparent 22rem),
    var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

.site {
  width: min(1400px, calc(100% - 34px));
  min-height: 100svh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  padding: 24px 0 max(24px, env(safe-area-inset-bottom));
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.author-button {
  padding: 7px 13px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: #aaa3b7;
  font-size: 12px;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.author-button:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(255, 255, 255, 0.17);
}

.author-button:active {
  transform: scale(0.98);
}

.brand {
  font-size: clamp(31px, 5vw, 42px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.06em;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.version {
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: #aaa3b7;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.hero {
  position: relative;
  width: min(1332px, 100%);
  margin: auto;
  padding: 7vh 0 9vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-aura {
  position: absolute;
  top: 22%;
  left: 50%;
  width: min(560px, 82vw);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(168, 107, 255, 0.18), rgba(107, 124, 255, 0.07) 36%, transparent 70%);
  filter: blur(12px);
  pointer-events: none;
  z-index: -1;
}

.app-icon-wrap {
  width: clamp(158px, 24vw, 228px);
  aspect-ratio: 1;
  margin-bottom: 28px;
  border-radius: 28%;
  box-shadow:
    0 28px 70px rgba(118, 93, 255, 0.18),
    0 0 90px rgba(187, 112, 255, 0.08);
}

.app-icon {
  display: block;
  width: 100%;
  height: 100%;
}


.eyebrow {
  padding: 7px 11px 6px;
  border: 1px solid rgba(168, 107, 255, 0.2);
  border-radius: 999px;
  background: rgba(168, 107, 255, 0.045);
  color: #c0a8f5;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.hero h1 {
  margin: 19px 0 13px;
  font-size: clamp(45px, 8vw, 78px);
  line-height: 0.99;
  letter-spacing: -0.068em;
  font-weight: 820;
}

.hero h1 span {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.intro {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(14px, 2.2vw, 17px);
  line-height: 1.75;
}

.download-links {
  width: 1332px;
  margin-top: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: nowrap;
}

.download-links-cn {
  margin-top: 14px;
}

.release-link {
  width: 240px;
  display: inline-flex;
  line-height: 0;
  border-radius: 17px;
  transition: transform 160ms ease, filter 160ms ease;
}

.release-link:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
}

.release-link:active {
  transform: scale(0.99);
}

.release-badge {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 17px;
}

.release-link[href*="apkpure"],
.release-link[href*="uptodown"],
.release-link[href*="apkpure"] .release-badge,
.release-link[href*="uptodown"] .release-badge {
  border-radius: 10px;
}

.hero-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 23px;
  color: #777184;
  font-size: 12px;
}

.hero-meta a {
  color: #a49bad;
}

.meta-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #5c5665;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  color: #6f687b;
  font-size: 13px;
}

.site-footer-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.site-footer-social {
  display: flex;
  align-items: center;
  gap: 14px;
}

.site-footer a {
  color: #9d95a9;
}


@media (max-width: 520px) {
  .site {
    width: min(100% - 24px, 520px);
    padding-top: 16px;
  }

  .hero {
    padding: 6vh 0 7vh;
  }

  .app-icon-wrap {
    width: 152px;
    margin-bottom: 25px;
  }

  .hero h1 {
    font-size: 43px;
  }

  .intro {
    max-width: 330px;
    font-size: 14px;
  }

  .download-links {
    width: 100%;
    margin-top: 30px;
    gap: 12px;
    flex-wrap: wrap;
  }

  .download-links-cn {
    margin-top: 12px;
  }

  .release-link {
    width: min(210px, 100%);
  }

  .cloud-link {
    width: min(260px, 100%);
  }

  .site-footer {
    flex-wrap: wrap;
    gap: 12px 18px;
  }

  .site-footer-links {
    flex-wrap: wrap;
    gap: 12px 14px;
  }
}
