/*==========================================================
    BUTTON SYSTEM
==========================================================*/

.btn-primary,
.btn-secondary{

    position:relative;

    display:inline-flex;

    align-items:center;

    justify-content:center;

    gap:14px;

    padding:18px 34px;

    border-radius:18px;

    text-decoration:none;

    cursor:pointer;

    overflow:hidden;

    transition:.45s;

    user-select:none;

    font-size:.95rem;

    font-weight:600;

    letter-spacing:.08em;

    backdrop-filter:blur(18px);

    -webkit-backdrop-filter:blur(18px);

}


.btn-primary{

    color:white;

    background:rgba(0,247,255,.08);

    border:1px solid rgba(0,247,255,.18);

    box-shadow:

        inset 0 1px 0 rgba(255,255,255,.08),

        0 20px 50px rgba(0,247,255,.08);

}


.btn-secondary{

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

    background:rgba(255,255,255,.025);

    border:1px solid rgba(255,255,255,.08);

}


.btn-primary::before,
.btn-secondary::before{

    content:"";

    position:absolute;

    top:0;

    left:-120%;

    width:60%;

    height:100%;

    background:

    linear-gradient(

        90deg,

        transparent,

        rgba(255,255,255,.35),

        transparent

    );

    transform:skewX(-28deg);

}


.btn-primary:hover::before,
.btn-secondary:hover::before{

    left:170%;

    transition:1.2s;

}


.btn-primary:hover{

    transform:

        translateY(-4px);

    border-color:

        rgba(0,247,255,.45);

    box-shadow:

        0 25px 60px rgba(0,247,255,.18),

        inset 0 1px 0 rgba(255,255,255,.12);

}


.btn-secondary:hover{

    transform:

        translateY(-4px);

    color:white;

    border-color:

        rgba(255,255,255,.18);

    background:

        rgba(255,255,255,.05);

}

.btn-primary:active,
.btn-secondary:active{

    transform:

        translateY(-1px)

        scale(.985);

}

.btn-primary:focus-visible,
.btn-secondary:focus-visible{

    outline:none;

    box-shadow:

        0 0 0 3px rgba(0,247,255,.18);

}


.btn-icon{

    width:18px;

    height:18px;

    display:flex;

    align-items:center;

    justify-content:center;

}

.button-group{

    display:flex;

    gap:18px;

    flex-wrap:wrap;

}

.btn-primary,
.btn-secondary{

    will-change:

        transform,

        box-shadow,

        border-color;
}


@keyframes buttonPulse{

    0%{

        box-shadow:

            inset 0 1px 0 rgba(255,255,255,.08),

            0 0 0 rgba(0,247,255,0),

            0 18px 45px rgba(0,0,0,.35);

    }

    50%{

        box-shadow:

            inset 0 1px 0 rgba(255,255,255,.12),

            0 0 18px rgba(0,247,255,.12),

            0 18px 45px rgba(0,0,0,.35);

    }

    100%{

        box-shadow:

            inset 0 1px 0 rgba(255,255,255,.08),

            0 0 0 rgba(0,247,255,0),

            0 18px 45px rgba(0,0,0,.35);

    }

}