* {
    margin: 0;
    padding: 0;
    font-family: SpotifyMixUI, CircularSp-Arab, CircularSp-Hebr, CircularSp-Cyrl, CircularSp-Grek, CircularSp-Deva, "Helvetica Neue", helvetica, arial, "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, "MS Gothic";
    font-size: 14px;
}


body {
    background-color: #000000;
    width:100%;
    overflow-x: hidden;
}
/*  utility */
.border {
    border: 2px solid #ff0000;
    margin: 3px;
}

.bg-black {
    background-color: rgb(0, 0, 0);
    color: white;
}

.invert {
    filter: invert(100%);
}

.bg-grey {
    background-color: #1d1d1d;
}

.line {
    border: 0.5px solid #8c8c8c;
    height: 22px;
}

.flex {
    display: flex;
}

/* notification  panel  start*/
/* ################################################################## */
.navigation-panel {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    padding: 6px;
    background-color: rgb(0, 0, 0);
    color: white;
    height: 55px;
    width: 99%;
}

.nav-left-section {
    display: flex;
    align-items: center;
    gap: 5px;
}

.hamburger-btn {
    display: none;
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 50%;
    background-color: #1d1d1d;
    color: #ffffff;
    font-size: 20px;
    cursor: pointer;
}

.close-sidebar-btn {
    display: none;
    position: absolute;
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 50%;
    background: #2a2a2a;
    color: #ffffff;
    cursor: pointer;
    font-size: 16px;
}

.sidebar-overlay {
    display: none;
}

.spotify-logo {
    padding: 0px 20px 0px 22px;
}

.grey-icon {
    width: 22px;
    filter: invert(75%);
}

.home-icon {
    width: 22px;
    filter: invert(100%);
}
.home-button {
    display: flex;
    align-items: center;
    padding: 12px;
    border-radius: 100%;
    margin: 2px;
}
.home-button:hover {
    background-color:#313131;
    padding: 13px 13px;
}

.search-box {
    display: flex;
    height: 28px;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    border-radius: 30px;
    max-width: 450px;
}
.search-box:hover {
    background-color:#313131;
    padding: 11px 17px;
}
.search-input {
    background: transparent;
    border: none;
    outline: none;
    color: white;
    width: 400px;
}

.search-input::placeholder {
    color: #b3b3b3;
    font-size: 16px;
}

.nav-divider {
    border-left: 0.5px solid #fffcfc;
    height: 25px;
    margin: auto 40px auto 20px;
}

.nav-right-section {
    display: flex;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: #8c8c8c;
    margin: 3px;
    font-size: 16px;
    font-weight: 600;
}
.nav-link:hover {
    color: white;
    font-size: 16.5px;
}
.btn {
    padding: 8px 20px 10px 0px;
    border: none;
    color: #8c8c8c;
    background-color: transparent;
    font-weight: bold;
    cursor: pointer;
    font-size: 14px;
}
.btn:hover {
    color: white;
    font-size: 14.5px;
}
.btn-log {
    background-color: white;
    color: black;
    border-radius: 20px;
    height: 50px;
    border-radius: 30px;
    width: 110px;
    font-size: 16px;
    font-weight: 780;
    padding: 0px 10px;
}
.btn-log:hover {
    background-color: #e0e0e0;
    color: rgb(0, 0, 0);
    height: 52px;
    width: 112px;
    font-size: 16px;
  
}

/* notification  panel end */
/* ################################################################## */

/* left container start */
/* ################################################################## */
.left {
    margin: 0px 8px 0px 8px;
    width: 25vw;
    min-height: 80vh;
    padding: 14px;
    border-radius: 10px;
    background-color: #141414;
    min-width: 350px;
}

.library {
    display: flex;
    justify-content:space-between;
    padding-bottom: 40px;
    align-items: center;
}

.library div {
    font-size: 16px;
    font-weight: 550;
    padding: 10px 0px;
}

