/* Scrollbar unica */
::-webkit-scrollbar {
    width: 4px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: #be3bff;
    border-radius: 2px;
}

body {
    margin: 0;
    padding: 0;
    background-color: rgb(255, 255, 255);
    color: rgb(0, 0, 0);
    font-family: Arial, sans-serif;
}

 .nav-container {
     position: fixed;
     background: rgba(255, 255, 255, 0.95);
     top: 0;
     right: 0;
     gap: 1rem;
     padding: 1rem;
     z-index: 1000;
     display: flex;
     justify-content: flex-end;
     width: auto;
 }

 .nav-item {
     color: rgb(0, 0, 0);
     text-decoration: none;
     font-family: ABCDiatype-Medium, sans-serif;
     font-weight: bold;
     margin-left: 2rem;
     font-size: 0.9rem;
     transition: color 0.3s ease;
 }

.nav-item:hover {
    color: #b400fb;
}

.album-content {
    max-width: 1200px;
    margin: 50px auto;
    padding: 20px;
    display: flex;
    gap: 40px;
}

.album-artwork {
    flex: 0 0 400px;
}

.album-artwork img {
    width: 100%;
    margin-top: 90px;
    height: auto;
}

.album-info {
    flex: 1;
    margin-top: 60px;
}

.album-info h1 {
    color: #000000;
    font-size: 1.5em;
    font-family: abcdiatype-medium, sans-serif;
    letter-spacing: -.5px;
    font-weight: normal;
    font-style: italic;
    margin-bottom: 20px;
}

.album-info h2 {
    color: #000000;
    font-size: 2.5em;
    font-family: abcdiatype-medium, sans-serif;
    letter-spacing: -.5px;
    font-style: italic;
    margin-bottom: 20px;
}

.track-list {
    list-style: none;
    padding: 0;
}

.track-item {
    padding: 15px 0;
    border-bottom: 1px solid #333;
    display: flex;
    align-items: center;
    gap: 15px;
}

.track-number {
    color: #000000;
    font-size: 1.2em;
    width: 30px;
}

.track-title {
    flex: 1;
}

.play-button {
    color: rgb(0, 0, 0);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2em;
    padding: 5px;
}

.play-button:hover {
    color: #b400fb;
}

.album-description {
    margin-top: 40px;
    margin-bottom: 40px;
    color: #000000;
    font-size: 0.9rem;
    line-height: 1.5;
    font-family: abcdiatype-medium, sans-serif;
    font-style: italic;
    text-align: right;
    border: 1px solid #b400fb;
    padding: 20px;
}

.bio-credits {
    margin-top: 30px;
    font-size: 0.9rem;
    color: #7d7c7c;
    line-height: 1.6;
    text-align: right;
}

.album-credits {
    margin-top: 30px;
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
    text-align: right;
}

.band-members {

    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
    text-align: right;
}

.credit-item {
    margin-bottom: 8px;
}

.credit-label {
    font-weight: bold;
    color: #333;
}

.bottom-player {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100vw;
    height: 60px;
    background: rgb(0, 0, 0);
    z-index: 1000;
    border: 1px solid #b400fb;
    border-bottom: none;
    box-sizing: border-box;
}

.bottom-player .custom-player {
    position: relative;
    width: 100%;
    height: 60px;
}

.bottom-player .controls {
    position: absolute;
    left: 0;
    top: 0;
    height: 60px;
    display: flex;
    align-items: center;
    font-size: 0;
    white-space: nowrap;
}

.control-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: white;
    cursor: pointer;
    margin: 0;
    border-right: 1px solid #eee;
}

.control-container:last-child {
    border-right: none;
}

.bottom-player .control-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: white;
    cursor: pointer;
    margin: 0;
}

.bottom-player .control-button i {
    color: #080808;
    font-size: 18px;
}

.bottom-player .control-button:hover {
    background: #f0f0f0;
}

.bottom-player .control-button i:hover {
    color: #b400fb;
}

.bottom-player .track-info {
    position: absolute;
    left: 200px;
    top: 50%;
    transform: translateY(-50%);
    padding-left: 20px;
}

.bottom-player .song-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.bottom-player .title-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.bottom-player .song-title {
    font-size: 14px;
    color: white;
    font-weight: bold;
}

.bottom-player .artist-name {
    font-size: 12px;
    color: #999;
    margin-left: 8px;
}

.bottom-player .time-row {
    font-size: 11px;
    color: #999;
    margin-top: 2px;
}

.bottom-player .time-row span {
    margin: 0 2px;
}

.bottom-player .progress-container {
    position: absolute;
    bottom: 2px;
    left: 200px;
    width: calc(100% - 220px);
    height: 2px;
    background: #333;
    cursor: pointer;
}

.bottom-player .progress-bar {
    width: 100%;
    height: 100%;
    background: #333;
    position: relative;
}

