@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(145deg, #0f0f0f, #1a1a1a);
  color: #fff;
  padding: 20px;
}

.container {
  max-width: 1100px;
  margin: auto;
  padding: 30px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 20px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
}

h1 {
  text-align: center;
  font-size: 2.5em;
  color: #fff;
  margin-bottom: 25px;
  letter-spacing: 1px;
}

input[type="text"], textarea {
  width: 100%;
  padding: 15px;
  background: #1e1e1e;
  color: #fff;
  border: 1px solid #333;
  border-radius: 12px;
  margin-bottom: 15px;
  transition: border-color 0.3s;
}

input[type="text"]:focus,
textarea:focus {
  border-color: #7f5af0;
  outline: none;
}

button {
  background: #111013;
  color: #fff;
  padding: 12px 20px;
  font-size: 1em;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}

button:hover {
  background: #000000;
  transform: scale(1.03);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0;
}

.filters button {
  flex: 1;
  min-width: 120px;
  background-color: #2a2a2a;
  border: 1px solid #3a3a3a;
  color: #ccc;
}

.filters button:hover {
  background-color: #211e2b;
  color: white;
  border-color: #19181b;
}

.movies-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}
.movie img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
}

.movie {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid #2f2f2f;
  border-radius: 15px;
  padding: 15px;
  transition: transform 0.2s, border-color 0.3s;
  text-align: center;
}

.movie:hover {
  transform: translateY(-5px);
  border-color: #1c1a20;
}

.movie h3 {
  color: #ffffff;
  margin-bottom: 10px;
  font-size: 1.1em;
}

.movie p {
  color: #bbb;
  font-size: 0.9em;
  margin-bottom: 8px;
}
form {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background-color: #1e1e1e;
  padding: 1rem;
  border-radius: 10px;
}

form input, form textarea, form button {
  padding: 0.7rem;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
}

form input, form textarea {
  background-color: #2a2a2a;
  color: white;
}

form button {
  background-color: #ffe600;
  color: black;
  font-weight: bold;
  cursor: pointer;
}

form button:hover {
  background-color: #e6d200;
}
