/* Movies Page */
.movies-main {
  background: #000;
  color: white;
  padding: 80px 0 120px;
}

.page-hero {
  max-width: 900px;
}

.page-hero h1 {
  font-size: 4rem;
  margin-bottom: 20px;
}

.page-hero p {
  font-size: 1.5rem;
  margin-bottom: 40px;
}

/* Search Bar */
.search-bar {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
}

.search-bar input {
  width: 100%;
  padding: 18px 60px 18px 25px;
  border-radius: 50px;
  border: none;
  font-size: 1.1rem;
  background: rgba(255,255,255,0.15);
  color: white;
  backdrop-filter: blur(10px);
}

.search-bar input::placeholder { color: #aaa; }

.search-bar i {
  position: absolute;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
  color: #e50914;
  font-size: 1.4rem;
}

/* Filters */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin: 60px 0 50px;
}

.filters select {
  padding: 12px 20px;
  border-radius: 30px;
  border: none;
  background: #111;
  color: white;
  font-size: 1rem;
  min-width: 180px;
  cursor: pointer;
}

/* Movie Grid */
.movie-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  padding: 0 20px;
}

.movie-card {
  background: #111;
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.4s ease;
  box-shadow: 0 8px 25px rgba(0,0,0,0.6);
  position: relative;
}

.movie-card:hover {
  transform: translateY(-15px) scale(1.05);
  box-shadow: 0 25px 50px rgba(229,9,20,0.4);
}

.movie-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.movie-info {
  padding: 18px;
}

.movie-info h3 {
  color: #e50914;
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.movie-info p {
  color: #aaa;
  font-size: 0.9rem;
}

/* Badges */
.badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #e50914;
  color: white;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: bold;
  letter-spacing: 0.5px;
}

/* Load More */
.load-more {
  text-align: center;
  margin-top: 80px;
}

#loadMoreBtn {
  padding: 16px 50px;
  background: transparent;
  color: #e50914;
  border: 2px solid #e50914;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  transition: 0.4s;
}

#loadMoreBtn:hover {
  background: #e50914;
  color: white;
  transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 768px) {
  .page-hero h1 { font-size: 2.8rem; }
  .page-hero p { font-size: 1.2rem; }
  .filters { flex-direction: column; }
  .filters select { width: 80%; max-width: 300px; }
  .movie-grid { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
}