body {
    background: #fafafa;
    font-family: Arial;
    margin: 20px;
}

h1, h2, h3 {
    color: #185a18;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 20px;
}

.card {
    background: white;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ccc;
    text-decoration: none;
    color: #000;
    transition: .2s;
}

.card:hover {
    transform: scale(1.03);
}

.card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 6px;
}

.cover {
    width: 250px;
    border-radius: 8px;
}

.list li {
    background: #fff;
    margin: 10px 0;
    padding: 10px;
    border-left: 4px solid #900;
}

.track-edit {
    background: #fff;
    padding: 10px;
    margin: 10px 0;
    border-left: 4px solid #185a18;
}

button {
    background: #185a18;
    color: #fff;
    padding: 8px 16px;
    border: 0;
    border-radius: 6px;
}

/* ------------------------ */
/*      CATEGORIE KNOPPEN   */
/* ------------------------ */

.categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.category {
    padding: 8px 14px;
    background: #eee;
    border-radius: 6px;
    text-decoration: none;
    color: #000;
}

.category.active {
    background: #007bff;
    color: #fff;
}

/* ------------------------ */
/*         ALBUMS GRID      */
/* ------------------------ */

.albums-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
}

.album-card {
    position: relative;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 10px;
    background: #fafafa;
    transition: background 0.2s;
}

.album-card:hover {
    background: #f0f0f0;
}

.cover-wrapper {
    position: relative;
    display: inline-block;
}

.cover-wrapper img {
    width: 100%;
    border-radius: 6px;
}

.play-btn {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    font-size: 16px;
    cursor: pointer;
}

/* ------------------------ */
/*       MOBIEL   (600px)   */
/* ------------------------ */

@media (max-width: 600px) {

    /* 2 kolommen */
    .albums-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px;
    }

    /* grotere covers */
    .album-card img,
    .card img,
    .cover-wrapper img {
        width: 100%;
        height: auto;
        max-height: 260px;
        object-fit: contain;
        border-radius: 8px;
    }
}
