/* General Reset and Layout */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #000;
    color: #fff;
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Banner Section */
.banner {
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Bio Section */
.bio-video-container {
    display: flex;
    flex-direction: column;
    gap: 0px;
    padding: 0 20px;
}

.bio {
    flex: 1;
    padding: 40px 0 20px;
    width: 100%;
}

h1 {
    color: #FFE600;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.bio p {
    color: #ccc;
    margin-bottom: 20px;
}

/* Video and Featured Section Container */
.media-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

.media-row {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    align-items: flex-start;
}

.video, .featured-album {
    flex: 1 1 45%;
    min-width: 300px;
    max-width: 5500px;
    display: flex;
    flex-direction: column;
}

.video {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

video {
    width: 480px;
    height: 420px;
    object-fit: cover;
    display: block;
    margin: 0;
}

.featured-album {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 10px;
}

.video-title, .featured-title {
    color: #FFE600;
    font-size: 24px;
    margin: 0;
    padding: 0 0 20px 0;
    line-height: 1.2;
    text-align: center;
    width: 100%;
}

/* Albums Section */
.albums {
    padding: 20px;
}

h2 {
    color: #FFE600;
    font-size: 2rem;
    margin-bottom: 30px;
}

.album-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.album-card {
    position: relative;
    background: #222;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column; /* Ensure the content stacks vertically */
    height: 100%; /* Allow the card to grow and fit the content */
}

.album-card:hover {
    transform: translateY(-5px);
}

/* Song List */
.song-list {
    position: absolute;
    top: 10px; /* Adjust top to add some space from the top */
    left: 0;
    right: 0;
    bottom: 10px; /* Adjust bottom to avoid clipping at the bottom */
    background: rgba(0, 0, 0, 0.8);
    color: #f1f1f4;
    display: flex;
    align-items: flex-start; /* Start items from the top */
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease, max-height 0.3s ease; /* Transition max-height */
    padding: 20px;
    text-align: right; /* Right-align text */
    overflow-y: auto; /* Allow vertical scrolling */
    max-height: 0; /* Initially hidden */
    height: auto; /* Adjust dynamically to fit content */
}

.album-card:hover .song-list {
    opacity: 1;
    max-height: 600px; /* Expand to fit song list and allow scrolling */
}

.song-list ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    width: 100%; /* Ensure the list takes full width for right alignment */
}

.song-list li {
    margin: 10px 0;
    display: flex;
    align-items: center;
    justify-content: flex-end; /* Align song names to the right */
    gap: 15px; /* Adjust space between song title and icons */
}

.song-list li a {
    color: #FFE600;
    font-size: 1.2em;
    transition: color 0.3s ease;
}

.song-list li a:hover {
    color: #FFD700;
}

.song-list li a img {
    width: 18px;
    height: 18px;
    vertical-align: middle;
}

/* Album Card Image */
.album-card img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.album-info {
    padding: 15px;
}

.album-info h3 {
    color: #FFE600;
    margin-bottom: 5px;
}

.album-info p {
    color: #888;
}

/* Footer Section */
footer {
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
}

footer p {
    margin: 10px 0;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin: 15px 0;
}

.social-links a {
    color: inherit;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.social-links a:hover {
    transform: scale(1.1);
}

/* Media Queries for Responsiveness */
@media (max-width: 968px) {
    .media-row {
        flex-direction: column;
        align-items: center;
    }

    .video, .featured-album {
        flex: 1 1 100%;
        max-width: 100%;
    }
}

@media (max-width: 1200px) {
    .album-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .album-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.featured-content {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.featured-content img {
    width: 100%;
    height: 400px;
    object-fit: contain;
    display: block;
    margin: 0;
}

.featured-links {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    padding: 0;
    width: 100%;
}

.featured-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 20px;
    background: #333;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex: 0 1 auto;
    min-width: 200px;
}

.featured-button:hover {
    background: #555;
    transform: translateY(-2px);
}

.featured-button i, .featured-button img {
    font-size: 20px;
}

@media (max-width: 768px) {
    .featured-album {
        padding: 15px;
        margin: 15px 0;
    }

    .featured-title, .video-title {
        font-size: 20px;
        text-align: center;
        padding: 10px 15px;
    }

    .featured-button {
        padding: 10px 15px;
    }
}
