/* 卡片基础样式 */
.main-div {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* 图片悬浮效果 */
.main-img {
  transition: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
  transform-origin: center;
}

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

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

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

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

.main-div:hover .main-tag {
  background: #1890ff;
  color: white;
  transform: translateY(-2px);
}

/* 卡片整体悬浮效果 */
.main-div:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(24, 144, 255, 0.15);
}

/* 添加优雅的遮罩层 */
.main-div::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.1) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.main-div:hover::after {
  opacity: 1;
}