<footer class="footer">
   <div class="container-medium">
      <div class="footer_content-wrapper">
         <div class="footer_top-wrapper">
            <div class="top-wrapper_left-side">
               <div class="top-wrapper_description">
                  <div class="top-wrapper_brand-and-language margin-bottom margin-small">
                     <div class="top-wrapper_brand">
                        <div class="w-dyn-list">
                           <div role="list" class="w-dyn-items">
                              <div role="listitem" class="w-dyn-item">
                                 <div class="brand_type-wrapper"><img loading="eager" alt="" src="<?php echo $config[0]->rodapelogo ?>" class="ico-brand-type-footer"></div>
                              </div>
                           </div>
                        </div>
                     </div>
                  </div>
                  <p>Todo dia pode ser a sua vez de fazer uma grande jogada!</p>
                  <div class="social-wrapper margin-bottom margin-medium">
                     <div class="social_icons-wrapper mt-24">
                        <?php if($config[0]->telegram ): ?>
                        <a href="<?php echo $config[0]->telegram ?>" target="_blank" class="link-social w-inline-block">
                           <div class="icon-18-brand"></div>
                        </a>
                        <?php endif; ?> 
                        <?php if($config[0]->instagram ): ?>
                        <a href="<?php echo $config[0]->instagram ?>" target="_blank" class="link-social w-inline-block">
                           <div class="icon-18-brand"></div>
                        </a>
                        <?php endif; ?> 
                        <?php if($config[0]->facebook ): ?>
                        <a href="<?php echo $config[0]->facebook ?>" target="_blank" class="link-social w-inline-block">
                           <div class="icon-18-brand"></div>
                        </a>
                        <?php endif; ?> 
                        <?php if($config[0]->whatsapp ): ?>
                        <a href="<?php echo $config[0]->whatsapp ?>" target="_blank" class="link-social w-inline-block">
                           <div class="icon-18-brand"></div>
                        </a>
                        <?php endif; ?> 
                     </div>
                  </div>
                  <div class="eng-copyright-footer">
                     <div class="txt-label"><?php echo $config[0]->nome ?>  © 2023. Todos os direitos reservados.</div>
                  </div>
               </div>
            </div>
            <ul id="w-node-e5485111-3f42-9811-21df-44f6afa69220-afa6920d" role="list" class="footer_links no-mobile w-list-unstyled">
               <li class="li_heading margin-bottom margin-custom4">
                  <h6 class="gray"><?php echo lang('games'); ?></h6>
               </li>
               <li><a href="#best" class="link-footer"><?php echo lang('popular'); ?></a></li>
               <li><a href="#cassino" class="link-footer no-wrap"><?php echo lang('casino'); ?></a></li>
               <li><a href="#ao-vivo" class="link-footer"><?php echo lang('live_casino'); ?></a></li>
            </ul>
            <ul id="w-node-e5485111-3f42-9811-21df-44f6afa69230-afa6920d" role="list" class="footer_links w-list-unstyled">
               <li class="li_heading margin-bottom margin-custom4">
                  <h5 class="gray"><?php echo lang('wallet'); ?></h5>
               </li>
               <li><a data-toggle="modal" data-target="#modalDeposito" href="#" class="link-footer" data-ix="window-deposit"><?php echo lang('deposit'); ?></a></li>
               <li><a data-toggle="modal" data-target="#modalSaque" href="#" class="link-footer" data-ix="window-wihdraw"><?php echo lang('withdraw'); ?></a></li>
               <li>
                  <a href="<?= base_url(); ?>usuarios/minhaconta" class="link-footer no-wrap"><?php echo lang('my_account'); ?></a>
               </li>
            </ul>
            <ul id="w-node-e5485111-3f42-9811-21df-44f6afa6923c-afa6920d" role="list" class="footer_links w-list-unstyled">
               <li class="li_heading margin-bottom margin-custom4">
                  <h5 class="gray"><?php echo lang('help'); ?></h5>
               </li>
               <li><a href="<?= base_url(); ?>welcome/terms" class="link-footer no-wrap"><?php echo lang('terms_of_use'); ?></a></li>
               <li><a href="<?= base_url(); ?>welcome/faq" class="link-footer"><?php echo lang('faq'); ?></a></li>
               <li class="no-wrap"><a href="<?= base_url(); ?>welcome/gambling" class="link-footer"><?php echo lang('responsible_gaming'); ?></a></li>
               <li class="mt-16">
               <a open-support-btn="" href="<?php echo $config[0]->suporte ?> " class="sublink-nav w-inline-block">
                     <div class="content-sublink-menu">
                        <div class="icon-12"></div>
                        <div><?php echo lang('support'); ?></div>
                     </div>
                  </a>
               </li>
               <li class="mt-16">
                  <div class="dropdown">
                     <a class="sublink-nav w-inline-blockdropdown-toggle" href="#" role="button" data-toggle="dropdown" aria-expanded="false">
                     <?php echo lang('select_language'); ?>
                     </a>
                     <div class="dropdown-menu">
                        <a class="link-footer dropdown-item" href="<?php echo base_url("welcome/switchLang/portuguese"); ?>">Português</a>
                        <a class="link-footer dropdown-item" href="<?php echo base_url("welcome/switchLang/english"); ?>">English</a>
                        <a class="link-footer dropdown-item" href="<?php echo base_url("welcome/switchLang/french"); ?>">Français</a>
                     </div>
                  </div>
               </li>
            </ul>
         </div>
         <div class="footer_seals-wrapper">
            <div class="seals_img-wrapper"><img src="https://assets.website-files.com/6483631a773f6af2b4edabab/6483631a773f6af2b4edabb9_pix.svg" loading="lazy" alt="" class="img-footer"></div>
            <div class="seals_img-wrapper"><img src="https://assets.website-files.com/6483631a773f6af2b4edabab/6483631a773f6af2b4edabaf_safe-gamble.svg" loading="lazy" alt="" class="img-footer"></div>
            <div class="seals_img-wrapper"><img src="https://assets.website-files.com/6483631a773f6af2b4edabab/6483631a773f6af2b4edabb2_pci-dss-compliant-logo.svg" loading="lazy" alt="" class="img-footer"></div>
            <div class="seals_img-wrapper"><img src="https://assets.website-files.com/6483631a773f6af2b4edabab/6483631a773f6af2b4edabb1_sigma_w.png" loading="lazy" alt="" class="img-footer"></div>
            <div class="seals_img-wrapper"><img src="https://assets.website-files.com/6483631a773f6af2b4edabab/6483631a773f6af2b4edabb6_cgf-white.svg" loading="lazy" alt="" class="img-footer"></div>
            <div class="seals_img-wrapper"><img src="https://assets.website-files.com/6483631a773f6af2b4edabab/6483631a773f6af2b4edabbd_%2B18.svg" loading="lazy" alt="" class="img-footer"></div>
         </div>
      </div>
   </div>
   <div class="eng-license">
      <div class="container-medium">
         <div class="top-wrapper_left-side">
            <img src="https://assets.website-files.com/6483631a773f6af2b4edabab/6483631a773f6af2b4edabb4_curacao.png" loading="eager" alt="" class="ico-brand-type-footer">
            <p class="txt-label"><span tenant-name=""><?php echo $config[0]->nome ?></span>company registration number 150731, with registered address at Groot Kwartierweg 10, Curaçao and is licensed and authorized by the Government of Curacao and operates under the Master License of Gaming Services Provider, N.V. #365/JAZ License Number: GLH-OCCHKTW0709172018. Payment agent company is Horangi Trading Limited with address Chytron, 30, 2nd floor, Flat/Office A22, 1075, Nicosia, Cyprus and Registration number: HE 411494.<br><br>Gambling can be addictive. Please play responsibly. <span tenant-name=""><?php echo $config[0]->nome ?></span> only accepts customers over 18 years of age.</p>
         </div>
      </div>
   </div>
