/* 🎀 Sakura Pink Vinyl Aesthetic */
body {
    font-family: 'Poppins', sans-serif;
    text-align: center;
    margin: 0;
    padding: 0;
    transition: background-color 0.5s ease, color 0.5s ease;
}

/* 🌸 Light Theme */
body.light-theme {
    background-color: #ffe6f2;  /* Soft pale rose pink */
    color: #d63384;            /* Deep pink text */
}

/* 🌙 Dark Theme */
body.dark-theme {
    background-color: #1c1c1c;  /* Midnight background */
    color: #ffccf9;             /* Light pink text */
}

/* 💿 Music Player Styling */
#music-player {
    border-radius: 20px;
    padding: 20px;
    display: inline-block;
    transition: background-color 0.5s ease;
}

/* Music Player - theme support */
#music-player.light-theme {
    background: white;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

#music-player.dark-theme {
    background: #2a2a2a;
    box-shadow: 0px 4px 15px rgba(255, 255, 255, 0.05);
}

/* 💿 Vinyl Record */
#vinyl-container {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    position: relative;
    margin: 20px auto;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

#vinyl {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    animation: spin 5s linear infinite;
}

/* 🔥 Remove unwanted "Spinning Vinyl" text */
#vinyl-container::before {
    content: none !important;
    display: none;
}

/* 🌀 Vinyl Spin Animation */
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* 🎵 Cute Buttons (themed via JS) */
button {
    border: none;
    padding: 12px 24px;
    font-size: 18px;
    border-radius: 25px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

/* Theme-specific button colors */
button.light-theme {
    background: #ff99cc;
    color: white;
}

button.dark-theme {
    background: #661f46;
    color: #ffccf9;
}

/* 📊 Progress Bar */
#progress-container {
    width: 80%;
    height: 8px;
    background: #ff99cc;
    margin: 10px auto;
    border-radius: 10px;
}

#progress-bar {
    height: 100%;
    background: #ff007f;
    border-radius: 10px;
}

/* 🌀 Loop Mode Buttons */
button.active-mode {
    background: #ff007f;
    color: white;
}

#loop-playlist.active-mode {
    background: #ac095a;
}

/* 📀 Center Buttons Container */
.button-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: 100%;
    height: 100px;
    margin: 20px 0;
}

/* 🎼 Hide YouTube Player */
#youtube-player {
    display: none;
}

/* 🎵 Queue Styling */
#queue {
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid #ccc;
    padding: 10px;
    list-style: none;
}

/* 🎀 Logo */
.logo {
    width: 60px;
    height: 60px;
    margin: auto;
    display: flex;
}

/* 🎼 Footer Styling */
footer {
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid #ccc;
    text-align: center;
}

/* ✨ Theme Toggle Button */
#theme-toggle {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
    width: 50px;
    height: 50px;
    font-size: 24px;
    background-color: #fff0f5;
    color: #d63384;
    border: none;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

#theme-toggle:hover {
    background-color: #ff99cc;
    transform: scale(1.1);
}

/* 💖 Vinyl Glow Animation */
@keyframes pinkPulse {
    0% { box-shadow: 0 0 15px rgba(255, 105, 180, 0.5); }
    50% { box-shadow: 0 0 30px rgba(255, 105, 180, 1); }
    100% { box-shadow: 0 0 15px rgba(255, 105, 180, 0.5); }
}

.pulsing {
    animation: pinkPulse 1.5s infinite ease-in-out;
    filter: drop-shadow(0 0 15px rgba(255, 105, 180, 0.8));
}

/* Global Font */
* {
    font-family: 'Cherry Bomb One', cursive;
}

#mood-selector button {
  background: #ff99cc;
  color: white;
  border: none;
  padding: 10px 15px;
  margin: 0 8px;
  border-radius: 20px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#mood-selector button:hover {
  background: #ff66a3;
}


#mood-selector button {
    background: #ac095a; /* Deep rich pink for active mood */
    box-shadow: 0 0 8px #ac095a;
    transform: scale(1.05);
    transition: 0.3s ease;
}

.particle {
  position: fixed;
  background: #ff66a3;
  border-radius: 50%;
  pointer-events: none;
  animation: flyAway 600ms ease-out forwards;
  width: 6px;
  height: 6px;
  opacity: 1;
  mix-blend-mode: screen;
}

@keyframes flyAway {
  to {
    transform: translate(var(--x), var(--y)) scale(0);
    opacity: 0;
  }
}

/* Glow effect for the active song */
.active-song {
  box-shadow: 0 0 12px 3px #ff66a3; /* pinkish glow, you can change color */
  background-color: rgba(255, 102, 163, 0.15);
  border-radius: 8px;
  transition: box-shadow 0.3s ease, background-color 0.3s ease;
}

