.anime-card {
  background-color: #fff;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  border: none;
}

.anime-card:hover {
  transform: scale(1.03);
  box-shadow: 0 0 15px rgba(0,0,0,0.1);
}

.anime-card img {
  height: 415px;
  object-fit: cover;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

.star-rating i {
  color: #facc15;
  margin-right: 2px;
}

.genre-badge {
  background-color: #40a9ff;
  color: #fff;
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 20px;
  margin: 2px;
  display: inline-block;
}

/* css for search bar */

.anime-filter-bar {
  background-color: #f1f5f9;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.anime-filter-bar label {
  font-weight: 600;
}

.anime-filter-bar .form-control,
.anime-filter-bar .form-select {
  border-radius: 8px;
}

@media (max-width: 576px) {
  .anime-filter-bar {
    padding: 15px;
  }
}