:root{
  --bg1:#070A12;
  --bg2:#0C1226;
  --card:#0F1A33cc;
  --border:#1E2B52;
  --text:#EAF0FF;
  --muted:#9FB1D6;
  --accent:#7C5CFF;
  --accent2:#2EE0A2;
  --shadow: 0 20px 80px rgba(0,0,0,.55);
}
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color:var(--text);
  background:
    radial-gradient(1200px 700px at 15% 20%, rgba(124,92,255,.25), transparent 55%),
    radial-gradient(900px 600px at 85% 80%, rgba(46,224,162,.18), transparent 55%),
    linear-gradient(180deg, var(--bg1), var(--bg2));
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px;
}
.wrap{
  width:min(920px, 100%);
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:18px;
}
@media (max-width: 860px){
  .wrap{grid-template-columns:1fr}
}
.card{
  background:var(--card);
  border:1px solid var(--border);
  box-shadow:var(--shadow);
  border-radius:20px;
  padding:28px;
  backdrop-filter: blur(10px);
}
.badge{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.03);
  color:var(--muted);
  font-size:13px;
}
.dot{
  width:10px;height:10px;border-radius:50%;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  box-shadow: 0 0 0 4px rgba(124,92,255,.15);
}
h1{
  margin:14px 0 10px;
  font-size:42px;
  line-height:1.05;
  letter-spacing:-.02em;
}
p{
  margin:0 0 16px;
  color:var(--muted);
  font-size:16px;
  line-height:1.55;
}
.actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:18px;
}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:12px 16px;
  border-radius:14px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.04);
  color:var(--text);
  text-decoration:none;
  font-weight:600;
  transition: transform .12s ease, background .12s ease;
  min-height:44px;
}
.btn:hover{transform: translateY(-1px); background: rgba(255,255,255,.07);}
.btn.primary{
  border-color: rgba(124,92,255,.55);
  background: linear-gradient(135deg, rgba(124,92,255,.35), rgba(46,224,162,.20));
}
.kpis{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:12px;
  margin-top:10px;
}
.kpi{
  border:1px solid var(--border);
  border-radius:16px;
  padding:14px;
  background: rgba(255,255,255,.03);
}
.kpi b{display:block; font-size:18px; margin-bottom:6px;}
.kpi span{color:var(--muted); font-size:13px;}
.small{
  margin-top:14px;
  font-size:13px;
  color:rgba(159,177,214,.85);
}
.code{
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size:12px;
  color:rgba(234,240,255,.85);
  background: rgba(0,0,0,.25);
  border:1px solid rgba(255,255,255,.08);
  padding:10px 12px;
  border-radius:14px;
  overflow:auto;
  margin-top:8px;
}
.footer{
  margin-top:18px;
  display:flex;
  justify-content:space-between;
  gap:10px;
  color:rgba(159,177,214,.8);
  font-size:12px;
}
a{color:inherit}

/* Мобилка: чтобы ничего не срезало */
@media (max-width: 520px){
  body{ padding:14px; align-items:flex-start; }
  .card{ padding:18px; border-radius:18px; }
  h1{ font-size:30px; line-height:1.1; }
  .badge{ font-size:12px; }
  .wrap{ gap:14px; }
  .actions .btn{ width:100%; }
  .footer{ flex-direction:column; align-items:flex-start; }
}