#volume-control {
  margin-top: 15px;
  text-align: center;
  font-family: 'Cherry Bomb One', sans-serif;
  color: var(--accent-color, #FF69B4); /* Pretty pink */
}

#volume-slider {
  width: 60%;
  margin-top: 5px;
  appearance: none;
  height: 5px;
  background: #FF69B4;
  border-radius: 5px;
  outline: none;
  cursor: pointer;
  transition: background-color 0.2s ease-in-out;
}

#volume-slider::-webkit-slider-thumb {
  appearance: none;
  height: 16px;
  width: 16px;
  background: white;
  border: 2px solid #FF69B4;
  border-radius: 50%;
  cursor: pointer;
}

.quote-popup {
  position: fixed;
  bottom: 20px;
  left: 20px;
  max-width: 250px;
  background-color: #fff0f6;
  color: #d6336c;
  font-family: 'Comic Sans MS', 'Arial Rounded MT Bold', cursive;
  font-size: 14px;
  padding: 12px 16px;
  border-radius: 16px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  transition: opacity 0.4s ease, transform 0.4s ease;
  opacity: 1;
  transform: translateY(0);
}

.quote-popup.hidden {
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
}

#clock-container {
  position: fixed;
  top: 20px;
  right: 20px;
  background-color: #fff0f6;
  color: #d63384;
  font-family: 'Cherry Bomb One', cursive;
  font-size: 18px;
  padding: 10px 15px;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 1000;
}

#google_translate_element {
  position: fixed;
  top: 90x; /* pushes it below the clock */
  right: 20px; /* aligns with clock's right */
  z-index: 10000;
  background-color: white;
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 14px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

button:active {
  transform: scale(0.95);
  transition: transform 0.1s ease;
}

button:hover {
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
  transform: scale(1.03);
}

#mood-selector{
  position: relative;
  overflow: hidden;
}

#volume-slider {
  -webkit-appearance: none;
  width: 150px;
  height: 8px;
  border-radius: 4px;
  background: linear-gradient(to right, #6e7fd1, #a678e2);
  outline: none;
  transition: box-shadow 0.3s ease;
}

#volume-slider:hover,
#volume-slider:focus {
  box-shadow: 0 0 8px #a678e2;
}

.vinyl.spinning {
  animation: spin 3s linear infinite;
}

.vinyl.pulsing {
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

#play {
  font-size: 1rem;
  padding: 0.6rem 1.2rem;
  background-color: #222;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 0 transparent;
}

#play.playing {
  background-color: #444;
  color: #ffcc70;
  box-shadow: 0 0 10px rgba(255, 204, 112, 0.6);
  animation: pulseGlow 1.5s infinite;
}

@keyframes pulseGlow {
  0% { box-shadow: 0 0 8px rgba(255, 204, 112, 0.5); }
  50% { box-shadow: 0 0 16px rgba(255, 204, 112, 0.8); }
  100% { box-shadow: 0 0 8px rgba(255, 204, 112, 0.5); }
}

#song-title {
  animation: bounce 2.5s ease-in-out infinite;
}

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

@keyframes pulse-shadow {
  0%, 100% {
    box-shadow: 0 0 15px #ff69b4aa;
  }
  50% {
    box-shadow: 0 0 25px #ff1493cc;
  }
}

#vinyl.playing {
  animation: spin 5s linear infinite, pulse-shadow 2s ease-in-out infinite;
}

button:active {
  animation: clickBounce 0.2s ease forwards;
}

@keyframes clickBounce {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

.language-btn.active {
  background-color: #ac095a; /* Deep rich pink for active mood */
  color: white;
  transform: scale(1.05);
}

.language-btn {
  font-size: 10px;
}

.language-btn .tooltip {
  visibility: hidden;
  opacity: 0;
  background-color: #333;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 4px 8px;
  position: absolute;
  bottom: 125%; /* Show above the button */
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  white-space: nowrap;
  transition: opacity 0.3s;
}

.language-btn:hover .tooltip {
  visibility: visible;
  opacity: 1;
}

/* Special glow just for Bleumino when active */
.active-song.highlight-bleumino {
box-shadow: 0 0 12px 3px #B0C4DE; /* blueish glow, you can change color */
  background-color: #8a9cb3;
  border-radius: 8px;
  transition: box-shadow 0.3s ease, background-color 0.3s ease;
}

#shuffle-surprise {
  background-color: #ff66a3;
  color: white;
  padding: 10px 20px;
  border-radius: 999px;
  border: none;
  font-weight: bold;
  cursor: pointer;
}
#shuffle-surprise:hover {
  background-color: #ff4c91;
}