:root {
    --mouse-x: 50%;
    --mouse-y: 50%;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    background: #090b10;
}

body {
    margin: 0;
    min-height: 100vh;
    padding: 24px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    color: #e7e9ed;
    font-family: Arial, sans-serif;

    background:
    radial-gradient(
        circle 500px at 50% 50%,
        rgba(88, 101, 242, 0.14),
        transparent 70%
    ),
    #090b10;
}


body::before {
    content: "";
    position: fixed;
    inset: -50px;

    pointer-events: none;

    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);

    background-size: 32px 32px;

    transform:
        translate(
            calc((var(--mouse-x) - 50%) / -25),
            calc((var(--mouse-y) - 50%) / -25)
        );

    transition: transform 0.15s ease-out;
}


.maintenance {
    position: relative;

    width: 620px;
    max-width: 100%;

    padding: 32px;

    background: rgba(20, 23, 30, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 12px;

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.35),
        inset 0 1px rgba(255, 255, 255, 0.04);

    animation: appear 0.7s cubic-bezier(.2,.8,.2,1) both;
}


.maintenance::before {
    content: "";

    position: absolute;
    inset: 0;

    border-radius: inherit;

    pointer-events: none;

    background:
        radial-gradient(
            300px circle at var(--mouse-x) var(--mouse-y),
            rgba(255, 255, 255, 0.07),
            transparent 100%
        );
}


.maintenance::after {
    content: "";

    position: absolute;

    top: -1px;
    left: 15%;
    right: 15%;

    height: 1px;

    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.25),
        transparent
    );

    opacity: 0.7;
}


.status {
    position: relative;

    display: flex;
    align-items: center;
    gap: 9px;

    margin-bottom: 20px;

    color: #8c929d;

    font-family: monospace;
    font-size: 12px;
    font-weight: bold;

    letter-spacing: 1px;
}

.status span {
    width: 7px;
    height: 7px;

    border-radius: 50%;
    background: #f0a44b;

    box-shadow: 0 0 0 0 rgba(240, 164, 75, 0.5);

    animation: pulse 2s infinite;
}


.maintenance p {
    margin: 0 0 26px;

    color: #d7dae0;

    font-size: 18px;
    line-height: 1.6;
}


.maintenance a {
    position: relative;

    display: inline-flex;
    align-items: center;
    gap: 12px;

    padding: 10px 15px;

    background: #5865f2;
    color: white;

    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 7px;

    font-size: 14px;
    font-weight: 600;

    text-decoration: none;

    overflow: hidden;

    transition:
        background 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.maintenance a span {
    transition: transform 0.2s ease;
}

.maintenance a:hover {
    background: #6875f5;

    transform: translateY(-2px);

    box-shadow:
        0 8px 25px rgba(88, 101, 242, 0.25);
}

.maintenance a:hover span {
    transform: translateX(4px);
}

.maintenance a:active {
    transform: translateY(0);
}


@keyframes appear {
    from {
        opacity: 0;
        transform: translateY(15px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(240, 164, 75, 0.5);
    }

    70% {
        box-shadow: 0 0 0 7px rgba(240, 164, 75, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(240, 164, 75, 0);
    }
}


@media (max-width: 600px) {

    body {
        padding: 18px;
    }

    .maintenance {
        padding: 25px 22px;
    }

    .maintenance p {
        font-size: 16px;
    }
}


@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

.credit {
    position: fixed;
    right: 22px;
    bottom: 18px;

    color: rgba(255, 255, 255, 0.28);

    font-family: monospace;
    font-size: 24px;
    letter-spacing: 0.5px;

    user-select: none;
    pointer-events: none;

    transition: color 0.2s ease;
}

.credit span {
    color: rgba(255, 255, 255, 0.55);
}