:root {
  --bg: #0b0c10;
  --surface: #1a1b22;
  --surface-2: #232530;
  --border: #2d2f3a;
  --text: #f2f3f5;
  --text-dim: #a9abb2;
  --text-muted: #6e707a;
  --accent: #5865f2;
  --accent-2: #4752c4;
  --success: #57f287;
  --success-dim: #3ba55d;
  --danger: #ed4245;
  --danger-dim: #c03537;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: "gg sans", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  overflow-x: hidden;
  position: relative;
}

.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.bg-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.5;
}
.bg-blob-a {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  top: -120px;
  left: -160px;
}
.bg-blob-b {
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, #eb459e 0%, transparent 70%);
  bottom: -140px;
  right: -120px;
}

.shell {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.card {
  position: relative;
  width: 100%;
  max-width: 460px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.55),
    0 4px 12px rgba(0, 0, 0, 0.35);
  animation: cardIn 0.35s ease-out;
}

@keyframes cardIn {
  from { transform: translateY(12px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

.card-accent {
  height: 4px;
  background: linear-gradient(90deg, var(--accent), #eb459e);
}
.card-accent-success {
  background: linear-gradient(90deg, var(--success), var(--success-dim));
}
.card-accent-danger {
  background: linear-gradient(90deg, var(--danger), var(--danger-dim));
}

.card-body {
  padding: 32px 28px 28px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-dim);
  background: var(--surface-2);
  border: 1px solid var(--border);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(88, 101, 242, 0.15);
}
.badge-success .dot { background: var(--success); box-shadow: 0 0 0 4px rgba(87, 242, 135, 0.15); }
.badge-danger  .dot { background: var(--danger);  box-shadow: 0 0 0 4px rgba(237, 66, 69, 0.15); }
.badge-success { color: var(--success); }
.badge-danger  { color: var(--danger); }

.title {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 8px;
}

.subtitle {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.55;
  margin-bottom: 20px;
}

.divider {
  height: 1px;
  background: var(--border);
  margin: 18px 0;
}

.meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}
.meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--surface-2);
  border: 1px solid var(--border);
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 13px;
}
.meta-label { color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; font-size: 11px; font-weight: 600; }
.meta-value { color: var(--text); font-variant-numeric: tabular-nums; font-weight: 500; }
.meta-ok     { color: var(--success); }
.meta-danger { color: var(--danger); }

.btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 16px;
  border: none;
  border-radius: 10px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.08s ease;
}
.btn svg { width: 18px; height: 18px; }
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover { background: var(--accent-2); }

.icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}
.icon-wrap svg { width: 32px; height: 32px; color: #fff; }
.icon-success { background: linear-gradient(135deg, var(--success), var(--success-dim)); box-shadow: 0 8px 24px rgba(87, 242, 135, 0.25); }
.icon-danger  { background: linear-gradient(135deg, var(--danger),  var(--danger-dim));  box-shadow: 0 8px 24px rgba(237, 66, 69, 0.25); }

.footnote {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 16px;
  line-height: 1.5;
}

@media (max-width: 500px) {
  .card-body { padding: 24px 20px 20px; }
  .title     { font-size: 20px; }
}
