:root{
  --brand:#e3df6c;
  --bg:#0b1020;
  --card:#ffffff;
  --text:#111827;
  --muted:#6b7280;
  --shadow: 0 18px 50px rgba(0,0,0,.22);
}

*{ box-sizing:border-box; }

body{
  margin:0;
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  color:var(--text);
  overflow:hidden;
  background: var(--bg);
}

.bg{
  position:fixed;
  inset:-40vh -40vw;
  background:
    radial-gradient(40rem 40rem at 20% 20%, rgba(227,223,108,.30), transparent 60%),
    radial-gradient(44rem 44rem at 80% 30%, rgba(61,220,132,.18), transparent 60%),
    radial-gradient(46rem 46rem at 60% 90%, rgba(59,130,246,.16), transparent 60%),
    linear-gradient(180deg, #070a14 0%, #0b1020 45%, #0b1020 100%);
  filter:saturate(1.05);
  transform: translateZ(0);
}

.card{
  width:min(560px, 92vw);
  background:rgba(255,255,255,.94);
  border:1px solid rgba(255,255,255,.55);
  border-radius:28px;
  box-shadow: var(--shadow);
  padding:34px 22px 28px;
  text-align:center;
  position:relative;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: pop .35s ease-out;
}

@keyframes pop{
  from{ transform: translateY(10px) scale(.99); opacity:.0; }
  to{ transform: translateY(0) scale(1); opacity:1; }
}

.brand{
  position:relative;
  width:180px;
  height:180px;
  margin: 0 auto 8px;
  display:flex;
  align-items:center;
  justify-content:center;
}

.logoHalo{
  position:absolute;
  inset:0;
  border-radius:999px;
  background: radial-gradient(circle at 50% 50%, rgba(227,223,108,.35), rgba(227,223,108,0) 65%);
  filter: blur(2px);
  animation: breathe 2.6s ease-in-out infinite;
}

@keyframes breathe{
  0%,100%{ transform: scale(0.98); opacity:.95; }
  50%{ transform: scale(1.03); opacity:1; }
}

.logo{
  width:128px;
  height:auto;
  z-index:1;
  filter: drop-shadow(0 10px 24px rgba(0,0,0,.14));
}

h1{
  margin: 6px 0 8px;
  font-size: 34px;
  letter-spacing: -0.6px;
}

.sub{
  margin:0 auto 18px;
  color:var(--muted);
  font-size:16px;
  line-height:1.45;
  max-width: 36ch;
}

.status{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  margin: 10px 0 20px;
  color:#374151;
  font-size:14px;
}

.spinner{
  width:18px;
  height:18px;
  border-radius:50%;
  border:3px solid rgba(17,24,39,.14);
  border-top-color: var(--brand);
  animation: spin 0.9s linear infinite;
}

@keyframes spin{ to{ transform: rotate(360deg); } }

.buttons{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:12px;
  margin: 8px auto 10px;
  width:min(460px, 100%);
}

.btn{
  border-radius:18px;
  padding:16px 16px 14px;
  text-decoration:none;
  color:#fff;
  font-weight:800;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  transition: transform .08s ease, box-shadow .08s ease, opacity .08s ease;
  box-shadow: 0 10px 20px rgba(0,0,0,.12);
}
.btn:hover{ transform: translateY(-1px); }
.btn:active{ transform: translateY(0); opacity:.92; }

.btnTitle{
  font-size:16px;
  letter-spacing:-0.2px;
}

.btnSub{
  font-size:12px;
  opacity:.85;
  margin-top:4px;
  font-weight:700;
}

.ios{
  background: linear-gradient(180deg, #111827 0%, #000 100%);
}

.android{
  background: linear-gradient(180deg, #34d399 0%, #16a34a 100%);
}

.hint{
  margin: 14px 0 0;
  color:var(--muted);
  font-size:13px;
}

@media (max-width: 520px){
  .brand{ width:160px; height:160px; }
  .logo{ width:112px; }
  h1{ font-size:30px; }
  .buttons{ grid-template-columns: 1fr; }
}