* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%);
    color: #fff;
    height: 100vh;
    overflow: hidden;
}

.container {
    display: flex;
    height: 100vh;
}

.sidebar {
    width: 320px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    border-right: 1px solid #333;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.sidebar h2 {
    padding: 20px;
    font-size: 1.5rem;
    border-bottom: 1px solid #333;
}

.search-box {
    padding: 15px;
}

.search-box input {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 20px;
    background: #2a2a2a;
    color: #fff;
    font-size: 0.9rem;
    outline: none;
}

.search-box input:focus {
    background: #333;
}

.track-list {
    flex: 1;
    overflow-y: auto;
    padding: 10px;
}

.track-item {
    display: flex;
    align-items: center;
    padding: 12px;
    margin: 4px 0;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s;
}

.track-item:hover {
    background: #2a2a2a;
}

.track-item.active {
    background: #1db954;
    color: #000;
}

.track-icon {
    font-size: 1.2rem;
    margin-right: 12px;
}

.track-info {
    flex: 1;
    overflow: hidden;
}

.track-title {
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.track-artist {
    font-size: 0.8rem;
    opacity: 0.7;
}

.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    padding: 20px;
}

.now-playing {
    display: flex;
    align-items: center;
    background: #282828;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.cover-placeholder {
    width: 80px;
    height: 80px;
    background: #1db954;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin-right: 20px;
}

.track-info h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.player-controls {
    margin-bottom: 20px;
}

audio {
    background: #2a2a2a;
    border-radius: 30px;
}

.lyrics-container {
    background: #1e1e1e;
    border-radius: 12px;
    padding: 20px;
    flex: 1;
    overflow-y: auto;
}

.lyrics-display {
    font-family: monospace;
    white-space: pre-wrap;
    line-height: 1.5;
    font-size: 0.9rem;
    color: #ddd;
}

.lyrics-display .placeholder {
    color: #666;
    text-align: center;
    padding: 40px;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: #444;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}
