body {
    background-color: #0e003d;
    background-image: url('https://www.transparenttextures.com/patterns/nice-snow.png');
    color: #FFFFFF;
    font-family: "Arial", Courier, monospace;
    margin: 0;
    padding: 0;
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

#container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    border-left: 2px solid #FFFFFF;
    border-right: 2px solid #FFFFFF;
    min-height: 100vh;
    box-sizing: border-box;
    width: 100%;
}

h1 { color: #FFFFFF; border-bottom: 1px double #FFFFFF; text-transform: lowercase; margin-top: 0; padding-bottom: 5px;}
h2 { color: #FFFFFF; border-bottom: none; text-transform: lowercase; margin-top: 40px;}

a { color: #00FFFF; text-decoration: none; }
a:hover { background: #A9A9A9; color: #000; }

nav {
    border: 2px solid #FFFFFF;
    margin-bottom: 30px;
    background: #000;
    position: relative;
}

.nav-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
}

.menu-items { 
    display: flex; 
    justify-content: center;
    list-style: none; 
    margin: 0; 
    padding: 0; 
    flex-wrap: wrap; /* Added for mobile wrapping */
}

.menu-items li { 
    margin: 5px 10px; 
    font-weight: bold; 
    font-size: 14px; 
}

.menu-items li a { 
    color: #00FFFF; 
    text-transform: uppercase;
}

/* --- RELEASES GRID SYSTEM --- */
/* --- THE FINAL GRID FIX --- */
.track-grid {
    display: grid;
    /* Forces 4 equal columns on desktop. Period. */
    grid-template-columns: repeat(4, 1fr); 
    gap: 20px;
    width: 100%;
    margin-bottom: 40px;
    /* Align items to top so rows don't look 'staggered' */
    align-items: start; 
}

.track-card { 
    border: 1px solid #FFFFFF; 
    padding: 10px; 
    text-align: center; 
    background: #000; 
    display: flex;
    flex-direction: column;
    
    /* This makes all boxes at least this tall so they look uniform */
    min-height: 380px; 
    
    box-sizing: border-box;
    /* Prevents long words from breaking the box width */
    word-wrap: break-word;
    overflow: hidden;
}

.track-card img { 
    width: 100%; 
    height: auto;
    aspect-ratio: 1 / 1; 
    object-fit: cover; 
    display: block;
    margin-bottom: 6px;
}

/* Forces the link to the very bottom of the card */
.track-card a {
    margin-top: auto; 
    padding-top: 10px;
    color: #00FFFF;
    font-weight: bold;
}

.release-name { 
    color: #FFFF00; 
    display: block; 
    font-weight: bold; 
    margin-bottom: 5px;
    font-size: 14px;
    line-height: 1.2;
}

.release-meta { 
    color: #FFFFFF; 
    font-size: 12px; 
    display: block; 
    margin-bottom: 10px; 
}

/* MOBILE FIX: 2 Columns */
@media (max-width: 768px) {
    .track-grid {
        grid-template-columns: repeat(2, 1fr); 
        gap: 10px;
    }
    .track-card {
        min-height: 320px; /* Shorter for mobile */
        padding: 8px;
    }
}