body {
  font-family: "Poppins", sans-serif;
  background: linear-gradient(145deg, #141e30, #243b55);
  color: #fff;
  margin: 0;
  padding: 0;
  text-align: center;
  min-height: 100vh;
}

.container {
  max-width: 800px;
  margin: auto;
  padding: 30px;
}

h1 {
  font-size: 2rem;
  color: #00ffd5;
  margin-bottom: 10px;
}

.subtitle {
  color: #ccc;
  margin-bottom: 25px;
}

.search-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

input {
  padding: 12px;
  width: 70%;
  border: none;
  border-radius: 8px;
  font-size: 16px;
}

button {
  padding: 12px 20px;
  background: #00ffd5;
  color: #000;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

button:hover {
  background: #00c8a4;
}

.error {
  color: #ff6060;
  margin-top: 10px;
}

.trending-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin: 20px 0;
}

.trending-item {
  background: rgba(255,255,255,0.1);
  padding: 10px 15px;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}

.trending-item:hover {
  background: rgba(255,255,255,0.2);
}

.result {
  background: rgba(255,255,255,0.05);
  border-radius: 10px;
  padding: 20px;
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: fadeIn 0.4s ease;
}

.thumbnail {
  width: 320px;
  border-radius: 8px;
  margin-bottom: 15px;
}

.download-buttons button {
  margin: 5px;
}

footer {
  margin-top: 40px;
  font-size: 14px;
  color: #ccc;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}
