/* ===== 基础重置 ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: system-ui, -apple-system, "PingFang SC", sans-serif;
  background: #0a0a1a;
  overflow: hidden;
  position: relative;
  padding: 24px;
}

/* ===== 背景流动光斑 ===== */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.7;
  animation: float 20s infinite ease-in-out;
}
.blob1 { width: 400px; height: 400px; background: #667eea; top: -100px; left: -100px; }
.blob2 { width: 350px; height: 350px; background: #f093fb; bottom: -80px; right: -80px; animation-delay: -5s; }
.blob3 { width: 300px; height: 300px; background: #4facfe; top: 40%; left: 60%; animation-delay: -10s; }
.blob4 { width: 280px; height: 280px; background: #43e97b; bottom: 20%; left: 10%; animation-delay: -15s; }

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(60px, -40px) scale(1.1); }
  66%      { transform: translate(-40px, 50px) scale(0.95); }
}

/* ===== 玻璃卡片 ===== */
.card {
  position: relative;
  z-index: 10;
  max-width: 440px;
  width: 100%;
  padding: 44px 36px;
  text-align: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    inset 0 -1px 0 rgba(255, 255, 255, 0.05);
  animation: cardIn 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

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

/* ===== 头像 ===== */
.avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 38px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, rgba(255,255,255,0.3), rgba(255,255,255,0.1));
  border: 1px solid rgba(255,255,255,0.35);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.4);
  backdrop-filter: blur(10px);
}

/* 头像用图片时加这个 class */
.avatar-img {
  background-size: cover;
  background-position: center;
  font-size: 0;
}

/* ===== 文字 ===== */
h1 {
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 6px;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.sub {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 22px;
}

/* ===== 标签 ===== */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 28px;
}
.tags span {
  padding: 6px 14px;
  font-size: 0.8rem;
  border-radius: 20px;
  color: rgba(255,255,255,0.95);
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(8px);
}

/* ===== 链接按钮 ===== */
.links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.links a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px;
  border-radius: 14px;
  font-size: 0.95rem;
  font-weight: 500;
  color: #fff;
  text-decoration: none;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.2);
  transition: all 0.25s ease;
}
.links a:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.25), inset 0 1px 0 rgba(255,255,255,0.3);
}
.links a:active { transform: translateY(0); }

/* ===== 响应式 ===== */
@media (max-width: 480px) {
  .card { padding: 32px 24px; border-radius: 22px; }
  h1 { font-size: 1.35rem; }
  .avatar { width: 80px; height: 80px; font-size: 32px; }
}