/* Closely mirrors dkzip.com / Colorlib MobApp layout */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif;
  position: relative;
  color: #333;
  background: #fff;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

a {
  color: #e38cb7;
  text-decoration: none;
  -webkit-touch-callout: none;
}

a:hover,
a:focus {
  color: #d6619c;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: min(100% - 2rem, 1140px);
  margin-inline: auto;
}

h1 {
  font-size: 60px;
  font-weight: 300;
  letter-spacing: -1px;
  margin: 0 0 1.5rem;
  color: #fff;
  line-height: 1.2;
}

h2 {
  font-size: 45px;
  font-weight: 300;
  color: #633991;
  letter-spacing: -1px;
  margin: 0 0 1rem;
}

h3 {
  color: #633991;
  font-size: 33px;
  font-weight: 500;
  margin: 0;
}

.light-bg {
  background-color: #faf6fb;
}

.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.bg-gradient {
  background-color: #3c0876;
  background-image: linear-gradient(135deg, rgba(60, 8, 118, 0.8) 0%, rgba(250, 0, 118, 0.8) 100%);
}

/* NAV */
.nav-menu {
  padding: calc(0.75rem + env(safe-area-inset-top)) 0 0.75rem;
  transition: all 0.3s ease;
  z-index: 100;
}

.nav-menu.fixed-top {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
}

.nav-menu.is-scrolling {
  padding-top: calc(0.35rem + env(safe-area-inset-top));
  padding-bottom: 0.35rem;
  background: linear-gradient(135deg, rgb(74, 13, 143) 0%, rgb(250, 42, 143) 100%);
  box-shadow: 0 5px 23px rgba(0, 0, 0, 0.1);
}

.navbar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.75rem;
  min-height: 48px;
  position: relative;
}

.navbar-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  position: relative;
  display: block;
  padding: 0.75rem 1rem;
  font-size: 14px;
  color: #fff !important;
  text-transform: none;
  opacity: 0.95;
}

.nav-link:hover {
  opacity: 1;
}

.nav-link.active::after {
  content: "";
  border-bottom: 2px solid #cd99d4;
  left: 1rem;
  right: 1rem;
  bottom: 5px;
  height: 1px;
  position: absolute;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  padding: 0;
  cursor: pointer;
  position: relative;
}

.nav-toggle span {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 1.5px;
  background: #fff;
  border-radius: 999px;
  transition: transform 0.22s ease, opacity 0.22s ease, top 0.22s ease;
}

.nav-toggle span:nth-child(1) {
  top: 14px;
}

.nav-toggle span:nth-child(2) {
  top: 19px;
}

.nav-toggle span:nth-child(3) {
  top: 24px;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  top: 19px;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  top: 19px;
  transform: rotate(-45deg);
}

.nav-lang-mobile {
  display: none;
}

/* Language switch (desktop) */
.lang-switch {
  position: relative;
  z-index: 5;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 36px;
  padding: 0.35rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 13px;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
}

.lang-btn:hover {
  background: rgba(255, 255, 255, 0.18);
}

.lang-caret {
  font-size: 10px;
  opacity: 0.85;
}

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  margin: 0;
  padding: 0.4rem 0;
  list-style: none;
  min-width: 140px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
  overflow: hidden;
}

.lang-menu[hidden] {
  display: none;
}

.lang-menu li {
  padding: 0.65rem 1rem;
  color: #333;
  font-size: 14px;
  cursor: pointer;
}

.lang-menu li:hover,
.lang-menu li[aria-selected="true"] {
  background: #faf6fb;
  color: #633991;
}

.lang-menu li[aria-selected="true"] {
  font-weight: 600;
}

/* HERO — same as dkzip: title + tagline + large icon */
header.bg-gradient {
  position: relative;
  overflow: hidden;
  padding: calc(100px + env(safe-area-inset-top)) 0 0;
  text-align: center;
  color: #fff;
  min-height: 100vh;
  min-height: 100dvh;
}

header.bg-gradient.vanta-ready {
  background-image: none;
}

header.bg-gradient.vanta-ready::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  /* 保持原先第一屏紫粉渐变气质 */
  background: linear-gradient(135deg, rgba(60, 8, 118, 0.55) 0%, rgba(250, 0, 118, 0.55) 100%);
}

