:root {
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
}

body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 20px;
}

body.theme-user {
  --accent: #0d4ac3;
  --accent-dark: #001c4a;
  --bg-top: #f0f9ff;
  --bg-bottom: #ffffff;
  --card-shadow: 0 30px 70px rgba(13, 74, 195, 0.22);
}

body.theme-driver {
  --accent: #40916c;
  --accent-dark: #1b4332;
  --bg-top: #ecfdf5;
  --bg-bottom: #ffffff;
  --card-shadow: 0 30px 70px rgba(27, 67, 50, 0.2);
}

body {
  background: linear-gradient(180deg, var(--bg-top), var(--bg-bottom));
  color: var(--accent-dark);
}

.shell {
  width: min(420px, 100%);
  text-align: center;
}

.card {
  background: #fff;
  border-radius: 28px;
  padding: 36px 28px;
  box-shadow: var(--card-shadow);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.app-icon {
  width: 96px;
  height: 96px;
  margin: 0 auto 18px;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 28px;
  letter-spacing: 0.04em;
}

h1 {
  margin: 0 0 8px;
  font-size: 1.6rem;
}

.meta {
  color: #64748b;
  margin: 0 0 22px;
  font-size: 0.95rem;
}

.download-btn {
  display: inline-flex;
  width: 100%;
  max-width: 100%;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 15px 22px;
  border-radius: 999px;
  border: 0;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.14);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.download-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
  color: #fff;
  text-decoration: none;
}

.download-btn:active {
  transform: translateY(0);
}

.download-btn.is-loading {
  opacity: 0.85;
  pointer-events: wait;
}

.download-btn__icon {
  display: inline-flex;
  flex-shrink: 0;
}

.download-btn__label {
  line-height: 1.2;
}

.hint {
  margin-top: 18px;
  font-size: 0.85rem;
  color: #64748b;
}

.back-link {
  display: inline-block;
  margin-top: 24px;
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.badge-row {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.badge {
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.04);
  font-size: 0.82rem;
  font-weight: 600;
}
