:root {
  --bg: #050712;
  --fg: #f9fafb;
  --muted: #9ca3af;
  --accent: #3b82f6;
  --accent-soft: #1f2937;
  --border: #1f2933;
  --radius-lg: 18px;
  --radius-md: 12px;
  --font: -apple-system, BlinkMacSystemFont, system-ui,
           "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  font-family: var(--font);
  background:
    radial-gradient(circle at top left, #111827 0, transparent 55%),
    radial-gradient(circle at bottom right, #020617 0, transparent 55%),
    var(--bg);
  color: var(--fg);
}

/* Layout */

.shell {
  max-width: 720px;
  margin: 0 auto;
  padding: 32px 18px 40px;
}

.block {
  background: rgba(15, 23, 42, 0.96);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(148, 163, 184, 0.35);
  padding: 18px 20px 20px;
  margin-bottom: 18px;
}

.block-hero {
  text-align: center;
}

.block-hero.compact {
  padding-top: 14px;
}

.block-title {
  font-size: 16px;
  margin: 0 0 10px;
}

/* Typography */

.title {
  font-size: 24px;
  margin: 8px 0 6px;
}

.subtitle {
  margin: 4px 0 10px;
  font-size: 14px;
  color: var(--muted);
}

.simple-list {
  margin: 8px 0 0;
  padding-left: 18px;
  font-size: 14px;
  color: var(--muted);
}

.simple-list li {
  margin: 4px 0;
}

.simple-list.nested {
  margin-top: 4px;
}

.note {
  margin: 10px 0 0;
  font-size: 12px;
  color: var(--muted);
}

.centered {
  text-align: center;
}

/* Avatar & pills */

.avatar {
  width: 90px;
  height: 90px;
  border-radius: 999px;
  object-fit: cover;
  display: block;
  margin: 2px auto 8px;
  border: 1px solid rgba(148, 163, 184, 0.9);
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin-top: 6px;
}

.pill {
  font-size: 11px;
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: rgba(15, 23, 42, 0.96);
  color: var(--muted);
}

/* Links */

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Buttons */

.link-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}

.link-btn {
  display: block;
  text-align: center;
  padding: 9px 13px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.50);
  text-decoration: none;
  font-size: 14px;
  color: var(--fg);
  background: #020617;
  transition:
    background 0.15s ease-out,
    border-color 0.15s ease-out,
    box-shadow 0.15s ease-out,
    transform 0.08s ease-out;
}

.link-btn.primary {
  background: linear-gradient(135deg, #2563eb, #8b5cf6);
  border-color: transparent;
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.35);
}

.link-btn.secondary {
  background: rgba(15, 23, 42, 0.96);
}

.link-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(148, 163, 184, 0.9);
}

.link-btn.primary:hover {
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.45);
}

/* Cards */

.card-simple {
  border-radius: var(--radius-md);
  border: 1px solid rgba(148, 163, 184, 0.35);
  padding: 12px 14px 14px;
  background: var(--accent-soft);
  margin-bottom: 10px;
}

.card-simple h3 {
  margin: 0 0 4px;
  font-size: 15px;
}

.card-text {
  margin: 0 0 8px;
  font-size: 13px;
  color: var(--muted);
}

/* Misc */

.back-link {
  display: inline-block;
  font-size: 12px;
  color: var(--muted);
  text-decoration: none;
  margin-bottom: 4px;
}

.back-link:hover {
  text-decoration: underline;
}

.footer {
  text-align: center;
  margin-top: 8px;
  font-size: 11px;
  color: var(--muted);
}

/* Responsive */

@media (max-width: 480px) {
  .shell {
    padding-inline: 14px;
  }
}