body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: radial-gradient(ellipse at center, #2c003e 0%, #0a0014 100%);
  color: white;
  text-align: center;
  padding: 30px;
  height: 150vh;
  transition: background 1s ease;
}

canvas#stars {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
}

.container {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: auto;
}

.title {
  font-size: 2.2rem;
  font-weight: 600;
  margin-bottom: 30px;
  color: #ffffff;
  text-shadow: 0 0 10px #ae00ff;
}

.controls {
  display: none;
  margin-bottom: 20px;
}

.controls label {
  font-size: 1rem;
  margin-right: 10px;
  font-weight: 500;
}

select {
  padding: 10px 20px;
  min-width: 200px;
  border-radius: 10px;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  color: rgb(254, 10, 230);
  font-size: 16px;
  outline: none;
}

.mood-panel {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.mood {
  width: 150px;
  height: 100px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(6px);
  border-radius: 15px;
  cursor: pointer;
  font-size: 2rem;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s ease, background 0.3s;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.mood:hover {
  background: rgba(174, 0, 255, 0.3);
  transform: scale(1.1);
}

.emoji {
  width: 40px;
  height: 40px;
  margin-bottom: 5px;
  transition: transform 0.4s ease;
}
.mood:hover .emoji {
  animation: bounce 0.6s ease;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.mood p {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
}

@keyframes smoothPop {
  0% {
    transform: scale(0.6);
    opacity: 0;
  }
  60% {
    transform: scale(1.05);
    opacity: 1;
  }
  100% {
    transform: scale(1);
  }
}

.song-box {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 15px;
  padding: 20px;
  margin: auto;
  max-width: 600px;
  min-height: 50px;
  font-size: 16px;
  box-shadow: 0 0 10px #ae00ff;
  overflow-y: auto;
  max-height: 400px;
  text-align: center;
  transition: all 0.10s ease;
}

/* Animation class */
.song-box.pop-animation {
   animation: smoothPop 0.8s ease-in-out;
}


.song {
  margin: 10px 0;
}

a {
  color: #00ffe5;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.icon-box {
  display: inline-flex;
  gap: 10px;
  margin-left: 10px;
 
}

.icon-box a {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  padding: 6px;
  border-radius: 8px;
  transition: background 0.3s ease, transform 0.3s ease;
}

.icon-box a:hover {
  background: rgba(174, 0, 255, 0.3);
  transform: scale(1.15);
}

.icon {
  width: 20px;
  height: 20px;
  vertical-align: middle;
}

.playlist-label {
  font-size: 1.5rem;
  color: #ffffff;
  margin-bottom: 20px;
  text-shadow: 0 0 6px #ff00ff;
  transition: all 0.3s ease-in-out;
}

.mic-button {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: none;
  padding: 10px 20px;
  margin-bottom: 20px;
  font-size: 1rem;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 0 8px #ae00ff;
  transition: background 0.3s, transform 0.3s;
}

.mic-button:hover {
  background: rgba(174, 0, 255, 0.3);
  transform: scale(1.1);
}
