:root {
  --page-background: #260047;
  --page-background-deep: #19002f;
  --card-background: rgba(82, 29, 132, 0.6);
  --card-border: rgba(175, 122, 221, 0.3);
  --primary: #ffbf00;
  --text: #ffffff;
  --muted-text: #bea8d5;
  --quiet-text: #967bb6;
}

* { box-sizing: border-box; }

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  font-family: "Poppins", system-ui, sans-serif;
  background:
    radial-gradient(circle at 50% 47%, rgba(101, 29, 174, 0.42), transparent 30rem),
    linear-gradient(145deg, var(--page-background) 0%, var(--page-background-deep) 100%);
}

.page-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 20px;
}

.download-card {
  width: min(100%, 422px);
  min-height: 544px;
  padding: 47px 36px 36px;
  text-align: center;
  border: 1px solid var(--card-border);
  border-radius: 29px;
  background: var(--card-background);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 22px 55px rgba(11, 0, 30, 0.22);
  backdrop-filter: blur(6px);
}

.logo-wrap {
  width: 120px;
  height: 120px;
  display: grid;
  place-items: center;
  margin: 0 auto 25px;
  overflow: hidden;
  border-radius: 50%;
  background: #120027;
  box-shadow: 0 0 22px rgba(183, 92, 255, 0.35);
}

.logo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

h1 {
  margin: 0;
  font-size: clamp(1.65rem, 5vw, 2rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.04em;
}

.app-name-accent { color: var(--primary); }

.tagline {
  min-height: 49px;
  margin: 12px auto 25px;
  color: var(--muted-text);
  font-size: 0.89rem;
  font-weight: 500;
  line-height: 1.55;
}

.download-button {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 15px 22px;
  border-radius: 17px;
  color: #12002d;
  font-size: 1.08rem;
  font-weight: 800;
  text-decoration: none;
  background: linear-gradient(105deg, #ffd400, #ffae00);
  box-shadow: 0 12px 22px rgba(255, 174, 0, 0.2);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.download-button:hover { transform: translateY(-2px); box-shadow: 0 16px 28px rgba(255, 174, 0, 0.28); }
.download-button:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.download-button svg { width: 21px; height: 21px; }

.app-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 29px 4px 0;
}

.meta-item {
  padding: 0 10px;
  border-left: 1px solid rgba(202, 171, 230, 0.2);
}
.meta-item:first-child { border-left: 0; }
.meta-value { color: var(--primary); font-size: 0.96rem; font-weight: 800; }
.meta-label { margin-top: 3px; color: var(--quiet-text); font-size: 0.69rem; font-weight: 500; }

.app-note {
  margin: 34px 0 0;
  color: var(--quiet-text);
  font-size: 0.72rem;
  font-weight: 500;
}

@media (max-width: 430px) {
  .page-shell { padding: 20px 14px; }
  .download-card { min-height: 0; padding: 35px 23px 30px; border-radius: 25px; }
  .logo-wrap { width: 102px; height: 102px; margin-bottom: 21px; }
  .tagline { margin-bottom: 21px; }
  .app-note { margin-top: 28px; }
}
