* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family:
        "Inter",
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        "Helvetica Neue",
        Arial,
        sans-serif;
    background: #0f172a;
    background-image:
        radial-gradient(
            ellipse 120% 50% at 50% 120%,
            rgba(255, 94, 0, 0.4) 0%,
            rgba(255, 100, 0, 0.3) 10%,
            transparent 70%
        ),
        radial-gradient(at 27% 37%, #1e293b 0px, transparent 20%),
        radial-gradient(at 97% 21%, #1a2332 0px, transparent 20%),
        radial-gradient(at 10% 29%, #1a2332 0px, transparent 20%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cbd5e1;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

@keyframes pulse {
    0%,
    100% {
        transform: scale(1) rotate(0deg);
    }
    50% {
        transform: scale(1.1) rotate(180deg);
    }
}

.container {
    background: rgb(30, 41, 59);
    border-radius: 24px;
    max-width: 640px;
    width: 100%;
    padding: 48px;
    padding-bottom: 24px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.language-selector {
    position: absolute;
    top: 24px;
    right: 24px;
    z-index: 10;
}

.language-selector select {
    padding: 10px 0px 10px 8px;
    border: 1px solid rgba(50, 234, 102, 0.2);
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(10px);
    color: #cbd5e1;
    font-size: 14px;
    font-family: "Inter", sans-serif;
    cursor: pointer;
    outline: none;
    transition: all 0.3s ease;
}

.language-selector select:hover,
.language-selector select:focus {
    border-color: #32ea66;
    background: rgba(15, 23, 42, 0.95);
    box-shadow: 0 0 20px rgba(50, 234, 102, 0.2);
}

.language-selector select option {
    background: #0f172a;
    color: #cbd5e1;
}

.logo {
    width: 80px;
    height: 80px;
    filter: invert(100%);
    margin: 0 auto 8px;
    display: block;
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.error-code {
    font-size: 120px;
    font-weight: 900;
    background: linear-gradient(135deg, #32ea66 0%, #22c55e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
    line-height: 1;
    letter-spacing: -0.05em;
    filter: drop-shadow(0 0 30px rgba(50, 234, 102, 0.4));
}

h1 {
    font-size: 32px;
    font-weight: 700;
    color: #f1f5f9;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}
header {
    margin-top: 32px;
    display: flex;
    justify-content: center;
    flex-direction: row;
}
p {
    font-size: 16px;
    color: #94a3b8;
    margin-bottom: 24px;
    line-height: 1.7;
    font-weight: 400;
}

.status-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 32px 0;
}

.pulse-dot {
    display: block;
    margin-top: 13px;
    margin-right: 24px;
    width: 14px;
    height: 14px;
    background: orange;
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
    box-shadow: 0 0 12px rgba(255, 165, 0, 0.6);
}

@keyframes pulse-dot {
    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.9;
    }
}

.status-text {
    color: #32ea66;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.footer {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid rgba(50, 234, 102, 0.1);
}

.company-name {
    font-weight: 600;
    font-size: 18px;
    color: #f1f5f9;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.time {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 16px;
    font-weight: 400;
}

#contact-message {
    font-size: 14px;
    color: #94a3b8;
    margin-top: 16px;
}

#contact-message a {
    color: #32ea66;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

#contact-message a:hover {
    text-decoration: underline;
    text-shadow: 0 0 10px rgba(50, 234, 102, 0.2);
}

@media (max-width: 640px) {
    .container {
        padding: 32px 24px;
        border-radius: 20px;
    }

    .language-selector {
        top: 16px;
        right: 16px;
    }

    .error-code {
        font-size: 96px;
    }

    h1 {
        font-size: 28px;
    }

    p {
        font-size: 15px;
    }

    .logo {
        width: 64px;

        height: 64px;
    }
}

@media (max-width: 400px) {
    .error-code {
        font-size: 80px;
    }

    h1 {
        font-size: 24px;
    }

    .language-selector select {
        padding: 8px 12px;
        font-size: 13px;
    }
}

@keyframes loading {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}
/* ---- reset ---- */
canvas {
    display: block;
}
#particles-js {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url("");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50% 50%;
}
