:root {
  --bg: #07090d;
  --fg: #eef2f7;
  --muted: #8b97a6;
  --card: rgba(18, 24, 33, 0.72);
  --border: rgba(255, 255, 255, 0.08);
  --row: rgba(255, 255, 255, 0.03);
  --row-hover: rgba(255, 255, 255, 0.06);
  --accent-1: #7c5cff;
  --accent-2: #22d3ee;
  --shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.7);
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #f3f5fa;
    --fg: #0d1321;
    --muted: #5d6878;
    --card: rgba(255, 255, 255, 0.8);
    --border: rgba(13, 19, 33, 0.08);
    --row: rgba(13, 19, 33, 0.02);
    --row-hover: rgba(13, 19, 33, 0.05);
    --accent-1: #6d4aff;
    --accent-2: #0891b2;
    --shadow: 0 30px 60px -25px rgba(30, 40, 80, 0.25);
  }
}

* { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: var(--bg);
  color: var(--fg);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.glow {
  position: fixed;
  inset: -20%;
  z-index: -1;
  background:
    radial-gradient(600px 400px at 25% 30%, color-mix(in srgb, var(--accent-1) 28%, transparent), transparent 70%),
    radial-gradient(600px 400px at 75% 70%, color-mix(in srgb, var(--accent-2) 22%, transparent), transparent 70%);
  filter: blur(20px);
  animation: drift 18s ease-in-out infinite alternate;
}

@keyframes drift {
  from { transform: translate(-2%, -1%) scale(1); }
  to   { transform: translate(2%, 1%) scale(1.06); }
}

.card {
  width: min(440px, 100%);
  padding: 40px 32px 32px;
  text-align: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  animation: rise 0.6s ease-out both;
}

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

.avatar {
  width: 88px;
  height: 88px;
  margin: 0 auto 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #fff;
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  box-shadow: 0 10px 30px -8px color-mix(in srgb, var(--accent-1) 60%, transparent);
}

h1 {
  margin: 0;
  font-size: 30px;
  line-height: 1.15;
  letter-spacing: -0.3px;
}

.role {
  margin: 10px 0 28px;
  color: var(--muted);
  font-size: 16px;
}

.badge {
  display: inline-block;
  margin-right: 4px;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  vertical-align: 1px;
}

.links {
  display: grid;
  gap: 10px;
  text-align: left;
}

.links a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--row);
  color: var(--fg);
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.links a:hover,
.links a:focus-visible {
  background: var(--row-hover);
  border-color: color-mix(in srgb, var(--accent-1) 50%, transparent);
  transform: translateY(-1px);
  outline: none;
}

.icon,
.arrow {
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon {
  width: 22px;
  height: 22px;
  color: var(--accent-2);
}

.arrow {
  width: 18px;
  height: 18px;
  color: var(--muted);
  transition: transform 0.2s, color 0.2s;
}

.links a:hover .arrow {
  color: var(--fg);
  transform: translate(2px, -2px);
}

.text {
  flex: 1;
  display: grid;
  gap: 2px;
}

.label { font-weight: 600; }

.hint {
  color: var(--muted);
  font-size: 13px;
}

@media (prefers-reduced-motion: reduce) {
  .glow, .card { animation: none; }
  .links a, .arrow { transition: none; }
}
