* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  transition: background-color 0.3s ease, color 0.3s ease;
}

body {
  background-color: #121212;
  color: #e8e8e8;
  min-height: 100vh;
  opacity: 0;
  animation: fadeIn 0.5s ease-in forwards;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

header {
  text-align: center;
  padding: 2rem 0;
  border-bottom: 3px solid #ffc107;
  margin-bottom: 3rem;
}

h1 {
  color: #ffc107;
  font-size: 2.5rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 1rem;
  text-shadow: 0 0 10px rgba(255, 193, 7, 0.5);
}

.filters {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.filter-btn {
  background-color: transparent;
  border: 2px solid #ffc107;
  color: #ffc107;
  padding: 0.5rem 1rem;
  margin: 0 0.5rem;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background-color: #ffc107;
  color: #121212;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  padding: 1rem;
}

.movie-card {
  background: #252525;
  color: #e8e8e8;
  padding: 1.5rem;
  border-radius: 10px;
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid #ffc107;
  cursor: pointer;
  text-decoration: none;
  display: block;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.movie-card:hover {
  transform: translateY(-10px);
  background: #ffc107;
  color: #121212;
  box-shadow: 0 10px 20px rgba(255, 193, 7, 0.5);
}

.movie-card h2 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.movie-card p {
  font-size: 0.9rem;
  color: #aaaaaa;
  margin-bottom: 1rem;
}

.movie-card:hover p {
  color: #121212;
}

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

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (max-width: 768px) {
  .grid {
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
  
  h1 {
      font-size: 2rem;
  }
}

@media (max-width: 480px) {
  h1 {
      font-size: 1.8rem;
  }

  .movie-card {
      padding: 1rem;
  }

  .movie-card h2 {
      font-size: 1.1rem;
      min-height: 50px;
  }

  .movie-card p {
      font-size: 0.8rem;
  }

  .grid {
      grid-template-columns: 1fr;
      gap: 1rem;
  }
}
