:root {
  --bg: #080b14;
  --surface: rgba(16, 22, 38, 0.72);
  --surface-strong: rgba(24, 33, 56, 0.84);
  --border: rgba(148, 163, 184, 0.16);
  --border-hover: rgba(249, 115, 22, 0.45);
  --text: #f8fafc;
  --text-muted: #94a3b8;
  --accent: #f97316;
  --accent-soft: #fb923c;
  --accent-secondary: #38bdf8;
  --success: #34d399;
  --radius-xl: 28px;
  --radius-lg: 18px;
  --radius-md: 12px;
  --shadow: 0 30px 90px -20px rgba(0, 0, 0, 0.75);
}

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

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

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  display: grid;
  place-items: center;
  padding: 32px 18px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.42;
  animation: drift 16s ease-in-out infinite alternate;
}

.orb-1 {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, #f97316 0%, rgba(249, 115, 22, 0) 70%);
  top: -160px;
  left: -120px;
}

.orb-2 {
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, #38bdf8 0%, rgba(56, 189, 248, 0) 70%);
  bottom: -200px;
  right: -140px;
  animation-delay: -6s;
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at center, black 35%, transparent 80%);
}

@keyframes drift {
  from {
    transform: translate(0, 0) scale(1);
  }
  to {
    transform: translate(36px, 24px) scale(1.08);
  }
}

.shell {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 780px;
}

.card {
  background: var(--surface);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(249, 115, 22, 0.65), rgba(56, 189, 248, 0.5), transparent);
}

.identity {
  display: flex;
  align-items: center;
  gap: 22px;
}

.avatar {
  flex-shrink: 0;
  width: 78px;
  height: 78px;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--accent), #ec4899 58%, var(--accent-secondary));
  display: grid;
  place-items: center;
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-weight: 700;
  font-size: 1.55rem;
  letter-spacing: 0.03em;
  color: #ffffff;
  box-shadow: 0 14px 32px -10px rgba(249, 115, 22, 0.55);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(52, 211, 153, 0.1);
  border: 1px solid rgba(52, 211, 153, 0.25);
  color: #a7f3d0;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 10px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.2);
}

h1 {
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: clamp(1.7rem, 3.6vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.role {
  color: var(--text-muted);
  font-size: 0.98rem;
  margin-top: 6px;
}

.bio {
  margin-top: 26px;
  font-size: 1.04rem;
  color: #cbd5e1;
  max-width: 64ch;
}

.highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.tile {
  background: var(--surface-strong);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px;
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.tile:hover {
  transform: translateY(-3px);
  border-color: var(--border-hover);
  background: rgba(30, 41, 69, 0.9);
}

.tile-icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: rgba(249, 115, 22, 0.14);
  color: var(--accent-soft);
  margin-bottom: 12px;
}

.tile-icon svg {
  width: 20px;
  height: 20px;
}

.tile h2 {
  font-size: 0.98rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.tile p {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.tag {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 500;
  color: #cbd5e1;
  background: rgba(148, 163, 184, 0.08);
  border: 1px solid rgba(148, 163, 184, 0.15);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

.btn svg {
  width: 18px;
  height: 18px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #ea580c);
  color: #ffffff;
  box-shadow: 0 12px 26px -10px rgba(249, 115, 22, 0.65);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -10px rgba(249, 115, 22, 0.8);
}

.btn-secondary {
  background: rgba(148, 163, 184, 0.08);
  color: var(--text);
  border-color: var(--border);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  background: rgba(148, 163, 184, 0.15);
  border-color: rgba(148, 163, 184, 0.32);
}

.btn-secondary.copied {
  border-color: rgba(52, 211, 153, 0.55);
  color: #a7f3d0;
  background: rgba(52, 211, 153, 0.12);
}

.footnote {
  text-align: center;
  margin-top: 18px;
  font-size: 0.82rem;
  color: rgba(148, 163, 184, 0.65);
}

@media (max-width: 720px) {
  .card {
    padding: 26px 22px;
    border-radius: 22px;
  }

  .identity {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .highlights {
    grid-template-columns: 1fr;
  }

  .actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}
