/* 卡片基础样式 */
.main-div {
  position: relative;
  display: flex;
  /* padding-bottom: 8px; */
  /* 为底部边框预留空间 */
  transition: all 0.4s ease;
}

/* 底部边框动画 */
.main-div::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #1775E7, #8859D9);
  transition: width 0.4s cubic-bezier(0.65, 0, 0.35, 1);
}

/* 图片悬浮效果 */
.main-r-img {
  transition: all 0.4s ease;
  transform: scale(1);
}

.main-div:hover .main-r-img {
  transform: scale(1.03);
}

/* 标题悬浮效果 */
.main-title {
  transition: all 0.3s ease;
}

.main-div:hover .main-title {
  color: #1890ff;
  transform: translateX(3px);
}

/* 标签悬浮效果 */
.main-tag {
  transition: all 0.3s ease;
}

.main-div:hover .main-tag {
  color: #1890ff;
  background: rgba(24, 144, 255, 0.1);
}

/* 悬浮时触发底部边框动画 */
.main-div:hover::after {
  width: 100%;
}

/* 卡片整体悬浮效果 */
.main-div:hover {
  transform: translateY(-3px);
}