/* RESET */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial, sans-serif;
}

body{
    background: linear-gradient(to bottom, #121212, black);
    color:white;
    padding-bottom:90px;
    overflow-x:hidden;
}

/* 🔥 NAVBAR */
.navbar{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:10px 20px;
    background:#000;
}

.left-nav{
    display:flex;
    align-items:center;
    gap:15px;
}

/* LOGO */
.logo{
    width:32px;
    height:32px;
    background:white;
    border-radius:50%;
}

/* HOME ICON */
.icon{
    width:40px;
    height:40px;
    background:#1a1a1a;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
}

/* SEARCH */
.search-box{
    display:flex;
    align-items:center;
    gap:10px;
    background:#1a1a1a;
    padding:8px 15px;
    border-radius:30px;
}

.search-box input{
    background:transparent;
    border:none;
    outline:none;
    color:white;
    width:250px;
}

/* NAV LINKS */
.nav-links a{
    margin:10px;
    color:#b3b3b3;
    text-decoration:none;
}

.nav-links a:hover{
    color:white;
}

/* LOGIN BUTTON */
.login{
    background:white;
    color:black;
    padding:6px 14px;
    border-radius:20px;
    font-weight:bold;
}

/* 🔥 MAIN LAYOUT */
.container{
    display:flex;
}

/* 🔥 LEFT SIDEBAR */
.left{
    width:260px;
    background:#000;
    padding:10px;
}

.library-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:10px;
}

.create-btn{
    background:#1DB954;
    border:none;
    padding:6px 12px;
    border-radius:20px;
    cursor:pointer;
    font-weight:bold;
}

/* BOXES */
.library-box{
    background:#181818;
    padding:15px;
    border-radius:10px;
    margin-top:10px;
}

.library-box h4{
    font-size:14px;
}

.library-box p{
    font-size:12px;
    color:#b3b3b3;
    margin-top:5px;
}

.library-box button{
    margin-top:10px;
    padding:6px 12px;
    border-radius:20px;
    border:none;
    font-weight:bold;
}

/* 🔥 RIGHT SIDE */
.right{
    flex:1;
    padding:20px;
}

/* SECTION */
.section{
    margin-bottom:40px;
}

.section h1{
    font-size:26px;
    margin-bottom:15px;
}

/* 🔥 CARDS */
.cardContainer{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(160px,1fr));
    gap:20px;
}

.card{
    background:#181818;
    padding:10px;
    border-radius:10px;
    cursor:pointer;
    transition:0.3s;
    min-height:200px;
}

.card:hover{
    transform:scale(1.05);
    background:#282828;
}

.card img{
    width:100%;
    height:140px;
    object-fit:cover;
    border-radius:8px;
}

.card h3{
    margin-top:10px;
    font-size:14px;
}

.card p{
    font-size:12px;
    color:#b3b3b3;
}

/* 🔥 ARTISTS */
.artistContainer{
    display:flex;
    gap:25px;
    flex-wrap:wrap;
}

.artist{
    text-align:center;
    width:120px;
}

.artist img{
    width:120px;
    height:120px;
    border-radius:50%;
    object-fit:cover;
}

.artist p{
    margin-top:8px;
    font-size:13px;
}

/* 🔥 PLAYER */
.player{
    position:fixed;
    bottom:0;
    width:100%;
    background:#181818;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:10px 20px;
}

.song-info{
    display:flex;
    gap:10px;
    align-items:center;
}

.song-info img{
    width:60px;
    height:60px;
    object-fit:cover;
    border-radius:8px;
}

#progress{
    width:30%;
}

/* 🔥 MOBILE */
@media (max-width:768px){

    .container{
        flex-direction:column;
    }

    .left{
        width:100%;
    }

    .search-box input{
        width:150px;
    }

    #progress{
        width:100%;
    }

    .player{
        flex-direction:column;
        gap:10px;
    }
}