@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600&display=swap');
body {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #c2e9fb, #a1c4fd);
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  color: #1a2a44;
}
body::before {
  content: "";
  position: absolute;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 25% 25%, rgba(255,255,255,0.3) 0%, transparent 40%),
              radial-gradient(circle at 75% 75%, rgba(255,255,255,0.25) 0%, transparent 40%);
  animation: moveGlow 10s ease-in-out infinite alternate;
  z-index: 0;
  opacity: 0.5;
}
@keyframes moveGlow {
  0% { transform: translate(0,0); }
  100% { transform: translate(-10%, -10%); }
}

.container {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(25px);
  border-radius: 35px;
  padding: 80px 100px;
  text-align: center;
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
  transition: 0.3s ease;
}
.container:hover {
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
  transform: translateY(-4px);
}

/* title + subtitle */
.title {
  font-size: 3em;
  font-weight: 700;
  background: linear-gradient(90deg, #2c82fa, #7ab9ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.3em;
  letter-spacing: 1px;
}
.subtitle {
  font-size: 1.1em;
  color: #1b2f54;
  opacity: 0.8;
  margin-bottom: 2em;
}

/* buttons */
.mood_buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.mood_buttons button {
  background: rgba(255, 255, 255, 0.3);
  border: none;
  border-radius: 30px;
  padding: 15px 35px;
  font-size: 1.1em;
  color: #1a2a44;
  cursor: pointer;
  backdrop-filter: blur(10px);
  box-shadow: 0 3px 15px rgba(0,0,0,0.1);
  transition: all 0.25s ease;
}
.mood_buttons button:hover {
  background: linear-gradient(135deg, #7ecbff, #4ca1ff);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 5px 20px rgba(76,161,255,0.4);
}
.mood_buttons button:active {
  transform: translateY(-1px);
  box-shadow: 0 2px 10px rgba(76,161,255,0.2);
}
body.player_page {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: linear-gradient(135deg, #667eea, #c7a3ea);
    font-family: 'Segoe UI', sans-serif;
}
.glass-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 60px;
    text-align: center;
    color: #fff;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
    width: 500px;
}
.player .song-details img.track-art {
    width: 300px;
    height: 300px;
    border-radius: 20px;
    margin: 30px 0;
    object-fit: cover;
}
.player .buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  margin: 20px 0;
  position: relative;
}
.player .buttons button {
    position: static; /* Remove absolute */
    display: flex;
    background: rgba(255,255,255,0.2);
    border: none;
    padding: 15px 20px;
    margin: 0 10px;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.3s;
    justify-content: center;
    
}
.player .buttons button:hover {
    background: rgba(255,255,255,0.4);
}
.slider_container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 15px 0;
}
input[type=range] {
    flex: 1;
    margin: 0 10px;
}

.volume-control {
    margin-top: 10px;
}
.back-button {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 2;
  background: rgba(255,255,255,0.3);
  border: none;
  border-radius: 8px;
  padding: 8px 16px;
  color: #1a2a44;
  cursor: pointer;
  font-size: 1em;
}