@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@200;300;400;500;600;700;800;900;1000&family=Roboto:wght@300;400;500;700&display=swap");


*, ::before, ::after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
body::-webkit-scrollbar {
width: 6px;
    height: 100%;
    scroll-behavior: smooth;
}

body.light-mode::-webkit-scrollbar-track {
background-color: white;
    border-radius: 10px;
}
body::-webkit-scrollbar-track {
background-color: black;

}


body::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #0089ff, #5500fe);
    border-radius: 10px;

}

body.light-mode {
    --bg-color: #f5f5f5;
    --text-color: #1a1a1a;

}


body.light-mode .header {
    background-color: rgba(0, 0, 0, 0.05);
}

body {
    font-family: "Nunito", sans-serif;
    margin: 0;
    padding: 30px 30px;
    min-height: 320vh;
   background-image: url("backg.jpg");
    background-position: center;
    background-repeat: revert;
    background-size: cover;
    overflow: scroll;
    color: aliceblue;
    text-transform: capitalize;
}

svg, img, video, canvas, iframe {
    display: block;

}


a {
    text-decoration: none;
    color: inherit;
    cursor: pointer;

}


.header {
    z-index: 1000;
    width: 100%;
    height: 70px;
    position: fixed;
    background-color: rgba(131, 131, 131, 0.2);
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 40px 30px;
    margin: 40px auto;
    text-align: center;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 12px;
    backdrop-filter: blur(6px);
}

.buttons {
    margin: 10%;
    text-align: center;
}

.btn-hover {
    width: 170px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    margin: 20px;
    height: 55px;
    text-align: center;
    border: none;
    background-size: 300% 100%;

    border-radius: 50px;
    moz-transition: all .4s ease-in-out;
    -o-transition: all .4s ease-in-out;
    -webkit-transition: all .4s ease-in-out;
    transition: all .4s ease-in-out;
}

.btn-hover:hover {
    background-position: 100% 0;
    moz-transition: all .4s ease-in-out;
    -o-transition: all .4s ease-in-out;
    -webkit-transition: all .4s ease-in-out;
    transition: all .4s ease-in-out;
}

.btn-hover:focus {
    outline: none;
}

