@keyframes gradientAnimation {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
} 
body {
    font-family: 'Courier New', monospace;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    background: linear-gradient(-45deg, #f0f813, #e73c7e, #23a6d5, #23d5ab);
    background-size: 400% 400%;
    animation: gradientAnimation 15s ease infinite;
}
#player {
    width: 320px;
    background-color: rgba(224, 224, 224, 0.9);
    border: 2px solid #000;
    box-shadow: 5px 5px 0px rgba(0, 0, 0, 0.5);
}
#header {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 5px;
    border-bottom: 2px solid #000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
#close-button {
    width: 15px;
    height: 15px;
    background-color: #000;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 12px;
}
#title {
    font-weight: bold;
    font-size: 14px;
}
#visitor-count {
    position: absolute;
    top: 5px;
    right: 5px;
    background-color: #000;
    color: #fff;
    padding: 2px 5px;
    font-size: 14px;
    border: 1px solid #fff;
}
#progress-bar {
    height: 20px;
    background-color: #000;
    margin: 10px;
    border: 2px solid #000;
    box-sizing: border-box;
}
#channel-select {
    width: calc(100% - 20px);
    margin: 10px;
    padding: 5px;
    font-family: 'Courier New', monospace;
    background-color: rgba(255, 255, 255, 0.9);
    border: 2px solid #000;
    font-size: 14px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3E%3Cpath d='M0 2l4 4 4-4' fill='%23000000'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    cursor: pointer;
}
#channel-select:focus {
    outline: none;
    box-shadow: 0 0 0 2px #000;
}
#track-info {
    padding: 10px;
    font-size: 14px;
    height: 80px;
    overflow: hidden;
}
#time {
    font-size: 12px;
    margin-bottom: 5px;
}
#track-name, #artist {
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
#track-name {
    font-weight: bold;
    margin-bottom: 5px;
}
#controls {
    display: flex;
    justify-content: space-between;
    padding: 10px;
}
.control-btn {
    width: 60px;
    height: 30px;
    background-color: rgba(255, 255, 255, 0.9);
    border: 2px solid #000;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 14px;
    transition: background-color 0.3s, color 0.3s;
}

.control-btn.active {
    background-color: #000;
    color: #fff;
}

#volume-control {
    display: flex;
    align-items: center;
    padding: 10px;
    border-top: 2px solid #000;
}
#volume-label {
    font-size: 14px;
    margin-right: 10px;
}
#volume-slider {
    flex-grow: 1;
    -webkit-appearance: none;
    width: 100%;
    height: 20px;
    background: #000;
    outline: none;
    border: 2px solid #000;
    box-sizing: border-box;
}
#volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: #fff;
    cursor: pointer;
    border: 2px solid #000;
    box-sizing: border-box;
}
#volume-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: #fff;
    cursor: pointer;
    border: 2px solid #000;
    box-sizing: border-box;
}
#footer {
    text-align: center;
    padding: 10px;
    font-size: 12px;
    border-top: 2px solid #000;
}

#footer a {
    color: #000;
    text-decoration: none;
}

#footer a:hover {
    text-decoration: underline;
}
#site-footer {
    position: absolute;
    bottom: 10px;
    font-size: 12px;
    color: black;
}

#site-footer a {
    color: black;
    text-decoration: none;
}

#site-footer a:hover {
    text-decoration: underline;
}