/* CSS Setting */

@import url(../Font-Awesome/41_Html/font-awesome-4.7.0/font-awesome-4.7.0/css/font-awesome.min.css);

:root {
    --music-lightgolden-bg: #999486;
    --stamp-golden-color: #897157;
    --names-color: #655b4d;
    --singer-color: rgb(77 75 68);
    --darkgolden-color: #5f5a4e;
    --scrollbar: black;
    --text-golden: rgb(214, 193, 145);
    --gold: #8a7d51;
    --gold-light: rgb(206 183 166);
    --gold-dark: #9f7820;
    --bg: #060606;
    --panel: #111111;
    --panel-2: #181818;
    --text: #ffffff;
    --muted: #9f9f9f;
    --radius: 28px;
    --light-classy: #f7f1e2;
}

html {
    scrollbar-color: var(--gold-light) var(--scrollbar);
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: sans-serif;
}

body {
    min-height: 100vh;
    background:
        radial-gradient(circle at top left,
            rgba(212, 175, 55, .15),
            transparent 30%),

        radial-gradient(circle at bottom right,
            rgba(212, 175, 55, .10),
            transparent 30%),

        #050505;
    color: var(--text);
}

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

/* Ambient Glow */

body::before {
    content: "";
    position: fixed;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(212, 175, 55, .07);
    filter: blur(120px);
    top: -150px;
    left: -150px;
    pointer-events: none;
}

body::after {
    content: "";
    position: fixed;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    background: rgba(212, 175, 55, .06);
    filter: blur(120px);
    bottom: -150px;
    right: -150px;
    pointer-events: none;
}

.container {
    max-width: 1600px;
    margin: auto;
    padding: 30px;
}

/* Back Button */

.back-btn {
    position: fixed;
    top: 25px;
    right: 25px;
    z-index: 9999;
    width: 58px;
    height: 58px;
    border: none;
    outline: none;
    cursor: pointer;
    border-radius: 18px;
    color: var(--light-classy);
    background:
        linear-gradient(135deg,
            rgba(206, 183, 166, .15),
            rgba(138, 125, 81, .25));

    backdrop-filter: blur(20px);
    border: 1px solid rgba(206, 183, 166, .15);

    box-shadow:
        0 10px 30px rgba(0, 0, 0, .35),
        0 0 20px rgba(206, 183, 166, .08);
    transition: all .3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-btn::before {
    content: "";
    position: absolute;
    inset: -8px;
    border-radius: 22px;
    background: rgba(206, 183, 166, .08);
    filter: blur(15px);
    z-index: -1;
}

.back-btn i {
    font-size: 28px;
    transition: .3s;
}

.back-btn:hover {
    transform: translateY(-3px);
    background:
        linear-gradient(135deg,
            var(--gold-light),
            var(--light-classy));

    color: black;
    box-shadow:
        0 15px 35px rgba(206, 183, 166, .25);
}

.back-btn:active {
    transform: scale(.95);
}

.back-btn__link {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    z-index: 1;
    text-decoration: none;
}

/* Layout */

.app {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 28px;
}

/* Glass */

.glass {
    background: rgba(18, 18, 18, .75);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(212, 175, 55, .15);
    box-shadow:
        0 15px 50px rgba(0, 0, 0, .45),
        inset 0 1px 0 rgba(255, 255, 255, .03);
    border-radius: var(--radius);
}

/* Sidebar */

.sidebar {
    padding: 28px;
    position: sticky;
    top: 20px;
    height: fit-content;
}

.cover-wrapper {
    position: relative;
    overflow: hidden;
}

.cover {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
}

.cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    user-select: none;
    pointer-events: none;
}

.cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(transparent,
            rgba(0, 0, 0, .35));
}

