/* Shared card styles used by watchlist and dynamic card rendering */

.movies-list {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  align-items: stretch;
}

.movie-item {
  width: 220px;
  background: #111;
  border: 1px solid #242424;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.movie-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.45);
}

.movie-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}

.movie-item h3 {
  margin: 12px 12px 10px;
  color: #ff4646;
  font-size: 1rem;
  line-height: 1.3;
  min-height: 2.6em;
}

.card-actions {
  display: flex;
  gap: 8px;
  padding: 0 12px 12px;
}

.btn {
  flex: 1;
  border: 1px solid #ff4646;
  background: #ff4646;
  color: #fff;
  border-radius: 8px;
  padding: 8px 10px;
  font-family: 'Electrolize', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease, background-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.btn:active {
  transform: translateY(0);
}

.btn.btn-outline {
  background: transparent;
  color: #ff8080;
  border-color: #ff8080;
}

.btn.btn-outline:hover {
  background: rgba(255, 70, 70, 0.15);
}

@media (max-width: 640px) {
  .movies-list {
    justify-content: center;
  }

  .movie-item {
    width: min(92vw, 280px);
  }
}
