/*==================================================
    CUSTOM 404 PAGE
==================================================*/

.not-found-page {
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    min-height: 100vh;
    padding: 150px 0 90px;
    background: var(--primary);
    color: var(--white);
    border-bottom: 4px solid var(--secondary);
}


    /*==================================================
    DECORATIVE BACKGROUND
==================================================*/

    .not-found-page::before {
        content: "";
        position: absolute;
        width: 480px;
        height: 480px;
        top: -240px;
        right: -120px;
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 50%;
    }

    .not-found-page::after {
        content: "";
        position: absolute;
        width: 310px;
        height: 310px;
        left: -170px;
        bottom: -190px;
        background: rgba(200, 162, 74, 0.08);
        border-radius: 50%;
    }


/*==================================================
    CONTENT
==================================================*/

.not-found-content {
    position: relative;
    z-index: 1;
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
}

.not-found-label {
    display: inline-block;
    margin-bottom: 18px;
    color: var(--secondary);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.not-found-code {
    color: transparent;
    font-size: clamp(7rem, 20vw, 14rem);
    font-weight: 900;
    line-height: 0.85;
    letter-spacing: -8px;
    -webkit-text-stroke: 2px rgba(200, 162, 74, 0.55);
    text-shadow: 0 18px 45px rgba(0, 0, 0, 0.2);
    user-select: none;
}

.not-found-content h1 {
    margin: 35px 0 20px;
    color: var(--white);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.2;
}

.not-found-content p {
    max-width: 650px;
    margin: 0 auto 38px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.08rem;
    line-height: 1.8;
}


/*==================================================
    BUTTONS
==================================================*/

.not-found-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
}

.not-found-primary-button,
.not-found-secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    min-height: 50px;
    padding: 13px 28px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.not-found-primary-button {
    background: var(--secondary);
    color: var(--primary);
    border: 2px solid var(--secondary);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
}

    .not-found-primary-button:hover {
        background: var(--white);
        color: var(--primary);
        border-color: var(--white);
        transform: translateY(-3px);
    }

.not-found-secondary-button {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.38);
}

    .not-found-secondary-button:hover {
        background: var(--white);
        color: var(--primary);
        border-color: var(--white);
        transform: translateY(-3px);
    }


/*==================================================
    RESPONSIVE
==================================================*/

@media (max-width: 767px) {

    .not-found-page {
        min-height: 100svh;
        padding: 125px 0 70px;
    }

    .not-found-code {
        letter-spacing: -4px;
    }

    .not-found-content h1 {
        margin-top: 28px;
    }

    .not-found-content p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {

    .not-found-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .not-found-primary-button,
    .not-found-secondary-button {
        width: 100%;
    }
}