.rotating-ring {
    position: absolute;
    inset: -20px;
    border-radius: 50%;
    border: 1px solid rgba(212, 175, 55, .15);
    animation: rotate 18s linear infinite;
    pointer-events: none;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.song-info {
    text-align: center;
    margin-top: 25px;
}

.song-info h1 {
    font-size: 1.8rem;
    color: var(--gold-light);
    text-transform: capitalize;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    user-select: none;
    pointer-events: none;
}

.song-info p {
    margin-top: 8px;
    color: var(--muted);
    text-transform: capitalize;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    user-select: none;
    pointer-events: none;
}

/* Pulse */

.heartbeat {
    position: relative;
    height: 70px;
    margin: 25px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pulse-circle {
    position: absolute;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background:
        radial-gradient(circle,
            rgb(206 183 166),
            rgb(145, 136, 130) 35%,
            rgba(212, 175, 55, .15) 60%,
            rgba(212, 175, 55, 0) 100%);
    animation: pulseCircle 4s cubic-bezier(.22, .61, .36, 1) infinite;
    filter:
        blur(1px) drop-shadow(0 0 12px rgba(247, 223, 132, .25)) drop-shadow(0 0 30px rgba(212, 175, 55, .15));
}

.pulse-circle:nth-child(2) {
    animation-delay: 1.2s;
}

.pulse-circle:nth-child(3) {
    animation-delay: 2.4s;
}

@keyframes pulseCircle {
    0% {
        transform: scale(.4);
        opacity: .7;
    }

    50% {
        opacity: .25;
    }

    100% {
        transform: scale(5.5);
        opacity: 0;
    }

}

@keyframes heartbeatLine {

    0% {
        stroke-dashoffset: 400;
        opacity: .4;
    }

    20% {
        opacity: 1;
    }

    100% {
        stroke-dashoffset: 0;
        opacity: 1;
    }

}

/* Player */

.progress-area {
    margin-top: 20px;
}

.progress {
    width: 100%;
    height: 7px;
    border-radius: 50px;
    background: #262626;
    overflow: hidden;
    cursor: pointer;
    direction: rtl;
}

.progress-fill {
    width: 0%;
    height: 100%;
    margin-left: auto;
    background:
        linear-gradient(90deg,
            var(--light-classy),
            var(--gold-light));
}

.time {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    color: var(--muted);
    font-size: .85rem;
}

.time>span {
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    user-select: none;
    pointer-events: none;
}

.controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    margin-top: 25px;
}

.control-btn {
    border: none;
    cursor: pointer;
    color: white;
    background: #202020;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    transition: .35s;
}

.control-btn:hover {
    transform: translateY(-4px);
}

.play-btn {
    width: 80px;
    height: 80px;
    font-size: 22px;
    background: radial-gradient(circle, rgba(247, 241, 226, 1) 0%, rgba(206, 183, 166, 1) 100%);
    color: black;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(212, 175, 55, .25);
    display: flex;
    align-items: center;
    justify-content: center;
}

.download-btn {
    position: relative;
    text-align: center;
    cursor: pointer;
    background: radial-gradient(circle, rgba(206, 183, 166, 1) 30%, rgba(247, 241, 226, 1) 100%);
    padding: 3%;
    margin-top: 10%;
    color: black;
    border-radius: .5rem;
    transition: .35s;
    font-weight: 500;
}

.download-btn:hover {
    transform: translateY(-4px);
}

.download-music {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
    text-decoration: none;
    inset: 0;
}

/* Main */

.main {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.section {
    padding: 28px;
}

.section-title {
    color: var(--gold-light);
    margin-bottom: 20px;
    font-size: 1.1rem;
    font-weight: 700;
}

/* Video */

.video-player {
    overflow: hidden;
    border-radius: 22px;
}

.video-player video {
    width: 100%;
    height: 500px;
    border: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    user-select: none;
    pointer-events: none;
}

/* Lyrics */

.lyrics {
    max-height: 350px;
    overflow: auto;
    padding-left: 10px;
}

.lyrics p {
    line-height: 2.5;
    color: #e4e4e4;
    font-size: 1rem;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    user-select: none;
    pointer-events: none;
}

.lyrics::-webkit-scrollbar {
    width: 8px;
}

.lyrics::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 20px;
}

.special-text {
    color: var(--gold-light);
}

/* Playlist */

.playlist {
    display: grid;
    gap: 14px;
}

.track {
    background: var(--panel-2);
    padding: 14px;
    border-radius: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: .35s;
    cursor: pointer;
}

.track:hover {
    transform: translateY(-3px);
    outline: 1px solid rgba(212, 175, 55, .3);
}

.track-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.track img {
    width: 65px;
    height: 65px;
    border-radius: 16px;
    object-fit: cover;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    user-select: none;
    pointer-events: none;
}

.track-name {
    font-weight: 600;
    text-transform: capitalize;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    user-select: none;
    pointer-events: none;
}

.track-artist {
    color: var(--muted);
    font-size: .9rem;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    user-select: none;
    pointer-events: none;
}

/* Loader */

#loader {
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 10, 0.35);
    backdrop-filter: blur(25px) saturate(140%);
    -webkit-backdrop-filter: blur(25px) saturate(140%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    transition: opacity .6s ease, visibility .6s;
}

#loader.hide {
    opacity: 0;
    visibility: hidden;
}

.music-note {
    font-size: 90px;
    color: #fff;
    animation: noteMove 1.4s infinite ease-in-out;
}

#loader p {
    color: #fff;
    margin-top: 15px;
    font-size: 15px;
    letter-spacing: 1px;
}

