 #footer {
            position: absolute;
            margin-right: 10px;
            right: 0;
        }
        .social {
            list-style-type: none;
            bottom: 0;
        }
        .social li {
            float: left;
            bottom: 0;
        }
#Side_Menu a:hover {
            color: #ffffff;
            background-color: #27aae1;
        }
        #Side_Menu {
            border-radius: 10px;
        }
        #market {
            border-radius: 15px;
        }
        .thumbnail {
            border-radius: 15px;
        }
.circle-button {
            display: none;
            position: fixed;
            bottom: 20px;
            right: 20%;
            width: 46px;
            height: 46px;
            border-radius: 50%;
            border: none;
            background-color: #27aae1;
            color: white;
            font-size: 16px;
            cursor: pointer;
            font-weight: bold;
        }
        .BacktoTop {
            font-family: Arial, sans-serif;
            font-weight: bold;
            display: flex;
            justify-content: center;
            align-items: center;
        }
.player {
            background: #ffffff;
            padding: 10px;
            border-radius: 15px;
            box-shadow: 0 0 15px rgba(0,0,0,0.1);
            margin: 20px auto;
            transition: border 0.3s;
        }
.player.active {
            border: 2px solid #2ecc71;
        }
        h2 {
            color: #333333;
            font-size: 1.5em;
        }
        h3 {
            color: #333333;
            font-size: 1.5em;
        }
audio {
            width: 70%;
            margin-top: 20px;
            border-radius: 5px;
        }
        button {
            background: #3498db;
            color: white;
            border: none;
            padding: 5px 10px;
            border-radius: 5px;
            cursor: pointer;
            margin: 10px 5px 0;
            font-size: 1em;
        }
        button:hover {
            background: #2980b9;
        }
button:focus {
            outline: 2px solid #3498db;
        }
        .retry-button {
            background: #e74c3c;
        }
        .retry-button:hover {
            background: #c0392b;
        }
        .loading, .error, .now-playing {
            font-size: 0.9em;
            margin-top: 10px;
        }
        .loading, .error {
            display: none;
            color: #e74c3c;
        }
        .loading.active, .error.active {
            display: flex;
            align-items: center;
            justify-content: center;
        }
.spinner {
            border: 2px solid #f3f3f3;
            border-top: 2px solid #3498db;
            border-radius: 50%;
            width: 16px;
            height: 16px;
            animation: spin 1s linear infinite;
            margin-right: 8px;
        }
        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }
.now-playing {
            color: #2ecc71;
        }
        .now-playing.paused {
            color: #7f8c8d;
        }
        .volume-control {
            margin-top: 15px;
        }
        .volume-control label {
            font-size: 0.9em;
            color: #333333;
        }
        .volume-control input {
            width: 100%;
            margin-top: 5px;
        }
@media (max-width: 600px) {
            .player {
                padding: 15px;
            }
            h2 {
                font-size: 1.2em;
            }
            button {
                padding: 8px 15px;
                font-size: 0.9em;
            }
        }
.favorite-btn {
            background: none;
            border: none;
            font-size: 1.5rem;
            color: #888;
            cursor: pointer;
        }
        .favorite-btn.favorited span {
            color: red;
        }
        #toast-container {
            position: fixed !important;
            bottom: 20px !important;
            left: 20px !important;
            z-index: 9999 !important;
            display: flex;
            flex-direction: column;
            gap: 10px;
            max-width: 300px;
            pointer-events: none;
        }
        .toast {
            background-color: #333;
            color: white;
            padding: 10px 15px;
            border-radius: 6px;
            opacity: 0;
            transform: translateX(-100%);
            transition: opacity 0.3s ease, transform 0.3s ease;
            box-shadow: 0 4px 6px rgba(0,0,0,0.3);
            pointer-events: auto;
        }
        .toast.show {
            opacity: 1;
            transform: translateX(0);
        }
        .toggle-btn {
    background: #3498db; /* Inactive button color (blue) */
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    margin: 0 5px;
    font-size: 1em;
    transition: background 0.3s;
}
.toggle-btn:hover {
    background: #2980b9; /* Darker blue on hover */
}
.toggle-btn.active {
    background: #2ecc71; /* Vibrant green for active state */
    font-weight: bold;
}
.toggle-btn:focus {
    outline: 2px solid #3498db;
}
        #no-favorites-message {
            display: none;
            text-align: center;
            color: #7f8c8d;
            font-size: 1em;
            margin: 20px auto;
            max-width: 500px;
        }
.equalizer {
  display: inline-flex;
  align-items: flex-end;
  gap: 4px;
  height: 20px;
  margin-left: 10px;
}

.equalizer span {
  width: 4px;
  height: 100%;
  background: linear-gradient(to top, #34d399, #3b82f6); /* teal to blue gradient */
  animation: equalize 0.6s infinite ease-in-out;
  transform-origin: bottom;
}

/* Stagger animation delays */
.equalizer span:nth-child(1) { animation-delay: 0s; }
.equalizer span:nth-child(2) { animation-delay: 0.1s; }
.equalizer span:nth-child(3) { animation-delay: 0.2s; }
.equalizer span:nth-child(4) { animation-delay: 0.3s; }
.equalizer span:nth-child(5) { animation-delay: 0.4s; }
.equalizer span:nth-child(6) { animation-delay: 0.5s; }
.equalizer span:nth-child(7) { animation-delay: 0.6s; }
.equalizer span:nth-child(8) { animation-delay: 0.7s; }
.equalizer span:nth-child(9) { animation-delay: 0.8s; }

.equalizer span:nth-child(10) { animation-delay: 0s; }
.equalizer span:nth-child(11) { animation-delay: 0.1s; }
.equalizer span:nth-child(12) { animation-delay: 0.2s; }
.equalizer span:nth-child(13) { animation-delay: 0.3s; }
.equalizer span:nth-child(14) { animation-delay: 0.4s; }
.equalizer span:nth-child(15) { animation-delay: 0.5s; }
.equalizer span:nth-child(16) { animation-delay: 0.6s; }
.equalizer span:nth-child(17) { animation-delay: 0.7s; }
.equalizer span:nth-child(18) { animation-delay: 0.8s; }

/* Pause the animation */
.equalizer.paused span {
  animation-play-state: paused;
}

/* Equalizer animation */
@keyframes equalize {
  0%, 100% { transform: scaleY(0.2); }
  50% { transform: scaleY(1); }
}
