:root {
  --bg-start: #0f172a;
  --bg-end: #020617;
  --surface: #1e293b;
  --border: rgba(148, 163, 184, 0.12);
  --text: #f1f5f9;
  --text-muted: #94a3b8;
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-glow: rgba(37, 99, 235, 0.45);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  min-height: 100%;
  background: radial-gradient(circle at 50% 0%, #1e293b 0%, var(--bg-start) 35%, var(--bg-end) 100%);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body {
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom)
    env(safe-area-inset-left);
}

img {
  display: block;
  max-width: 100%;
}

.page {
  min-height: 100vh;
  max-width: 480px;
  margin: 0 auto;
  padding: 40px 24px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  text-align: center;
}

.logo {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  background: var(--surface);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px var(--border);
  padding: 14px;
  margin-bottom: 4px;
}

.title {
  font-size: clamp(1.3rem, 4.6vw, 1.6rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.subtitle {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.55;
  max-width: 320px;
}

.install-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 360px;
  padding: 14px 20px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 10px 28px var(--primary-glow);
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
  margin-top: 6px;
}

.install-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

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

.install-btn[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
  box-shadow: none;
}

.install-btn__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.18);
  font-size: 13px;
  font-weight: 700;
}

.hint {
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.55;
  max-width: 320px;
}

.skip {
  margin-top: 6px;
  color: var(--text-muted);
  font-size: 13px;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}

.skip:hover {
  color: var(--text);
  border-bottom-color: var(--text-muted);
}
