body {
    background-color: #1e1e1e;
    color: #e0e0e0;
    font-family: Arial, sans-serif;
    margin: 0;
    min-height: 100vh;
}

.top-banner {
    width: 100vw;
    min-width: 320px;
    background: linear-gradient(90deg, #8703ea 60%, #b065f8 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    padding: 14px 0;
    box-shadow: 0 2px 12px #0002;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
}

.banner-link {
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    font-size: 1.08rem;
    letter-spacing: 0.5px;
    padding: 7px 18px;
    border-radius: 6px;
    transition: background 0.18s, color 0.18s;
}

.banner-link:hover {
    background: #fff2;
    color: #ffe083;
    text-decoration: none;
}

.container {
    max-width: 800px;
    width: 100%;
    margin: 70px auto 0 auto;
    background: #232323;
    border-radius: 14px;
    padding: 34px 28px 20px 28px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.14);
}

h1 {
    text-align: center;
    color: #ceadff;
    margin-bottom: 34px;
}

.library-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 8px;
}

.song-card {
    display: flex;
    align-items: center;
    background: #292929;
    border-radius: 10px;
    box-shadow: 0 2px 16px #1a162066;
    padding: 18px 26px;
    gap: 30px;
    transition: box-shadow 0.18s;
}

.song-card:hover {
    box-shadow: 0 6px 28px #7539b233;
    background: #32294a;
}

.song-cover {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 9px;
    box-shadow: 0 2px 10px #1700331a;
    background: #2d1d37;
    flex-shrink: 0;
}

.song-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
    min-width: 0;
}

.song-title {
    font-size: 1.12rem;
    color: #d0bfff;
    font-weight: 600;
    margin-bottom: 2px;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.song-artist {
    font-size: 1rem;
    color: #e0e0e0;
    margin-bottom: 1px;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.song-album {
    font-size: .98rem;
    color: #bb9cfb;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.download-btn {
    background: linear-gradient(90deg, #8703ea 60%, #b065f8 100%);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 11px 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    margin-left: 16px;
    transition: background 0.18s;
    box-shadow: 0 2px 10px #2e2e2e3a;
    flex-shrink: 0;
}
.download-btn:hover {
    background: linear-gradient(90deg, #b065f8 60%, #8703ea 100%);
}

/* Responsive tweaks */
@media (max-width: 600px) {
    .song-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        padding: 16px 12px;
    }
    .download-btn {
        margin-left: 0;
        width: 100%;
    }
    .song-cover {
        width: 100%;
        height: auto;
        max-width: 200px;
        margin-bottom: 8px;
    }
}

#search-bar {
    border: 1.5px solid #36324a;
    background: #1a1824;
    color: #e0e0e0;
    border-radius: 7px;
    padding: 10px 14px;
    font-size: 1.08rem;
    transition: border-color 0.18s, background 0.18s;
}
#search-bar:focus {
    border-color: #a68cff;
    background: #221b36;
    color: #fff;
    outline: none;
}