.btn-create {
    display: flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: 30px;
    color: #ffffff;
    border: none;
    cursor: pointer;
    font-weight: 600;
    height: 30px;
}
.btn-create.bg-grey:hover {
    background-color:#313131;}
.btn-create:hover {
    background-color:#c5c5c5;
     transform: scale(1.04);
       
}

.playlist-container {
    height: 140px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.text-1 {
    padding: 15px 3px 3px 20px;
    font-size: 16px;
    font-weight: 700;
}

.text-2 {
    padding: 15px 3px 3px 20px;
    font-size: 14px;
}
.middle-box {
    height: 10vh;
   
    top: 0;
    text-align: center;
}
.footer {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}


.footer a {
    text-decoration: none;
    color: #8c8c8c;
   font-size: 12px;
    padding: 5px;
}
.footer-bottom a{
       text-decoration: none;
    color: #ffffff;
    padding-top: 0px;
    padding: auto;
}
.btn-lang{
    border: 1px solid #8c8c8c;

    margin: 0;
}
.btn-lang:hover{
    background-color: transparent;
    border: solid white;
    color: white;
}

/* left container ends */
/* ################################################################## */
/* right  container starts */
/* ################################################################## */



.right {
    width: 75vw;
    margin: 0px 8px 0px 0px;
    min-height: 80vh;
    padding: 14px;
    color: white;
    border-radius: 10px;
    background-color: #141414;
    position: relative;
}
/*trending section start */
.trending{
    padding: 10px 20px 20px 20px;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none; /* Firefox */
}
.trending::-webkit-scrollbar {
  display: none; /* Chrome/Edge */
}

.right h1{
    font-size: 22px;
    font-weight: 800;
    padding: 10px 0px 0px 30px;
}
.card-container {
   width: 180px;
   min-width: 180px;
   height: auto;
   display: flex;
   justify-content: center;
   border-radius: 10px;
   padding: 2px;
}
.card-container:hover{
    background-color:#1d1d1d
}

.card {
    width: 100%;
    text-align: center;
}
.card-container a{
    text-decoration: none;
}
.card-image {
    position: relative;
    width: 150px;
    margin: 0 auto;
    border-radius: 10px;
    overflow: hidden;
}
.card img {
    width: 100%;
    border-radius: 10px;
    padding-top: 0;
    display: block;
}
.card h2 {
    font-size: 16px;
    font-weight: 600;
    padding: 10px 0px 5px 0px;
    color: #ffffff;
}
.card h2 a {
    color: #ffffff;
}

.card p {
    text-align: center;
    line-height: 1.25;
}
.card p a {
    display: inline;
    color: #8c8c8c;
}
.playbutton {
    position: absolute;
    width: 62px;
    height: 62px;
    background-color: #1ed760;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    right: 8px;
    bottom: 8px;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
    pointer-events: none;
}
.playbutton::before {
    content: "";
    width: 0;
    height: 0;
    border-top: 9px solid transparent;
    border-bottom: 9px solid transparent;
    border-left: 14px solid #000;
    margin-left: 3px;
}
.card-container:hover .playbutton {
    opacity: 1;
    transform: translateY(0);
}

/*trending section end */
/* ################################################################## 
popular section start */
.artist-card img {
    width: 100%;
    border-radius: 50%;
    padding-top: 0;
    display: block;
}
.artist-card h2{
text-align: left;
}
.artist-card p {
text-align: left;
}  


/*popular section end */
/* ################################################################## */ 
/* responsive design start */
@media (max-width: 800px) {
    .navigation-panel {
        width: 100%;
        height: auto;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        padding: 10px 12px;
        box-sizing: border-box;
    }

    .nav-left-section,
    .nav-right-section {
        width: 100%;
    }

    .nav-left-section {
        gap: 8px;
    }

    .hamburger-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 auto;
    }

    .search-box {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .search-input {
        width: 100%;
    }

    .nav-right-section {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 8px 12px;
        justify-content: flex-end;
    }

    .nav-right-left {
        display: flex;
        flex-wrap: wrap;
        gap: 8px 14px;
        flex: 1 1 100%;
    }

    .nav-link {
        margin: 0;
        font-size: 14px;
    }

    .nav-divider {
        display: none;
    }

    .btn {
        padding: 6px 10px;
    }

    .btn-log {
        width: auto;
        min-width: 88px;
        height: 38px;
        padding: 0 14px;
        font-size: 14px;
    }

    .nav-right-section .nav-link,
    .nav-right-section > .grey-icon,
    .nav-right-section > .btn:not(.btn-log) {
        display: none;
    }

    .container.flex {
        flex-direction: column;
    }

    .left {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: min(84vw, 330px);
        min-width: 0;
        margin: 0;
        padding: 12px;
        padding-top: 56px;
        border-radius: 0 12px 12px 0;
        z-index: 1000;
        transform: translateX(-105%);
        transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.34s ease;
        overflow-y: auto;
        will-change: transform;
    }

    .left.open {
        transform: translateX(0);
        box-shadow: 0 14px 40px rgba(0, 0, 0, 0.55);
    }

    .right {
        width: auto;
        height: auto;
        margin: 8px;
        padding: 12px 10px 120px 10px;
    }

    .close-sidebar-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        top: 10px;
        right: 10px;
        z-index: 2;
    }

    .sidebar-overlay {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.52);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.28s ease, visibility 0.28s ease;
        z-index: 900;
    }

    .sidebar-overlay.show {
        opacity: 1;
        visibility: visible;
    }

    .trending {
        padding: 10px;
    }

    .card-container {
        min-width: 140px;
        width: 140px;
    }

    .playbar {
        width: calc(100vw - 16px);
        left: 8px;
        right: 8px;
        bottom: 8px;
        border-radius: 16px;
        z-index: 850;
    }

    .abovebar {
        gap: 8px;
        padding: 10px 10px 14px 10px;
    }

    .song-info,
    .song-time {
        width: 32%;
        font-size: 12px;
    }

    .abovebar .song-button {
        width: 36%;
        gap: 10px;
    }

    .seekbar {
        width: calc(100% - 20px);
        bottom: 10px;
    }

    .right-footer {
        margin: 20px 12px 130px 12px;
    }

    .right-footer-links {
        gap: 18px;
    }

    .footer-col {
        min-width: 130px;
    }

    .footer-col a {
        font-size: 14px;
    }

    .songlist ul {
        margin-left: 0;
        padding-left: 0;
    }

    .songlist ul li {
        margin: 8px 2px;
        padding: 10px;
        gap: 10px;
        height: auto;
        min-height: 48px;
    }

    .info {
        width: auto;
        height: auto;
        flex: 1;
        min-width: 0;
    }

    .info div {
        font-size: 14px;
        line-height: 1.2;
    }

    .play-now {
        min-width: 68px;
        text-align: right;
    }

    .play-now span {
        font-size: 12px;
        line-height: 1.1;
    }
}
/* responsive design end */
  