.btn-hover.color-7 {
    background-image: linear-gradient(to right, #6253e1, #852D91, #A3A1FF, #F24645);
    box-shadow: 0 4px 15px 0 rgba(126, 52, 161, 0.75);
}

.lll {

    gap: 40px;
}

.container {
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 18px;
    backdrop-filter: blur(8px);
    padding: 30px 30px;
    z-index: 1;
    position: relative;
    top: 140px;
    left: 250px;
    height: 2770px;
    width: calc(100% - 250px);


}
.footer{
    border-top: 2px solid rgba(255, 255, 255, 0.4);
}

.menu {
    z-index: 2;
    width: 250px;
    height: 700px;
    position: fixed;
    top: 140px;
    left: 0;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 12px;
display: flex;
    flex-direction: column;
    justify-content: space-between;
    backdrop-filter: blur(6px);
    background-color: rgba(131, 131, 131, 0.2);

}

.logo {
    align-items: center;
    font-weight: bold;
    padding: 20px 30px;
    font-size: 23px;
    font-family: "Microsoft JhengHei UI Light" !important;
    color: #aaa8a8;
}

.zir-menu {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-block: 1px solid rgba(255, 255, 255, 0.4);
    height: 60px;

}

body.light-mode .zir-menu {
    border-block: 1px solid #ffffff;
}

.icon {
    width: 40px;
    height: 40px;
}


.container22 {
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .5s ease-in-out;
    position: relative;
    margin: 20px;
    gap: 60px;


}

.container-toggle {
    background-color: #222;
}

.box22 {
    height: 26px;
    width: 50px;
    background: #838383;
    border-radius: 190px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .3s ease-in-out;
}

.box-toggle {
    background-image: linear-gradient(to right, #6253e1, #852D91, #F24645);
    box-shadow: 0 4px 15px 0 rgba(126, 52, 161, 0.75);
}

.inner-circle {
    position: absolute;
    left: 3px;
    height: 18px;
    width: 18px;
    border-radius: 50%;
    background: #E6E6E6;
    transition: .3s ease-in-out 0s;
}

.inner-circle-toggle {
    left: 24px;
    height: 18px;
    width: 18px;
}


.section {
    width: 340px;
    height: 700px;
    padding: 40px 30px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 12px;
    position: relative;
    display: grid;

}

.playlist-img {
    width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 1rem;
    box-shadow: 0 4px 15px 0 rgba(126, 52, 161, 0.75);
    position: absolute;
    top: 11.5%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.playlist-text\&play {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: -11rem;
    width: 270px;

}

.b2 {
    width: 50px;
    height: 50px;
    border-radius: 100%;
    position: relative;
    margin-right: 10px;
}

.playlist-text {
    font-weight: bold;
    font-size: 20px;
}

.svg-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.list-ahangha {
    position: absolute;
    top: 70%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: grid;
    width: 100%;
    padding: 6px;
}

.ahang {
    display: flex;
    padding: 8px 8px;

    justify-content: space-between;
    width: 100%;
    height: 58px;
    align-items: center;

}

.right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.name-khannde\&ahang {
    display: grid;
    justify-content: center;

    text-align: left;
    align-items: start;


}

.ahang-img {
    width: 36px;
    height: 36px;
    background-color: #6253e1;
    align-items: center;
    border-radius: 7px;
    box-shadow: 0 4px 15px 0 rgba(126, 52, 161, 0.75);
}

.name-ahang {
    font-weight: bold;
    font-size: 16px;
}

.name-khannde {
    color: #838383;
    font-size: 14px;


}

.more {
    background-color: transparent;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 18px;
}


.main-page {
    position: relative;

}

.line1 {
    width: 100%;
    padding: 2rem;
    overflow-x: auto;
    display: flex;
    gap: 24px;
    margin-top: 150px;
}

.profile {
    justify-content: center;
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 18px;

}


.line1::-webkit-scrollbar {
    height: 10px;
    scroll-behavior: smooth;
}

.line1::-webkit-scrollbar-track {
    background: #000000;
    border-radius: 10px;
}

.line1::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #0089ff, #5500fe);
    border-radius: 10px;
}
.baradar,
.container {
    overflow: visible;
    max-width: 100%;
}

.box1 {
    width: 200px;
    height: 200px;

    border-radius: 100%;

    transition: transform 0.3s ease, box-shadow 0.3s ease;

}

.box1:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);

}


.box11 {
    width: 250px;
    height: 250px;
    background: #838383;
    border-radius: 32px;

}

.baradar {
    display: flex;
    align-items: center;
    gap: 16px;
}
.slide-overlay {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    row-gap: 12px;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 98%;
    background: linear-gradient(240deg, transparent, transparent, rgba(38, 21, 149, 0.8)
    );
    border-radius: 20px;
    padding: 30px;
}

.slide-overlay h2 {
    font-size: clamp(1.2rem, 3vw, 2.2rem);
    font-weight: 700;
}

.slide-overlay button {
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 10px;
    width: max-content;
    padding: 12px 16px;
    background: #e9e6eb2a;
    color: #e8e5e5;
    border: 1px solid rgba(159, 160, 168, 0.4);
    border-radius: 12px;
    outline: 0;
    font-size: clamp(0.7rem, 3vw, 1rem);
    font-weight: 500;
    text-transform: uppercase;
    transition: all 0.4s linear;
    cursor: pointer;
}

.slide-overlay button:is(:hover, :focus-visible) {
    background: #e9e6eb;
    color: #000;
}

body {
    overflow-x: hidden;
}


.albums-wrapper {
    margin-top: 100px;

    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 5rem 0;

}

.albums-wrapper::-webkit-scrollbar {
    display: none;
}


.line2 {
    display: flex;
    gap: 11rem;
    padding: 1rem 2rem;
    flex-wrap: nowrap;
    margin-left: 3rem;
}


.album {
    flex-shrink: 0;
    width: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
}


.bakhsh-album {
    position: relative;
    width: 300px;
    height: 300px;
}