@keyframes noteMove {

    0%,
    100% {
        transform: translateY(0) rotate(0deg) scale(1);
    }

    50% {
        transform: translateY(-12px) rotate(12deg) scale(1.15);
    }
}

/* Media Quaries */

@media (max-width:1600px) {

    .container {
        max-width: 1400px;
        padding: 25px;
    }

    .app {
        grid-template-columns: 400px 1fr;
        gap: 24px;
    }

}

@media (max-width:1400px) {

    .container {
        padding: 22px;
    }

    .app {
        grid-template-columns: 360px 1fr;
        gap: 22px;
    }

    .song-info h1 {
        font-size: 1.7rem;
    }

    .video-player video {
        height: 450px;
    }

}

@media (max-width:1200px) {

    .app {
        grid-template-columns: 320px 1fr;
        gap: 20px;
    }

    .sidebar,
    .section {
        padding: 22px;
    }

    .song-info h1 {
        font-size: 1.5rem;
    }

    .video-player video {
        height: 400px;
    }

}

@media (max-width:992px) {

    .app {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: relative;
        top: auto;
        width: 100%;
        max-width: 650px;
        margin: auto;
    }

    .song-info h1 {
        font-size: 2rem;
    }

    .song-info p {
        font-size: 1.2rem;
    }

    .play-btn {
        width: 80px !important;
        height: 80px !important;
    }

    .control-btn {
        width: 70px;
        height: 70px;
    }

    .main {
        width: 100%;
    }

    .video-player video {
        width: 100%;
        height: auto;
        aspect-ratio: 16/9;
    }

    .lyrics {
        max-height: 320px;
    }

}

@media (max-width:768px) {

    .container {
        padding: 15px;
    }

    .sidebar,
    .section {
        padding: 18px;
    }

    .song-info h1 {
        font-size: 2rem;
    }

    .song-info p {
        font-size: 1.2rem;
    }

    .play-btn {
        width: 80px !important;
        height: 80px !important;
    }

    .control-btn {
        width: 70px;
        height: 70px;
    }

    .controls {
        gap: 12px;
    }

    .lyrics {
        max-height: 280px;
    }

    .lyrics p {
        font-size: .95rem;
        line-height: 2.3;
    }

    .track {
        padding: 12px;
    }

    .track img {
        width: 55px;
        height: 55px;
    }

    .back-btn {
        width: 52px;
        height: 52px;
        top: 18px;
        right: 18px;
    }

    .back-btn i {
        font-size: 24px;
    }
}

@media (max-width:576px) {

    .container {
        padding: 10px;
    }

    .sidebar,
    .section {
        padding: 16px;
        border-radius: 22px;
    }

    .cover {
        border-radius: 18px;
    }

    .song-info h1 {
        font-size: 1.8rem;
    }

    .song-info p {
        font-size: 1.1rem;
    }

    .heartbeat {
        height: 55px;
    }

    .pulse-circle {
        width: 20px;
        height: 20px;
    }

    .track {
        padding: 10px;
    }

    .track-left {
        gap: 10px;
    }

    .track img {
        width: 50px;
        height: 50px;
    }

    .track-name {
        font-size: .85rem;
    }

    .track-artist {
        font-size: .75rem;
    }

    .download-btn {
        padding: 14px;
    }

    .back-btn {
        width: 48px;
        height: 48px;
        top: 15px;
        right: 15px;
        border-radius: 15px;
    }

    .back-btn i {
        font-size: 22px;
    }
}

@media (max-width:400px) {

    .container {
        padding: 8px;
    }

    .sidebar,
    .section {
        padding: 14px;
    }

    .song-info h1 {
        font-size: 1.5rem;
    }

    .song-info p {
        font-size: .9rem;
    }

    .section-title {
        font-size: .95rem;
    }

    .play-btn {
        width: 60px !important;
        height: 60px !important;
        font-size: 18px;
    }

    .control-btn {
        width: 50px;
        height: 50px;
        font-size: 14px;
    }

    .controls {
        gap: 8px;
    }

    .lyrics {
        max-height: 240px;
    }

    .lyrics p {
        font-size: .85rem;
        line-height: 2;
    }

    .time {
        font-size: .75rem;
    }

    .track {
        padding: 8px;
    }

    .track img {
        width: 42px;
        height: 42px;
    }

    .track-name {
        font-size: .8rem;
    }

    .track-artist {
        font-size: .7rem;
    }

    .back-btn {
        width: 44px;
        height: 44px;
        top: 12px;
        right: 12px;
        border-radius: 14px;
    }

    .back-btn i {
        font-size: 20px;
    }
}