
/* =========================================================
   MUSIC INDEX PAGE
   ========================================================= */


/* PAGE WRAPPER */

.music-wrap {
    width:
        min(
            1180px,
            calc(100% - 40px)
        );

    margin: 60px auto;
    margin-top:-43px;
}


/* PAGE HEADER */

.music-header {
    margin-bottom: 35px;
}


.music-kicker {
    margin: 0 0 8px;

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

    letter-spacing: 2px;

    text-transform: uppercase;
    display:none;
}


.music-title {
    margin: 0;

    font-size:
        clamp(36px, 5vw, 56px);

    line-height: 1.05;

    font-weight: 700;

}


.music-description {
    max-width: 650px;

    margin: 14px 0 0;

    font-size: 16px;

    line-height: 1.7;
}


/* FILTER BOX */

.music-filter-box {
    background: #fff;

    border:
        1px solid #e4e4e4;

    border-radius: 18px;

    padding: 18px;

    margin-bottom: 28px;
}


.filter-row {
    display: grid;

    grid-template-columns:
        minmax(220px, 1fr)
        190px
        150px
        auto;

    gap: 12px;

    align-items: center;
}


/* SEARCH */

.search-box {
    position: relative;
}


.search-icon {
    position: absolute;

    left: 10px;
    top: 47%;

    transform:
        translateY(-50%);

    font-size: 17px;

    color: #777;

    pointer-events: none;
}


.music-search,
.music-select {
    width: 100%;

    height: 50px;

    border:
        1px solid #ddd;

    border-radius: 12px;

    background: #fff;

    color: #111;

    font-size: 14px;

    outline: none;

    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}


.music-search {
    padding:
        0 16px 0 44px;
}


.music-select {
    padding: 0 14px;

    cursor: pointer;
}


.music-search:focus,
.music-select:focus {
    border-color: #8414b3;

    box-shadow:
        0 0 0 3px
        rgba(132, 20, 179, .08);
}


/* RESET BUTTON */

.reset-filter {
    height: 50px;

    border: 0;

    border-radius: 12px;

    padding:
        0 20px;

    background:
        linear-gradient(
            45deg,
            #da0138 0%,
            #8414b3 50%,
            #651be0 100%
        );

    color: #fff;

    font-size: 14px;

    font-weight: 600;

    cursor: pointer;

    transition:
        transform .2s ease,
        opacity .2s ease;
}


.reset-filter:hover {
    transform:
        translateY(-1px);

    opacity: .88;
}


/* RESULTS INFO */

.results-info {
    display: flex;

    justify-content: space-between;
    align-items: center;

    gap: 15px;

    margin:
        0 0 18px;

    color: #777;

    font-size: 14px;
}


.results-info strong {
    color: #111;
}


/* SONG GRID */

.song-grid {
    display: grid;

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

    gap: 32px;
}


/* SONG CARD */

.song-card {
    background: #fff;

    border:
        1px solid #e2e2e2;

    border-radius: 18px;

    overflow: hidden;

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}


.song-card:hover {
    transform:
        translateY(-5px);

    border-color: #d6d6d6;

    box-shadow:
        0 14px 35px
        rgba(0, 0, 0, .08);
}


.song-card.is-hidden {
    display: none;
}


/* CARD LINK */

.song-link {
    display: block;

    color: inherit;

    text-decoration: none;
}


/* ARTWORK */

.song-artwork-wrap {
    position: relative;

    aspect-ratio: 1 / 1;

    background: #eee;

    overflow: hidden;
}


.song-artwork {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        transform .45s ease;
}


.song-card:hover .song-artwork {
    transform: scale(1);
}


/* FALLBACK ARTWORK */

.song-artwork-placeholder {
    width: 100%;
    height: 100%;

    display: flex;

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

    background:
        linear-gradient(
            135deg,
            #f1f1f1,
            #ddd
        );

    color: #999;

    font-size: 14px;
}


/* NEW BADGE */

.new-badge {
    position: absolute;

    top: 14px;
    left: 14px;

    padding:
        7px 10px;

    border-radius: 999px;

    background: #e60000;

    color: #fff;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 1px;

    text-transform: uppercase;
    border: #fff 2px solid;
}


/* CARD CONTENT */

.song-content {
    padding: 18px;
}


