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

:root {
  --bg: #0f172a;
  --card: #1e293b;
  --text: #f8fafc;
  --muted: #94a3b8;
  --apple: #007aff;
  --google: #34a853;
  --border: rgba(255, 255, 255, 0.08);
}

body {
  min-height: 100vh;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top, #1d4ed8 0%, transparent 45%),
    var(--bg);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.container {
  width: 100%;
  max-width: 420px;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.logo {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.25rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  display: grid;
  place-items: center;
  font-size: 2rem;
  font-weight: 700;
}

h1 {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.subtitle,
.note {
  color: var(--muted);
  line-height: 1.5;
}

.subtitle {
  margin-bottom: 1.75rem;
}

.store-buttons {
  display: grid;
  gap: 1rem;
}

.store-btn {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1.1rem;
  border-radius: 0.9rem;
  text-decoration: none;
  color: white;
  border: 1px solid transparent;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.store-btn:hover {
  transform: translateY(-2px);
  opacity: 0.95;
}

.store-btn--apple {
  background: var(--apple);
}

.store-btn--google {
  background: var(--google);
}

.store-icon {
  font-size: 1.75rem;
  width: 2rem;
  text-align: center;
}

.store-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
}

.store-text small {
  font-size: 0.75rem;
  opacity: 0.9;
}

.store-text strong {
  font-size: 1.1rem;
}

.note {
  margin-top: 1.5rem;
  font-size: 0.875rem;
}

.loading {
  text-align: center;
}

.loading p {
  margin-top: 1rem;
  color: var(--muted);
}

.spinner {
  width: 42px;
  height: 42px;
  margin: 0 auto;
  border: 4px solid rgba(255, 255, 255, 0.15);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}