body {
  margin: 0;
  font-family: Arial, sans-serif;
  color: white;
  background-image: url(../image/合照.jpg); /* 替换路径 */
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

/* 页眉 */
.header {
  text-align: center;
  padding: 80px 20px;
  background-color: rgba(255, 255, 255, 0.5);
}

.header h1 {
  font-size: 48px;
  margin: 0;
}

/* 主体容器 */
.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* 成员卡片 */
.member-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.4); /* 半透明 */
  border-radius: 20px;
  padding: 20px;
  gap: 20px;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.member-card:hover {
  transform: scale(1.02);
  background-color: rgba(0, 0, 0, 0.5);
}

/* 成员图片 */
.member-card img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid white;
}

/* 文本信息 */
.member-info h2 {
  font-size: 24px;
  margin-bottom: 10px;
}

.member-info p {
  margin: 0;
  line-height: 1.5;
}

/* 滚动动效 */
.fade-in {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}

/* 响应式支持 */
@media (max-width: 768px) {
  .member-card {
    flex-direction: column;
    text-align: center;
  }

  .member-card img {
    width: 120px;
    height: 120px;
  }
}