/*playbar start */
.playbar{
    position: fixed;
    bottom: 15px;
    width: 70vw;
    background-color: #1ed760;
    justify-content: center;
    body { overflow-x: hidden; }
    border-radius: 20px;
}
.song-button{
    justify-content: center;
    padding: 10px;
    gap:12px;
}
.made-for-you{
   height: 410px;
   overflow:auto;
   scrollbar-width: none;
}
.songlist ul {

    margin-left: 5px;
    justify-content: center;
    align-items: center;
}
.songlist ul li {
    list-style: decimal-leading-zero;
    padding: 0px 5px;
    gap: 22px;
    cursor: pointer;
    padding: 12px;
    border: 2px solid rgb(255, 255, 255);
   margin: 10px 12px 10px -10px;
   display: flex;
   border-radius: 10px;
   align-items: center;
   justify-content: space-between;
    height: 30px;
}
.info{ 
    width: 180px;
    height: 20px;
    flex-wrap: wrap;
}

.songlist ul li > img,
.songlist ul li .play-now img {
    filter: invert(74%) sepia(55%) saturate(747%) hue-rotate(87deg) brightness(91%) contrast(88%);
}
.songlist ul li .play-now {
    color: #1ed760;
}
.seekbar{
    border: 2px solid rgb(255, 255, 255);
    width: calc(100% - 32px);
    height: 0px;
    margin: 0;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 13px;
    border-radius: 10px;
    cursor: pointer;
   
}

   .circle{
    width: 10px;
    padding: 0px;
    border: 4px solid #000000;
    position: relative;
    height: 10px;
    bottom: 10px;
    border-radius: 50%;
    background-color: #1ed760;
    transition: left 0.12s linear;
   }
.abovebar{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 10px 16px 16px 16px;
}
.song-button{
    cursor: pointer;
}
.song-info,
.song-time{
    width: 30%;
    white-space: nowrap; 
}
.song-time{
    text-align: right;
}
.song-info{
    overflow: hidden;
    text-overflow: ellipsis;
}
.abovebar .song-button{
    width: 40%;
    justify-content: center;
}

.right-footer {
    margin: 20px 30px 150px 30px;
    color: #b3b3b3;
}

.right-footer-links {
    display: flex;
    gap: 70px;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 170px;
}

.footer-col h3 {
    color: #ffffff;
    font-size: 16px;
    margin: 0;
}

.footer-col a {
    color: #b3b3b3;
    text-decoration: none;
    font-size: 16px;
}

.footer-col a:hover {
    color: #ffffff;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #2a2a2a;
    color: #ffffff;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.footer-social a:hover {
    background: #3a3a3a;
}

.right-footer-line {
    border-top: 1px solid #2f2f2f;
    margin: 28px 0;
}

.right-footer-copy {
    color: #8c8c8c;
    font-size: 14px;
}
