/**
 * JUQOR — Auth Screens CSS
 * Landing, Loading, Payment, Setup
 */

/* ══════════════════════════════════════
   LANDING — padrão Telegram/App Store
   ══════════════════════════════════════ */
#landing {
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: var(--bg0);
}

.l-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.l-bg::before {
  content: '';
  position: absolute;
  top: -40%; right: -25%;
  width: 650px; height: 650px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(6,214,160,.08), transparent 70%);
  filter: blur(60px);
  animation: lFloat 20s ease-in-out infinite alternate;
}
.l-bg::after {
  content: '';
  position: absolute;
  bottom: -40%; left: -25%;
  width: 550px; height: 550px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139,92,246,.06), transparent 70%);
  filter: blur(60px);
  animation: lFloat 25s ease-in-out infinite alternate-reverse;
}
@keyframes lFloat {
  from { transform: translate(0,0); }
  to   { transform: translate(30px,-20px); }
}

.l-theme { position: absolute; top: 20px; right: 20px; z-index: 10; }

.l-wrap {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
  max-width: 420px;
  width: 100%;
}

.l-logo {
  width: 76px; height: 76px;
  margin: 0 auto 22px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--a), var(--a-hover));
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 40px var(--a2);
}

.l-title {
  font-size: 42px;
  font-weight: 900;
  color: var(--t0);
  letter-spacing: -2px;
  line-height: 1;
}
.l-title span { color: var(--a); }

.l-tag {
  font-size: 11px;
  color: var(--t3);
  margin-top: 8px;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 500;
}

.l-desc {
  font-size: 14px;
  color: var(--t2);
  margin-top: 20px;
  line-height: 1.7;
}

.l-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 26px;
}
.l-feat {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 14px;
  background: var(--card);
  border: 1px solid var(--b1);
  border-radius: var(--r-md);
  text-align: left;
  transition: all 0.2s var(--ease);
}
.l-feat:hover { border-color: var(--b3); transform: translateY(-1px); }
.l-feat-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.l-feat-icon.c1 { background: rgba(6,214,160,.12); }
.l-feat-icon.c2 { background: rgba(59,130,246,.12); }
.l-feat-icon.c3 { background: rgba(16,185,129,.12); }
.l-feat-icon.c4 { background: rgba(139,92,246,.12); }
.l-feat-text { font-size: 11px; color: var(--t1); font-weight: 500; line-height: 1.4; }

.l-coins {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
}
.l-coin {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 12px;
  border-radius: var(--r-full);
  font-size: 11px;
  font-weight: 600;
  font-family: var(--fm);
}
.l-coin.sol  { background: var(--sol-d); color: var(--sol); }
.l-coin.usdt { background: var(--usdt-d); color: var(--usdt); }
.l-coin.usdc { background: var(--usdc-d); color: var(--usdc); }

.l-cta {
  margin-top: 26px;
  width: 100%;
  padding: 16px;
  border: none;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, var(--a), var(--a-hover));
  color: var(--msg-mine-text);
  font-family: var(--fh);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: var(--shadow-btn);
  transition: all 0.3s var(--ease);
}
.l-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px var(--a2);
}

.l-wallets {
  font-size: 10px;
  color: var(--t4);
  margin-top: 10px;
  font-weight: 500;
}

.l-dev {
  margin-top: 8px;
  padding: 6px 14px;
  background: none;
  border: 1px solid var(--b1);
  border-radius: 8px;
  color: var(--orange);
  font-size: 10px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--fh);
}
.l-dev:hover { border-color: var(--orange); background: var(--orange-d); }

.l-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--b1);
}
.l-trust-item {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 9px;
  color: var(--t3);
  font-weight: 500;
}

/* ══════════════════════════════════════
   DISCLAIMER
   ══════════════════════════════════════ */
.disc-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.disc-box {
  background: var(--card);
  border: 1px solid var(--b1);
  border-radius: var(--r-xl);
  max-width: 440px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 30px 26px;
  box-shadow: var(--shadow-lift);
}
.disc-title {
  font-size: 19px;
  color: var(--t0);
  font-weight: 700;
  text-align: center;
}
.disc-sub {
  font-size: 11px;
  color: var(--t3);
  text-align: center;
  margin-top: 4px;
  margin-bottom: 22px;
}
.disc-text {
  font-size: 11px;
  color: var(--t2);
  line-height: 1.8;
}
.disc-text p { margin-bottom: 12px; }
.disc-text strong { color: var(--t1); }
.disc-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 20px 0;
  cursor: pointer;
}
.disc-cb {
  width: 20px; height: 20px;
  border-radius: 6px;
  border: 2px solid var(--b2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s var(--ease);
}
.disc-cb.on { border-color: var(--a); background: var(--a); }
.disc-check span { font-size: 11px; color: var(--t1); line-height: 1.5; }

/* ══════════════════════════════════════
   LOADING SCREEN
   ══════════════════════════════════════ */
#loading {
  align-items: center;
  justify-content: center;
}

/* ══════════════════════════════════════
   PAYMENT & SETUP (centered) v2.0.2 — fix posicionamento
   ══════════════════════════════════════ */
#payment, #setup {
  align-items: center;
  justify-content: center;
  padding: 20px 16px;
  position: relative;
}

/* Centraliza o conteúdo sem espaço vazio no topo */
#payment > div:not(.back-btn):not([style*="position:absolute"]),
#setup > div:not(.back-btn):not([style*="position:absolute"]) {
  margin-top: 0;
}

/* Banner de graça/bloqueio */
.grace-banner {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  padding: 10px 20px;
  background: var(--orange);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(245,158,11,.3);
}
.grace-banner button {
  margin-left: auto;
  padding: 6px 14px;
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 8px;
  background: rgba(255,255,255,.15);
  color: #fff;
  font-weight: 700;
  font-size: 11px;
  cursor: pointer;
  font-family: var(--fh);
}
.grace-banner button:hover { background: rgba(255,255,255,.25); }
