/* ===================================================================
   MOVIE ITEM STYLES - For item-1.twig & item-2.twig
   =================================================================== */


/* ========== ITEM 2 - Minimal Style ========== */
.movie-item-2 {
  height: 100%;
}

.movie-item-2 .movie-link {
  display: block;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.movie-item-2 .movie-poster {
  position: relative;
  width: 100%;
  padding-top: 140%;
  overflow: hidden;
  border-radius: 8px;
  background: #f5f5f5;
}

.movie-item-2 .movie-poster img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.movie-item-2 .movie-link:hover .movie-poster img {
  transform: scale(1.05);
  filter: brightness(0.9);
}

.movie-item-2 .movie-no-poster {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  font-size: 48px;
  opacity: 0.6;
}

/* Badges */
.movie-item-2 .quality-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  padding: 4px 8px;
  background: rgba(220, 53, 69, 0.95);
  color: white;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  z-index: 2;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.movie-item-2 .episode-badge {
  position: absolute;
  bottom: 8px;
  left: 8px;
  padding: 4px 8px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 600;
  z-index: 2;
  backdrop-filter: blur(10px);
}

/* Info */
.movie-item-2 .movie-info {
  padding: 8px 0;
}

.movie-item-2 .movie-name {
  margin: 0 0 4px 0;
  font-size: 13px;
  font-weight: 600;
  color: #333;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.movie-item-2 .movie-link:hover .movie-name {
  color: #007bff;
}

.movie-item-2 .movie-view-count {
  font-size: 11px;
  color: #999;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .movie-item-1 .movie-title {
    font-size: 13px;
  }
  
  .movie-item-1 .movie-content {
    padding: 10px;
  }
  
  .movie-item-1 .movie-meta {
    font-size: 11px;
    gap: 8px;
  }
  
  .movie-item-2 .movie-name {
    font-size: 12px;
  }
}

/* ========== NO MOVIES FOUND ========== */
.no-movies-found svg {
  color: #adb5bd;
}
