
body {
  font-family: 'Poppins', sans-serif;
  background: #f0f4ff;
  margin: 0;
  padding: 0;
  color: #333;
  transition: 0.3s;
}

.music-bg {
  background-image: url('https://i.imgur.com/8fK4ZkC.jpeg');
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
}

.dark {
  background: #111;
  color: white;
}

header {
  background: #5a6cff;
  color: #fff;
  padding: 20px;
  text-align: center;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.container {
  width: 60%;
  max-width: 900px;
  margin: 30px auto;
  background: #ffffffdd;
  padding: 25px;
  border-radius: 10px;
  backdrop-filter: blur(6px);
}

.music-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 20px;
}

.music-card {
  background: #f7f8ff;
  padding: 10px;
  border-radius: 10px;
  text-align: center;
  transition: 0.2s;
}

.music-card:hover {
  transform: scale(1.07);
}

.music-img {
  width: 100%;
  border-radius: 8px;
}

.fade {
  animation: fadeIn 0.9s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 600px) {
  .container {
    width: 90%;
  }
}
