/* =========================================================
   ANESUI404 SECURITY ENGINE
   ========================================================= */

#anesui404-warning {
    position: fixed;
    inset: 0;

    z-index: 2147483647;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100vh;
    height: 100dvh;

    padding: 20px;
    box-sizing: border-box;

    background:
        radial-gradient(
            circle at center,
            rgba(18, 60, 100, 0.20) 0%,
            rgba(2, 8, 20, 0.98) 48%,
            #02050b 100%
        );

    backdrop-filter: blur(10px);

    animation:
        anesui404FadeIn 0.25s ease forwards;
}

.anesui404-box {
    position: relative;

    width: min(420px, 92vw);

    padding: 35px 28px 30px;

    box-sizing: border-box;

    text-align: center;

    border: 1px solid rgba(50, 190, 255, 0.28);

    border-radius: 18px;

    background:
        linear-gradient(
            145deg,
            rgba(10, 27, 47, 0.98),
            rgba(3, 11, 22, 0.99)
        );

    box-shadow:
        0 0 35px rgba(20, 150, 255, 0.12),
        0 20px 70px rgba(0, 0, 0, 0.65);

    overflow: hidden;
}

/*
|--------------------------------------------------------------------------
| Ambient glow
|--------------------------------------------------------------------------
*/

.anesui404-box::before {
    content: "";

    position: absolute;

    width: 220px;
    height: 220px;

    top: -120px;
    left: 50%;

    transform: translateX(-50%);

    background:
        rgba(30, 180, 255, 0.12);

    filter: blur(60px);

    border-radius: 50%;

    pointer-events: none;
}

/*
|--------------------------------------------------------------------------
| Logo ANESUI404
|--------------------------------------------------------------------------
*/

.anesui404-logo {
    position: relative;

    z-index: 2;

    display: flex;

    align-items: center;
    justify-content: center;

    margin-bottom: 20px;
}

.anesui404-logo img {
    display: block;

    width: min(190px, 60vw);
    max-height: 110px;

    object-fit: contain;

    filter:
        drop-shadow(
            0 0 10px rgba(40, 190, 255, 0.30)
        )
        drop-shadow(
            0 0 28px rgba(30, 130, 255, 0.16)
        );

    animation:
        anesui404LogoFloat 2.8s ease-in-out infinite;
}

/*
|--------------------------------------------------------------------------
| Divider
|--------------------------------------------------------------------------
*/

.anesui404-line {
    position: relative;

    width: 90px;
    height: 2px;

    margin: 0 auto 20px;

    border-radius: 999px;

    background:
        linear-gradient(
            90deg,
            transparent,
            #35c8ff,
            transparent
        );

    box-shadow:
        0 0 12px rgba(40, 190, 255, 0.45);
}

/*
|--------------------------------------------------------------------------
| Title
|--------------------------------------------------------------------------
*/

.anesui404-title {
    position: relative;

    color: #f1f8ff;

    font-size: 18px;

    font-weight: 800;

    letter-spacing: 2px;

    text-transform: uppercase;

    text-shadow:
        0 0 12px rgba(40, 190, 255, 0.18);
}

/*
|--------------------------------------------------------------------------
| Description
|--------------------------------------------------------------------------
*/

.anesui404-text {
    position: relative;

    margin-top: 12px;

    color: #7f9bb4;

    font-size: 12px;

    line-height: 1.7;
}

/*
|--------------------------------------------------------------------------
| Signature
|--------------------------------------------------------------------------
*/

.anesui404-signature {
    position: relative;

    margin-top: 18px;

    color: #35c8ff;

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 2px;

    text-transform: uppercase;

    opacity: 0.85;
}

/*
|--------------------------------------------------------------------------
| Button
|--------------------------------------------------------------------------
*/

#anesui404-close {
    position: relative;

    margin-top: 24px;

    min-width: 130px;

    padding: 11px 20px;

    border: 1px solid rgba(50, 190, 255, 0.35);

    border-radius: 999px;

    background:
        rgba(20, 130, 190, 0.12);

    color: #dff7ff;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 1px;

    cursor: pointer;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

#anesui404-close:hover {
    background:
        rgba(30, 170, 230, 0.22);

    border-color:
        rgba(60, 200, 255, 0.65);

    box-shadow:
        0 0 18px rgba(30, 170, 255, 0.18);

    transform: translateY(-1px);
}

/*
|--------------------------------------------------------------------------
| Animations
|--------------------------------------------------------------------------
*/

@keyframes anesui404FadeIn {

    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes anesui404LogoFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

/*
|--------------------------------------------------------------------------
| Mobile
|--------------------------------------------------------------------------
*/

@media (max-width: 600px) {

    .anesui404-box {
        padding:
            30px
            20px
            26px;
    }

    .anesui404-logo img {
        width: 170px;
        max-height: 95px;
    }

    .anesui404-title {
        font-size: 16px;
    }

    .anesui404-text {
        font-size: 11px;
    }
}

/*
|--------------------------------------------------------------------------
| Reduced motion
|--------------------------------------------------------------------------
*/

@media (prefers-reduced-motion: reduce) {

    .anesui404-logo img {
        animation: none;
    }

    #anesui404-warning {
        animation: none;
    }
}