body {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
}


.background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-size: cover;
    object-fit: cover;
    opacity: 0.7;
}

.container {
    position: relative;
    display: flex;
    align-items: center;
    flex-direction: column;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    background: rgba(30, 40, 45, 0.3);
    border-radius: 20px;
    height: auto;
    min-height: 15rem;
    padding: 50px 40px;
    width: 100%;
    max-width: 650px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin: -10px;
    margin-top: 80px;
    transition: 
        transform 0.5s cubic-bezier(0.03, 0.98, 0.52, 0.99), 
        height 0.5s cubic-bezier(0.03, 0.98, 0.52, 0.99);
    overflow: visible;
    transform-style: preserve-3d;
    box-shadow: 0 0px 16px 0 rgba(0, 0, 0, 0.6);
}

/* Media query para monitores semi ultrawide (2560x1080) */
/* @media screen and (min-width: 2560px) {
    .container {
        max-width: 900px;
        min-height: 20rem;
        padding: 50px 25px;
        margin-top: 100px;
    }
} */

/* Ajustes para telas menores (tablets) */
@media (max-width: 768px) {
    .container {
        padding: 25px 10px; /* Reduz o padding */
        min-height: 12rem; /* Reduz a altura mínima */
        max-width: 90%; /* Aumenta a largura máxima para ocupar mais espaço */
        height: auto;
    }
}

/* Ajustes para telas muito pequenas (smartphones) */
@media (max-width: 480px) {
    .container {
        padding: 20px 15px 25px; /* Reduced padding */
        min-height: 10rem;
        max-width: 90%; /* Reduced from 95% */
        border-radius: 12px;
        margin-bottom: 20px; /* Reduced margin */
        margin-top: 20px; /* Added top margin */
        border: 4px solid rgba(175, 175, 175, 0.034);
        height: auto;
        min-height: auto; /* Changed from 580px to auto */
        position: relative;
    }
}


.container .banner {
    position: absolute;
    top: 0;
    display: block;
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 13px 13px 0 0;
}

.container .avatar {
    margin-top: 0;
    margin-bottom: 20px;
    z-index: 1;
    border-radius: 50%;
    height: 140px;
    width: 140px;
    outline: 4px solid rgba(138, 43, 226, 0.6);
    box-shadow: 0 0 30px rgba(138, 43, 226, 0.5), 0 0 60px rgba(138, 43, 226, 0.3);
    pointer-events: none;
    position: relative;
}

/* Responsividade para tablets */
@media (max-width: 480px) {
    .container .avatar {
        margin-top: 10px;
        height: 120px; /* Slightly smaller */
        width: 120px;
    }
}

.container .profileLayout {
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 27rem;
    text-align: center;
}

/* Ajustes para telas muito pequenas (smartphones) */
@media (max-width: 480px) {
    .container .profileLayout {
        padding-top: 10px;
    }
}

