:root{
  --bg1:#0b1020;
  --bg2:#101a33;
  --card:#0f1730cc;
  --text:#e8ecff;
  --muted:#b8c0ffcc;
  --stroke:#ffffff1a;
  --primary:#6ea8ff;
  --primary2:#8d7bff;
  --shadow: 0 20px 60px rgba(0,0,0,.35);
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Helvetica Neue";
  color:var(--text);
  background: radial-gradient(900px 500px at 20% 10%, rgba(141,123,255,.25), transparent 60%),
              radial-gradient(700px 500px at 80% 30%, rgba(110,168,255,.25), transparent 55%),
              linear-gradient(160deg, var(--bg1), var(--bg2));
}

.wrap{
  min-height:100%;
  display:grid;
  place-items:center;
  padding:24px;
}

.card{
  width:min(720px, 100%);
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 26px;
  backdrop-filter: blur(10px);
}

.badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid var(--stroke);
  color:var(--muted);
  font-size:13px;
  letter-spacing:.2px;
}

h1{
  margin:14px 0 8px;
  font-size: clamp(28px, 4vw, 40px);
  line-height:1.1;
}

.subtitle{
  margin:0 0 18px;
  color:var(--muted);
  font-size:16px;
}

.grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:12px;
  margin: 14px 0 18px;
}

.stat{
  border:1px solid var(--stroke);
  border-radius:14px;
  padding:14px 12px;
  text-align:center;
  background: rgba(255,255,255,.04);
}

.num{
  font-size:28px;
  font-weight:700;
  letter-spacing:.5px;
}

.label{
  margin-top:4px;
  color:var(--muted);
  font-size:13px;
}

.actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin: 8px 0 14px;
}

.btn{
  appearance:none;
  border:1px solid var(--stroke);
  background: rgba(255,255,255,.06);
  color: var(--text);
  padding: 12px 14px;
  border-radius: 12px;
  cursor:pointer;
  font-weight:600;
  text-decoration:none;
  transition: transform .08s ease, background .2s ease, border-color .2s ease;
}

.btn:hover{ background: rgba(255,255,255,.10); }
.btn:active{ transform: translateY(1px); }

.btn.primary{
  border-color: transparent;
  background: linear-gradient(135deg, var(--primary), var(--primary2));
  color:#0b1020;
}

.form{
  margin-top: 8px;
  border-top: 1px solid var(--stroke);
  padding-top: 14px;
  display:grid;
  gap:10px;
}

.field span{
  display:block;
  font-size:13px;
  color:var(--muted);
  margin-bottom:6px;
}

input{
  width:100%;
  padding:12px 12px;
  border-radius:12px;
  border:1px solid var(--stroke);
  background: rgba(10, 16, 32, .55);
  color: var(--text);
  outline:none;
}

input:focus{
  border-color: rgba(110,168,255,.7);
}

.hint{
  min-height: 18px;
  font-size:13px;
  color: var(--muted);
  opacity:0;
  transform: translateY(-2px);
  transition: opacity .2s ease, transform .2s ease;
}

.hint.show{
  opacity:1;
  transform: translateY(0);
}

.footer{
  margin-top: 16px;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  color: var(--muted);
  font-size:13px;
  align-items:center;
}

.dot{opacity:.6}

@media (max-width:520px){
  .grid{ grid-template-columns: 1fr; }
}
