@import url("https://fonts.googleapis.com/css2?family=Martel+Sans:wght@200;300;400;600;700;800;900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,");

:root {
    --a: 0;
    --spotify-green: #1db954;
    --spotify-black: #191414;
    --spotify-dark-gray: #121212;
    --spotify-gray: #282828;
    --spotify-light-gray: #535353;
    --spotify-white: #ffffff;
    --spotify-text-gray: #b3b3b3;
    --accent-glow: 0 0 20px rgba(29, 185, 84, 0.3);
    --card-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    --hover-shadow: 0 16px 32px rgba(0, 0, 0, 0.7);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", "Roboto", sans-serif;
    color: var(--spotify-white);
}

body {
    background: linear-gradient(135deg, var(--spotify-black) 0%, var(--spotify-dark-gray) 100%);
    overflow: hidden;
}

.flex {
    display: flex;
    flex-direction: row;
}

.left-sidebar {
    height: calc(100vh - 10px);
    width: 26vw;
    margin-left: 10px;
    margin: 5px 0;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    backdrop-filter: blur(10px);
}

.right-sidebar {
    height: calc(100vh - 3px);
    width: 73vw;
    margin: 0 5px;
    border-radius: 12px;
    background: linear-gradient(145deg, var(--spotify-gray) 0%, var(--spotify-dark-gray) 100%);
    box-shadow: var(--card-shadow);
}

.home {
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-size: 18px;
    border-radius: 12px;
    display: grid;
    align-items: flex-start;
    flex-direction: column;
    justify-content: flex-start;
    padding: 15px;
    height: auto;
    margin-bottom: 8px;
    background: linear-gradient(135deg, var(--spotify-gray) 0%, rgba(40, 40, 40, 0.8) 100%);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--card-shadow);
}

.logoimg {
    height: 40px;
    cursor: pointer;
    padding-top: 5px;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 0 10px rgba(29, 185, 84, 0.5));
}

.logoimg:hover {
    transform: scale(1.05);
}

.logoname {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: 700;
    gap: 12px;
    background: linear-gradient(45deg, var(--spotify-white), var(--spotify-green));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(29, 185, 84, 0.3);
}

.cancel { 
    display: none;
    cursor: pointer;
    transition: all 0.3s ease;
    filter: brightness(0.8);
}

.cancel:hover {
    filter: brightness(1.2);
    transform: scale(1.1);
}

.home .searchText {
    color: var(--spotify-text-gray);
    transition: all 0.3s ease;
}

.home .searchText:hover {
    color: var(--spotify-white);
    text-decoration: none;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.hometext {
    transition: all 0.3s ease;
}

.hometext:hover {
    color: var(--spotify-white);
    text-decoration: none;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.home ul li {
    list-style: none;
    color: var(--spotify-text-gray);
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    margin: 8px 0;
    padding: 12px 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.home ul li::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(29, 185, 84, 0.1), transparent);
    transition: left 0.5s ease;
}

.home ul li:hover::before {
    left: 100%;
}

.home ul li:hover {
    background: rgba(29, 185, 84, 0.1);
    color: var(--spotify-white);
    transform: translateX(4px);
}

div ul li img {
    height: 25px;
    transition: all 0.3s ease;
    filter: brightness(0.8);
}

.home ul li:hover img {
    filter: brightness(1.2);
    transform: scale(1.1);
}

.library {
    border-radius: 12px;
    padding: 15px;
    height: 74vh;
    background: linear-gradient(135deg, var(--spotify-gray) 0%, rgba(40, 40, 40, 0.8) 100%);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--card-shadow);
}