.box21, .box222, .box23 {
    position: absolute;
    width: 100%;
    height: 100%;
    transition: .3s ease;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.box21 {

    z-index: 3;
}

.box222 {

    top: -15px;
    left: 15px;
    z-index: 2;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
}

.box23 {
    top: -30px;
    left: 30px;
    z-index: 1;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
}

.bakhsh-album:hover .box222,
.bakhsh-album:hover .box23 {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}


.name-album {
    font-size: 19px;
    font-weight: bold;
    margin-top: 1rem;
}

.line3 {
    display: flex;
    width: 100%;
    height: 380px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 12px;
    overflow-x: auto;
    background-color: rgba(131, 131, 131, 0.2);
    backdrop-filter: blur(10px);
}

.line3::-webkit-scrollbar {
    height: 0;
}

.line3::-webkit-scrollbar-track {
    background: #000000;
    border-radius: 10px;
}

.line3::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #0089ff, #5500fe);
    border-radius: 10px;
}

.music-rows {
    display: flex;
    width: 100%;
    flex-direction: row;
}

.music-row {
    display: flex;
    padding: 0 30px;
    flex-direction: column;
    flex-grow: 1;
    justify-content: center;
    border-left: 1px solid rgba(255, 255, 255, 0.5);

}

.ahang2 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-grow: 1;
    border-bottom: 1px solid rgba(161, 161, 161, 0.47);

}

.play-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: calc(100% - 250px);
    padding: 1rem 2rem;
    height: 70px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 120px;
    backdrop-filter: blur(6px);
    z-index: 1;
    position: fixed;
    bottom: 10px;
    left: 250px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.5);


}


.add {
    border: none;
    background: none;
    width: 40px;
    height: 40px;
    margin-right: 12px;
    color: white;
}

.like, .prev, .next, .pause, .moree {
    border: none;
    background: transparent;
    padding: 0 16px;
}

.middle {
    display: flex;
    align-items: center;
    justify-content: center;

}

.moree {
    color: white;
    font-size: 34px;
    font-weight: bold;
}

.next {
    margin-top: 13px;
}

.prev {
    margin-bottom: 13px;
}

.like {
    margin-top: 4px;
}

.rightt {
    width: 60px;
    height: 60px;
    background-image: linear-gradient(-45deg, #0089ff, #5500fe);
    border-radius: 100%;
    align-items: center;
    padding: 12px;
    animation: rotateCircle 8s linear infinite;
}

@keyframes rotateCircle {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.footer {
    display: grid;
    margin-top: 7rem;
    align-items: center;
    justify-content: center;
    grid-template-columns: auto;
}

.SUTOONS {
    margin-top: 2.4rem;
    display: grid;
    align-items: center;
    justify-content: space-between;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10rem;
}

.sutoon {
    color: #838383;
    display: grid;
    align-items: center;
    justify-content: center;
    gap: 5rem;
}



body.light-mode {
background-image: url("backgl.png");

}


body.light-mode .header {
    border: 2px solid rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(6px);
    color: #222;
}

/* Menu */
body.light-mode .menu {
    border: 2px solid rgba(225, 225, 225, 0.7);
    backdrop-filter: blur(6px);
    color: #222;
    background-color: rgba(0,0 , 0, 0.41);
}


body.light-mode .container {
    border: 2px solid rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(4px);
    background-color: transparent;
    color: #222;
}


body.light-mode .section,
body.light-mode .line3,
body.light-mode .albums-wrapper {
    border: 2px solid rgba(0, 0, 0, 0.2);
    background-color: transparent;
}

body.light-mode .albums-wrapper {

    border-radius: 15px;
}


body.light-mode .box1,
body.light-mode .box11,
body.light-mode .box21,
body.light-mode .box222,
body.light-mode .box23 {
    filter: brightness(1);
}


body.light-mode .btn-hover {
    color: #222;
    box-shadow: 0 4px 15px 0 rgba(0, 0, 0, 0.2);
}


body.light-mode .play-row {
    border: 2px solid rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(4px);
}


body.light-mode .name-ahang,
body.light-mode .name-khannde,
body.light-mode .name-album {
    color: #222;
}


body.light-mode .line1::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #888, #555);
}


body.light-mode .footer,
body.light-mode .SUTOONS,
body.light-mode .sutoon {
    color: #222;
}

body.light-mode .container22 {
    color: #222;
}


body.light-mode .box22 {
    background: #ccc;
}

body.light-mode .inner-circle {
    background: #fff;
}
body.light-mode .zir-menu > .search{
    stroke: none;
}






body.light-mode .icon-play svg {
    color: #222;
    stroke: black;
}

.like1{
    transition: 200ms;
}
.like1.active{
    stroke: red;
    fill: red;
}



.menu-btn {
    display: none;
    font-size: 26px;
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
}
.menu-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1500;
}

