/*==================================================
                    ERROR PAGE
==================================================*/

.error-page{

    position:relative;

    min-height:100vh;

    display:flex;

    justify-content:center;

    align-items:center;

    padding:120px 20px;

    z-index:2;

}

.error-box{

    position:relative;

    width:min(900px,100%);

    padding:70px;

    text-align:center;

    border-radius:35px;

    overflow:hidden;

    backdrop-filter:blur(18px);

    background:rgba(17,24,39,.72);

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

    box-shadow:

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

}

.error-box::before{

    content:"";

    position:absolute;

    top:-180px;

    right:-180px;

    width:420px;

    height:420px;

    border-radius:50%;

    background:

        radial-gradient(

            circle,

            rgba(37,99,235,.22),

            transparent 70%

        );

}

.error-box::after{

    content:"";

    position:absolute;

    left:-170px;

    bottom:-170px;

    width:420px;

    height:420px;

    border-radius:50%;

    background:

        radial-gradient(

            circle,

            rgba(212,175,55,.18),

            transparent 70%

        );

}
/*==================================================
                ERROR NUMBER
==================================================*/

.error-number{

    position:relative;

    z-index:2;

    font-size:170px;

    font-weight:900;

    line-height:1;

    margin-bottom:25px;

    color:transparent;

    -webkit-text-stroke:2px rgba(255,255,255,.08);

    background:

        linear-gradient(

            135deg,

            #3B82F6,

            #60A5FA,

            #D4AF37

        );

    -webkit-background-clip:text;

    background-clip:text;

    animation:errorGlow 6s ease-in-out infinite;

}

/*==================================================
                BADGE
==================================================*/

.error-badge{

    position:relative;

    z-index:2;

    display:inline-flex;

    align-items:center;

    justify-content:center;

    padding:10px 24px;

    border-radius:50px;

    background:rgba(59,130,246,.12);

    border:1px solid rgba(59,130,246,.28);

    color:#60A5FA;

    font-weight:700;

    letter-spacing:1px;

    margin-bottom:28px;

}

/*==================================================
                TITLE
==================================================*/

.error-box h1{

    position:relative;

    z-index:2;

    color:#ffffff;

    font-size:48px;

    line-height:1.25;

    margin-bottom:24px;

}

.error-box h1 span{

    color:#3B82F6;

}

/*==================================================
                DESCRIPTION
==================================================*/

.error-box p{

    position:relative;

    z-index:2;

    width:min(650px,100%);

    margin:auto;

    color:#bfc6d4;

    font-size:18px;

    line-height:2;

}
/*==================================================
                ERROR ACTIONS
==================================================*/

.error-actions{

    position:relative;

    z-index:2;

    display:flex;

    justify-content:center;

    align-items:center;

    gap:22px;

    flex-wrap:wrap;

    margin-top:45px;

}

/*==================================================
                PRIMARY BUTTON
==================================================*/

.error-actions .primary-btn{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    gap:12px;

    padding:16px 34px;

    border-radius:14px;

    text-decoration:none;

    background:linear-gradient(
        135deg,
        #2563EB,
        #3B82F6
    );

    color:#fff;

    font-weight:700;

    transition:.35s;

    box-shadow:
        0 15px 35px rgba(37,99,235,.35);

}

.error-actions .primary-btn:hover{

    transform:translateY(-5px);

    box-shadow:
        0 22px 45px rgba(37,99,235,.45);

}

/*==================================================
                SECONDARY BUTTON
==================================================*/

.error-actions .secondary-btn{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    gap:12px;

    padding:16px 34px;

    border-radius:14px;

    text-decoration:none;

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

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

    color:#ffffff;

    font-weight:600;

    transition:.35s;

    backdrop-filter:blur(12px);

}

.error-actions .secondary-btn:hover{

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

    border-color:#3B82F6;

    color:#3B82F6;

    transform:translateY(-5px);

}
/*==================================================
                ANIMATIONS
==================================================*/

@keyframes errorGlow{

    0%{

        filter:drop-shadow(0 0 15px rgba(37,99,235,.25));

    }

    50%{

        filter:drop-shadow(0 0 35px rgba(212,175,55,.30));

    }

    100%{

        filter:drop-shadow(0 0 15px rgba(37,99,235,.25));

    }

}


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

@media(max-width:992px){

    .error-box{

        padding:60px 40px;

    }

    .error-number{

        font-size:140px;

    }

    .error-box h1{

        font-size:38px;

    }

}


@media(max-width:768px){

    .error-page{

        padding:100px 20px;

    }

    .error-box{

        padding:45px 25px;

        border-radius:28px;

    }

    .error-number{

        font-size:110px;

    }

    .error-box h1{

        font-size:30px;

    }

    .error-box p{

        font-size:16px;

        line-height:1.9;

    }

    .error-actions{

        flex-direction:column;

    }

    .error-actions a{

        width:100%;

    }

}


@media(max-width:576px){

    .error-number{

        font-size:90px;

    }

    .error-box h1{

        font-size:25px;

    }

    .error-box p{

        font-size:15px;

    }

    .error-badge{

        font-size:.8rem;

        padding:8px 18px;

    }

}


/*==================================================
                SCROLLBAR
==================================================*/

.error-page::-webkit-scrollbar{

    width:10px;

}

.error-page::-webkit-scrollbar-thumb{

    background:#3B82F6;

    border-radius:20px;

}