</footer>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js"></script>
<script type="text/javascript" src="<?= base_url(); ?>public/js/webflow-footer-v2.js"></script>
<link rel="stylesheet" href="<?= base_url(); ?>public/css/webflow-style-footer-v2.css">
<?php if ($this->session->flashdata('msg')): ?> 
<script>
   // JavaScript para abrir o modal ao carregar a página
   $(document).ready(function(){
      $('#alertModal').modal('show');
   });
</script>
<!-- Modal alertModal -->
<div class="modal fade" id="alertModal" tabindex="-1" role="dialog" aria-labelledby="alertModalLabel" aria-hidden="true">
   <div class="modal-dialog modal-dialog-centered" role="document">
      <div class="modal-content">
         <div class="window-register" style="transform-style: preserve-3d; transition: transform 200ms ease 0s, opacity 200ms ease 0s; opacity: 1; transform: translateX(0px) translateY(0px) translateZ(0px); display: block;">
            <div class="align-center-windows">
               <div class="card windows">
                  <h3 class="white">Atenção</h3>
                  <div fs-scrolldisable-element="enable" class="eng-close-windows" data-dismiss="modal">
                     <div class="content-btn">
                        <div class="icon-16"></div>
                     </div>
                  </div>
                  <div class="eng-qr-code">
                     <p id="modalText" class="text-white"><?= $this->session->flashdata('msg'); ?></p>
                     <div class="eng-right-qr">
                        <button type="button" class="btn-small btn-color-1 w-button" data-dismiss="modal">Fechar</button>
                     </div>
                  </div>
               </div>
            </div>
         </div>
      </div>
   </div>
</div>
<?php endif; ?>
</body>
</html>