.container .profileLayout .profileUsername {
    font-weight: 700;
    font-size: 48px;
    width: fit-content;
    pointer-events: none;
    background: linear-gradient(135deg, #8B5CF6, #6366F1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 8px;
}

@media (max-width: 480px) {
    .container .profileLayout .profileUsername {
        font-size: 36px; /* Smaller on mobile */
    }
    
    .container .profileLayout .profileUsername span {
        font-size: 36px; /* Match parent size */
    }
}

.container .profileLayout .profileUsername .dev-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(96, 165, 250, 0.15);
    border: 1px solid rgba(96, 165, 250, 0.3);
    border-radius: 8px;
    padding: 4px 10px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.container .profileLayout .profileUsername .dev-badge svg {
    color: #60a5fa;
    filter: drop-shadow(0 0 4px rgba(96, 165, 250, 0.5));
}

.container .profileLayout .profileUsername span{
    font-weight: 700;
    font-size: 48px;
    width: fit-content;
    pointer-events: none;
}

.container .profileLayout .profileBadges {
    content: attr(data-tooltip);
    margin-bottom: 0;
    margin-top: 0;
    align-items: center;
    background-color: transparent;
    border: none;
    border-radius: 0;
    display: flex;
    gap: 5.5px;
    justify-content: center;
    padding: 6px 10px;
}

.container .profileLayout .profileBadges .profileBadge {
    position: relative;
    font-size: 20.5px;
    display: flex;
    align-items: center;
    color: #ffffff !important;
}

.container .profileLayout .profileBadges .profileBadge::before {
    content: '';
    background-color: black;
    opacity: 0;
    color: white;
    position: absolute;
    font-size: 15px;
    font-weight: 600;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 1rem;
    padding: 2px 16px;
    z-index: 1;
    filter: none;
    box-shadow: none;
    white-space: nowrap;
    transition: opacity .3s;
}

/* Novo estilo para o tooltip personalizado */
.badge-tooltip {
    position: fixed;
    background-color: rgba(0, 0, 0, 0.85);
    color: white;
    font-size: 15px;
    font-weight: 600;
    border-radius: 1rem;
    padding: 4px 16px;
    z-index: 10;
    visibility: hidden;
    opacity: 0;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Animação tipo bounce */
  }

/* Podemos remover o pseudo-elemento ::before que era usado antes */
.container .profileLayout .profileBadges .profileBadge::before {
    display: none;
  }

/* .container .profileLayout .profileBadges .profileBadge:hover::before {
    opacity: .8;
}

.container .profileLayout .profileBadges .profileBadge.dev:hover::before {
    content: 'Developer';
}
.container .profileLayout .profileBadges .profileBadge.staff:hover::before {
    content: 'Staff';
}
.container .profileLayout .profileBadges .profileBadge.certif:hover::before {
    content: 'Certified';
}
.container .profileLayout .profileBadges .profileBadge.premium:hover::before {
    content: 'Premium';
}
.container .profileLayout .profileBadges .profileBadge.bughunter:hover::before {
    content: 'Bug Hunter';
}
.container .profileLayout .profileBadges .profileBadge.earlysupporter:hover::before {
    content: 'Early Supporter';
}
.container .profileLayout .profileBadges .profileBadge.booster:hover::before {
    content: 'Server Booster';
}
.container .profileLayout .profileBadges .profileBadge.graphic:hover::before {
    content: 'Graphic Designer';
}
.container .profileLayout .profileBadges .profileBadge.imagehost:hover::before {
    content: 'Image Host';
}
.container .profileLayout .profileBadges .profileBadge.sweet:hover::before {
    content: 'Candy';
}
.container .profileLayout .profileBadges .profileBadge.patrick:hover::before {
    content: 'St. Patrick';
} */

.container .profileLayout .profileBio {
    font-weight: 400;
    font-size: 15px;
    margin-top: 10px;
    color: rgba(255, 200, 100, 0.9);
    height: auto;
    line-height: 1.5;
    max-width: 500px;
}

@media (max-width: 480px) {
    .container .profileLayout .profileBio {
        margin-top: 5px;
        height: 1px;
    }
}

.container .presenceWrapper {
    display: flex;
    justify-content: center;
    gap: 1rem;
    max-width: 28rem;
    width: 100%;
}

.container .presenceContainer {
    margin-top: 20px;
    align-items: center;
    display: flex;
    text-overflow: ellipsis;
    background: rgba(50, 60, 70, 0.6);
    backdrop-filter: blur(5px) saturate(180%);
    -webkit-backdrop-filter: blur(5px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    box-sizing: border-box;
    justify-content: space-between;
    max-width: -moz-fit-content;
    max-width: fit-content;
    width: 100%;
    box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.4);
}

/* Ajustes para telas muito pequenas (smartphones) */
@media (max-width: 480px) {
    .container .presenceContainer {
        margin-top: 15px; /* Reduced from 30px */
        margin-bottom: 5px; /* Reduced from 10px */
    }
}

.container .presenceWrapper .discordInfos {
    display: flex;
    gap: 10px;
    justify-content: left;
    padding: 10px;
    position: relative;
    white-space: nowrap;
}

.container .presenceWrapper .discordInfos .discordAvatar {
    display: flex;
    position: relative;
}

.container .presenceWrapper .discordInfos .discordAvatar .decoration {
    position: absolute;
    height: 86px;
    width: 86px;
    left: -8px;
    top: -7px;
}

.container .presenceWrapper .discordInfos .discordAvatar .avatarImage {
    border: 50%;
    border-radius: 50%;
    height: 70px;
    -o-object-fit: cover;
    object-fit: cover;
    width: 70px;
}

.container .presenceWrapper .discordInfos .discordAvatar .discordStatus {
    bottom: 2px;
    height: 17px;
    -o-object-fit: cover;
    object-fit: cover;
    position: absolute;
    right: 2px;
    width: 17px;
}

.container .presenceWrapper .discordInfos .discordActivity {
    /* overflow: hidden; */
    text-overflow: ellipsis;
    white-space: nowrap;
    display: flex;
    gap: 12px;
}

.container .presenceWrapper .discordInfos .discordUser {
    display: flex;
    flex-direction: column;
    gap: 2px;
    justify-content: center;
    /* overflow: hidden; */
    text-overflow: ellipsis;
    white-space: nowrap;
}

.container .presenceWrapper .discordInfos .discordUser h3 {
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.7);
    margin-right: 2px;
    font-style: italic;
    text-align: left;
}

