@import url('https://fonts.googleapis.com/css2?family=Agdasima&family=Lora&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Agdasima&family=Lora&display=swap');

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Agdasima', sans-serif;
    font-family: 'Lora', serif;
    scroll-behavior: smooth;
}
h1 {
    font-family: "Monaco", monospace;
}
body{
    font-family: 'Poppins', sans-serif;
    width: 100%;
    height: 100vh;
    /*background: #121213;*/
    display: grid;
    place-items: center;
    /*background : linear-gradient(37deg, #564A83, #80378e, #564A71);*/
    background : linear-gradient(37deg, #261a50, #3f1647, #2b1a54);
    padding-bottom: 120px;
    box-sizing: border-box;
}
container{
    width: 100%;
    height: calc(100vh - 120px); /* Full height minus music player height (100px + padding) */
    /*border: 1px solid #fff;*/
    display: flex;
    flex-wrap: wrap;
    overflow: auto; /* Allow scrolling */
    margin-bottom: 120px; /* Space for the fixed music player */
}
container .menu_side{
    width: 25%;
    height: 100%; /* Use full container height */
    overflow-y: auto; /* Allow individual vertical scrolling */
    overflow-x: hidden; /* Prevent horizontal scroll */
    /*border: 1px solid #fff;*/
    /*background: #111727;*/
    box-shadow: 5px 0px 2px #516396;
    color: #fff;
}
.song_side{
    width: 75%;
    height: 100%; /* Use full container height */
    overflow-y: auto; /* Allow individual vertical scrolling */
    overflow-x: hidden; /* Prevent horizontal scroll */
    /* background: #0b1320; */
    color: #fff;
}
.master_play{
    width: 100%;
    height: 10%;
    /*border: 1px solid #fff;*/
    /* background: #111727; */
    box-shadow: 0px 3px 8px #516396;
}
container .menu_side h1{
    font-size: 20px;
    margin: 15px 0px 0px 20px;
    font-weight: 500;
}
container .menu_side .playlist{
    margin: 40px 0px 0px 20px;
}
container .menu_side .playlist h4{
    font-size: 14px;
    font-weight: 400;
    padding-bottom: 10px;
    color: #4c5262;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: .3s linear;
}
container .menu_side .playlist h4:hover {
    color: #fff;
}
container .menu_side .playlist h4 span {
    position: relative;
    margin-right: 35px;
}
container .menu_side .playlist h4 span::before {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    border: 2px solid #4c5262;
    border-radius: 50%;
    top: -4px;
    transition: .3s linear;
}
container .menu_side .playlist h4:hover span::before {
    border: 2px solid #fff;
}
container .menu_side .playlist h4 .bi {
    display: none;
}
container .menu_side .playlist .active {
    color: #36e2ec;
}
container .menu_side .playlist .active span {
    display: none;
}
container .menu_side .playlist .active .bi {
    display: flex;
    margin-right: 20px;
}
container .menu_side .menu_song {
    width: 100%;
    height: calc(100vh - 280px); /* Dynamic height: full viewport minus header, playlist section, and music player */
    /*border: 1px solid #fff;*/
    margin-top: 40px;
    overflow-y: auto; /* Allow scrolling within menu_song */
    overflow-x: hidden; /* Prevent horizontal scroll */
}
container .menu_side .menu_song li{
    position: relative;
    list-style-type: none;
    padding: 5px 0px 5px 20px;
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    cursor: pointer;
    transition: .3s linear;
}
container .menu_side .menu_song li:hover{
    background: rgb(105, 105, 170,.1);
}
container .menu_side .menu_song li span{
    font-size: 12px;
    font-weight: 600;
    color: #4c5262;
}
container .menu_side .menu_song li img{
    width: 32px;
    height: 32px;
    margin-left: 25px;
}
container .menu_side .menu_song li h5{
    font-size: 11px;
    margin-left: 15px;
}
container .menu_side .menu_song li h5 .subtitle{
    font-size: 9px;
    color: #4c5262;
}
container .menu_side .menu_song li .bi{
    position: absolute;
    right: 15px;
    top: 6px;
    font-size: 16px;
}
.master_play{
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 25px 30px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 0;
    border-top: 2px solid rgba(255, 255, 255, 0.3);
    border-left: none;
    border-right: none;
    border-bottom: none;
    gap: 25px;
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.1);
    min-height: 100px;
    z-index: 1000;
}
.master_play .wave{
    width: 45px;
    height: 45px;
    padding-bottom: 8px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    margin-right: 20px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.master_play .wave .wave1{
    width: 3px;
    height: 10px;
    margin-right: 3px;
    border-radius: 10px 10px 0px 0px;
    background: #36e2ec;
    animation: unset;
    transition: all 0.3s ease;
}
.master_play .wave .wave1:nth-child(2){
    height: 13px;
}
.master_play .wave .wave1:nth-child(3){
    height: 8px;
}
.master_play .active1 .wave1{
    animation: wave 0.6s ease-in-out infinite;
}
.master_play .active1 .wave1:nth-child(2){
    animation-delay: 0.2s;
}
.master_play .active1 .wave1:nth-child(3){
    animation-delay: 0.4s;
}

@keyframes wave {
    0%, 100%{
        height: 10px;
        background: #36e2ec;
    }
    25%{
        height: 18px;
        background: #4ef5ff;
    }
    50%{
        height: 25px;
        background: #36e2ec;
    }
    75%{
        height: 15px;
        background: #4ef5ff;
    }
}


.master_play img {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    margin-right: 15px;
}
.master_play h5 {
    width: 160px;
    font-size: 15px;
    margin-left: 0px;
    color: #2a2a2a;
    line-height: 20px;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.master_play h5 .subtitle{
    font-size: 12px;
    color: rgba(42, 42, 42, 0.7);
    font-weight: 400;
    margin-top: 2px;
}
.master_play .icons{
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 22px;
    color: #2a2a2a;
    margin: 0px 25px;
}
.master_play .icons .bi{
    cursor: pointer;
    outline: none;
    transition: all 0.3s ease;
    padding: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.master_play .icons .bi:hover{
    background: rgba(255, 255, 255, 0.5);
    transform: scale(1.15);
    color: #36e2ec;
    border-color: rgba(54, 226, 236, 0.6);
    box-shadow: 0 4px 12px rgba(54, 226, 236, 0.3);
}
.master_play .icons #masterPlay{
    font-size: 26px;
    background: linear-gradient(135deg, #36e2ec, #2bc5ce);
    color: #fff;
    padding: 14px;
    border: 2px solid #36e2ec;
    box-shadow: 0 6px 20px rgba(54, 226, 236, 0.4);
}
.master_play .icons #masterPlay:hover{
    background: linear-gradient(135deg, #2bc5ce, #1fa8b1);
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(54, 226, 236, 0.6);
}
.master_play span{
    color: #2a2a2a;
    width: 45px;
    font-size: 13px;
    font-weight: 500;
    text-align: center;
    letter-spacing: 0.5px;
}
.master_play .currentStart{
    margin-right: 15px;
}
.master_play .currentEnd{
    margin-left: 15px;
}
.master_play .bar{
    position: relative;
    width: 320px;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    margin: 0px 8px;
    cursor: pointer;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}
.master_play .bar .bar2{
    position: absolute;
    background: linear-gradient(90deg, #36e2ec, #4ef5ff);
    width: 0%;
    height: 100%;
    top: 0;
    border-radius: 3px;
    box-shadow: 0 2px 8px rgba(54, 226, 236, 0.4);
}
.master_play .bar .dot{
    position: absolute;
    width: 12px;
    height: 12px;
    background: #36e2ec;
    border-radius: 50%;
    left: 0%;
    top: -3px;
    transition: 1s linear;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(54, 226, 236, 0.6);
}
.master_play .bar .dot::before{
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    border: 2px solid #36e2ec;
    border-radius: 50%;
    left: -5px;
    top: -5px;
    box-shadow: inset 0px 0px 6px #36e2ec;
    opacity: 0.8;
}
.master_play .bar input{
    position: absolute;
    width: 100%;
    top: -6px;
    left: 0;
    cursor: pointer;
    z-index: 99999999;
    transition: 3s linear;
    opacity: 0;
}
.master_play .vol{
    position: relative;
    width: 130px;
    height: 6px;
    margin-left: 25px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
    display: flex;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.master_play .vol .bi{
    position: absolute;
    color: #2a2a2a;
    font-size: 20px;
    top: -8px;
    left: -25px;
    cursor: pointer;
}
.master_play .vol input{
    position: absolute;
    width: 100%;
    top: -10px;
    left: 0;
    cursor: pointer;
    z-index: 99999999;
    transition: 3s linear;
    opacity: 0;
}
.master_play .vol .vol_bar{
    position: absolute;
    background: #36e2ec;
    width: 0%;
    height: 100%;
    top: 0;
}
.master_play .vol .dot{
    position: absolute;
    width: 5px;
    height: 5px;
    background: #36e2ec;
    border-radius: 50%;
    left: 0%;
    top: -1px;
    transition: 1s linear;
}
.master_play .vol .dot::before{
    content: '';
    position: absolute;
    width: 5px;
    height: 5px;
    border: 1px solid #36e2ec;
    border-radius: 50%;
    left: -6px;
    top: -6px;
    box-shadow: inset 0px 0px 3px #36e2ec;
}
/*.song_side::before{
    content: '';
    right: 200px;
    width: 200px;
    height: 130px;
    background: url(bg.png);
}*/
.song_side{
    z-index: 2;
}
.song_side nav{
    width: 90%;
    height: 10%;
    margin: auto;
    /*border: 1px solid #fff;*/
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.song_side nav ul{
    display: flex;
}
.song_side nav ul li{
    position: relative;
    list-style-type: none;
    font-size: 13px;
    color: #4c5262;
    margin-right: 25px;
    cursor: pointer;
    transition: .3s linear;
}
.song_side nav ul li:hover{
    color: #fff;
}
.song_side nav ul li:nth-child(1){
    color: #fff;
}
.song_side nav ul li:nth-child(1){
    position: absolute;
    width: 100%;
    height: 2.5px;
    background: #36e2ec;
    bottom: -5px;
    left: 0;
    border-radius: 20px;
}
.song_side nav .search{
    position: relative;
    width: 40%;
    padding: 1px 10px;
    border-radius: 20px;
    color: gray;
}
.song_side nav .search::before{
    content: '';
    position: relative;
    width: 100%;
    height: 100%;
    /*background: rgb(184, 184, 184,.1);*/
    background: rgba(137, 94, 200, 0.714);
    border-radius: 20px;
    backdrop-filter: blur(5px);
    z-index: -1;
}
.song_side nav .search .bi{
    font-size: 13px;
    padding: 3px 0px 0px 10px;
}
.song_side nav .search input{
    background: none;
    outline: none;
    border: none;
    padding: 0px 10px;
    color: #fff;
    font-size: 12px;
}
.song_side nav .user{
    position: relative;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
}
.song_side nav .user img{
    position: relative;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    box-shadow: 2px 2px 8px #131312;
}
.song_side .content{
    width: 90%;
    height: 30%;
    margin: auto;
    /*border: 1px solid #fff;*/
    padding-top: 20px;
}
.song_side .content h1{
    font-size: 25px;
    font-weight: 600;
}
.song_side .content p{
    font-size: 11px;
    font-weight: 400;
    color: #4c5262;
    margin: 5px;
}
.song_side .content .buttons{
    margin-top: 15px;
}
.song_side .content .buttons button{
    width: 130px;
    height: 30px;
    border: 2px solid #36e2ec;
    outline: none;
    border-radius: 20px;
    background: #5adae0;
    color: #fff;
    cursor: pointer;
    transition: .3s linear;
}
.song_side .content .buttons button:hover{
    border: 2px solid #36e2ec;
    background: none;
    color: #36e2ec;
}
.song_side .content .buttons button:nth-child(2){
    border: 2px solid #36e2ec;
    background: none;
    color: #36e2ec;
}
.song_side .content .buttons button:nth-child(2):hover{
    background: #36e2ec;
    color: #fff;
}
.song_side .popular_song{
    width: 90%;
    height: auto;
    margin: auto;
    margin-top: 15px;
    /*border: 1px solid #fff;*/
}
.song_side .popular_song .h4{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.song_side .popular_song .h4 .btn_s{
    display: flex;
    align-items: center;
    gap: 10px;
}
.song_side .popular_song .h4 .bi{
    color: #a4a8b4;
    cursor: pointer;
    transition: .3s linear;
    padding: 8px;
    border-radius: 50%;
    font-size: 18px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.song_side .popular_song .h4 .bi:hover{
    color: #fff;
    background: rgba(54, 226, 236, 0.2);
    border-color: rgba(54, 226, 236, 0.4);
    transform: scale(1.1);
}
.song_side .popular_song .pop_song{
    width: 100%;
    height: 150px;
    margin-top: 15px;
    display: flex;
    /*border: 1px solid #fff;*/
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    gap: 10px;
    padding: 5px 0;
}
.song_side .popular_song .pop_song::-webkit-scrollbar{
    width: 6px;
    height: 6px;
}

.song_side .popular_song .pop_song::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.song_side .popular_song .pop_song::-webkit-scrollbar-thumb {
    background: rgba(54, 226, 236, 0.4);
    border-radius: 3px;
}

.song_side .popular_song .pop_song::-webkit-scrollbar-thumb:hover {
    background: rgba(54, 226, 236, 0.6);
}
.song_side .popular_song .pop_song li{
    min-width: 120px;
    height: 170px;
    list-style-type: none;
    margin-right: 15px;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    background: rgba(255, 255, 255, 0.05);
    padding-top: 15px;
}
.song_side .popular_song .pop_song li:hover{
    background: rgb(105, 105, 170,.1);
    transform: scale(1.05);
    border-color: rgba(54, 226, 236, 0.6);
    box-shadow: 0 6px 20px rgba(54, 226, 236, 0.3);
}
.song_side .popular_song .pop_song li .img_play{
    position: relative;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.song_side .popular_song .pop_song li .img_play img{
    width: 100%;
    height: 100%;
    border-radius: 10px;
    transition: all 0.3s ease;
    object-fit: cover;
}
.song_side .popular_song .pop_song li .img_play .bi{
    position: absolute;
    font-size: 20px;
    cursor: pointer;
    transition: .3s linear;
    opacity: 0;
}
.song_side .popular_song .pop_song li:hover .img_play .bi{
    opacity: 1;
}
.song_side .popular_song .pop_song li:hover .img_play img{
    transform: scale(1.05);
}
.song_side .popular_song .pop_song li h5{
    padding: 8px 5px 0px 5px;
    line-height: 15px;
    font-size: 10px;
    width: 100px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    text-align: center;
}
.song_side .popular_song .pop_song li h5 .subtitle{
    font-size: 9px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: #4c5262;
}
.song_side .popular_artists .item li h6{
    padding: 5px 0px 0px 5px;
    line-height: 15px;
    font-size: 10px;
    width: 100px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: #fff;
    margin: 5px 0 0 0;
    text-align: center;
}
.song_side .popular_artists{
    width: 90%;
    height: auto;
    /*border: 1px solid #fff;*/
    margin: auto;
    margin-top: 15px;
}
.song_side .popular_artists .h4{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.song_side .popular_artists .h4 .btn_s{
    display: flex;
    align-items: center;
    gap: 10px;
}
.song_side .popular_artists .h4 .bi{
    color: #a4a8b4;
    cursor: pointer;
    transition: .3s linear;
    padding: 8px;
    border-radius: 50%;
    font-size: 18px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.song_side .popular_artists .h4 .bi:hover{
    color: #fff;
    background: rgba(54, 226, 236, 0.2);
    border-color: rgba(54, 226, 236, 0.4);
    transform: scale(1.1);
}
.song_side .popular_artists .item{
    width: 100%;
    height: 150px;
    margin-top: 15px;
    display: flex;
    /*border: 1px solid #fff;*/
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    gap: 10px;
    padding: 5px 0;
}
.song_side .popular_artists .item ul{
    display: flex;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
    align-items: flex-start;
}
.song_side .popular_artists .item::-webkit-scrollbar{
    width: 6px;
    height: 6px;
}

.song_side .popular_artists .item::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.song_side .popular_artists .item::-webkit-scrollbar-thumb {
    background: rgba(54, 226, 236, 0.4);
    border-radius: 3px;
}

.song_side .popular_artists .item::-webkit-scrollbar-thumb:hover {
    background: rgba(54, 226, 236, 0.6);
}
.song_side .popular_artists .item li{
    list-style-type: none;
    position: relative;
    min-width: 120px;
    height: 140px;
    border-radius: 15px;
    margin-right: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
}
.song_side .popular_artists .item li:hover{
    background: rgb(105, 105, 170,.1);
    transform: scale(1.05);
    border-color: rgba(54, 226, 236, 0.6);
    box-shadow: 0 6px 20px rgba(54, 226, 236, 0.3);
}
.song_side .popular_artists .item li img{
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    transition: all 0.3s ease;
    margin-bottom: 8px;
}
.song_side .popular_artists .item li:hover img{
    transform: scale(1.05);
}

/* Simple Plain Scrollbar Styles */
/* General scrollbar styling for all scrollable elements */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* Scrollbar for menu_song section */
container .menu_side .menu_song::-webkit-scrollbar {
    width: 6px;
}

container .menu_side .menu_song::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

container .menu_side .menu_song::-webkit-scrollbar-thumb {
    background: rgba(81, 99, 150, 0.6);
    border-radius: 3px;
}

container .menu_side .menu_song::-webkit-scrollbar-thumb:hover {
    background: rgba(81, 99, 150, 0.8);
}

/* Remove hidden scrollbars and use simple design */

