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

:root {
  --purple: #6C63FF;
  --teal:   #3ECFCF;
  --dark:   #0f0f1a;
  --card:   #1a1a2e;
  --text:   #e8e8f0;
  --muted:  #8888aa;
  --radius: 20px;
}

html, body {
  height: 100%;
  background: var(--dark);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.landing {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100dvh;
  padding: 24px;
  background: radial-gradient(ellipse at 60% 0%, #1a0a3a 0%, var(--dark) 60%);
}

/* ── Landing card ─────────────────────────────────────────────────────────── */
.landing-card {
  background: var(--card);
  border: 1px solid rgba(108, 99, 255, 0.2);
  border-radius: var(--radius);
  padding: 40px 32px;
  max-width: 400px;
  width: 100%;
  text-align: center;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
}

.logo {
  display: inline-flex;
  margin-bottom: 20px;
  filter: drop-shadow(0 8px 24px rgba(108, 99, 255, 0.4));
}

h1 {
  font-size: 28px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--purple), var(--teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.subtitle {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 28px;
  line-height: 1.5;
}

/* ── Status message ───────────────────────────────────────────────────────── */
.status-message {
  background: rgba(255, 200, 100, 0.08);
  border: 1px solid rgba(255, 200, 100, 0.2);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 13px;
  color: #ffc864;
  margin-bottom: 20px;
  min-height: 0;
  transition: all 0.2s;
}
.status-message:empty { display: none; }

/* ── Buttons ──────────────────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  justify-content: center;
  background: linear-gradient(135deg, var(--purple), var(--teal));
  color: white;
  border: none;
  border-radius: 14px;
  padding: 16px 24px;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.15s, transform 0.15s;
  letter-spacing: -0.2px;
}
.btn-primary:hover  { opacity: 0.92; transform: translateY(-1px); }
.btn-primary:active { opacity: 1.0;  transform: translateY(0); }
.btn-primary:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

.btn-icon { font-size: 20px; }

.hint {
  color: var(--muted);
  font-size: 13px;
  margin-top: 14px;
  margin-bottom: 32px;
}

/* ── Store links ──────────────────────────────────────────────────────────── */
.store-links {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 24px;
}
.store-hint {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 12px;
}
.store-badge {
  display: inline-block;
  transition: opacity 0.15s;
}
.store-badge:hover { opacity: 0.8; }
.store-badge img { height: 40px; }
