:root {
  --bg: #f3f6fb;
  --card: #ffffff;
  --text: #0f172a;
  --muted: #667085;
  --line: #e9eef5;
  --green: #08d457;
  --blue: #1976f3;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top center, rgba(25, 118, 243, 0.08), transparent 30%),
    radial-gradient(circle at bottom left, rgba(8, 212, 87, 0.08), transparent 26%),
    linear-gradient(180deg, #f8fbff 0%, var(--bg) 100%);
  color: var(--text);
}

body {
  display: grid;
  place-items: center;
  padding: 0 16px;
}

.page {
  width: 100%;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.card {
  width: min(100%, 460px);
  min-height: min(760px, calc(100vh - 32px));
  padding: 52px 36px 32px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 32px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.app-icon {
  display: grid;
  place-items: center;
  width: 120px;
  height: 120px;
  margin: 0 auto 30px;
}

.app-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 30px;
}

h1 {
  margin: 0;
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.actions {
  display: grid;
  gap: 14px;
  margin-top: 42px;
}

.download-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 60px;
  padding: 0 20px;
  border-radius: 18px;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
}

.download-button.is-disabled {
  opacity: 0.45;
  pointer-events: none;
}

.download-button.is-hidden {
  display: none;
}

.download-button.android {
  background: var(--green);
}

.download-button.ios {
  background: var(--blue);
}

.button-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  line-height: 1;
}

.button-icon svg {
  width: 100%;
  height: 100%;
}

@media (max-width: 480px) {
  body {
    padding: 0;
  }

  .page {
    min-height: 100vh;
  }

  .card {
    width: 100%;
    min-height: 100vh;
    padding: 40px 22px 28px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .app-icon {
    width: 104px;
    height: 104px;
    margin-bottom: 24px;
  }

  .app-icon img {
    border-radius: 26px;
  }

  h1 {
    font-size: 1.75rem;
  }

  .download-button {
    min-height: 56px;
    font-size: 1rem;
  }
}

@media (min-width: 900px) {
  body {
    padding: 0 24px;
  }

  .card {
    width: min(100%, 520px);
    min-height: min(820px, calc(100vh - 40px));
    padding: 56px 44px 36px;
    border-radius: 36px;
  }

  .app-icon {
    width: 132px;
    height: 132px;
  }

  .app-icon img {
    border-radius: 32px;
  }

  h1 {
    font-size: 2.5rem;
  }

  .actions {
    margin-top: 56px;
    gap: 16px;
  }

  .download-button {
    min-height: 64px;
    font-size: 1.12rem;
  }
}