header.bg-gradient .hero-copy,
header.bg-gradient .img-holder {
  position: relative;
  z-index: 2;
}

header.bg-gradient canvas {
  z-index: 0 !important;
}

.hero-copy {
  margin-top: 3rem;
}

.tagline {
  font-size: 23px;
  font-weight: 300;
  color: #ffb8f6;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.5;
}

.img-holder {
  margin-top: 1.5rem;
  padding: 1rem 0 4rem;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.app-icon {
  display: block;
  width: min(400px, 72vw);
  height: auto;
  border-radius: 22%;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
  transform: scale(1);
  transform-origin: center center;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transition: box-shadow 0.35s ease, transform 0.35s ease;
  cursor: pointer;
}

.img-holder:hover .app-icon,
.app-icon:hover {
  -webkit-animation: icon-breathe 1.35s ease-in-out infinite;
  animation: icon-breathe 1.35s ease-in-out infinite;
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.38);
}

@-webkit-keyframes icon-breathe {
  0%,
  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
  50% {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
  }
}

@keyframes icon-breathe {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .img-holder:hover .app-icon,
  .app-icon:hover {
    -webkit-animation: none;
    animation: none;
    -webkit-transform: scale(1.05);
    transform: scale(1.05);
  }
}

/* FEATURES (SEO body) */
.seo-lead {
  max-width: 760px;
  margin: 1rem auto 0;
  color: #959094;
  font-size: 1.05rem;
  line-height: 1.7;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.feature-grid article {
  padding: 1.5rem 1.25rem;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 5px 7px rgba(0, 0, 0, 0.04);
  border-left: 3px solid #fc73b4;
}

.feature-grid h3 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

.feature-list {
  margin: 0;
  padding: 0;
  list-style: none;
  color: #959094;
  font-size: 0.95rem;
  line-height: 1.7;
}

.feature-list li {
  position: relative;
  padding-left: 1rem;
  margin-bottom: 0.45rem;
}

.feature-list li:last-child {
  margin-bottom: 0;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #e38cb7;
}

.seo-formats {
  margin-top: 2.5rem;
  padding: 1.5rem 1.25rem;
  background: #fff;
  border-radius: 6px;
}

.seo-formats h3 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

.formats-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem 1.5rem;
}

@media (max-width: 767px) {
  .formats-list {
    grid-template-columns: 1fr;
  }
}

.contact-heading {
  font-size: 1.5rem;
  margin: 0 0 1rem;
}

.download-more {
  margin-top: 1.25rem;
  color: #ffb8f6;
  font-size: 0.95rem;
}

.download-more a {
  color: #fff;
  text-decoration: underline;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 0.75rem;
}

.footer-nav a {
  color: #959094;
  font-size: 0.9rem;
}

.footer-nav a:hover {
  color: #e38cb7;
}

/* GALLERY */
.img-gallery {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.img-gallery img {
  display: block;
  width: min(220px, 70vw);
  border-radius: 18px;
  box-shadow: 0 12px 36px rgba(99, 57, 145, 0.15);
  background: #fff;
  transform: scale(1);
  transform-origin: center bottom;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transition: box-shadow 0.35s ease, transform 0.35s ease;
  cursor: pointer;
}

.img-gallery img:nth-child(2) {
  width: min(240px, 74vw);
}

.img-gallery img:hover {
  -webkit-animation: shot-breathe 1.35s ease-in-out infinite;
  animation: shot-breathe 1.35s ease-in-out infinite;
  box-shadow: 0 20px 48px rgba(99, 57, 145, 0.28);
  z-index: 2;
  position: relative;
}

@-webkit-keyframes shot-breathe {
  0%,
  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
  50% {
    -webkit-transform: scale(1.08);
    transform: scale(1.08);
  }
}

@keyframes shot-breathe {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.08);
  }
}

@media (prefers-reduced-motion: reduce) {
  .img-gallery img:hover {
    -webkit-animation: none;
    animation: none;
    -webkit-transform: scale(1.04);
    transform: scale(1.04);
  }
}

