.card-wechat {
  caret-color: transparent;
  height: 120px;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(0.4, 0.2, 0.2, 1);
  cursor: pointer;
  margin-bottom: 20px;
  font-weight: bold;
}

/* 鼠标悬停翻转 */
.card-container:hover .card-wechat {
  transform: rotateY(180deg);
}

.card-face {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.15);
  display: flex;
  overflow: hidden;
}

/* 正面 */
.card-front {
  background: linear-gradient(135deg, #caeacaec, #cfe1cfe9);
  color: #fff;
  backdrop-filter: blur(5px);
}

.front-left, .front-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 10px;
  box-sizing: border-box;
}
.front-left {
    width: 30%;
    position: relative;
}
.front-left::after {
  content: "";
  position: absolute;
  right: 0; /* 贴在右边界 */
  top: 25%;  /* 顶部距离父容器高度的25% */
  height: 50%; /* 占父容器高度的50% */
  width: 2px;  /* 线的宽度 */
  background-color: rgba(0, 0, 0, 0.5); /* 半透明白色 */
}

.front-left img {
  width: 60px;
  height: 60px;
  margin-bottom: 2px;
}

.front-left span {
  font-size: 25px;
  font-weight: bold;
}

.front-right {
  margin-left: 5px;
  font-size: 120%;
  align-items: flex-start; /* 左对齐 */
  font-family: 'Yozai Medium',-apple-system,BlinkMacSystemFont,"Segoe UI","Helvetica Neue",Lato,Roboto,"PingFang SC","Microsoft JhengHei","Microsoft YaHei",sans-serif;
}

.front-right p {
  color: #000;
  margin: 0;
  font-size: 120%;
  line-height: 1.5;
}

/* 背面 */
.card-back {
  background-color: #ffffffe7;
  backdrop-filter: blur(2px);
  color: #333;
  transform: rotateY(180deg);
  display: flex;
  align-items: center;
  justify-content: flex-start; /* 改为靠左排列 */
  padding: 0 15px;
  box-sizing: border-box;
  font-family: 'Yozai Medium',-apple-system,BlinkMacSystemFont,"Segoe UI","Helvetica Neue",Lato,Roboto,"PingFang SC","Microsoft JhengHei","Microsoft YaHei",sans-serif;
}

/* 左侧两行文字 */
.back-left {
  width: 55%; /* 让宽度自适应内容 */
  display: flex;
  flex-direction: column;
  justify-content: center; /* 垂直居中 */
  text-align: center;
  align-items: center;
  font-size: 150%;
  color: #000000;
}

/* 左侧两行文字紧密排列 */
.back-left p {
  margin: 0;
  line-height: 1;
  padding: 0;
}

/* 二维码靠左 */
.back-center {
  display: flex;
  justify-content: flex-start; /* 左对齐 */
  align-items: center;          /* 垂直居中 */
  margin-left: 10px;            /* 可调整间距 */
}

.back-center img {
  width: 100px;
  height: 100px;
  border-radius: 8px;
}
