@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500&display=swap');

body {
    font-family: 'Space Grotesk', sans-serif;
    background: #ffffff;
    color: #000000;
    text-align: left;
    margin: 0;
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
}

header {
    padding: 10px 0;
    font-size: 24px;
    font-weight: 500;
    text-transform: lowercase;
}

nav a {
    color: #000000;
    text-decoration: none;
    margin-right: 20px;
    font-size: 16px;
    font-weight: 400;
    text-transform: lowercase;
}

h2 {
    font-size: 16px;
    font-weight: 400;
    text-transform: lowercase;
    margin: 30px 0 10px 0;
}

.release, .mix {
    margin: 10px 0;
    width: 100%;
    text-align: left;
    font-size: 16px;
    font-weight: 300;
}

.accordion {
    cursor: pointer;
    padding: 8px 0;
    border: none;
    text-align: left;
    width: 100%;
    color: #000000;
    font-size: 16px;
    font-weight: 300;
    text-transform: lowercase;
    border-bottom: 1px solid #000000;
}

.play-button {
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background: none;
    border: 1px solid #000;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.play-button:hover {
    background: #000;
    color: #fff;
}

.panel {
    display: none;
    margin-top: 5px;
}

.logo {
    width: 40px;
    height: 40px;
    position: absolute;
    top: 20px;
    right: 20px;
}

.filter-buttons {
    margin: 20px 0;
}

.filter-btn {
    background: none;
    border: none;
    color: #000000;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 16px;
    cursor: pointer;
    margin-right: 20px;
    padding: 0;
    opacity: 0.5;
    text-transform: lowercase;
}

.filter-btn.active {
    opacity: 1;
    text-decoration: underline;
}

.item {
    display: none;
}

.item.show {
    display: block;
}

.custom-player {
    margin: 20px 0;
    font-size: 14px;
}

.track-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.progress-bar {
    width: 100%;
    height: 2px;
    background: #eee;
    margin: 10px 0;
    cursor: pointer;
}

.progress {
    width: 0%;
    height: 100%;
    background: #000;
}

.controls {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

.controls button {
    background: none;
    border: none;
    cursor: pointer;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 14px;
    padding: 0;
    color: #000;
}

.release-header {
    display: flex;
    gap: 2.5rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.album-art {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 2px;
    flex-shrink: 0;
}

.release-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex-grow: 1;
}

.release-info .artist {
    font-size: 1.1rem;
    margin: 0;
}

.release-metadata {
    display: flex;
    gap: 1rem;
    color: #666;
    font-size: 0.9rem;
}

.external-links {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.external-links a {
    color: #666;
    text-decoration: none;
    transition: color 0.2s ease;
}

.external-links a:hover {
    color: #000;
}

/* Responsive design */
@media (max-width: 768px) {
    .release-header {
        flex-direction: column;
        gap: 1.5rem;
    }

    .album-art {
        width: 120px;
        height: 120px;
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    .album-art {
        width: 100px;
        height: 100px;
    }
}

/* Release section styling */
.release {
    border-bottom: 1px solid #ddd;
    padding: 2rem 0;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.release:last-child {
    border-bottom: none;
}

.release-title {
    font-size: 1.5rem;
    margin: 0 0 1.5rem 0;
    padding: 0 1rem;
}

.release-header {
    display: flex;
    gap: 2.5rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
    padding: 0 1rem;
}

.album-art {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 2px;
    flex-shrink: 0;
}

.release-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.release-info h3 {
    margin: 0;
    font-size: 1.5rem;
}

.release-info p {
    margin: 0;
}

/* Custom player styling */
.custom-player {
    max-width: 800px;
    margin: 1.5rem 0;
}

.track-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.progress-bar {
    width: 100%;
    height: 4px;
    background: #ddd;
    cursor: pointer;
    margin: 0.5rem 0;
}

.progress {
    height: 100%;
    background: #000;
    width: 0;
}

.controls {
    display: flex;
    gap: 1rem;
    margin-top: 0.75rem;
}

.controls button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    font-size: 1rem;
}

.panel {
    display: none;
    padding: 1rem 0;
}

/* Mobile styles */
@media (max-width: 768px) {
    .release {
        padding: 1.5rem 1rem;
    }

    .release-header {
        flex-direction: column;
        gap: 1.5rem;
    }

    .album-art {
        width: 100%;
        height: auto;
        aspect-ratio: 1;
    }

    .release-info {
        padding-top: 0;
    }

    .custom-player {
        margin: 1rem 0;
    }

    .track-info {
        flex-direction: column;
        gap: 0.5rem;
    }

    .controls {
        justify-content: center;
    }
}

/* Filter buttons styling */
.filter-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 0 1rem;
}

.filter-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    transition: opacity 0.2s ease;
}

.filter-btn:hover {
    opacity: 0.7;
}

.filter-btn.active {
    border-bottom: 2px solid #000;
}

/* Section headers */
section h2 {
    margin: 2rem 1rem;
    font-size: 1.2rem;
    font-weight: normal;
}

/* External links */
.external-links {
    display: flex;
    gap: 1.5rem;
    margin: 0.5rem 0;
}

.external-links a {
    color: #666;
    text-decoration: none;
    transition: color 0.2s ease;
    font-size: 0.9rem;
}

.external-links a:hover {
    color: #000;
}

/* Play button styling */
.play-button {
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background: none;
    border: 1px solid #000;
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.9rem;
}

.play-button:hover {
    background: #000;
    color: #fff;
}

.release-title-row {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.release-title-row h3 {
    font-size: 1.5rem;
    margin: 0;
    font-weight: normal;
}

.release-title-row .artist {
    font-size: 1.1rem;
    margin: 0;
    color: #666;
}

/* Using an em dash (—) in the HTML, but providing fallback styling if needed */
.release-title-row h3::before {
    content: "";
    display: inline-block;
}

@media (max-width: 768px) {
    .release-title-row {
        flex-direction: column;
        gap: 0.5rem;
    }
}