.container .presenceWrapper .discordInfos .discordUserDiv {
    align-items: center;
    display: flex;
}

.container .presenceWrapper .discordInfos .discordUserDiv span {
    font-weight: 600;
    font-size: 20px;
    color: white;
}

.container .presenceWrapper .discordInfos .discordUserBadges {
    display: flex;
    align-items: center;
    margin-left: 6px;
}

.container .presenceWrapper .discordInfos .discordUserBadges img {
    height: 22px;
    object-fit: cover;
    width: 22px;
}

.container .presenceWrapper .discordInfos .discordUserBadge {
    position: relative;
    display: flex;
    align-items: center;
}

.container .presenceWrapper .discordInfos .discordUserBadge {
    position: relative;
}

/* .container .presenceWrapper .discordInfos .discordUserBadge::before {
    content: attr(data-tooltip);
    background-color: black;
    color: white;
    opacity: 0;
    position: absolute;
    font-size: 15px;
    font-weight: 600;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 1rem;
    padding: 2px 16px;
    z-index: 1;
    transition: opacity 0.3s;
} */

.container .presenceWrapper .discordInfos .discordUserBadge:hover::before {
    opacity: 0.8;
}

.presenceWrapper .spotifyInfos {
    display: flex;
    gap: 10px;
    justify-content: left;
    padding: 7px 10px;
    position: relative;
    white-space: nowrap;
}

.presenceWrapper .spotifyCover {
    display: flex;
    align-items: center;
}

.presenceWrapper .spotifyDetails {
    display: flex;
    flex-direction: column;
    min-width: 14rem;
}

