body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 20px;
    background-color: #121212;
    color: #ffffff;
}

.container {
    max-width: 800px;
    margin: 0 auto;
}

h1 {
    text-align: center;
    color: #1DB954;
    margin-bottom: 30px;
}

.search-bar {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
}

input {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 25px;
    background-color: #282828;
    color: white;
    font-size: 16px;
}

button {
    padding: 12px 24px;
    border: none;
    border-radius: 25px;
    background-color: #1DB954;
    color: white;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #1ed760;
}

.track-item {
    display: flex;
    gap: 20px;
    background-color: #282828;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    transition: transform 0.2s;
}

.track-item:hover {
    transform: translateX(10px);
}

.track-item img {
    width: 120px;
    height: 120px;
    border-radius: 4px;
}

.track-info {
    flex: 1;
}

.track-info h3 {
    margin: 0 0 8px 0;
    color: #ffffff;
}

.artist {
    color: #1DB954;
    margin: 0 0 5px 0;
}

.album {
    color: #b3b3b3;
    margin: 0 0 10px 0;
}

.spotify-link {
    display: inline-block;
    padding: 8px 16px;
    background-color: #1DB954;
    color: white;
    text-decoration: none;
    border-radius: 20px;
    font-size: 14px;
}

.error {
    color: #ff4444;
    text-align: center;
}

.no-results {
    text-align: center;
    color: #b3b3b3;
}

.lyrics-container {
    margin-top: 20px;
    padding: 20px;
    background-color: #282828;
    border-radius: 8px;
    display: none;
}

.lyrics-container:not(:empty) {
    display: block;
}

.lyrics-content {
    color: #ffffff;
}

.lyrics-content h2 {
    color: #1DB954;
    margin-bottom: 15px;
}

.lyrics-content pre {
    white-space: pre-wrap;
    font-family: inherit;
    line-height: 1.6;
    color: #b3b3b3;
}

.loading {
    color: #1DB954;
    text-align: center;
}

.error {
    color: #ff4444;
    text-align: center;
}

.track-buttons {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.lyrics-btn {
    padding: 8px 16px;
    background-color: #282828;
    border: 1px solid #1DB954;
    color: #1DB954;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;
}

.lyrics-btn:hover {
    background-color: #1DB954;
    color: white;
}

.lyrics-container {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    max-height: 50vh;
    background-color: #282828;
    padding: 20px;
    border-top: 2px solid #1DB954;
    overflow-y: auto;
    display: none;
    z-index: 1000;
}

.lyrics-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.close-btn {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 24px;
    cursor: pointer;
    padding: 5px 10px;
}

.close-btn:hover {
    color: #1DB954;
}

.lyrics-source {
    text-align: right;
    font-size: 12px;
    color: #808080;
    margin-top: 10px;
    font-style: italic;
}