body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #0f0c29;
  background-image: radial-gradient(ellipse at top, #0f0c29, #302b63, #24243e);
  color: white;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  animation: backgroundMove 60s infinite linear;
}

@keyframes backgroundMove {
  0% { background-position: 0 0; }
  100% { background-position: 1000px 1000px; }
}

.container {
  max-width: 960px;
  margin: auto;
  padding: 2rem;
  text-align: center;
}

input[type="text"] {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 1rem;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  outline: none;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.anime-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
}

.anime-list.small-list {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.anime-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1rem;
  width: 100%;
  max-width: 220px;
  text-align: center;
  box-shadow: 0 0 20px rgba(0, 0, 50, 0.4);
  transition: transform 0.3s ease;
}

.anime-card:hover {
  transform: scale(1.03);
}

.anime-card img {
  max-width: 100%;
  border-radius: 8px;
  margin-bottom: 0.5rem;
}

.anime-card h3 {
  margin: 0.5rem 0;
  font-size: 1.1rem;
}

.anime-card p {
  margin: 0.25rem 0;
  font-size: 0.85rem;
  color: #ccc;
}

#search-results-container {
  position: relative;
  z-index: 10;
  margin-bottom: 2rem;
}

#search-results {
  background: rgba(0, 0, 0, 0.6);
  padding: 1rem;
  border-radius: 10px;
  max-height: 350px;
  overflow-y: auto;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}