.library-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
    padding: 15px 20px;
    margin: 5px 0;
    height: 5vh;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.library1 {
    padding: 8px;
    margin-top: 10px;
    border-radius: 8px;
    height: auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.library1:hover {
    background: rgba(29, 185, 84, 0.1);
    transform: translateX(4px);
}

.library1>div {
    color: var(--spotify-text-gray);
    font-weight: 500;
    transition: all 0.3s ease;
}

.library1>div:hover {
    text-decoration: none;
    color: var(--spotify-white);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.library1 img {
    width: 24px;
    transition: all 0.3s ease;
    filter: brightness(0.8);
}

.library1:hover img {
    filter: brightness(1.2);
    transform: scale(1.1);
}

.library2 {
    display: flex;
    align-items: center;
    flex-direction: row;
}

.library2 h2 {
    font-size: 28px;
    color: var(--spotify-text-gray);
    transition: all 0.3s ease;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.library2 h2:hover {
    color: var(--spotify-white);
    background: var(--spotify-green);
    transform: scale(1.1);
    box-shadow: var(--accent-glow);
}

.left-footer {
    bottom: 0;
}

.left-footer1 {
    color: var(--spotify-text-gray);
    text-decoration: none;
    font-size: 12px;
    font-weight: 400;
    display: grid;
    grid-template-columns: auto auto;
    gap: 8px;
    padding: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 10px;
}

.left-footer1 a {
    text-decoration: none;
    padding: 4px;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.left-footer1 a:hover {
    text-decoration: none;
    color: var(--spotify-white);
    background: rgba(255, 255, 255, 0.1);
}

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

.left-footer2 .img {
    border: 2px solid var(--spotify-light-gray);
    border-radius: 25px;
    padding: 8px 15px;
    text-align: center;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    cursor: pointer;
}

.left-footer2 .img:hover {
    border-color: var(--spotify-green);
    background: rgba(29, 185, 84, 0.1);
    transform: translateY(-2px);
    box-shadow: var(--accent-glow);
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    margin: 0px;
    padding: 0 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

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

.nav svg {
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.nav svg:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.hamburger {
    display: none;
    padding: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.hamburger:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
}

button {
    color: black;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    outline: none;
}

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

.SpotifyPlaylist {
    color: var(--spotify-white);
    padding: 20px;
    font-size: 32px;
    font-weight: 700;
    background: linear-gradient(45deg, var(--spotify-white), var(--spotify-green));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.3s ease;
    cursor: pointer;
    text-shadow: 0 0 30px rgba(29, 185, 84, 0.3);
}

.SpotifyPlaylist:hover {
    text-decoration: none;
    transform: translateY(-2px);
    filter: brightness(1.2);
}

.card {
    width: 230px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.card:hover {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    cursor: pointer;
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--hover-shadow);
    --a: 1;
}

.card img {
    width: 100%;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.card:hover img {
    transform: scale(1.02);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
}

.card p {
    color: var(--spotify-text-gray);
    padding-top: 12px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
    transition: all 0.3s ease;
}

.card:hover p {
    color: rgba(255, 255, 255, 0.8);
}

.card h3 {
    padding-top: 12px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
}

.card:hover h3 {
    color: var(--spotify-white);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.playbtn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--spotify-green) 0%, #1ed760 100%);
    position: absolute;
    bottom: 115px;
    right: 20px;
    opacity: var(--a);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 4px 16px rgba(29, 185, 84, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.playbtn:hover {
    width: 60px;
    height: 60px;
    transform: scale(1.05);
    box-shadow: var(--accent-glow), 0 8px 24px rgba(29, 185, 84, 0.6);
    background: linear-gradient(135deg, #1ed760 0%, var(--spotify-green) 100%);
}

.playbtn:active {
    transform: scale(0.95);
}

.cardContainer {
    display: flex;
    max-height: 60vh;
    flex-wrap: wrap;
    overflow-y: auto;
    margin: 0 15px;
    margin-bottom: 10vh;
    background: transparent;
    scrollbar-width: thin;
    scrollbar-color: var(--spotify-green) transparent;
}

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

.cardContainer::-webkit-scrollbar-track {
    background: transparent;
}

.cardContainer::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--spotify-green), #1ed760);
    border-radius: 4px;
}

.cardContainer::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #1ed760, var(--spotify-green));
}

.buttons>* {
    margin: 0 8px;
}

.signupbtn {
    background: transparent;
    color: var(--spotify-text-gray);
    font-weight: 600;
    border: none;
    outline: none;
    cursor: pointer;
    font-size: 16px;
    padding: 12px 20px;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.signupbtn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.signupbtn:hover::before {
    left: 100%;
}

.signupbtn:hover {
    color: var(--spotify-white);
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.loginbtn {
    background: linear-gradient(135deg, var(--spotify-white) 0%, #f0f0f0 100%);
    border-radius: 25px;
    color: var(--spotify-black);
    padding: 12px 24px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    outline: none;
    box-shadow: 0 4px 16px rgba(255, 255, 255, 0.2);
}

.loginbtn:hover {
    background: linear-gradient(135deg, #f0f0f0 0%, var(--spotify-white) 100%);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.3);
}

.songButtons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    border-radius: 8px;
    margin: 0px;
    padding: 0px;
}

.songButtons>img {
    margin: 5px;
    padding: 12px;
    border-radius: 50%;
    transition: all 0.3s ease;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.songButtons>img:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
    box-shadow: 0 4px 16px rgba(255, 255, 255, 0.2);
}

#play {
    background: linear-gradient(135deg, var(--spotify-green) 0%, #1ed760 100%);
    padding: 15px;
    border-radius: 50%;
    box-shadow: var(--accent-glow);
}

#play:hover {
    background: linear-gradient(135deg, #1ed760 0%, var(--spotify-green) 100%);
    transform: scale(1.15);
    box-shadow: 0 0 30px rgba(29, 185, 84, 0.6);
}

.songList {
    padding: 10px;
    margin: 10px 0;
    width: 98%;
    height: 45vh;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--spotify-green) transparent;
}

.songList::-webkit-scrollbar {
    width: 6px;
}

.songList::-webkit-scrollbar-track {
    background: transparent;
}

.songList::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--spotify-green), #1ed760);
    border-radius: 3px;
}

.songList ul li {
    list-style-type: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    margin: 8px 0;
    max-height: 65px;
    overflow: hidden;
    padding: 12px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
}

.songList ul li::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(29, 185, 84, 0.1), transparent);
    transition: left 0.5s ease;
}

.songList ul li:hover::before {
    left: 100%;
}

.songList ul li:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(29, 185, 84, 0.3);
    transform: translateX(4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.songList .info {
    font-size: 16px;
    width: 70%;
    max-width: 70%;
}

.playnow {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 25%;
    overflow: hidden;
}

.playnow span {
    font-size: 14px;
    color: var(--spotify-text-gray);
    transition: all 0.3s ease;
}

.songList ul li:hover .playnow span {
    color: var(--spotify-white);
}

.info .artistName {
    font-size: 13px;
    color: var(--spotify-text-gray);
    margin-top: 2px;
    transition: all 0.3s ease;
}

.songList ul li:hover .info .artistName {
    color: rgba(255, 255, 255, 0.8);
}

.info .songName {
    word-break: break-word;
    font-weight: 500;
    line-height: 1.3;
    transition: all 0.3s ease;
}

.info .songName:hover {
    text-decoration: none;
    color: var(--spotify-green);
    text-shadow: 0 0 10px rgba(29, 185, 84, 0.3);
}

.playbar {
    width: 63vw;
    margin: 0.5vw 4vw;
    height: 13vh;
    position: absolute;
    bottom: 0;
    background: linear-gradient(145deg, rgba(40, 40, 40, 0.95) 0%, rgba(25, 20, 20, 0.95) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.abovebar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    margin-top: 8px;
    padding: 0 30px;
    padding-bottom: 5px;
}

.songInfo {
    width: 350px;
    color: var(--spotify-white);
    font-weight: 500;
}

.seekbar {
    height: 6px;
    width: calc(100% - 40px);
    background: linear-gradient(90deg, var(--spotify-light-gray) 0%, rgba(83, 83, 83, 0.5) 100%);
    position: absolute;
    bottom: 15px;
    left: 20px;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.seekbar:hover {
    height: 8px;
    bottom: 14px;
}

.songTime {
    width: 100px;
    font-size: 14px;
    font-weight: 500;
    color: var(--spotify-text-gray);
}

.timeVol {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.timeVol div {
    display: flex;
    align-items: center;
    gap: 10px;
}

#volume {
    accent-color: var(--spotify-green);
    cursor: pointer;
    height: 6px;
    background: var(--spotify-light-gray);
    border-radius: 3px;
    transition: all 0.3s ease;
}

#volume:hover {
    height: 8px;
    box-shadow: var(--accent-glow);
}

.volumeBtn {
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.volumeBtn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.circle {
    height: 18px;
    width: 18px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--spotify-white) 0%, var(--spotify-green) 100%);
    border: 2px solid var(--spotify-white);
    position: absolute;
    bottom: 10px;
    left: 0%;
    margin-right: 10px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    box-shadow: 0 0 15px rgba(29, 185, 84, 0.5);
}

.circle:hover {
    transform: scale(1.2);
    box-shadow: var(--accent-glow);
}

.songButtons img {
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Responsive Design Improvements */
@media (max-width: 1300px) {
    .left-sidebar {
        background: linear-gradient(135deg, var(--spotify-black) 0%, var(--spotify-dark-gray) 100%);
        backdrop-filter: blur(20px);
        position: absolute;
        left: -100%;
        transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        z-index: 1000;
        width: 320px;
        margin-top: 0px;
        padding: 0px;
        border-radius: 0 12px 12px 0;
        max-height: 100vh;
        gap: 8px;
        box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .songList {
        height: 60vh;
    }

    .library-nav {
        align-items: center;
        padding: 15px;
        margin-top: 10px;
    }

    .right-sidebar {
        width: 99vw;
        margin: 0 0.5vw;
    }

    .left-footer1 {
        display: none;
    }

    .playbar {
        width: 94vw;
        margin: 0px 2.5vw;
        padding: 8px;
        height: auto;
        border-radius: 20px;
    }

    .abovebar {
        padding-top: 8px;
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .hamburger {
        display: block;
        padding: 8px;
        margin: 0px;
        left: 0px;
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.1);
    }

    .hamburger:hover {
        background: rgba(255, 255, 255, 0.2);
        transform: scale(1.05);
    }

    .cancel {
        display: block;
        position: absolute;
        top: 25px;
        right: 20px;
        width: 32px;
        padding: 8px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.1);
        transition: all 0.3s ease;
    }
    
    .cancel:hover {
        background: rgba(255, 0, 0, 0.2);
        transform: scale(1.1);
        box-shadow: 0 0 15px rgba(255, 0, 0, 0.3);
    }

    .header {
        height: 50px;
        padding: 0 15px;
        margin: 5px;
    }

    .cardContainer {
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        padding: 0 10px;
    }

    .card {
        width: 30vw;
        padding: 12px;
        margin: 10px 5px;
    }

    .songInfo,
    .songTime {
        width: auto;
    }

    .playbtn {
        display: none;
    }

    .timeVol {
        flex-direction: column-reverse;
        justify-content: center;
        width: 200px;
        gap: 10px;
    }

    .timeVol div {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .left-footer2 {
        padding: 0 15px;
        margin-bottom: 10px;
    }
}

@media (max-width: 600px) {
    .card {
        width: 60vw;
        margin: 10px auto;
    }
    
    .cardContainer {
        justify-content: center;
        padding: 0 5px;
    }
    
    .SpotifyPlaylist {
        font-size: 28px;
        padding: 15px;
        text-align: center;
    }
    
    .header {
        padding: 0 10px;
        height: 45px;
    }
    
    .buttons {
        gap: 10px;
    }
    
    .signupbtn, .loginbtn {
        font-size: 14px;
        padding: 8px 16px;
    }
    
    .playbar {
        width: 96vw;
        margin: 0 2vw;
        padding: 10px;
        border-radius: 16px;
    }
    
    .abovebar {
        padding: 5px 15px;
        gap: 1px;
    }
    
    .songButtons {
        gap: 15px;
    }
    
    .songButtons>img {
        padding: 8px;
    }
    
    #play {
        padding: 10px;
    }
}

/* Additional Enhancements */
.bg-black {
    background: var(--spotify-black);
}

.bg-gray {
    background: linear-gradient(135deg, var(--spotify-gray) 0%, rgba(40, 40, 40, 0.8) 100%);
}

.border {
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Smooth animations for state changes */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card {
    animation: fadeIn 0.6s ease-out;
}

/* Glow effects for interactive elements */
.logoimg:hover,
.volumeBtn:hover,
.songButtons>img:hover {
    filter: drop-shadow(0 0 10px rgba(29, 185, 84, 0.5));
}

/* Enhanced focus states for accessibility */
button:focus,
input:focus,
.songList ul li:focus,
.card:focus {
    outline: 2px solid var(--spotify-green);
    outline-offset: 2px;
}

/* Subtle pulse animation for the current playing song */
@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 5px rgba(29, 185, 84, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(29, 185, 84, 0.6);
    }
}

.songList ul li.playing {
    animation: pulse 2s infinite;
    border-color: var(--spotify-green);
    background: rgba(29, 185, 84, 0.1);
}

/* Enhanced loading states */
@keyframes shimmer {
    0% {
        background-position: -200px 0;
    }
    100% {
        background-position: calc(200px + 100%) 0;
    }
}

.loading {
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.1) 50%, transparent 100%);
    background-size: 200px 100%;
    animation: shimmer 1.5s infinite;
}