body {
  background-image: url(newbg.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  font-family: Arial, sans-serif;
  background-color: #f4f4f4;
  color: #333;
  line-height: 1.6;
}

.movie-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  padding: 20px;
}

.movie-card {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.movie-card img {
  width: 250px; /* Set a fixed width for all movie cards */
  height: 300px; /* Increased height for all movie cards */
  border-bottom: 2px solid #ddd;
}

.movie-card h3 {
  margin: 15px 0;
  font-size: 20px;
  color: #333;
}

.movie-card p {
  margin: 10px 0;
  font-size: 16px;
  color: #666;
}

.movie-card .rate-btn {
  background-color: #f0a500;
  color: #fff;
  border: none;
  padding: 10px 20px;
  margin: 20px 0;
  cursor: pointer;
  border-radius: 5px;
  font-size: 16px;
  transition: background-color 0.3s;
}

.movie-card .rate-btn:hover {
  background-color: #e08900;
}

.movie-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* Watch Button Styling */
.watch-btn {
  background: linear-gradient(90deg, #ff7e5f, #feb47b); /* Gradient background */
  color: #fff; /* White text color */
  border: none; /* Remove default border */
  padding: 12px 24px; /* Add padding for better size */
  margin: 15px 0; /* Add spacing above and below */
  cursor: pointer; /* Change cursor to pointer */
  border-radius: 25px; /* Rounded corners */
  font-size: 16px; /* Adjust font size */
  font-weight: bold; /* Make text bold */
  text-transform: uppercase; /* Make text uppercase */
  text-decoration: none; /* Remove underline */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); /* Add subtle shadow */
  transition: all 0.3s ease; /* Smooth transition for hover effects */
  display: inline-block; /* Ensure proper alignment */
}

/* Hover Effect */
.watch-btn:hover {
  background: linear-gradient(90deg, #feb47b, #ff7e5f); /* Reverse gradient on hover */
  transform: scale(1.1); /* Slightly enlarge the button */
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3); /* Stronger shadow on hover */
}

/* Active Effect */
.watch-btn:active {
  transform: scale(1); /* Reset scale on click */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2); /* Subtle shadow on click */
}
