body {
    font-family: 'Montserrat', Arial, sans-serif;
    background-color: #121212;
    color: #f0f0f0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    text-align: center;
    overflow: hidden;
}

.container {
    padding: 20px;
}

.logo {
    width: 100px;
    height: auto;
    margin-bottom: 30px;
    opacity: 0.9;
    animation: spin 30s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.error-code {
    font-size: 10rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
    margin: 0;
}

.message {
    font-size: 1.5rem;
    font-weight: 300;
    color: #cccccc;
    margin-top: 10px;
    margin-bottom: 40px;
}

.home-link {
    display: inline-block;
    padding: 12px 25px;
    background-color: #f0f0f0;
    color: #121212;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.home-link:hover {
    background-color: #ffffff;
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}

@media (max-width: 600px) {
    .error-code {
        font-size: 6rem;
    }

    .message {
        font-size: 1.2rem;
    }

    .logo {
        width: 80px;
    }
}