/* ========== 全局基础 ========== */
body {
  margin: 0;                          /* 去掉浏览器默认白边 */
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  background: #f0f4f8;                /* 整页柔和浅灰蓝背景 */
  color: #333;

 /* ↓↓↓ 新增的背景图三件套 ↓↓↓ */
  background-image: url("images/背景1.jpg");
  background-size: cover;        /* 铺满，不变形，边缘裁切 */
  background-position: center;   /* 居中 */
  background-repeat: no-repeat;  /* 不平铺 */
  background-attachment: fixed;  /* 滚动时背景固定（可选） */
  min-height: 100vh;            /* 页面太短时也能铺满一屏 */
}

/* ========== 标题区（hero） ========== */
.hero {
  background: linear-gradient(135deg, #56cc9d 0%, #6eecb9 100%); /* 渐变背景 */
  padding: 60px 20px;                 /* 上下留白大一些 */
  text-align: center;
  color: white;
}

.hero h1 {
  font-size: 36px;
  margin: 0 0 12px 0;                 /* 标题和副标题之间留间距 */
  letter-spacing: 2px;                /* 字间距稍微拉开 */
}

.hero p {
  font-size: 16px;
  margin: 0;
  opacity: 0.85;                     /* 副标题稍微透明一点，层次感 */
}

/* ========== 卡片容器 ========== */
.list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  padding: 50px 20px;                /* 上下留白，和标题区隔开 */
  max-width: 1200px;                 /* 最大宽度，大屏幕不会拉太宽 */
  margin: 0 auto;                    /* 居中 */
}

/* ========== 单个卡片 ========== */
/* 卡片里的头像 */
.card img {
  width: 100px;              /* 头像大小 */
  height: 100px;
  border-radius: 50%;        /* 变成圆形 */
  object-fit: cover;         /* 防止图片变形 */
  margin-bottom: 16px;       /* 和名字之间留点距离 */
  border: 4px solid #e8e8e8; /* 一圈浅色边框 */
}

.card img {
  transition: transform 0.3s;
}

.card:hover img {
  transform: scale(1.1);
}

.card {
  background: white;
  width: 240px;
  padding: 28px 20px;
  border-radius: 16px;               /* 更大的圆角，更现代 */
  box-shadow: 0 4px 20px rgba(0,0,0,0.08); /* 更柔和的阴影 */
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s; /* 动画过渡 */
}

/* 鼠标悬停时卡片微微浮起 */
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.card h2 {
  margin: 0 0 10px 0;
  font-size: 20px;
  color: #333;
}

.card p {
  margin: 0;
  font-size: 14px;
  color: #777;
  line-height: 1.6;
}