.films-grid {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 40px 0;
}

.film-card {
  background: #232323;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.18);
  padding: 24px;
  width: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 0.4s;
}

.film-card > img {
  transition: all 0.4s;
}

.film-card > a {
  transition: all 0.4s;
}

.film-card:hover {
  transform: translateY(-4px);
  scale: 1.07;
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
  background: #383838;
}

.film-card > img:hover {
  transform: translateY(-4px);
  scale: 1.1;
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
  background: #383838;
}

.film-card > a:hover {
  transform: translateY(-4px);
  scale: 1.1;
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
  background: #ff0000;
}

.film-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 16px;
}

.filter-container {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 24px 0 32px;
  padding: 16px;
  background: #2a2a2a;
  border-radius: 8px;
  border-left: 4px solid #ff2a2a;
}

.filter-container label {
  color: #fff;
  font-weight: 600;
  font-size: 1.1em;
}

#filter-select {
  padding: 10px 16px;
  background: #181818;
  color: #fff;
  border: 2px solid #ff2a2a;
  border-radius: 6px;
  font-size: 1em;
  cursor: pointer;
  transition: all 0.3s;
  outline: none;
}

#filter-select:hover, #filter-select:focus {
  background: #232323;
  border-color: #fff;
}

.film-card.hidden {
  display: none;
}