.video-card {
  overflow: hidden;
  border: 1px solid var(--color-line);
  border-radius: 16px;
  background: var(--color-surface);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.video-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
}

.video-card > a {
  display: block;
}

.video-card-thumb {
  position: relative;
  display: grid;
  height: 154px;
  overflow: hidden;
  background:
    radial-gradient(circle at 68% 30%, rgb(255 255 255 / 12%), transparent 22%),
    linear-gradient(135deg, var(--gradient-start, #1a0a12), var(--gradient-end, #3d1030));
  place-items: center;
}

.video-card-image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.video-card-thumb::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgb(0 0 0 / 22%));
  content: "";
}

.media-play {
  position: relative;
  z-index: 1;
  display: grid;
  width: 44px;
  height: 44px;
  border: 1px solid rgb(255 255 255 / 18%);
  border-radius: 50%;
  background: rgb(255 255 255 / 12%);
  color: rgb(255 255 255 / 85%);
  backdrop-filter: blur(5px);
  place-items: center;
}

.video-duration {
  position: absolute;
  z-index: 2;
  right: 9px;
  bottom: 8px;
  padding: 3px 6px;
  border-radius: 5px;
  background: rgb(0 0 0 / 66%);
  color: #fff;
  font-family: "Inter", sans-serif;
  font-size: 10px;
}

.video-card-body {
  min-height: 74px;
  padding: 12px 14px;
}

.video-card-title {
  display: -webkit-box;
  margin: 0 0 5px;
  overflow: hidden;
  color: var(--color-text);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.25;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.video-card-meta {
  margin: 0;
  color: var(--color-muted);
  font-size: 12px;
}

@media (max-width: 767px) {
  .video-card-thumb {
    height: 104px;
  }

  .video-card-body {
    min-height: 76px;
    padding: 9px 10px;
  }

  .video-card-title {
    font-size: 12px;
  }

  .video-card-meta {
    font-size: 10px;
  }
}