/* REVIEWS */
.reviews-header {
  margin-bottom: 1.5rem;
}

.reviews-title-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: inherit;
  margin-bottom: 1.25rem;
}

.reviews-title-link h2 {
  margin: 0;
  color: #1d1d1f;
  font-size: 1.75rem;
  font-weight: 700;
}

.reviews-title-link .chevron {
  color: #c7c7cc;
  font-size: 1.6rem;
  line-height: 1;
}

.rating-summary {
  display: flex;
  align-items: flex-end;
  gap: 1.5rem;
  max-width: 420px;
}

.score-num {
  font-size: 4rem;
  font-weight: 700;
  line-height: 1;
  color: #1d1d1f;
  letter-spacing: -0.03em;
}

.score-label {
  color: #86868b;
  font-size: 0.95rem;
  margin-top: 0.25rem;
}

.rating-bars {
  flex: 1;
  min-width: 160px;
}

.bar-row {
  display: grid;
  grid-template-columns: 12px 1fr;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 3px;
}

.bar-row span {
  font-size: 10px;
  color: #86868b;
  text-align: right;
}

.bar {
  height: 3px;
  background: #e5e5ea;
  border-radius: 2px;
  overflow: hidden;
}

.bar i {
  display: block;
  height: 100%;
  background: #8e8e93;
  border-radius: 2px;
}

.rating-count {
  margin-top: 0.45rem;
  text-align: right;
  color: #86868b;
  font-size: 0.85rem;
}

.reviews-carousel-wrap {
  position: relative;
}

.reviews-track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0.25rem 0.25rem 1rem;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  touch-action: pan-x;
  scrollbar-width: none;
}

.reviews-track::-webkit-scrollbar {
  display: none;
}

.review-card {
  flex: 0 0 calc((100% - 1rem) / 2);
  scroll-snap-align: start;
  background: #f2f2f7;
  border-radius: 14px;
  padding: 1.1rem 1.15rem 1.2rem;
  min-height: 220px;
}

.review-top {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: baseline;
}

.review-card h3 {
  margin: 0;
  font-size: 1rem;
  color: #1d1d1f;
  font-weight: 700;
}

.review-card time {
  flex-shrink: 0;
  color: #86868b;
  font-size: 0.82rem;
}

.review-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0.35rem 0 0.7rem;
}

.stars {
  color: #ff9f0a;
  letter-spacing: 1px;
  font-size: 0.85rem;
}

.user {
  color: #86868b;
  font-size: 0.82rem;
}

.review-card > p {
  margin: 0;
  color: #3a3a3c;
  font-size: 0.92rem;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.dev-reply {
  margin-top: 0.85rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.dev-reply strong {
  display: block;
  color: #1d1d1f;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
}

.dev-reply p {
  margin: 0;
  color: #636366;
  font-size: 0.88rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.reviews-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  color: #636366;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0 0 3px;
}

.reviews-nav:hover {
  color: #1d1d1f;
}

.reviews-nav.prev {
  left: -6px;
}

.reviews-nav.next {
  right: -6px;
}

/* DOWNLOAD CTA */
.call-to-action {
  text-align: center;
  color: #fff;
  margin: 3rem 0;
}

.call-to-action h2 {
  color: #fff;
}

.call-to-action .tagline {
  font-size: 16px;
  font-weight: 300;
  color: #ffb8f6;
  max-width: 650px;
  margin: 0 auto;
}

.cta-btns {
  margin-top: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 14px;
  font-weight: 500;
  padding: 0.7rem 1.6rem;
  border-radius: 3px;
  border: 0;
  line-height: 1.8;
  transition: all 0.3s ease;
}

.btn-light {
  background: #fff;
  box-shadow: 0 9px 32px rgba(0, 0, 0, 0.26);
  color: #633991;
  margin: 0.5rem;
}

.btn-light:hover {
  color: #633991;
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.32);
}

.btn-light img {
  width: 20px;
  height: 23px;
}

/* CONTACT */
.contact-block {
  padding: 3rem 0;
}

.contact-mail {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
}

.contact-mail a {
  color: #e38cb7;
}

.contact-extra {
  margin: 0.35rem 0;
  color: #959094;
  font-size: 0.95rem;
}

.contact-extra a {
  color: #e38cb7;
}

/* WECHAT */
.wechat-support {
  text-align: center;
  padding: 0 1rem 2.5rem;
  background: #faf6fb;
}

.wechat_zh {
  margin-bottom: 0.75rem;
  color: #633991;
  font-size: 1.1rem;
  font-weight: 500;
}

.wechat-support img {
  width: 300px;
  height: 300px;
  margin: 0 auto;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(99, 57, 145, 0.1);
}

/* FOOTER */
.site-footer {
  text-align: center;
  padding: 2.5rem 1rem calc(3rem + env(safe-area-inset-bottom));
}

.site-footer p {
  margin: 0 0 0.5rem;
  color: #959094;
}

.site-footer a {
  color: #959094;
  font-size: 0.9rem;
}

.site-footer a:hover {
  color: #e38cb7;
}

/* Legal pages */
.legal-page {
  min-height: 100vh;
  min-height: 100dvh;
  background: #faf6fb;
}

.legal-top {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(135deg, rgb(74, 13, 143) 0%, rgb(250, 42, 143) 100%);
  padding: calc(0.55rem + env(safe-area-inset-top)) max(0.75rem, env(safe-area-inset-right)) 0.55rem max(0.75rem, env(safe-area-inset-left));
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.legal-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.35rem 0.25rem;
  margin: 0 auto;
  max-width: 760px;
}

.legal-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  color: #fff !important;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  -webkit-tap-highlight-color: rgba(255, 255, 255, 0.2);
}

