* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #ffffff;
    color: #333;
}

.container {
    display: flex;
    height: 100vh;
}

.sidebar {
    width: 300px;
    background-color: #f5f5f5;
    padding: 20px;
    display: flex;
    flex-direction: column;
    border-right: 1px solid #eaeaea;
}

.controls {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.playlist {
    flex-grow: 1;
    overflow-y: auto;
}

.playlist-item {
    padding: 10px;
    margin: 5px 0;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.playlist-item:hover {
    background-color: #eaeaea;
}

.playlist-item.active {
    background-color: #ff000015;
    color: #ff0000;
}

.main-player {
    flex-grow: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.song-info {
    width: 100%;
    max-width: 600px;
    margin-bottom: 40px;
    overflow: hidden;
}

.marquee {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
}

.marquee span {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 15s linear infinite;
}

@keyframes marquee {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-100%, 0); }
}

.player-controls {
    width: 100%;
    max-width: 600px;
}

.seek-bar {
    width: 100%;
    margin-bottom: 20px;
}

.seek-bar input[type="range"] {
    width: 100%;
    margin-bottom: 10px;
}

.time {
    display: flex;
    justify-content: space-between;
    font-size: 0.9em;
    color: #666;
}

.control-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.control-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2em;
    color: #333;
    transition: all 0.3s ease;
}

.control-btn:hover {
    color: #ff0000;
}

.control-btn.active {
    color: #ff0000;
}

.play-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #ff0000;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2em;
}

.play-btn:hover {
    background-color: #e60000;
    color: white;
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 10px;
}

.volume-control input[type="range"] {
    width: 100px;
}

input[type="range"] {
    -webkit-appearance: none;
    height: 5px;
    background: #eaeaea;
    border-radius: 5px;
    background-image: linear-gradient(#ff0000, #ff0000);
    background-repeat: no-repeat;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #ff0000;
    cursor: pointer;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}