/* GLOBAL */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial;
}

body {
    background: #0f0f0f;
    color: white;
    display: flex;
}

/* SIDEBAR */
.sidebar {
    width: 300px;
    height: 100vh;
    background: #000;
    padding: 25px;
}

.menu a {
    display: block;
    padding: 15px 10px;
    font-size: 18px;
    color: #dcdcdc;
    border-radius: 8px;
}

.menu a.active {
    background: #242424;
    color: white;
}

.menu a:hover {
    background: #1b1b1b;
}

.library-section {
    margin-top: 30px;
}

.lib-head {
    font-size: 18px;
    opacity: 0.8;
    margin-bottom: 18px;
}

.lib-box {
    background: #1e1e1e;
    padding: 18px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.lib-box h4 {
    font-size: 17px;
    margin-bottom: 8px;
}

.lib-box p {
    opacity: 0.7;
    font-size: 14px;
    margin-bottom: 10px;
}

.lib-box button {
    padding: 8px 18px;
    border-radius: 30px;
    background: #fff;
    color: #000;
    border: none;
    cursor: pointer;
}

/* MAIN CONTENT */
.content {
    padding: 30px;
    width: 100%;
}

.top-right {
    position: absolute;
    right: 40px;
    top: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.top-right button {
    padding: 10px 20px;
    border-radius: 30px;
    border: none;
    font-weight: bold;
}

.premium {
    background: #fff;
    color: #000;
}

.install {
    background: #131313;
    border: 1px solid #fff;
    color: #fff;
}

.user-icon {
    font-size: 22px;
}

.arrows {
    margin-top: 20px;
    font-size: 25px;
    display: flex;
    gap: 20px;
}

/* Recently Played */
.section-title {
    font-size: 26px;
    margin-top: 25px;
    margin-bottom: 20px;
}

.music-card {
    width: 160px;
    background: #1d1d1d;
    padding: 12px;
    border-radius: 12px;
}

.music-card img {
    width: 100%;
    border-radius: 8px;
}

.main-text {
    margin-top: 10px;
    font-weight: bold;
}

.sub-text {
    font-size: 13px;
    opacity: 0.7;
}

/* Trending Section */
.trend-row {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

/* .trend-card {
    width: 150px;
    height: 200px;
    background: #333;
    border-radius: 12px;
} */





.trend-card {
    width: 160px;
    background: #1d1d1d;
    padding: 12px;
    border-radius: 12px;
}

.trend-card img {
    height: 11rem;
    width: 100%;
    border-radius: 8px;
}
/* 
.thumb {
    width: 100%;
    height: 100%;
    background: #2e2e2e;
    border-radius: 12px;
} */




/* MUSIC PLAYER BASE */
.music-player {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 90px;
    background: #181818;
    border-top: 1px solid #333;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    box-sizing: border-box;
    color: white;
    font-family: Arial, sans-serif;
}

/* LEFT SECTION */
.player-left {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 25%;
}

.song-img {
    width: 60px;
    height: 60px;
    border-radius: 4px;
}

.song-info h4 {
    margin: 0;
    font-size: 15px;
}

.song-info p {
    margin: 0;
    font-size: 13px;
    color: #bbb;
}

/* CENTER SECTION */
.player-center {
    width: 50%;
    text-align: center;
}

.controls button {
    background: none;
    border: none;
    color: white;
    font-size: 22px;
    margin: 0 12px;
    cursor: pointer;
    transition: 0.2s;
}

.controls button:hover {
    color: #1db954; /* Spotify green */
}

.play {
    font-size: 28px;
}

/* Progress bar */
.progress-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
}

.progress-bar {
    width: 60%;
    cursor: pointer;
}

/* RIGHT SECTION */
.player-right {
    width: 25%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.volume-bar {
    width: 120px;
    cursor: pointer;
}