.legal-nav a.is-active,
.legal-nav a[aria-current="page"] {
  background: #fff;
  color: #633991 !important;
  border-color: #fff;
  font-weight: 600;
}

.legal {
  padding: 1.25rem 1rem calc(3rem + env(safe-area-inset-bottom));
}

.legal .container {
  max-width: 760px;
  background: #fff;
  padding: 2.5rem;
  border-radius: 8px;
  box-shadow: 0 8px 28px rgba(99, 57, 145, 0.08);
}

.legal h1 {
  color: #633991;
  font-size: clamp(1.55rem, 5vw, 2.2rem);
  margin-bottom: 0.5rem;
  letter-spacing: 0;
}

.legal h2 {
  font-size: 1.25rem;
  margin-top: 1.75rem;
  color: #633991;
}

.legal p,
.legal li {
  color: #959094;
  line-height: 1.7;
  font-size: 15px;
  word-break: break-word;
  overflow-wrap: anywhere;
  text-indent: 0;
}

.legal strong {
  color: #4a2d6b;
  font-weight: 600;
}

.legal .container > a,
.legal p a,
.legal li a {
  color: #fa2a8f;
  text-decoration: none;
  -webkit-tap-highlight-color: rgba(250, 42, 143, 0.15);
}

.legal .container > a:hover,
.legal p a:hover,
.legal li a:hover {
  text-decoration: underline;
}

.legal-page .site-footer {
  padding-bottom: calc(2rem + env(safe-area-inset-bottom));
}

@media (max-width: 1200px) {
  .nav-link {
    padding: 0.75rem 0.55rem;
    font-size: 13px;
  }

  .lang-btn {
    padding: 0.3rem 0.65rem;
    font-size: 12px;
  }
}

@media (max-width: 991px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .lang-switch-desktop {
    display: none;
  }

  .nav-lang-mobile {
    display: block;
    margin: 0.35rem 0.85rem 0.85rem;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.22);
  }

  .mobile-lang-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.82rem;
    text-align: center;
    margin-bottom: 0.65rem;
    letter-spacing: 0.04em;
  }

  .mobile-lang-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }

  .mobile-lang-options button {
    appearance: none;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 999px;
    min-height: 40px;
    font-size: 13px;
    font-family: inherit;
    padding: 0.4rem 0.5rem;
  }

  .mobile-lang-options button.is-active,
  .mobile-lang-options button[aria-selected="true"] {
    background: #fff;
    color: #633991;
    border-color: #fff;
    font-weight: 600;
  }

  .navbar-nav {
    display: none;
    position: absolute;
    top: calc(100% + 0.35rem);
    left: max(1rem, env(safe-area-inset-left));
    right: max(1rem, env(safe-area-inset-right));
    flex-direction: column;
    background: linear-gradient(135deg, rgb(74, 13, 143) 0%, rgb(250, 42, 143) 100%);
    border-radius: 12px;
    padding: 0.5rem 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    max-height: min(70vh, 70dvh);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .navbar-nav.is-open {
    display: flex;
  }

  .nav-link {
    text-align: center;
    padding: 0.95rem 1rem;
    font-size: 16px;
  }

  .nav-link.active::after {
    display: none;
  }

  body.nav-open {
    overflow: hidden;
    touch-action: none;
  }
}

