* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  background: linear-gradient(to bottom, #1e1e2f 0%, #2a2a4a 100%);
  min-height: 100vh;
  padding: 30px;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
}

h2 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 40px;
  color: #ffd700;
  letter-spacing: 1px;
}

.search-container {
  display: flex;
  gap: 15px;
  margin-bottom: 30px;
  width: 100%;
  max-width: 700px;
  background: rgba(255, 255, 255, 0.1);
  padding: 10px;
  border-radius: 50px;
  backdrop-filter: blur(10px);
}

#searchInput {
  flex: 1;
  padding: 15px 25px;
  font-size: 1.1rem;
  border: none;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.9);
  color: #1e1e2f;
  transition: all 0.3s ease;
}

#searchInput:focus {
  outline: none;
  background: #ffffff;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

button {
  padding: 15px 30px;
  font-size: 1.1rem;
  font-weight: 600;
  border: none;
  border-radius: 50px;
  background: #ffd700;
  color: #1e1e2f;
  cursor: pointer;
  transition: all 0.3s ease;
}

button:hover {
  background: #ffca28;
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

#results {
  width: 100%;
  max-width: 700px;
}

.result-item {
  display: flex;
  align-items: center;
  gap: 20px;
  background: rgba(255, 255, 255, 0.1);
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.result-item:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateX(10px);
}

.result-item img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 10px;
  border: 2px solid #ffd700;
}

.result-details {
  flex: 1;
}

.result-details h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 8px;
}

.result-details p {
  font-size: 0.95rem;
  color: #d1d1d1;
  line-height: 1.5;
}

@media (max-width: 600px) {
  body {
    padding: 20px;
  }

  h2 {
    font-size: 2rem;
  }

  .search-container {
    flex-direction: column;
    padding: 15px;
  }

  #searchInput,
  button {
    width: 100%;
    border-radius: 25px;
  }

  .result-item img {
    width: 80px;
    height: 80px;
  }
}
