<?php
get_header();
?>
<main class="main bonus">
    <div class="main__content">
        <?php
        $not_found = get_field('404', 'option');
        $title = $not_found['title'];
        $text = $not_found['text'];
        ?>
        <section class="section hero">
            <div class="background hero__background">
                <img
                    src="<?php echo get_template_directory_uri(); ?>/assets/img/bg-resp.webp"
                    alt="app-bg"
                    title="app-bg" />
            </div>
            <div class="hero__info">
                <?php if (function_exists('kama_breadcrumbs')) kama_breadcrumbs(' '); ?>
                <h1 class="title general"><?php echo $title; ?></h1>
                <p class="hero__desc"><?php echo $text; ?></p>
                <a class="button hero__button" href="<?php echo esc_url($ref_link); ?>"><?php pll_e('Register now'); ?></a>
            </div>
        </section>
    </div>
</main>
<?php
get_footer();