@media (max-width: 960px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .img-gallery {
    gap: 1rem;
  }

  .img-gallery img,
  .img-gallery img:nth-child(2) {
    width: min(200px, 42vw);
  }
}

@media (max-width: 767px) {
  .container {
    width: min(100% - 1.5rem, 1140px);
  }

  .section {
    padding: 3.5rem 0;
  }

  h1 {
    font-size: clamp(1.7rem, 7vw, 2.15rem);
    word-break: break-word;
  }

  h2 {
    font-size: clamp(1.45rem, 5.5vw, 1.85rem);
  }

  .feature-grid h3,
  .seo-formats h3,
  .review-card h3 {
    font-size: 1.05rem;
  }

  .tagline {
    font-size: 1rem;
    padding: 0 0.25rem;
  }

  .seo-lead {
    font-size: 0.95rem;
    text-align: left;
  }

  .section-title {
    margin-bottom: 1.75rem;
  }

  .hero-copy {
    margin-top: 1rem;
  }

  header.bg-gradient {
    padding-top: calc(5.5rem + env(safe-area-inset-top));
    min-height: auto;
  }

  .img-holder {
    padding-bottom: 2.5rem;
  }

  .app-icon {
    width: min(220px, 58vw);
  }

  .img-gallery {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.75rem;
    margin-inline: -0.75rem;
    padding-inline: 0.75rem;
  }

  .img-gallery img,
  .img-gallery img:nth-child(2) {
    flex: 0 0 auto;
    width: min(210px, 58vw);
    scroll-snap-align: start;
  }

  .review-card {
    flex: 0 0 min(300px, 85vw);
    min-height: 200px;
  }

  .reviews-nav {
    display: none;
  }

  .score-num {
    font-size: 3rem;
  }

  .rating-summary {
    max-width: none;
  }

  .reviews-title-link h2 {
    font-size: 1.45rem;
  }

  .call-to-action {
    margin: 1.5rem 0;
  }

  .call-to-action h2 {
    font-size: 1.7rem;
  }

  .btn {
    min-height: 48px;
    width: min(100%, 280px);
  }

  .cta-btns {
    display: flex;
    justify-content: center;
  }

  .download-more {
    line-height: 1.7;
  }

  .contact-block {
    padding: 2.25rem 0;
  }

  .wechat-support img {
    width: min(260px, 72vw);
    height: auto;
    aspect-ratio: 1;
  }

  .formats-list {
    grid-template-columns: 1fr;
  }

  .footer-nav {
    gap: 0.85rem 1.1rem;
  }

  .legal {
    padding: 1rem 0.75rem calc(2.25rem + env(safe-area-inset-bottom));
  }

  .legal .container {
    padding: 1.25rem 1.1rem;
    border-radius: 10px;
  }

  .legal-nav a {
    min-height: 38px;
    padding: 0.4rem 0.75rem;
    font-size: 13px;
  }

  .legal p,
  .legal li {
    font-size: 14px;
    line-height: 1.75;
  }
}

@supports (-webkit-touch-callout: none) {
  /* iOS Safari: smoother fixed nav compositing */
  .nav-menu.fixed-top {
    -webkit-backdrop-filter: saturate(160%) blur(8px);
    backdrop-filter: saturate(160%) blur(8px);
  }

  .nav-menu.is-scrolling {
    background: linear-gradient(135deg, rgba(74, 13, 143, 0.92) 0%, rgba(250, 42, 143, 0.92) 100%);
  }
}
