.install-page {
  min-height: 100dvh;
  position: relative;
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-body);
}

.install-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 70% 50% at 80% 10%, rgba(184, 242, 85, 0.16), transparent 55%),
    radial-gradient(ellipse 50% 40% at 10% 90%, rgba(94, 200, 255, 0.1), transparent 50%),
    linear-gradient(165deg, #05110c 0%, #0d2a1e 50%, #132a18 100%);
}

.install-wrap {
  position: relative;
  z-index: 1;
  max-width: 1040px;
  margin: 0 auto;
  padding: 1.25rem 1.15rem 3rem;
}

.install-head {
  text-align: center;
  margin-bottom: 1.5rem;
}

.install-head .link-back {
  display: inline-block;
  margin-bottom: 1rem;
}

.install-mark {
  display: block;
  margin: 0 auto 0.75rem;
  filter: drop-shadow(0 6px 18px rgba(184, 242, 85, 0.3));
}

.install-head h1 {
  margin: 0;
  font-family: var(--font-brand);
  font-size: clamp(1.6rem, 5vw, 2.2rem);
  letter-spacing: -0.03em;
}

.install-head p {
  margin: 0.5rem auto 0;
  max-width: 28rem;
  color: var(--muted);
  line-height: 1.45;
}

.install-head strong {
  color: var(--lime);
  font-weight: 600;
}

.platform-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 800px) {
  .platform-grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }
}

.platform-card {
  display: flex;
  flex-direction: column;
  padding: 1.25rem 1.15rem 1.2rem;
  border-radius: 20px;
  background: rgba(18, 40, 32, 0.92);
  border: 1px solid var(--line);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  animation: riseIn 0.45s ease both;
}

.platform-card[data-platform="windows"] { animation-delay: 0.05s; }
.platform-card[data-platform="android"] { animation-delay: 0.12s; }
.platform-card[data-platform="iphone"] { animation-delay: 0.19s; }

.platform-card.is-suggested {
  border-color: rgba(184, 242, 85, 0.55);
  box-shadow:
    0 0 0 1px rgba(184, 242, 85, 0.25),
    0 16px 40px rgba(0, 0, 0, 0.35);
}

.platform-logo {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.28);
  margin-bottom: 0.85rem;
}

.platform-card[data-platform="windows"] .platform-logo {
  background: rgba(0, 164, 239, 0.12);
}

.platform-card[data-platform="android"] .platform-logo {
  background: rgba(61, 220, 132, 0.12);
}

.platform-card[data-platform="iphone"] .platform-logo {
  background: rgba(245, 245, 247, 0.08);
}

.platform-card h2 {
  margin: 0;
  font-family: var(--font-brand);
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.platform-desc {
  margin: 0.3rem 0 0.75rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.platform-steps {
  margin: 0 0 1.1rem;
  padding-left: 1.15rem;
  color: var(--text);
  font-size: 0.85rem;
  line-height: 1.55;
  flex: 1;
}

.platform-steps li {
  margin-bottom: 0.25rem;
}

.platform-steps strong {
  color: var(--lime);
}

.platform-card .btn {
  margin-top: auto;
}

.ios-hint {
  margin: 0.75rem 0 0;
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.4;
}

.install-note {
  margin: 1.25rem auto 0;
  max-width: 32rem;
  text-align: center;
  color: var(--amber);
  font-size: 0.9rem;
}

.install-foot {
  margin: 1.5rem 0 0;
  text-align: center;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