.song-title {
    margin:
        0 0 8px;

    font-size: 18px;

    line-height: 1.35;

    font-weight: 700;
    background: linear-gradient(30deg, #da0138, #8414b3, #651be0);
    background-clip: border-box;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-transform: uppercase;
}


.song-artist {
    margin:
        0 0 7px;

    color: #333;

    font-size: 14px;

    line-height: 1.5;
    font-weight:600;
}


.song-meta {
    display: flex;

    flex-wrap: wrap;

    gap: 7px;

    color: #555;

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


.song-meta span {
    display: inline-flex;

    align-items: center;
}


.song-meta span + span::before {
    content: "-";

    margin-right: 7px;

    color: #bbb;
}


/* NO RESULTS */

.no-results {
    display: none;

    padding:
        55px 20px;

    border:
        1px dashed #d5d5d5;

    border-radius: 18px;

    text-align: center;

    background: #fff;
}


.no-results.show {
    display: block;
}


.no-results-title {
    margin:
        0 0 8px;

    font-size: 20px;

    font-weight: 700;
}


.no-results-text {
    margin: 0;

    color: #777;

    font-size: 14px;

    line-height: 1.6;
}


/* =========================================================
   SONG DETAIL PAGE
   ========================================================= */


/* COVER */

.cover-wrap {
    width: 100%;
}


.cover {
    width: 100%;

    aspect-ratio: 1 / 1;

    display: block;

    object-fit: cover;

    border-radius: 20px;

    box-shadow:
        0 20px 50px
        rgba(0, 0, 0, .6);

    transition:
        transform .3s ease;
}


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


/* HERO CONTENT */

.eyebrow {
    margin-bottom: 10px;

    font-size: 13px;

    text-transform: uppercase;

    letter-spacing: .14em;

    color:
        rgba(255,255,255,.8);
    display:none;
}


.title {
    margin:
        10px 0 15px;

    font-size:
        clamp(42px, 6vw, 68px);

    line-height: 1.02;

    font-weight: 700;
}


.artist {
    margin-bottom: 15px;

    font-size: 21px;

    color: #fff;
}


.hero-meta {
    display: flex;

    flex-wrap: wrap;

    gap: 8px;

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

    font-size: 14px;

    line-height: 1.6;
}


.hero-meta span {
    display: inline-flex;

    align-items: center;
}


.hero-meta span + span::before {
    content: "•";

    margin-right: 8px;

    color:
        rgba(255,255,255,.5);
}


/* MAIN WRAPPER */

.wrap {
    width:
        min(
            1180px,
            calc(100% - 40px)
        );

    margin: 0 auto;

    padding:
        45px 0
        70px;
}


/* BACK */

.back {
    display: inline-flex;

    margin-bottom: 25px;

    color: #555;

    text-decoration: none;

    font-size: 14px;

    transition:
        color .2s ease;
}


.back:hover {
    color: #8414b3;
}


/* SECTIONS */

.section {
    /*padding:30px 0;*/

    border-top:
        1px solid #eee;
}


.section h2 {
    margin:
        0 0 20px;

    font-size: 25px;

    line-height: 1.25;

    width: fit-content;
}


.section p {
    margin:
        0 0 12px;

    /*color: #444;*/

    /*font-size: 15px;*/

    /*line-height: 1.8;*/
}


/* RELEASE INFO */

.release-info {
    display: grid;

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

    gap: 20px;

    margin-bottom: 5px;
}


.info-box {
    padding: 18px;

    background: #fafafa;

    border:
        1px solid #e8e8e8;

    border-radius: 14px;
}


.label {
    display: block;

    margin-bottom: 6px;

    color: #444;

    font-size: 14px;

    text-transform: uppercase;

    letter-spacing: .08em;
}


.value {

    /*font-size: 15px;*/

    line-height: 1.5;
    font-weight:400;
}


/* CREDITS */

.credits {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap:
        20px;
}


.credit-item {
    /*padding:*/
    /*    14px 0;*/

    /*border-bottom:*/
    /*    1px solid #f0f0f0;*/
     padding: 18px;

    background: #fafafa;

    border:
        1px solid #e8e8e8;

    border-radius: 14px;
}


/* PLATFORMS */

.platforms {
    display: flex;

    gap: 10px;

    flex-wrap: wrap;
}


.platforms a {
    display: inline-flex;

    align-items: center;

    border:
        1px solid #ddd;

    border-radius: 30px;

    padding:
        10px 16px;

    text-decoration: none;

    color: #111;

    font-size: 14px;

    transition:
        transform .2s ease,
        border-color .2s ease,
        background .2s ease;
}


.platforms a:hover {
    transform:
        translateY(-2px);

    border-color: #8414b3;

    background: #faf7fc;
}


/* LYRICS */

.lyrics {
    white-space: pre-line;

    /*color: #444;*/

    /*font-size: 15px;*/

    /*line-height: 1.9;*/
}


/* RIGHTS */

.rights {
    color: #555;

    font-size: 14px;

    line-height: 1.8;
}


/* VIDEO */

.video-link {
    display: inline-flex;

    align-items: center;

    padding:
        11px 18px;

    border-radius: 30px;

    background: #111;

    color: #fff;

    text-decoration: none;

    font-size: 14px;

    transition:
        transform .2s ease,
        opacity .2s ease;
}


.video-link:hover {
    transform:
        translateY(-2px);

    opacity: .88;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */


/* TABLET */

@media (max-width: 900px) {

    /* MUSIC INDEX */

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


    .filter-row {
        grid-template-columns:
            1fr 1fr;
    }


    .search-box {
        grid-column:
            1 / -1;
    }


    .reset-filter {
        width: 100%;
    }


    /* SONG DETAIL */

    .hero-inner {
        grid-template-columns:
            1fr;

        gap: 35px;
    }


    .cover {
        max-width: 450px;

        margin: 0 auto;
    }


    .release-info {
        grid-template-columns:
            1fr 1fr;
    }
}


/* MOBILE */

@media (max-width: 650px) {

    .hero {
        padding:
            60px 20px
            50px;
    }


    .hero-inner {
        gap: 25px;
    }


    /* MUSIC INDEX */

    .music-wrap {
        width:
            min(
                100% - 28px,
                1180px
            );

        margin:
            35px auto;
    }


    .music-header {
        margin-bottom: 25px;
    }


    .music-filter-box {
        padding: 13px;

        border-radius: 15px;
        margin-top: -63px;
    }


    .filter-row {
        grid-template-columns:
            1fr;
    }


    .search-box {
        grid-column: auto;
    }


    .song-grid {
        grid-template-columns:
            1fr;

        gap: 18px;
    }


    .results-info {
        align-items: flex-start;

        flex-direction: column;
    }


    /* SONG DETAIL */

    .wrap {
        width:
            min(
                100% - 28px,
                1180px
            );

        padding:
            35px 0
            50px;
    }


    .title {
        font-size: 42px;
    }


    .artist {
        font-size: 18px;
    }


    .release-info {
        grid-template-columns:
            1fr;
    }


    .credits {
        grid-template-columns:
            1fr;
    }


    .section {
        padding:
            25px 0;
    }
}