:root { color-scheme: dark; }
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  font: 15px/1.4 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, system-ui, sans-serif;
  color: #eaeaf0; background:
    radial-gradient(1200px 600px at 80% -10%, #2a1a55 0%, transparent 60%),
    radial-gradient(900px 500px at -10% 110%, #103b3a 0%, transparent 60%),
    #0b0b10;
  display: grid; place-items: center; padding: 24px;
}
.card {
  width: 100%; max-width: 360px;
  background: rgba(20,20,28,0.7); backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 20px; padding: 28px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.45);
}
h1 { margin: 0 0 4px; font-size: 28px; letter-spacing: 0.5px; }
.sub { margin: 0 0 20px; opacity: 0.6; }
label { display: grid; gap: 6px; margin-bottom: 14px; font-size: 13px; opacity: 0.85; }
input {
  background: #14141c; border: 1px solid #26263a; color: inherit;
  padding: 12px 14px; border-radius: 10px; font: inherit; outline: none;
}
input:focus { border-color: #6c63ff; }
button {
  width: 100%; padding: 12px 14px; border: 0; border-radius: 999px;
  background: linear-gradient(135deg, #6c63ff, #2dd4bf); color: white; font-weight: 600;
  letter-spacing: 0.2px; cursor: pointer; margin-top: 4px;
}
.err { color: #ff7a7a; min-height: 1.2em; margin: 8px 0 0; font-size: 13px; }
.google-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; padding: 11px 14px; margin-bottom: 18px;
  background: #fff; color: #111; text-decoration: none;
  border-radius: 999px; font-weight: 600; font-size: 14px;
  border: 1px solid rgba(0,0,0,0.1);
}
.google-btn:active { transform: scale(0.98); }
.divider {
  text-align: center; margin: 6px 0 14px; position: relative;
}
.divider::before, .divider::after {
  content: ''; position: absolute; top: 50%; height: 1px;
  background: rgba(255,255,255,0.08); width: 28%;
}
.divider::before { left: 0; }
.divider::after { right: 0; }
.divider span { color: rgba(255,255,255,0.4); font-size: 11px; text-transform: uppercase; letter-spacing: 0.5px; }
.apk-cta {
  display: flex; align-items: center; gap: 12px;
  margin-top: 22px; padding: 12px 14px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(108,99,255,0.18), rgba(45,212,191,0.12));
  border: 1px solid rgba(255,255,255,0.08);
  color: inherit; text-decoration: none;
}
.apk-cta:active { transform: scale(0.98); }
.apk-icon {
  width: 36px; height: 36px; border-radius: 999px; display: grid; place-items: center;
  background: linear-gradient(135deg, #6c63ff, #2dd4bf); color: #0b0b10; font-size: 18px; font-weight: 800;
  flex-shrink: 0;
}
.apk-cta strong { display: block; font-size: 14px; }
.apk-sub { display: block; color: #9b9bae; font-size: 12px; margin-top: 2px; }