.presenceWrapper .spotifyDetails .spotifyTitle {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.presenceWrapper .spotifyDetails .spotifyTitle h1 {
    font-size: 15px;
    font-weight: 700;
}

.presenceWrapper .spotifyDetails .spotifyTitle img {
    width: 20px;
    height: 20px;
}

.presenceWrapper .spotifyDetails .spotifyDescription {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.presenceWrapper .spotifyDetails .spotifyDescription span {
    font-size: 14px;
}

.presenceWrapper .spotifyDetails .spotifyDescription span:last-child {
    color: rgb(160, 160, 160);
    font-size: 13px;
    font-weight: 400;
}

.presenceWrapper .spotifyDetails .spotifyProgress {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 5px;
    margin-top: 4px;
    position: relative;
}

.presenceWrapper .spotifyDetails .spotifyProgress span {
    font-size: 12px;
}

.presenceWrapper .spotifyDetails .bar {
    width: 73%;
    height: 4px;
    border-radius: 6px;
    position: absolute;
    left: 30px;
    background-color: grey;
}

.presenceWrapper .spotifyDetails .bar .progress {
    width: 0%;
    height: 4px;
    background-color: white;
    border-radius: 6px;
}

.container .linkedAccounts {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 2.5rem;
    filter: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2em;
}

/* Ajustes para telas */
/* @media (max-width: 1366px) {
    .container .linkedAccounts {
        padding-bottom: 5px;
    }
} */

/* Ajustes para telas muito pequenas (smartphones) */
@media (max-width: 480px) {
    .container .linkedAccounts {
        padding-bottom: 10px; /* Reduced from 15px */
        margin-top: 1.2rem; /* Reduced from 2rem */
        gap: 1rem; /* Reduced from 1.2rem */
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* .container .linkedAccounts svg {
    width: 2.1em;
    height: 2.1em;
} */

/* .container .linkedAccounts:hover {
    transform: scale(1.05);
} */

/* .container .linkedAccounts a[data-type="Discord"]:hover svg {
    transform: scale(1.25);
    filter: drop-shadow(0 0 0.8px #ffffff) !important;
}

.container .linkedAccounts a[data-type="Spotify"]:hover svg {
    transform: scale(1.25);
    filter: drop-shadow(0 0 0.8px #ffffff) !important;
}

.container .linkedAccounts a[data-type="Instagram"]:hover svg {
    transform: scale(1.25);
    filter: drop-shadow(0 0 0.8px #ffffff) !important;
}

.container .linkedAccounts a[data-type="Roblox"]:hover svg {
    transform: scale(1.25);
    filter: drop-shadow(0 0 0.8px #ffffff) !important;
} */

/* Transição suave para todos os SVGs */
.container .linkedAccounts a svg {
    transition: transform 0.3s ease;
}

.container .linkedAccounts .linkedAccountsRedirect {
    transition: all 0.3s;
    display: flex;
    align-items: center;
    position: relative;
    cursor: url('/img/extralsmall.png') !important;
}

.container .linkedAccounts .linkedAccountsRedirect.copied::before {
    content: 'Copied';
}

.container .linkedAccounts .linkedAccountsRedirect::before {
    content: attr(data-type);
    opacity: 0;
    color: white;
    position: absolute;
    font-size: 15px;
    font-weight: 600;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 1rem;
    padding: 2px 16px;
    z-index: 1;
    filter: none;
    box-shadow: none;
    white-space: nowrap;
    transition: opacity .2s;
}

.container .linkedAccounts .linkedAccountsRedirect:hover::before {
    opacity: .8;
}

.container .linkedAccountsRedirect {
    text-decoration: none;
    color: white;
}

/* Estilos base para o tooltip dos profileViews */
.container .profileViews::before {
    content: attr(data-type);
    opacity: 0;
    color: white;
    position: absolute;
    font-size: 15px;
    font-weight: 600;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 1rem;
    padding: 2px 16px;
    z-index: 10; /* Aumentado para garantir que fique acima de outros elementos */
    filter: none;
    box-shadow: none;
    white-space: nowrap;
    transition: opacity .3s;
    /* background-color: rgba(0, 0, 0, 0.7); */
}

.container .profileViews:hover::before {
    opacity: .8;
    content: 'Views';
}

/* Estilo base para profileStats */
.profileStats {
    display: flex;
    align-items: center;
    position: absolute;
    bottom: 20px;
    left: 20px;
    gap: 0.4rem;
    padding: 6px 10px;
    border-radius: 10px;
    color: rgba(255, 200, 100, 0.9);
    font-size: 14px;
    transition: all 0.3s ease;
    z-index: 5;
    backdrop-filter: blur(5px) saturate(180%);
    -webkit-backdrop-filter: blur(5px) saturate(180%);
    background: rgba(50, 60, 70, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.4);
}

.profileStats:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 48px 0 rgba(0, 0, 0, 0.45);
}

/* Profile views e location estilizados para serem mais robustos */
.profileViews, .profileLocation {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    position: relative;
    padding: 0;
}

/* Responsividade para tablets */
@media screen and (min-width: 2560px) {
    .profileStats {
        bottom: 20px;
        left: 20px;
        padding: 8px 14px;
    }
}

/* Responsividade para tablets */
@media (max-width: 992px) {
    .profileStats {
        bottom: 20px;
        left: 20px;
        padding: 8px 14px;
    }
}

@media (max-width: 900px) {
    .profileStats {
        bottom: 20px;
        left: 20px;
        padding: 8px 14px;
    }
}

/* Responsividade para tablets menores */
@media (max-width: 768px) {
    .profileStats {
        bottom: 20px;
        left: 20px;
    }
}

@media (max-width: 760px) {
    .profileStats {
        bottom: 20px;
        left: 20px;
    }
}

@media (max-width: 750px) {
    .profileStats {
        bottom: 20px;
        left: 20px;
    }
}


/* Ajuste para telas médias */
@media (max-width: 600px) {
    .profileStats {
        bottom: 20px;
        left: 20px;
        font-size: 13px;
    }
}

/* Ajuste para telas médias */
@media (max-width: 531px) {
    .profileStats {
        bottom: 20px;
        left: 20px;
        font-size: 13px;
    }
}

/* Ajustes para celulares */
@media (max-width: 480px) {
    .profileStats {
        flex-direction: row;
        bottom: 15px;
        left: 15px;
        right: auto;
        padding: 6px 10px;
        font-size: 12px;
        max-width: calc(100% - 30px);
        z-index: 10;
    }
    
    .profileViews svg, .profileLocation svg {
        width: 14px; /* Ícones um pouco menores */
        height: 14px;
    }
}

/* Telas muito pequenas - ajuste completo */
@media (max-width: 350px) {
    .profileStats {
        bottom: 15px;
        left: 15px;
        flex-direction: row;
        font-size: 11px;
        padding: 5px 8px;
    }
}

/* Estilo para hover com feedback visual */
/* .profileStats:hover {
    background-color: rgba(30, 30, 30, 0.8);
} */

/* Estilo para o tooltip do Location */
.profileLocation::before {
    content: attr(data-type);
    opacity: 0;
    color: white;
    position: absolute;
    font-size: 15px;
    font-weight: 600;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 1rem;
    padding: 2px 16px;
    z-index: 10;
    filter: none;
    box-shadow: none;
    white-space: nowrap;
    transition: opacity .3s;
    /* background-color: rgba(0, 0, 0, 0.7); */
}

.profileLocation:hover::before {
    opacity: .8;
}

.separator {
    height: 16px;
    width: 2px;
    background-color: rgba(255, 255, 255, 0.041);
    margin: 0 2px;
    border-radius: 25px;
}

/* Estilo para os ícones SVG dentro dos elementos */
.profileViews svg, .profileLocation svg {
    flex-shrink: 0; /* Impede que os ícones encolham */
}

/* Destaque no hover para elementos clicáveis */
.profileViews:hover, .profileLocation:hover {
    color: rgba(255, 255, 255, 1);
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

.music-container {
    font-family: 'Chillax', sans-serif !important;
    position: relative;
    display: none;
    align-items: center;
    flex-direction: column;
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    background: rgba(30, 40, 45, 0.85);
    border-radius: 20px;
    min-height: 5rem;
    padding: 35px 15px;
    width: 100%;
    max-width: 650px;
    max-height: 100px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin: 0 auto;
    will-change: transform, height;
    transition: height 0.5s ease, min-height 0.5s ease;
    overflow: hidden;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.6);
}

/* Ajustes para monitores ultrawide (1920px e acima) */
@media screen and (min-width: 1920px) {
    .music-container {
        max-width: 900px; /* Aumenta a largura máxima para ultrawide */
    }
}

/* Ajustes específicos para monitores 2560px ou maiores */
@media screen and (min-width: 2560px) {
    .music-container {
        max-width: 1100px; /* Largura ainda maior para monitores realmente grandes */
    }
}

/* Ajustes para telas menores (tablets) */
@media (max-width: 768px) {
    .music-container {
        min-height: 10rem; /* Reduz a altura mínima */
        max-width: 90%; /* Aumenta a largura máxima para ocupar mais espaço */
    }
}

/* Ajustes para telas menores (tablets) */
@media (max-width: 550px) {
    .music-container {
        min-height: 12rem; /* Reduz a altura mínima */
        height: 50px;
        max-width: 75%; /* Aumenta a largura máxima para ocupar mais espaço */
    }
}

/* Ajustes para telas muito pequenas (smartphones) */
@media (max-width: 480px) {
    .music-container {
        border: 4px solid rgba(175, 175, 175, 0.034);
        min-height: 8rem;
        max-width: 85%;
        border-radius: 10px;
        bottom: auto;
        margin-top: 15px;
    }
}

/* Ajustes para telas muito pequenas (smartphones) */
@media (max-width: 413px) {
    .music-container {
        max-width: 70%; /* Aumenta a largura máxima para ocupar mais espaço */
        border-radius: 10px; /* Reduz o border-radius para telas pequenas */
        bottom: 60px;
    }
}

.music-player {
    width: 500px;
    border-radius: 10px;
    font-family: 'Chillax', sans-serif !important;
    font-size: large;
}

/* Ajustes para telas menores (tablets) */
@media screen and (min-width: 2560px) {
    .music-player {
        max-width: 90%; /* Aumenta a largura máxima para ocupar mais espaço */
    }
}

/* Ajustes para telas menores (tablets) */
@media (max-width: 768px) {
    .music-player {
        min-height: 12rem; /* Reduz a altura mínima */
        max-width: 90%; /* Aumenta a largura máxima para ocupar mais espaço */
        padding-top: 40px;
    }
}

/* Ajustes para telas muito pequenas (smartphones) */
@media (max-width: 480px) {
    .music-player {
        padding-top: 30px;
        min-height: 10rem; /* Reduz a altura mínima */
        max-width: 80%; /* Aumenta a largura máxima para ocupar mais espaço */
        border-radius: 10px; /* Reduz o border-radius para telas pequenas */
        bottom: 60px;
    }
}

.music-player .player-controls {
    margin-bottom: 0px;
    font-size: 30px;
}

.player-controls .prev,
.player-controls .next {
    transition: opacity 0.4s ease;
}

.player-controls .prev:hover,
.player-controls .next:hover {
    opacity: 1.0 !important;
}

.music-player .player-timeline {
    margin-top: -12px;
}

.player-timeline {
    display: flex;
    align-items: center;
}

.player-controls {
    display: flex;
    justify-content: center;
    align-items: center;
}

.timeline {
    flex-grow: 1;
    height: 4px;
    background-color: #ffffff36;
    border-radius: 2px;
    position: relative;
}

.timeline-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 20%;
    background-color: #fff;
    border-radius: 2px;
    will-change: padding, display;
}

.time-label {
    color: #ffffff;
    font-size: 12px;
    width: 40px;
}

.control-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.control-btn:hover {
    opacity: 1;
}

.play-pause {
    font-size: 40px;
}

.pause-icon {
  font-size: 40px;
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 10px;
    position: fixed;
    left: 2%;
    top: 2%;
    opacity: 0.9;
    z-index: 1000;
}

.volume-icon {
    cursor: pointer;
    z-index: 2;
}

/* Volume slider in player controls */
.player-controls .volume-slider {
    width: 80px;
    height: 4px;
    background: rgba(255,255,255,0.2);
    outline: none;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    -webkit-appearance: none;
    border-radius: 2px;
}

.player-controls .volume-slider:hover {
    opacity: 1;
}

.player-controls .volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 12px;
    height: 12px;
    background: #fff;
    border-radius: 50%;
    cursor: pointer;
}

.player-controls .volume-slider::-moz-range-thumb {
    width: 12px;
    height: 12px;
    background: #fff;
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

.volume-slider {
    width: 120px;
    height: 4px;
    background: rgba(255,255,255,0.2);
    outline: none;
    opacity: 0;
    /* Mudança aqui - transição mais lenta para esconder (desaparecer) */
    transition: opacity 0.2s ease-in, opacity 0.7s ease-out;
    -webkit-appearance: none;
    border-radius: 2px;
    position: absolute;
    left: 100%;
    margin-left: 10px;
}

.volume-control:hover .volume-slider {
    opacity: 0.7;
    /* Transição rápida para aparecer */
    transition: opacity 0.2s ease-in;
}

/* Adicionar este seletor para manter visível quando o cursor estiver sobre o slider */
.volume-slider:hover {
    opacity: 0.7;
    transition: opacity 0s;
}

.volume-slider:hover {
    opacity: 1;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 12px;
    height: 12px;
    background: white;
    cursor: url('/img/Precision Select.cur');
    border-radius: 50%;
}

@media (max-width: 480px) {
    .volume-control {
        display: none;
    }
    
    /* Ensure music player volume control is visible on mobile */
    .player-controls > div {
        display: flex !important;
        align-items: center;
        gap: 6px;
        margin-left: 10px;
    }
    
    .player-controls .volume-icon {
        width: 1em;
        height: 1em;
        opacity: 0.8;
    }
    
    .player-controls .volume-slider {
        width: 60px !important;
        opacity: 0.7 !important;
    }
}

