/* 🎵 Centered Grid Layout with Black Background */
.releases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); /* Consistent column width */
    gap: 20px; /* Equal spacing between items */
    padding: 40px; /* Extra padding for spacing */
    justify-content: center; /* Centers the grid */
    align-items: stretch; /* Ensures equal height */
    max-width: calc(100% - 100px); /* Equal spacing from left & right */
    margin: 0 auto; /* Centers the grid */
}

/* 🎨 Individual Album Card with Black Background */
.release-item {
    text-align: center;
    background-color: #000; /* Fully black */
    padding: 20px;
    border-radius: 12px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

/* 📀 Album Cover */
.release-cover {
    width: 100%;
    max-height: 200px; /* Prevent oversized images */
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease-in-out;
}

/* 🔍 Hover Effect - Only on Image */
.release-cover:hover {
    transform: scale(1.05);
}

/* 🏷️ Title & Year */
.release-item h3 {
    font-size: 1.2rem;
    margin: 12px 0 6px;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff; /* White text */
}

.release-item p {
    font-size: 1rem;
    color: #ffcc00;
    margin-bottom: 10px;
}

/* 🎵 Album Page Background */
.release-details {
    background-color: #000; /* Black background */
    padding: 40px;
    border-radius: 10px;
    max-width: 900px;
    margin: 40px auto;
    text-align: center;
}

/* 🏆 Album Cover for Single Page */
.release-cover-large {
    max-width: 100%;
    border-radius: 10px;
    margin-bottom: 20px;
}

/* 🎶 Tracklist Styles */
.tracklist {
    list-style: none;
    padding: 0;
}

.tracklist li {
    background-color: #222;
    margin: 8px 0;
    padding: 12px;
    border-radius: 6px;
    font-size: 1rem;
}

.tracklist a {
    color: #ffcc00;
    text-decoration: none;
    font-weight: bold;
}

.tracklist a:hover {
    color: #ff4444;
    text-decoration: underline;
}

/* 🎵 Spotify Icon Link (Below Album Cover) */
.spotify-link {
    margin-top: 15px;
    text-align: center;
}

.spotify-link a {
    display: inline-block;
    transition: transform 0.2s ease-in-out;
}

.spotify-link a:hover {
    transform: scale(1.1);
}

/* 🎵 Spotify Icon Styling */
.spotify-icon {
    width: auto; /* Bigger for better visibility */
    height: 32px;
    vertical-align: middle;
}
