.res-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.res-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(67, 24, 255, 0.02) 0%, rgba(67, 24, 255, 0.01) 30%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 0;
}
.res-card:hover {
  border-color: rgba(67, 24, 255, 0.2);
  box-shadow: 0 8px 24px rgba(67, 24, 255, 0.06);
  transform: translateY(-2px);
}
.res-card:hover .res-cover img {
  transform: scale(1.02);
}
.res-card:hover::before {
  opacity: 1;
  animation: rotate 15s linear infinite;
}
.res-card.visible {
  display: block;
}
.res-card .res-header,
.res-card .res-info {
  position: relative;
  z-index: 1;
}
.res-card .res-header {
  padding: 12px;
  border-bottom: 1px solid #eee;
}
.res-card .res-info {
  padding: 12px;
  position: relative;
  overflow: hidden;
}
.res-card .res-info::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle at center, rgba(67, 24, 255, 0.035) 0%, rgba(67, 24, 255, 0.02) 40%, rgba(67, 24, 255, 0.01) 60%, transparent 80%), linear-gradient(45deg, rgba(67, 24, 255, 0.02) 0%, rgba(159, 83, 255, 0.02) 100%);
  border-radius: 50%;
  transform: rotate(-15deg);
  pointer-events: none;
  z-index: 0;
  opacity: 1;
}
.res-card .res-info::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -20%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle at center, rgba(159, 83, 255, 0.02) 0%, rgba(159, 83, 255, 0.015) 40%, transparent 70%);
  border-radius: 50%;
  transform: rotate(30deg);
  pointer-events: none;
  z-index: 0;
}
.res-card .res-features,
.res-card .res-action {
  position: relative;
  z-index: 1;
}
.res-card .res-features {
  margin-bottom: 20px;
  height: 30px;
  overflow: hidden;
}
.res-card .res-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.res-card .res-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.res-card .res-logo img {
  height: 24px;
  width: auto;
}
.res-card .res-cover {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
}
.res-card .res-cover a {
  display: block;
}
.res-card .res-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s;
}
.res-card .res-name {
  font-size: 15px;
  font-weight: 500;
  color: #333;
}
.res-card .res-info-title {
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: bold;
  color: #333;
}
.res-card .res-info-title:hover a {
  color: #4f46e5;
}
.res-card .res-tag {
  padding: 3px 8px;
  background: rgba(67, 24, 255, 0.08);
  border-radius: 4px;
  color: #4f46e5;
  font-size: 12px;
}
.res-card .res-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.res-card .res-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.res-card .feature {
  padding: 4px 10px;
  background: #f5f5f5;
  border-radius: 4px;
  color: #666;
  font-size: 12px;
}
.res-card .res-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  display: none;
}
.res-card .price-box {
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.res-card .price {
  font-size: 20px;
  font-weight: 600;
  color: #4f46e5;
}
.res-card .period {
  color: #999;
  font-size: 13px;
}
.res-card .res-footer {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #999;
}
.res-card .res-footer-author {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.res-card .res-footer-author a {
  display: block;
  transform: scale(0.8);
}
.res-card .res-footer-author a .avatar-mini {
  width: 20px;
  height: 20px;
  display: block;
}
.res-card .res-footer-author a .avatar-mini img {
  width: 100%;
}
.res-card .res-footer-author > span {
  margin-left: 4px;
}
.res-card .res-footer-right {
  display: flex;
}
.res-card .res-footer-right > div {
  margin-left: 6px;
}
@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.base-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  line-height: 40px;
  border: 1px solid #eee;
  border-radius: 8px;
  background: #fff;
  color: #666;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0 16px;
}
.base-btn:hover {
  border-color: #4f46e5;
  color: #4f46e5;
}
.base-btn.active {
  background: #4f46e5;
  border-color: #4f46e5;
  color: #fff;
}
