/* =========================================================
   Video Cards
   ========================================================= */

.home-video-card{
  flex: 0 0 250px;
  scroll-snap-align: start;
  min-width: 0;
}

.home-video-card a,
.home-image-card a,
.home-manga-card a{
  color: inherit;
  text-decoration: none;
}

.home-video-thumb{
  position: relative;
  aspect-ratio: 16 / 9;

  overflow: hidden;
  border-radius: 16px;
  background: #000;

  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
}

.home-video-thumb img{
  display: block;
  width: 100%;
  height: 100%;

  object-fit: cover;
  transition:
    transform .22s ease,
    filter .22s ease;

  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
}

.home-video-card:hover .home-video-thumb img{
  transform: scale(1.055);
  filter: brightness(1.08);
}

.home-video-duration{
  position: absolute;
  right: 8px;
  bottom: 8px;

  padding: 3px 7px;
  border-radius: 8px;

  background: rgba(0,0,0,0.76);
  color: #fff;

  font-size: 12px;
  font-weight: 800;
}

.home-video-info{
  padding: 10px 2px 0;
}

.home-video-title{
  margin: 0;

  color: rgba(255,255,255,0.94);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.35;

  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-video-author{
  margin: 6px 0 0;

  color: rgba(255,255,255,0.58);
  font-size: 12px;
  line-height: 1.25;

  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-video-stats{
  margin-top: 8px;

  display: flex;
  align-items: center;
  gap: 7px;
}

.home-video-stats span{
  display: inline-flex;
  align-items: center;
  gap: 5px;

  padding: 4px 8px;
  border-radius: 999px;

  background: rgba(255,255,255,0.055);
  color: rgba(255,255,255,0.70);

  font-size: 12px;
  font-weight: 800;
}

.home-video-stats i{
  color: #ff6b88;
}

/* =========================================================
   Video play overlay
   ========================================================= */

.home-video-play{
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;

  width: 46px;
  height: 46px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.22);

  background: rgba(0,0,0,0.48);
  color: #fff;

  transform: translate(-50%, -50%) scale(0.96);
  opacity: 0;

  backdrop-filter: blur(8px);
  box-shadow: 0 10px 26px rgba(0,0,0,0.32);

  pointer-events: none;

  transition:
    opacity .18s ease,
    transform .18s ease,
    background .18s ease;
}

.home-video-play i{
  margin-left: 3px;
  font-size: 17px;
}

.home-video-card:hover .home-video-play{
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.home-video-card:hover .home-video-play{
  background: rgba(255,107,136,0.88);
}

.home-video-thumb{
  border-radius: 11px;
}