.menu-backdrop.active {
    display: block;
}

@media (max-width: 1024px) {

    body {
        padding: 15px;
        min-height: auto;
        overflow-x: hidden;

    }

    .line3 {
        width: calc(100%);
    }

    .music-row {
        width: 250px !important;
        flex-shrink: 0;
    }


    .menu {
        width: 80px;
        height: calc(100% - 200px);
        position: fixed;
        top: 140px;
        left: 0;
        padding: 10px 0;
    }
    .container22{
gap: 4px;
        display: grid;
    }

    .logo {
display:none ;
    }

    .line2 {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
        margin-left: 0;
    }

    .zir-menu {
        flex-direction: column;
        gap: 5px;
        height: auto;
    }

    .icon {
        width: 24px;
        height: 24px;
    }

    .icon-name {
        display: none;
    }


    .container {
        position: relative;
        left: 90px;
        width: calc(100% - 100px);
        padding: 10px;
        height: auto;
    }


    .Swiper {
        position: relative;
        top: 0;
        left: 0;

    }

    .swiper-slide {
        width: 450px !important;
        height: 250px !important;
    }


    .line1 {
        width: 100%;
        left: 0;
        position: relative;
        top: 0;
        gap: 1rem;
        padding: 1rem;
    }

    .box1 {
        width: 150px;
        height: 150px;
    }



    .albums-wrapper {
        margin-top: 2rem;
        padding: 1rem 0;
    }
.likee{
    width: 38px;
    height: 38px;
}
    .album {
        width: 220px;
    }

    .bakhsh-album {
        width: 220px;
        height: 220px;
    }


    .play-row {
        width: calc(100% - 120px);
        left: 100px;
        bottom: 10px;
        padding: 0.5rem 1rem;
    }

    .section {
        display: none;
    }
.footer{

    padding: 0;
}
.SUTOONS{
    gap: 1rem;

}
.sutoon {
    gap: 2rem;
    margin-bottom: 0;
}

}

@media screen and (max-width: 768px) {
    .swiper{
        width: 100%;
    }
    .menu {
        transform: translateX(-100%);
        transition: transform 0.35s ease;
        z-index: 2000;
            width: 240px;
    }

    .menu.active {
        transform: translateX(0);
    }

    /* وقتی منو بازه بک‌گراند قفل بشه */
    body.menu-open {
        overflow: hidden;
    }



        .menu-btn {
            display: block;
        }

}
@media (max-width: 600px) {
    .header{
        position: sticky;
    }

.log{
    font-size: 18px;
}
    .color-7{
        width: 100px;
    }



    .container {
        top: 0;
        left: 70px;
        width: calc(100% - 70px);
    }

    .play-row {
        left: 70px;
        width: calc(100% - 80px);
        display: flex;
        justify-content: center;
        align-items: center;

    }

.moree{
    display: none;
}
.add{
    display: none;
}
.pause{
    width: 42px;
padding: 3rem;
}
.next,.prev{
    width: 32px;

}
.rightt{
    width: 54px;
    height:54px ;
    margin-left: auto;
}

.middle{
    justify-content: center;
    margin-left: auto;
}
.box1{
    width: 100px;
    height: 100px;
}
    .album {
        width: 180px;
    }

    .bakhsh-album {
        width: 180px;
        height: 180px;
    }
}

