* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
/* 全屏背景基础样式 */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: url("images/background.jpg") no-repeat center center fixed; /* 可修改：背景图片路径 */
  background-size: cover; /* 可修改：背景铺满模式 */
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  color: #1e293b; /* 可修改：亮色模式正文文字颜色 */
  position: relative; /* 配合右上角固定按钮定位 */
}
/* 暗色模式整体文字适配 */
@media (prefers-color-scheme: dark) {
  body {
    color: #e2e8f0; /* 可修改：暗色模式正文文字颜色 */
  }
}
/* 右上角GitHub半透明按钮 */
.github-btn {
  position: fixed;
  top: 20px; /* 可修改：距离顶部距离 */
  right: 20px; /* 可修改：距离右侧距离 */
  padding: 10px 18px;
  border-radius: 10px; /* 可修改：按钮圆角 */
  background: rgba(255, 255, 255, 0.3); /* 可修改：亮色模式半透明底色 */
  backdrop-filter: blur(6px); /* 可修改：按钮模糊效果 */
  color: #1e293b; /* 可修改：亮色模式按钮文字颜色 */
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s ease;
  border: 1px solid rgba(255, 255, 255, 0.4);
}
.github-btn:hover {
  background: rgba(255, 255, 255, 0.5);
  transform: translateY(-1px);
}
/* 暗色模式GitHub按钮适配 */
@media (prefers-color-scheme: dark) {
  .github-btn {
    background: rgba(30, 41, 59, 0.3);
    color: #e2e8f0;
    border: 1px solid rgba(30, 41, 59, 0.4);
  }
  .github-btn:hover {
    background: rgba(30, 41, 59, 0.5);
  }
}
/* 个人信息卡片主体样式 */
.profile-card {
  background: rgba(225, 225, 225, 0.75); /* 可修改：亮色卡片透明度，最后一位为透明度数值 */
  backdrop-filter: blur(8px); /* 可修改：卡片背景模糊程度，数值越大越模糊 */
  width: 100%;
  max-width: 520px; /* 可修改：卡片最大宽度 */
  border-radius: 16px; /* 可修改：卡片圆角大小 */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); /* 可修改：卡片阴影大小 */
  padding: 42px 36px; /* 可修改：卡片内边距 */
  text-align: center;
}
/* 暗色模式个人卡片适配 */
@media (prefers-color-scheme: dark) {
  .profile-card {
    background: rgba(30, 41, 59, 0.75); /* 可修改：暗色卡片透明度 */
  }
}
/* 方形头像容器样式 */
.avatar {
  width: 120px; /* 可修改：头像宽度 */
  height: 120px; /* 可修改：头像高度，保持和宽度一致为方形 */
  border-radius: 12px; /* 可修改：头像圆角，0为纯直角 */
  margin: 0 auto 28px; /* 可修改：头像外边距 */
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, 0.9); /* 可修改：头像边框粗细、颜色、透明度 */
  cursor: pointer;
  transition: transform 0.25s ease;
}
.avatar:hover {
  transform: scale(1.05);
}
.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* 用户名称样式 */
.username {
  font-size: 28px; /* 可修改：用户名字体大小 */
  font-weight: 700; /* 可修改：用户名粗细 */
  margin-bottom: 12px; /* 可修改：用户名下方间距 */
}
/* 个人简介样式 */
.bio {
  font-size: 16px; /* 可修改：简介字体大小 */
  color: #64748b; /* 可修改：亮色模式简介文字颜色 */
  line-height: 1.6; /* 可修改：简介行高 */
  margin-bottom: 40px; /* 可修改：简介下方间距 */
}
/* 暗色模式简介适配 */
@media (prefers-color-scheme: dark) {
  .bio {
    color: #94a3b8; /* 可修改：暗色模式简介文字颜色 */
  }
}
/* 功能按钮组布局 */
.link-group {
  display: flex;
  flex-direction: column;
  gap: 16px; /* 可修改：按钮之间的间距 */
}
/* 功能按钮基础样式 */
.link-btn {
  display: block;
  padding: 15px 22px; /* 可修改：按钮内边距 */
  border-radius: 12px; /* 可修改：按钮圆角 */
  background: #2563eb; /* 可修改：亮色模式按钮背景色 */
  color: #fff; /* 可修改：按钮文字颜色 */
  text-decoration: none;
  font-weight: 600; /* 可修改：按钮文字粗细 */
  font-size: 16px; /* 可修改：按钮文字大小 */
  transition: all 0.2s ease;
}
.link-btn:hover {
  transform: translateY(-2px); /* 可修改：鼠标悬浮上移距离 */
  opacity: 0.9; /* 可修改：悬浮透明度 */
}
/* 暗色模式功能按钮适配 */
@media (prefers-color-scheme: dark) {
  .link-btn {
    background: #3b82f6; /* 可修改：暗色模式按钮背景色 */
  }
}
