.error-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #333;
    text-align: center;
}

.error-section {
    margin: 40px auto;
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.error-title {
    color: #333;
    font-size: 3em;
    margin-bottom: 20px;
    font-weight: 700;
}

.error-subtitle {
    color: #666;
    font-size: 1.5em;
    margin-bottom: 30px;
    font-weight: 500;
}

.error-message {
    font-size: 1.1em;
    color: #555;
    margin-bottom: 30px;
    line-height: 1.8;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.error-image {
    max-width: 250px;
    margin: 30px auto;
    display: block;
    animation: float 6s ease-in-out infinite;
}

.error-links {
    margin-top: 40px;
}

.error-link {
    display: inline-block;
    padding: 12px 25px;
    margin: 0 10px;
    background: #333;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.error-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    background: #000;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .error-container {
        padding: 15px;
    }

    .error-section {
        padding: 30px 20px;
    }

    .error-title {
        font-size: 2.5em;
    }

    .error-subtitle {
        font-size: 1.3em;
    }

    .error-message {
        font-size: 1em;
        padding: 0 20px;
    }

    .error-image {
        max-width: 200px;
    }

    .error-links {
        display: flex;
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .error-link {
        margin: 0;
        width: 80%;
        text-align: center;
    }
}
