:root {
  --bg-1: #0f1117;
  --bg-2: #161b27;
  --accent-1: #6ee7b7;
  --accent-2: #60a5fa;
  --text-1: #eef2f7;
  --text-2: #9aa4b2;
  --line: rgba(238, 242, 247, 0.08);
}

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

html,
body {
  height: 100%;
}

body {
  font-family: "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  color: var(--text-1);
  background: var(--bg-1);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow: hidden;
}

.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(600px 400px at 20% 10%, rgba(110, 231, 183, 0.12), transparent 60%),
    radial-gradient(600px 400px at 85% 85%, rgba(96, 165, 250, 0.14), transparent 60%),
    linear-gradient(160deg, var(--bg-1), var(--bg-2));
  animation: drift 16s ease-in-out infinite alternate;
}

@keyframes drift {
  from { transform: scale(1); }
  to   { transform: scale(1.08); }
}

.card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 460px;
  background: rgba(22, 27, 39, 0.62);
  border: 1px solid var(--line);
  border-radius: 20px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 40px 36px 28px;
  text-align: center;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
  animation: rise 0.7s ease-out both;
}

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

.avatar {
  width: 96px;
  height: 96px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  box-shadow: 0 12px 30px rgba(96, 165, 250, 0.35);
  user-select: none;
}

.name {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 1px;
}

.role {
  margin-top: 8px;
  font-size: 15px;
  color: var(--accent-1);
  letter-spacing: 0.5px;
}

.bio {
  margin-top: 18px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-2);
}

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

.links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.links a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 14px;
  border-radius: 12px;
  color: var(--text-2);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s, background 0.2s, transform 0.2s;
}

.links a:hover {
  color: var(--text-1);
  background: rgba(238, 242, 247, 0.06);
  transform: translateY(-1px);
}

.links .ico {
  font-size: 15px;
}

.foot {
  margin-top: 24px;
  font-size: 12px;
  color: var(--text-2);
  opacity: 0.7;
}

@media (max-width: 480px) {
  .card { padding: 32px 22px 22px; }
}
