.wrapped-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 10px 20px 20px 20px;
    box-sizing: border-box;
    background-color: #1a1a1a;
    color: #f0f0f0;
    border-radius: 10px;
}

/* Header Section */
.header-section {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    text-align: center;
}

.header-section h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.header-section p {
    font-size: 1.2rem;
}

.back-button {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #1DB954;
    font-size: 1.5em;
    font-weight: bold;
    cursor: pointer;
    margin: 20px 0;
}

.back-button:hover {
    transform: translateY(-2px);
}

.title-text {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: #1DB954;
}

/* Image Section */
.image-section {
    padding: 10px;
    position: relative;
    overflow: hidden;
}

.image-section img {
    width: 100%;
    height: auto;
}

/* Content Section */
.content-section {
    margin-top: 30px;
    text-align: center;
    color: #f0f0f0;
    width: 100%;
}

.top-section {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    color: #f0f0f0;
}

.top-section h2 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #1DB954;
}

.artists, .songs {
    flex: 1;
    font-size: 1rem;
    color: #f0f0f0;
}

.artists {
    text-align: left;
}

#artist-names {
    font-size: 1.2rem;
    margin: 10px 0;
    color: #f0f0f0;
}

.songs {
    text-align: right;
}

ol {
    list-style: none;
    padding-left: 0;
}

ol li {
    font-weight: bold;
    margin: 10px 0;
    color: #f0f0f0;
}

/* Stats Section */
.stats {
    margin-top: 20px;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    max-width: 600px;
    margin: 0 auto;
}

.stats p {
    font-size: 1.2rem;
    margin: 5px;
    color: #f0f0f0;
}

.stats h1 {
    font-size: 3rem;
    font-weight: bold;
    margin: 0;
    color: #1DB954;
}

.stats h2 {
    font-size: 2.2rem;
    margin: 10px 0;
    color: #1DB954;
}

/* Media Queries for better responsiveness */
@media screen and (max-width: 600px) {
    .wrapped-container {
        padding: 30px 15px;
        max-width: 100%;
    }

    .top-section {
        flex-direction: column;
        gap: 20px;
    }

    .artists, .songs {
        text-align: center;
        width: 100%;
    }

    .header-section h1 {
        font-size: 2rem;
    }

    .stats h2 {
        font-size: 1.8rem;
    }
}

@media screen and (min-width: 768px) {
    .wrapped-container {
        padding: 50px 30px;
    }

    .image-section {
        max-width: 500px;
    }

    .top-section {
        padding: 0 60px;
    }
}