@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;600;800&display=swap');

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  font-family: 'Manrope', sans-serif;
  color: white;
  background:
    radial-gradient(circle at top left, #ff8fab, transparent 35%),
    radial-gradient(circle at bottom right, #8c7bff, transparent 40%),
    #17152d;
}

.card {
  position: relative;
  z-index: 2;
  width: min(90%, 520px);
  padding: 42px 30px;
  text-align: center;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 32px;
  background: rgba(255,255,255,.12);
  box-shadow: 0 25px 80px rgba(0,0,0,.35);
  backdrop-filter: blur(22px);
  animation: appear 1s ease;
}

.music-circle {
  width: 75px;
  height: 75px;
  margin: 0 auto 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 35px;
  color: #fff;
  background: linear-gradient(135deg, #ff72a8, #8c7bff);
  box-shadow: 0 0 35px rgba(255,114,168,.7);
}

.subtitle {
  margin-bottom: 10px;
  color: #ffd6e5;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(30px, 8vw, 48px);
}

h1 span {
  color: #ffb6d0;
}

.description {
  margin: 22px auto 28px;
  max-width: 390px;
  color: #eee8f5;
  line-height: 1.7;
}

button {
  padding: 16px 28px;
  border: 0;
  border-radius: 50px;
  color: white;
  background: linear-gradient(135deg, #ff639c, #8171ff);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(255,99,156,.3);
  transition: .3s;
}

button:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 15px 35px rgba(255,99,156,.5);
}

button:disabled {
  opacity: .7;
  cursor: default;
  transform: none;
}

.hidden {
  display: none;
}

.lyrics-box {
  min-height: 65px;
  margin-top: 30px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(0,0,0,.18);
}

#currentLyric {
  margin: 0;
  color: #fff1f6;
  font-size: 18px;
  font-weight: 600;
  animation: lyric .5s ease;
}

.message {
  color: #eadff0;
  font-size: 14px;
  line-height: 1.6;
}

.equalizer {
  height: 28px;
  display: flex;
  justify-content: center;
  align-items: end;
  gap: 5px;
}

.equalizer i {
  width: 5px;
  height: 12px;
  border-radius: 5px;
  background: #ff9fc2;
  animation: wave .8s infinite alternate;
}

.equalizer i:nth-child(2) { animation-delay: .15s; }
.equalizer i:nth-child(3) { animation-delay: .3s; }
.equalizer i:nth-child(4) { animation-delay: .45s; }
.equalizer i:nth-child(5) { animation-delay: .6s; }

.glow {
  position: fixed;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .35;
}

.glow-1 {
  top: -80px;
  left: -80px;
  background: #ff5b9d;
}

.glow-2 {
  right: -80px;
  bottom: -80px;
  background: #7265ff;
}

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

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

@keyframes wave {
  from { height: 8px; }
  to { height: 28px; }
}