/* =========================================================
   MUSIC CAROUSEL
   ========================================================= */

.music {
    position: relative;

    width: 100%;

    overflow: hidden;

    background: #0d0d0d;
}


/* =========================================================
   CAROUSEL VIEWPORT
   ========================================================= */

.release-carousel {
    position: relative;

    width: 100%;
    height: 100vh;
    min-height: 100vh;

    overflow: hidden;

    touch-action: pan-y;

    user-select: none;
    -webkit-user-select: none;
}


/* =========================================================
   CAROUSEL TRACK
   ========================================================= */

.release-track {
    display: flex;

    width: 100%;
    height: 100%;

    transform: translate3d(0, 0, 0);

    will-change: transform;
}


/* =========================================================
   SLIDES
   ========================================================= */

.release-slide {
    position: relative;

    flex: 0 0 100%;

    width: 100%;
    min-width: 0;
    max-width: 100%;

    height: 100%;

    overflow: hidden;

    display: grid;
    place-items: center;

    box-sizing: border-box;
}

.release-slide img {
    -webkit-user-drag: none;
    user-select: none;
}


/* =========================================================
   BACKGROUNDS
   ========================================================= */

.release-background {
    position: absolute;

    inset: -40px;

    display: block;

    width: calc(100% + 80px);
    height: calc(100% + 80px);

    max-width: none;

    object-fit: cover;

    pointer-events: none;
}


/* =========================================================
   OVERBURNING BACKGROUND
   ========================================================= */

.overburning-background {
    object-position: center;

    transform: scale(1.12);

    filter:
        blur(22px)
        brightness(0.55)
        saturate(75%);
}


/* =========================================================
   TREMBLING BACKGROUND
   ========================================================= */

.trembling-background {
    object-position: 70% center;

    transform: scale(1.15);

    opacity: 0.6;

    filter:
        saturate(20%)
        grayscale(100%);
}


/* =========================================================
   OVERLAYS
   ========================================================= */

.release-overlay {
    position: absolute;

    inset: 0;

    pointer-events: none;
}

.overburning-overlay {
    background: rgba(0, 0, 0, 0.30);
}

.trembling-overlay {
    background: rgba(0, 0, 0, 0.70);
}


/* =========================================================
   RELEASE CONTENT
   ========================================================= */

.overburning-content,
.trembling-content {
    position: relative;
    z-index: 2;

    display: flex;
    flex-direction: column;

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

    width: 100%;
    height: 100%;

    box-sizing: border-box;

    padding: 70px 40px 55px;

    color: #f7f7f5;

    text-align: center;
}


/* =========================================================
   ARTWORK
   ========================================================= */

.overburning-artwork,
.trembling-artwork {
    display: block;

    width: clamp(320px, 32vw, 486px);
    max-width: 72vh;

    aspect-ratio: 1;

    object-fit: cover;
}


/* =========================================================
   RELEASE INFO
   ========================================================= */

.overburning-info,
.trembling-info {
    display: flex;
    flex-direction: column;

    align-items: center;

    margin-top: 28px;
}


/* =========================================================
   RELEASE BUTTONS
   ========================================================= */

.overburning-presave-button,
.trembling-button {
    display: inline-flex;

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

    width: 118px;
    height: 43px;

    margin: 0;
    padding: 0;

    box-sizing: border-box;
}


/* =========================================================
   CAROUSEL ARROWS
   ========================================================= */

.carousel-arrow {
    position: absolute;
    z-index: 20;

    top: 50%;

    width: auto;
    height: auto;

    margin: 0;
    padding: 0;

    border: 0;

    color: #f7f7f5;
    background: transparent;

    appearance: none;
    -webkit-appearance: none;

    font: inherit;
    font-size: 2.5rem;
    font-weight: 600;

    line-height: 1;

    cursor: pointer;

    opacity: 0.85;

    transform: translateY(-50%);

    transition: opacity 0.2s ease;
}

.carousel-arrow:hover {
    opacity: 1;
}

.carousel-arrow-left {
    left: 10px;
}

.carousel-arrow-right {
    right: 10px;
}


/* =========================================================
   CAROUSEL DOTS
   ========================================================= */

.carousel-dots {
    position: absolute;
    z-index: 20;

    left: 50%;
    bottom: 10px;

    display: flex;

    gap: 12px;

    transform: translateX(-50%);
}

.carousel-dot {
    width: 7px;
    height: 7px;

    margin: 0;
    padding: 0;

    border: 1px solid #f7f7f5;
    border-radius: 50%;

    background: transparent;

    appearance: none;
    -webkit-appearance: none;

    cursor: pointer;
}

.carousel-dot.active {
    background: #f7f7f5;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

    .release-carousel {
        height: 100svh;
        min-height: 100svh;
    }

    .release-track {
        height: 100%;
    }

    .release-slide {
        flex: 0 0 100%;

        width: 100%;
        min-width: 0;
        max-width: 100%;

        height: 100%;
        min-height: 100%;
    }


    /* =====================================================
       CONTENT — MOBILE
       ===================================================== */

    .overburning-content,
    .trembling-content {
        height: 100%;
        min-height: 100%;

        justify-content: center;

        padding:
            calc(86px + env(safe-area-inset-top))
            42px
            calc(54px + env(safe-area-inset-bottom));
    }


    /* =====================================================
       ARTWORK — MOBILE
       ===================================================== */

    .overburning-artwork,
    .trembling-artwork {
        width: min(78vw, 320px);
    }


    /* =====================================================
       RELEASE INFO — MOBILE
       ===================================================== */

    .overburning-info,
    .trembling-info {
        margin-top: 24px;
    }


    /* =====================================================
       BUTTONS — MOBILE
       ===================================================== */

    .overburning-presave-button,
    .trembling-button {
        width: 118px;
        height: 43px;

        padding: 0;
    }


    /* =====================================================
       OVERBURNING BACKGROUND — MOBILE
       ===================================================== */

    .overburning-background {
        object-position: center;

        transform: scale(1.18);

        filter:
            blur(20px)
            brightness(0.52)
            saturate(75%);
    }


    /* =====================================================
       CAROUSEL CONTROLS — MOBILE
       ===================================================== */

    .carousel-arrow {
        top: 50%;

        font-size: 2.25rem;

        opacity: 0.9;
    }

    .carousel-arrow-left {
        left: 10px;
    }

    .carousel-arrow-right {
        right: 10px;
    }

    .carousel-dots {
        bottom:
            calc(
                18px + env(safe-area-inset-bottom)
            );
    }

}

.overburning-kicker {
    margin: 0 0 20px;

    color: rgba(247, 247, 245, 0.84);

    font-size: 13px;
    font-weight: 700;
    line-height: 1;

    letter-spacing: 0.20em;
    text-transform: uppercase;
}

@media (max-width: 700px) {

    .overburning-kicker {
        margin-bottom: 20px;
        font-size: 12px;
    }

}