:root {
  --bg-start: #070805;
  --bg-end: #0b0c08;
  --surface: #11120e;
  --surface-strong: #171712;
  --surface-soft: #141510;
  --text: #f3efe6;
  --text-soft: #aaa496;
  --line: rgba(220, 193, 113, .16);
  --accent: #c79a3b;
  --accent-soft: rgba(199, 154, 59, .12);
  --accent-deep: #e2c774;
  --hero-glow: radial-gradient(circle at 82% 12%, rgba(199, 154, 59, .15), transparent 34%);
  --shadow-lg: 0 30px 90px rgba(0, 0, 0, .42);
  --shadow-md: 0 16px 44px rgba(0, 0, 0, .22);
  --radius-xl: 30px;
  --radius-lg: 25px;
  --radius-md: 19px;
  --radius-sm: 14px;
}

html { background: #070805; }

body,
body.platform-ios,
body.platform-android {
  --bg-start: #070805;
  --bg-end: #0b0c08;
  --surface: #11120e;
  --surface-strong: #171712;
  --surface-soft: #141510;
  --text: #f3efe6;
  --text-soft: #aaa496;
  --line: rgba(220, 193, 113, .16);
  --accent: #c79a3b;
  --accent-soft: rgba(199, 154, 59, .12);
  --accent-deep: #e2c774;
  color: var(--text);
  font-family: "Segoe UI Variable", "Aptos", "Noto Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
  background:
    radial-gradient(circle at 8% 2%, rgba(199, 154, 59, .11), transparent 25rem),
    radial-gradient(circle at 94% 13%, rgba(78, 91, 51, .1), transparent 30rem),
    linear-gradient(rgba(220, 193, 113, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(220, 193, 113, .035) 1px, transparent 1px),
    #070805;
  background-size: auto, auto, 84px 84px, 84px 84px, auto;
}

body::before {
  content: "";
  position: fixed;
  z-index: -1;
  width: 760px;
  height: 760px;
  right: -380px;
  top: 120px;
  border: 1px solid rgba(220, 193, 113, .09);
  border-radius: 50%;
  box-shadow: 0 0 0 110px rgba(220, 193, 113, .018), 0 0 0 220px rgba(220, 193, 113, .012);
  pointer-events: none;
}

.store-shell,
body.platform-android .store-shell {
  width: min(calc(100% - 42px), 1240px);
  padding: 20px 0 34px;
}

.download-nav {
  min-height: 68px;
  margin-bottom: 18px;
  padding: 0 8px 0 2px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.download-nav__brand,
.download-nav__brand > span:last-child,
.download-footer > div {
  display: flex;
  align-items: center;
}

.download-nav__brand { gap: 13px; }
.download-nav__brand > span:last-child { align-items: flex-start; flex-direction: column; gap: 2px; }
.download-nav__brand strong { font-size: 1rem; letter-spacing: .13em; }
.download-nav__brand small { color: #878275; font-size: .58rem; font-weight: 750; letter-spacing: .13em; }

.download-nav__mark {
  position: relative;
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(220, 193, 113, .27);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(199, 154, 59, .13), transparent 67%);
}

.download-nav__mark::before {
  content: "";
  position: absolute;
  width: 27px;
  border-top: 1px solid rgba(226, 199, 116, .65);
  transform: rotate(-15deg);
}

.download-nav__mark i {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d8ad4d;
  box-shadow: 0 0 18px rgba(216, 173, 77, .72);
}

.download-nav nav {
  padding: 5px;
  display: flex;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(17, 18, 14, .82);
}

.platform-link {
  min-width: 86px;
  min-height: 38px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--text-soft);
  font-size: .82rem;
  font-weight: 750;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}

.platform-ios .platform-link--ios,
.platform-android .platform-link--android {
  color: #0b0c08;
  background: linear-gradient(135deg, #e1c56e, #b8892e);
}

.store-page { gap: 20px; }

.hero-surface,
.section-surface,
.guide-modal__panel,
body.platform-android .hero-surface,
body.platform-android .section-surface,
body.platform-android .guide-modal__panel {
  border: 1px solid var(--line);
  color: var(--text);
  background: linear-gradient(145deg, rgba(24, 25, 19, .97), rgba(10, 11, 8, .98));
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(18px);
}

.hero-surface::before,
.section-surface::before,
.guide-modal__panel::before,
body.platform-android .hero-surface::before,
body.platform-android .section-surface::before,
body.platform-android .guide-modal__panel::before {
  opacity: 1;
  background:
    radial-gradient(circle at 87% 0, rgba(199, 154, 59, .14), transparent 34%),
    linear-gradient(120deg, transparent 0 69%, rgba(220, 193, 113, .035) 69% 70%, transparent 70%);
}

.hero-surface,
body.platform-android .hero-surface {
  min-height: 490px;
  padding: clamp(34px, 5vw, 66px);
  border-radius: 32px;
}

.hero-surface::after {
  content: "";
  position: absolute;
  right: -85px;
  top: -175px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(220, 193, 113, .12);
  border-radius: 50%;
  box-shadow: 0 0 0 62px rgba(220, 193, 113, .02), 0 0 0 124px rgba(220, 193, 113, .012);
  pointer-events: none;
}

.hero-header,
body.platform-android .hero-header {
  min-height: 300px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 230px;
  align-items: center;
  gap: clamp(30px, 5vw, 75px);
}

.hero-header__brand,
body.platform-android .hero-header__brand {
  grid-template-columns: 126px minmax(0, 1fr);
  gap: clamp(24px, 3vw, 42px);
  align-items: center;
}

.app-icon,
body.platform-android .app-icon {
  width: 126px;
  height: 126px;
  padding: 25px;
  border: 1px solid rgba(220, 193, 113, .2);
  border-radius: 29px;
  background: linear-gradient(145deg, #262319, #0f100c);
  box-shadow: inset 0 1px rgba(255, 255, 255, .05), 0 25px 55px rgba(0, 0, 0, .35);
  filter: sepia(1) saturate(.8) hue-rotate(358deg) brightness(1.28);
}

.store-pill,
.category-pill,
.update-panel__meta span,
body.platform-android .store-pill,
body.platform-android .category-pill,
body.platform-android .update-panel__meta span {
  min-height: 29px;
  padding: 0 11px;
  border-color: var(--line);
  color: var(--accent-deep);
  background: rgba(199, 154, 59, .07);
  font-size: .7rem;
  letter-spacing: .045em;
}

.hero-header h1,
body.platform-android .hero-header h1 {
  max-width: 18ch;
  color: var(--text);
  font-size: clamp(2.45rem, 4.7vw, 4.3rem);
  line-height: .96;
  letter-spacing: -.06em;
  text-wrap: balance;
}

.hero-header__developer,
body.platform-android .hero-header__developer { color: var(--accent-deep); }

.hero-header__summary,
.hero-header__note,
.section-copy,
.update-panel p,
.feature-card p,
.review-card p,
.detail-row span,
.guide-step p,
body.platform-android .hero-header__summary,
body.platform-android .hero-header__note {
  color: var(--text-soft);
}

.hero-header__summary,
body.platform-android .hero-header__summary { max-width: 57ch; font-size: .98rem; line-height: 1.65; }
.hero-header__note,
body.platform-android .hero-header__note { max-width: 61ch; color: #817d72; }

.hero-actions,
body.platform-android .hero-actions {
  min-width: 0;
  gap: 10px;
}

.hero-actions__badge,
body.platform-android .hero-actions__badge {
  color: var(--accent-deep);
  border: 1px solid var(--line);
  background: rgba(199, 154, 59, .08);
}

.button-primary,
body.platform-android .button-primary {
  min-height: 52px;
  border-radius: 14px;
  color: #090a07;
  background: linear-gradient(135deg, #e2c774, #b8892e);
  box-shadow: 0 12px 34px rgba(184, 137, 46, .2);
}

.button-secondary,
body.platform-android .button-secondary {
  min-height: 50px;
  border-radius: 14px;
  border-color: var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, .035);
}

.stat-rail,
body.platform-android .stat-rail {
  position: relative;
  z-index: 2;
  margin-top: 38px;
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(5, 6, 4, .45);
}

.stat-card,
body.platform-android .stat-card {
  padding: 20px 16px;
  border: 0;
  border-right: 1px solid rgba(220, 193, 113, .1);
  border-radius: 0;
  color: var(--text);
  background: transparent;
  box-shadow: none;
  text-align: center;
}
.stat-card:last-child { border-right: 0; }
.stat-card strong,
body.platform-android .stat-card strong { font-size: 1.3rem; }
.stat-card span,
body.platform-android .stat-card span { color: var(--text-soft); }

.content-grid { grid-template-columns: 1fr; gap: 20px; }
.content-main {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.content-main > .section-surface:last-child { grid-column: 1 / -1; }
.content-side {
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, .82fr);
  gap: 20px;
}
.content-side > .trust-surface { grid-column: 1 / -1; }

.section-surface,
body.platform-android .section-surface {
  padding: clamp(26px, 3vw, 38px);
  border-radius: 26px;
}

.section-heading__eyebrow,
.guide-modal__eyebrow,
body.platform-android .section-heading__eyebrow,
body.platform-android .guide-modal__eyebrow {
  color: var(--accent-deep);
  font-size: .68rem;
  letter-spacing: .15em;
}

.section-heading h2,
.guide-modal__header h2,
body.platform-android .section-heading h2,
body.platform-android .guide-modal__header h2 {
  max-width: 23ch;
  color: var(--text);
  font-size: clamp(1.55rem, 2.6vw, 2.35rem);
  line-height: 1.06;
  letter-spacing: -.04em;
  text-wrap: balance;
}

.update-panel,
.feature-card,
.rating-summary,
.review-card,
.detail-row,
.guide-step,
body.platform-android .update-panel,
body.platform-android .feature-card,
body.platform-android .rating-summary,
body.platform-android .review-card,
body.platform-android .detail-row,
body.platform-android .guide-step {
  border-color: rgba(220, 193, 113, .11);
  color: var(--text);
  background: rgba(255, 255, 255, .028);
  box-shadow: none;
}

.update-panel { padding: 22px 24px; }
.feature-grid { gap: 12px; }
.feature-card,
body.platform-android .feature-card { grid-template-columns: 50px minmax(0, 1fr); padding: 18px; }
.feature-card__icon,
body.platform-android .feature-card__icon {
  width: 50px;
  height: 50px;
  border: 1px solid rgba(220, 193, 113, .14);
  border-radius: 15px;
  color: var(--accent-deep);
  background: rgba(199, 154, 59, .08);
}
.feature-card h3,
.review-card h3 { color: var(--text); }

.rating-summary,
body.platform-android .rating-summary { grid-template-columns: 112px minmax(0, 1fr); }
.rating-summary__score strong,
body.platform-android .rating-summary__score strong { color: var(--text); }
.rating-summary__score span,
.review-card__top span,
body.platform-android .review-card__top span { color: var(--accent-deep); }
.rating-bars__track,
body.platform-android .rating-bars__track { background: rgba(220, 193, 113, .09); }
.rating-bars__fill,
body.platform-android .rating-bars__fill { background: linear-gradient(90deg, #b8892e, #e2c774); }
.review-card strong { color: var(--accent-deep); }

.detail-row strong { color: var(--text); }
.trust-surface,
body.platform-android .trust-surface {
  background: radial-gradient(circle at 92% 8%, rgba(199, 154, 59, .14), transparent 40%), #12130f;
}
.content-side > .trust-surface {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, .34fr);
  align-items: end;
  gap: 12px 42px;
}
.content-side > .trust-surface .section-heading,
.content-side > .trust-surface .section-copy { grid-column: 1; }
.content-side > .trust-surface .button-primary { grid-column: 2; grid-row: 1 / span 2; align-self: center; margin-top: 0; }

.guide-modal { padding: 0; display: none; place-items: center; }
.guide-modal.is-open { display: grid; }
.guide-modal__backdrop { position: fixed; background: rgba(0, 0, 0, .76); }
.guide-modal__panel,
body.platform-android .guide-modal__panel {
  width: min(calc(100% - 28px), 820px);
  max-height: min(720px, calc(100dvh - 32px));
  margin: 0;
  padding: 30px;
  border-radius: 27px;
}
.guide-modal__close {
  border-color: var(--line);
  color: var(--accent-deep);
  background: rgba(255, 255, 255, .035);
}
.guide-step__number { color: #090a07; background: linear-gradient(135deg, #e2c774, #b8892e); }

.download-footer {
  margin-top: 20px;
  padding: 26px 8px 4px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  color: #777266;
  font-size: .75rem;
}
.download-footer > div { gap: 10px; color: var(--text); letter-spacing: .12em; }
.download-footer .download-nav__mark { width: 34px; height: 34px; }
.download-footer p { margin: 0; text-align: center; }

@media (hover: hover) {
  .platform-link:hover { color: var(--text); background: rgba(199, 154, 59, .07); }
  .button-primary:hover { transform: translateY(-2px); box-shadow: 0 17px 38px rgba(184, 137, 46, .28); }
  .button-secondary:hover { color: var(--accent-deep); border-color: rgba(220, 193, 113, .3); background: rgba(199, 154, 59, .055); }
  .feature-card:hover,
  .review-card:hover { border-color: rgba(220, 193, 113, .24); background: rgba(199, 154, 59, .045); }
}

@media (max-width: 980px) {
  .content-grid { grid-template-columns: 1fr; }
  .content-main,
  .content-side { grid-template-columns: 1fr; }
  .content-main > .section-surface:last-child,
  .content-side > .trust-surface { grid-column: 1; }
  .content-side > .trust-surface { display: block; }
  .content-side > .trust-surface .button-primary { margin-top: 16px; }
  .hero-header,
  body.platform-android .hero-header { grid-template-columns: 1fr; }
  .hero-actions,
  body.platform-android .hero-actions { grid-template-columns: 1fr 1fr; }
  .hero-actions__badge { grid-column: 1 / -1; }
  .download-footer { grid-template-columns: 1fr auto; }
  .download-footer p { display: none; }
}

@media (max-width: 620px) {
  body::before { display: none; }
  .store-shell,
  body.platform-android .store-shell { width: min(calc(100% - 20px), 1240px); padding-top: 8px; }
  .download-nav { min-height: 58px; margin-bottom: 8px; padding-inline: 3px; }
  .download-nav__mark { width: 36px; height: 36px; }
  .download-nav__brand small { display: none; }
  .download-nav nav { padding: 3px; }
  .platform-link { min-width: 64px; min-height: 34px; padding: 0 11px; font-size: .76rem; }
  .hero-surface,
  body.platform-android .hero-surface { min-height: 0; padding: 25px 20px 20px; border-radius: 24px; }
  .hero-header,
  body.platform-android .hero-header { min-height: 0; gap: 24px; }
  .hero-header__brand,
  body.platform-android .hero-header__brand { grid-template-columns: 72px minmax(0, 1fr); gap: 15px; align-items: start; }
  .app-icon,
  body.platform-android .app-icon { width: 72px; height: 72px; padding: 14px; border-radius: 19px; }
  .hero-header__meta { gap: 5px; margin-bottom: 8px; }
  .store-pill,
  .category-pill,
  body.platform-android .store-pill,
  body.platform-android .category-pill { min-height: 24px; padding-inline: 8px; font-size: .57rem; }
  .hero-header h1,
  body.platform-android .hero-header h1 { font-size: clamp(1.75rem, 8vw, 2.15rem); }
  .hero-header__developer { margin-top: 6px; }
  .hero-header__summary,
  body.platform-android .hero-header__summary { grid-column: 1 / -1; margin-top: 17px; font-size: .9rem; }
  .hero-header__note { display: none; }
  .hero-actions,
  body.platform-android .hero-actions { grid-template-columns: 1fr; gap: 8px; }
  .hero-actions__badge { display: none; }
  .button-primary,
  .button-secondary,
  body.platform-android .button-primary,
  body.platform-android .button-secondary { min-height: 48px; width: 100%; }
  .stat-rail,
  body.platform-android .stat-rail { grid-template-columns: 1fr 1fr; margin-top: 24px; border-radius: 16px; }
  .stat-card,
  body.platform-android .stat-card { padding: 15px 8px; border-bottom: 1px solid rgba(220, 193, 113, .1); }
  .stat-card:nth-child(2) { border-right: 0; }
  .stat-card:nth-child(n + 3) { border-bottom: 0; }
  .section-surface,
  body.platform-android .section-surface { padding: 24px 20px; border-radius: 22px; }
  .section-heading h2,
  body.platform-android .section-heading h2 { font-size: 1.65rem; }
  .feature-card,
  body.platform-android .feature-card { grid-template-columns: 46px minmax(0, 1fr); gap: 12px; padding: 16px; }
  .feature-card__icon,
  body.platform-android .feature-card__icon { width: 46px; height: 46px; }
  .rating-summary,
  body.platform-android .rating-summary { grid-template-columns: 105px minmax(0, 1fr); }
  .guide-modal__panel,
  body.platform-android .guide-modal__panel { padding: 24px 20px; }
  .guide-steps { grid-template-columns: 1fr; }
  .download-footer { padding: 22px 5px 4px; }
  .download-footer > span { font-size: .65rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

.button-primary[aria-disabled="true"] {
  opacity: .58;
  cursor: not-allowed;
  box-shadow: none;
}
