@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@600&family=Roboto:wght@400;700&display=swap');

body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    background: #0f2027;
    overflow: hidden;
    color: white;
}

#particles-js {
    background-color: #ffffff; /* БЯЛО */
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: -1; /* За да е под съдържанието */
}


.error-container {
    z-index: 1;
    position: relative;
    text-align: center;
    top: 50%;
    transform: translateY(-50%);
    padding: 2rem;
    animation: fadeIn 1.2s ease-in-out;
}

.error-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 5rem;
    text-shadow: 0 0 10px #FF416C, 0 0 20px #FF4B2B;
    animation: glow 2s infinite alternate;
}

.error-message {
    color: black;
    font-size: 1.5rem;
    margin: 1rem 0 2rem;
    animation: slideUp 1s ease-in-out;
}

.back-button {
    display: inline-block;
    font-size: 1.2rem;
    padding: 12px 24px;
    color: white;
    background: linear-gradient(45deg, #ff416c, #ff4b2b);
    border: none;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.back-button:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px #ff4b2b;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes slideUp {
    from { transform: translateY(40px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes glow {
    0% {
        text-shadow: 0 0 10px #ff416c, 0 0 20px #ff4b2b;
    }
    100% {
        text-shadow: 0 0 20px #ff4b2b, 0 0 40px #ff416c;
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Glitch Effect */
.glitch {
    position: relative;
}
.glitch::before, .glitch::after {
    content: attr(class);
    position: absolute;
    top: 0;
    left: 0;
    color: #ff4b2b;
    z-index: -1;
}
.glitch::before {
    animation: glitchTop 1s infinite linear alternate-reverse;
}
.glitch::after {
    animation: glitchBottom 1s infinite linear alternate-reverse;
}

@keyframes glitchTop {
    0% { transform: translate(1px, -1px); opacity: 0.8; }
    50% { transform: translate(-1px, 2px); opacity: 0.4; }
    100% { transform: translate(0px, 0px); opacity: 0.8; }
}
@keyframes glitchBottom {
    0% { transform: translate(-1px, 1px); opacity: 0.7; }
    50% { transform: translate(1px, -2px); opacity: 0.3; }
    100% { transform: translate(0px, 0px); opacity: 0.7; }
}
