body {
    background-color: #000;
    color: #0f0;
    font-family: 'Courier New', monospace;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.matrix-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.error-template {
    text-align: center;
    padding: 40px 15px;
    position: relative;
    z-index: 1;
    animation: glitch 2s infinite;
}

h1 {
    font-size: 72px;
    text-shadow: 0 0 10px #0f0;
    animation: flicker 0.3s infinite;
}

h2 {
    color: #0f0;
    text-shadow: 0 0 5px #0f0;
    margin: 20px 0;
}

.error-details {
    color: #0f0;
    margin: 20px 0;
    font-size: 18px;
}

.btn-primary {
    background: transparent;
    border: 2px solid #0f0;
    color: #0f0;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 10px 30px;
    margin-top: 20px;
}

.btn-primary:hover {
    background: #0f0;
    color: #000;
    box-shadow: 0 0 20px #0f0;
}

@keyframes glitch {
    0% {
        transform: translate(0);
    }
    20% {
        transform: translate(-2px, 2px);
    }
    40% {
        transform: translate(-2px, -2px);
    }
    60% {
        transform: translate(2px, 2px);
    }
    80% {
        transform: translate(2px, -2px);
    }
    100% {
        transform: translate(0);
    }
}

@keyframes flicker {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
    100% {
        opacity: 1;
    }
}

.hacker-code {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.15;
    z-index: 0;
}

.loading-bar {
    height: 4px;
    width: 0;
    background: #0f0;
    position: fixed;
    top: 0;
    left: 0;
    animation: loading 3s ease-in-out infinite;
    box-shadow: 0 0 10px #0f0;
}

@keyframes loading {
    0% {
        width: 0;
    }
    50% {
        width: 100%;
    }
    100% {
        width: 0;
    }
}