.bottom-player .progress {
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 100%;
    background: #b400fb;
    transition: width 0.1s linear;
}

.bottom-player .volume-container {
    position: absolute;
    right: 120px;
    top: 0;
    height: 60px;
    display: flex;
    align-items: center;
    font-size: 0;
    white-space: nowrap;
}

.bottom-player .volume-container i {
    color: white;
    font-size: 18px;
    cursor: pointer;
}

.bottom-player .volume-container input[type="range"] {
    width: 100px;
    height: 4px;
    -webkit-appearance: none;
    background: #333;
    border-radius: 2px;
    cursor: pointer;
}

.bottom-player .volume-container input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    background: #b400fb;
    border-radius: 50%;
    cursor: pointer;
}

.bottom-player .volume-container input[type="range"]::-moz-range-thumb {
    width: 12px;
    height: 12px;
    background: #b400fb;
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

.artwork-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 90px;
    height: auto;
    position: absolute;
    top: 0;
    left: 0;
    margin-left: 0.5rem;
}

.artwork-container img {
    max-width: 100%;
    height: auto;
    cursor: pointer;
}

.artwork-credit {
    text-align: center;
    color: #000000;
    font-family: Abcdiatype-Medium, sans-serif;
    font-style: italic;

    font-size: 0.9rem;
    margin-top: 10px;
}

/* Stili per l'overlay */
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.overlay img {
    max-width: 80%;
    max-height: 80%;
}

/* Aggiungendo l'accelerazione hardware per migliorare le prestazioni su dispositivi mobili più vecchi */
.image-box {
    will-change: transform;
    transform: translateZ(0);
}

/* Media Queries */
@media screen and (max-width: 1200px) {
    .album-content {
        max-width: 900px;
        padding: 0 10px;
        margin: 40px auto;
    }

    .album-artwork {
        max-width: 400px;
    }
}

@media screen and (max-width: 780px) {
    .nav-container {
        width: 100%;
        padding: 0;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        background: #b400fb;
        display: none;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: 100vh;
        gap: 2rem;
    }

    .nav-container.active {
        display: flex;
    }

    .nav-container .nav-item {
        color: white;
        font-size: 2rem;
        text-align: center;
        width: 100%;
        margin: 2rem;
    }
}

@media screen and (max-width: 768px) {
    .hamburger-menu {
        display: block;
        position: absolute;
        top: 0;
        right: 0;
        z-index: 1001;
        cursor: pointer;
        background: none;
        padding: 1rem;
        width: 60px;
    }

    .artwork-container {
        top: 0px;
        left: 0;
        z-index: 1000;
        display: flex;
        align-items: center;
        margin-left: 0.5rem;
        width: auto;
    }

    .artwork-container img {
        width: 70px;
        height: auto;
    }

    .bars-container {
        display: flex;
        flex-direction: column;
        gap: 5px;
        width: 25px;
        margin: 0 auto;
    }

    .bar {
        width: 25px;
        height: 3px;
        background-color: rgb(0, 0, 0);
        transition: 0.3s;
    }

    .nav-container {
        display: none;
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: #b400fb;

        transition: 0.3s;
        flex-direction: column;
        gap: 1rem;
    }

    .nav-container.active {
        right: 0;
        display: flex;
    }

    /* Hamburger animation */
    .hamburger-menu.active .bar:first-child {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .hamburger-menu.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger-menu.active .bar:last-child {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    .album-content {
        flex-direction: column;
        gap: 20px;
        margin: 50px auto 100px;
    }

    .album-artwork {
        max-width: 350px;
    }

    .album-artwork img {
        margin-top: 40px;
    }

    .album-info {
        padding: 0 1rem;
        margin-top: 10px;
        margin-bottom: 30px;
    }

    .album-title {
        font-size: 1.8rem;
    }

    .album-description {
        font-size: 0.9rem;
    }

    .bio-credits {
        margin-top: 20px;
        margin-bottom: 50px;
        font-size: 0.85rem;
        padding-bottom: 30px;
    }

    /* Nascondi volume su mobile */
    .bottom-player .volume-container {
        display: none;
    }

    /* Aggiusta la progress bar senza il volume */
    .bottom-player .progress-container {
        width: calc(100% - 120px);
    }
}

@media screen and (max-width: 480px) {
    .album-content {
        margin: 50px auto 80px;
    }

    .overlay img {
        max-width: 100%;
        max-height: 100%;
    }


    .album-credits {
        margin-bottom: 40px;
        padding-bottom: 20px;
    }
}

.link-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 25px;
    background-color: #000000;
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.link-container a {
    color: #ffffff;
    text-decoration: none;
    font-family: abcdiatype-medium, Arial, sans-serif;
    font-size: 1rem;
    font-weight: bold;
    letter-spacing: 0.5px;
    transition: color 0.2s;
}

.link-container a:hover {
    color: #7d15cd;
    text-decoration: underline;
}