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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background: #f8f9fa;
  color: #333;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.container {
  text-align: center;
  padding: 2rem;
  max-width: 420px;
}

.logo {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: #4f46e5;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 2rem;
  font-weight: 700;
}

.spinner {
  width: 40px;
  height: 40px;
  margin: 1.5rem auto;
  border: 3px solid #e5e7eb;
  border-top-color: #4f46e5;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

#status-message {
  font-size: 1rem;
  color: #6b7280;
  margin-bottom: 1rem;
}

#fallback-container {
  display: none;
  margin-top: 1.5rem;
}

#fallback-btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: #4f46e5;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  transition: background 0.2s;
}

#fallback-btn:hover {
  background: #4338ca;
}

.store-links {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: #9ca3af;
}

.store-links a {
  color: #4f46e5;
  text-decoration: none;
}

.store-links a:hover {
  text-decoration: underline;
}
