/* =========================================================
   INDIDROP HOME PAGE ADDITIONS
   Genres + Instant Music Card Shop
   ========================================================= */


/* =========================================================
   1. GENRE COUNTS
   ========================================================= */

.genre-card {
    position: relative;
}

.genre-count {
    position: relative;
    z-index: 2;

    display: block;

    margin-top: 4px;

    color: rgba(255,255,255,.58);

    font-size: 10px;
    font-weight: 500;
}

.empty-section-message {
    margin: 4px 0 0;

    color: #818181;

    font-size: 13px;
}


/* =========================================================
   2. SECTION SUBCOPY
   ========================================================= */

.section-heading > div {
    min-width: 0;
}

.section-subcopy {
    margin: 3px 0 0;

    color: #858585;

    font-size: 12px;
    line-height: 1.5;
}


/* =========================================================
   3. INSTANT MUSIC CARD SHOP
   ========================================================= */

.music-card-shop-section {
    padding-top: 30px;
    padding-bottom: 34px;

    border-top: 1px solid rgba(255,255,255,.04);
}

.music-card-grid {
    display: grid;

    grid-template-columns:
        repeat(6, minmax(0, 1fr));

    gap: 18px;
}

.music-card-item {
    display: block;

    min-width: 0;

    transition: transform .18s ease;
}

.music-card-item:hover {
    transform: translateY(-4px);
}

.music-card-image-wrap {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    aspect-ratio: 2.125 / 3.375;

    padding: 8px;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 50% 20%,
            rgba(152,99,250,.10),
            transparent 42%
        ),
        #090909;

    border: 1px solid rgba(255,255,255,.07);
    border-radius: 12px;
}

.music-card-image {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;

    border-radius: 9px;

    filter: drop-shadow(0 16px 20px rgba(0,0,0,.35));
}

.music-card-copy {
    padding-top: 9px;
}

.music-card-artist {
    overflow: hidden;

    color: #ffffff;

    font-size: 13px;
    font-weight: 600;

    white-space: nowrap;
    text-overflow: ellipsis;
}

.music-card-title {
    overflow: hidden;

    margin-top: 2px;

    color: #8c8c8c;

    font-size: 11px;

    white-space: nowrap;
    text-overflow: ellipsis;
}

.music-card-price {
    margin-top: 6px;

    color: var(--blue);

    font-size: 12px;
    font-weight: 600;
}


/* =========================================================
   4. RESPONSIVE
   ========================================================= */

@media (max-width: 1050px) {

    .music-card-grid {
        grid-template-columns:
            repeat(4, minmax(0, 1fr));
    }

}


@media (max-width: 820px) {

    .music-card-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

}


@media (max-width: 580px) {

    .music-card-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 18px 12px;
    }

    .section-subcopy {
        max-width: 260px;
    }

}
