/* =========================================================
   SHARED PAGE CONTROLS
   BACK BUTTON + MUSIC BUTTON
   DOES NOT MODIFY EXISTING PAGE DESIGN
========================================================= */


/* =========================================================
   COMMON BUTTON STYLE
========================================================= */

.page-back-button,
.page-music-button {

    position: fixed;

    top: 22px;

    z-index: 10000;

    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255, 255, 255, 0.12);

    border-radius: 15px;

    background:
        rgba(18, 18, 32, 0.78);

    color: #ffffff;

    cursor: pointer;

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    box-shadow:
        0 10px 35px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}


/* =========================================================
   BACK BUTTON
========================================================= */

.page-back-button {

    left: 22px;

}


.page-back-button span {

    display: block;

    font-size: 25px;

    line-height: 1;

}


/* =========================================================
   MUSIC BUTTON
========================================================= */

.page-music-button {

    right: 22px;

}


.page-music-button span {

    display: block;

    font-size: 20px;

    line-height: 1;

}


/* =========================================================
   HOVER
========================================================= */

.page-back-button:hover,
.page-music-button:hover {

    transform:
        translateY(-3px)
        scale(1.04);

    background:
        rgba(42, 31, 65, 0.92);

    border-color:
        rgba(205, 139, 255, 0.55);

    box-shadow:
        0 15px 45px rgba(0, 0, 0, 0.38),
        0 0 25px rgba(180, 100, 255, 0.16);

}


/* =========================================================
   ACTIVE / CLICK
========================================================= */

.page-back-button:active,
.page-music-button:active {

    transform:
        scale(0.95);

}


/* =========================================================
   FOCUS
========================================================= */

.page-back-button:focus-visible,
.page-music-button:focus-visible {

    outline: none;

    border-color:
        rgba(205, 139, 255, 0.75);

    box-shadow:
        0 0 0 3px
        rgba(180, 100, 255, 0.18),
        0 15px 45px rgba(0, 0, 0, 0.35);

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .page-back-button,
    .page-music-button {

        top: 14px;

        width: 43px;
        height: 43px;

        border-radius: 13px;

    }


    .page-back-button {

        left: 14px;

    }


    .page-music-button {

        right: 14px;

    }


    .page-back-button span {

        font-size: 22px;

    }


    .page-music-button span {

        font-size: 18px;

    }

}
