/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: #fff;
    background: url('/assets/images/404.jpg') rgba(211, 211, 211, 0.61) 50% / cover no-repeat;
    height: 100vh;
    border-radius: 15px;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    -ms-border-radius: 15px;
    -o-border-radius: 15px;
}

/* 404 Error Section */
.error-page {
    min-height: calc(100vh - 100px);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 50px;
}

.error-content {
    max-width: 500px;
    /*Semi-transparentbackgroundforbettertextreadability*/
    padding: 20px;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
}

.error-content h1 {
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-size: 128px;
    font-style: normal;
    font-weight: 900;
    line-height: 90px;
    /* 70.313% */
    letter-spacing: -2.56px;
    background: linear-gradient(14deg, #FFF 17.09%, #B3B3B3 42.25%, #FFF 70.7%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.error-content p {
    font-size: 18px;
    color: #fff;
    margin-bottom: 30px;
    margin-top: 30px;
}

.error-button {
    display: inline-block;
    padding: 10px 30px;
    font-size: 16px;
    color: var(--Base-White, #FFF);
    /* Text md/Medium */
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px;
    /* 150% */
    border: 2px solid #ffd700;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.24);
    background: radial-gradient(100% 100% at 50% 0%, rgba(255, 255, 255, 0.30) 0%, rgba(255, 255, 255, 0.00) 100%), #D44A00;
    box-shadow: 0px 4px 8px -2px rgba(151, 91, 60, 0.48);
}

.error-button:hover {
    background: #ffd700;
    color: #000;
    box-shadow: 0 0 15px #ffd700;
}

/* Responsive Design */
@media (max-width: 768px) {

    body {
        background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('images/404.jpg') no-repeat center center/cover;
        background-attachment: scroll;
        background-position: center top;
    }

    .error-page {
        padding: 30px;
        justify-content: center;
        /* Center on smaller screens */
    }

    .error-content h1 {
        font-size: 80px;
    }

    .error-content p {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .error-button {
        font-size: 14px;
        padding: 8px 25px;
    }
}

@media (max-width: 480px) {
    .error-page {
        padding: 20px;
    }

    .error-content h1 {
        font-size: 60px;
    }

    .error-content p {
        font-size: 14px;
    }

    .error-button {
        font-size: 12px;
        padding: 6px 20px;
    }
}