/* Reset and General Styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body {
    /* background-color: #f7f7f7; */
    background-image: url(https://assets.production.linktr.ee/profiles/_next/static/images/background-desktop-cca3186cdc7719ead00cfc36e2e05c4b.png);
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;

    display: flex;
    justify-content: center;
    padding: 20px;
    color: #333;
}

/* Container for Artist Page Content */
.artist-container {
    /* background-color: #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05); */
    padding: 32px;
    border-radius: 12px;
    max-width: 500px;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

/* Hero Section */
.hero-section {
    /* padding: 12px 0px; */
    padding: 8px 0px;
}

.artist-photo {
    height: 102px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 6px;
    aspect-ratio: 1 / 1;
}

.artist-name {
    line-height: 100%;
    font-size: 22px;
    font-weight: 700;
    color: #333;
    margin-bottom: 6px;
}

.artist-bio {
    line-height: 152%;
    font-size: 13px;
    color: #888;
    margin: 0;
}

hr {
    border: 0;
    width: 80%;
    background-color: #dddce0;
    height: 1.2px;
    border-radius: 20px;
    margin-bottom: 6px;
    margin-top: 14px;
}

/* Featured Track Section */
.featured-track {
    width: 100%;
    height: 200px;
    position: relative;
    background-position: center;
    background-size: cover;
    padding: 24px;
    border-radius: 12px;
    color: white;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    text-align: left;
}

.featured-track .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(to bottom, #00000000, #000000) !important;
    border-radius: 12px;
    z-index: 1;
}

.track-info {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    width: 100%;
}

.track-text {
    text-align: left;
}

.track-text h2 {
    font-size: 22px;
    line-height: 152%;
    margin: 0;
}

.track-text p {
    font-size: 14px;
    line-height: 152%;
    margin: 0;
}

.play-stream-button {
    padding: 5px 15px;
    background-color: rgb(255, 255, 255);
    color: rgb(0, 0, 0);
    font-size: 14px;
    border-radius: 50px;
    font-weight: 500;
    text-decoration: none;
    text-align: center;
    transition: background-color 0.3s ease;
    line-height: 158%;
    display: flex;
    align-items: center;
    gap: 1px;
}

.play-stream-button img {
    width: 16px;
    margin: -1px -3px -1px 0;
}

.play-stream-button:hover {
    transform: translateY(-2px);
    transition: all .2s;
}


/* Latest Releases Section */
.latest-releases {
    width: 100%;
    /* background-image: url(../assets/latest-releases-bg.avif);
    background-size: cover; */
    background-color: #e0f8ff;
    display: flex;
    gap: 0px;
    align-items: center;
    padding: 16px;
    border-radius: 12px;
    border: solid 1px #181c2530;
}

.latest-releases-left {
    height: 100%;
    width: 64%;
    border-radius: 12px;
    text-align: center;
    color: #000;
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
}

.latest-releases-left h2 {
    line-height: 122%;
    text-align: left;
    font-size: 18px;
    font-weight: 600;
}

.latest-releases-left h2 span {
    color: #004a8b;
    font-weight: 700;
}

.headphone-icon {
    width: 40px;
}

.latest-releases-right {
    width: -webkit-fill-available;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.track-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.track-list a {
    text-decoration: none;
}

.track-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 8px 8px 14px;
    background-color: #ffffff;
    border-radius: 14px;
    border: solid 1px #181c2530;
    align-items: center;
}

.track-item span {
    text-align: left;
    font-size: 15px;
    font-weight: 500;
    line-height: 130%;
    color: #333;
}

.stream-button {
    padding: 3px 15px;
    border: solid 1px #181c2530;
    border-radius: 20px;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.track-item:hover {
    transform: scale(1.02);
    transition: all .2s;
}



/* Container for the Streaming Platforms */
.streaming-platforms-container {
    width: 100%;
    display: flex;
    column-gap: 10px;
    justify-content: space-between;
    align-items: center;
    padding: 0px;
}

/* Each individual streaming platform box */
.streaming-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%; /* Adjust width to match design */
    padding: 12px;
    padding-bottom: 6px;
    border-radius: 8px;
    border: solid 1px #181c2530;
    background-color: #ffffff;
}

/* .spotify-box {
    background-color: #e8fff0;
}

.apple-music-box {
    background-color: #f2eeff;
}

.youtube-music-box {
    background-color: #fff5f5;
} */

/* Styling for the SVG icons */
.streaming-box img {
    width: 100%; /* Defined width only */
    max-height: 40px;
    transition: opacity 0.3s ease;
}

.streaming-box:hover {
    transform: scale(1.02);
    transition: all .2s;
}



/* YouTube Embed Section */
.youtube-embed {
    width: 100%;
    padding-top: 56.25%;
    position: relative;
    margin: 0px 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.youtube-embed iframe {
    font-family: unset!important;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Social Links Section */
.social-links {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 10px;
    margin-bottom: -12px;
}

.social-links a {
    border: solid 1px #181c2530;
    border-radius: 8px;
    background-color: #fafafacc;
}

.social-links a img {
    margin: 5px 5px -1px 5px;
    width: 18px;
}

.social-links a:hover{
    transform: scale(1.04);
    transition: all .2s;
}


/* Responsive Adjustments for smaller devices */
@media (max-width: 600px) {
    /* General body padding and container spacing adjustments */
    body {
        padding: 14px;
    }

    .artist-container {
        padding: 18px;
        gap: 16px;
    }

    .artist-photo {
        height: 84px;
    }

    .artist-name {
        font-size: 20px;
    }

    .social-links {
        margin-top: 8px;
    }

    /* Featured Track Section */
    .featured-track {
        padding: 18px;
        background-size: cover;
        gap: 10px;
    }

    .track-text h2 {
        font-size: 20px;
    }

    .track-text p {
        font-size: 13px;
    }

    .play-stream-button {
        font-size: 12px;
    }

    .latest-releases {
        padding: 10px;
        flex-direction: column;
    }

    .latest-releases-left {
        flex-direction: row;
        width: 64%;
        margin-top: 2px;
        margin-bottom: 12px;
        margin-left: 16px;
        gap: 10px;  
        align-items: center;
    }

    .latest-releases-right {
        width: 100%;
    }
    
    .headphone-icon {
        width: 34px;
    }

    .latest-releases-left h2 {
        margin-top: 2px;
        font-size: 17px;
        line-height: 114%;
    }

    .track-list {
        width: 100%;
    }

    .track-item {
        padding: 6px 6px 6px 12px;
    }

    .track-item span {
        font-size: 14px;
    }

    .stream-button {
        font-size: 13px;
    }

    .streaming-platforms-container {
        flex-direction: row;
        gap: 8px;
    }

    .streaming-box {
        padding: 7px;
        padding-bottom: 1px;
    }

    .youtube-music-box {
        display: none;
    }

    .streaming-box img {
        max-height: 35px;
    }

    .youtube-embed {
        padding-top: 50%;
    }
}
