<footer class="mt-5 py-5 border-top" style="border-color: #2b2f36 !important; background-color: #0b0e11;">
    <div class="container">
        <div class="row">
            <div class="col-md-4 mb-4">
                <div class="d-flex align-items-center mb-3">
                    <div class="logo-icon" style="width: 24px; height: 24px; font-size: 0.8rem; border-radius: 6px;"><i class="fas fa-cube"></i></div>
                    <span class="logo-text" style="font-size: 1.2rem;">BITCrypto</span>
                </div>
                <p class="text-muted small"><?php echo mt('The world\'s most trusted cryptocurrency exchange. Start trading BTC, ETH, and other assets with ease and security.'); ?></p>
                <div class="d-flex mt-4">
                    <a href="#" class="text-muted me-3 fs-5"><i class="fab fa-twitter"></i></a>
                    <a href="#" class="text-muted me-3 fs-5"><i class="fab fa-telegram"></i></a>
                    <a href="#" class="text-muted me-3 fs-5"><i class="fab fa-discord"></i></a>
                    <a href="#" class="text-muted me-3 fs-5"><i class="fab fa-facebook"></i></a>
                </div>
            </div>
            <div class="col-md-2 mb-4">
                <h6 class="text-white fw-bold mb-3"><?php echo mt('Services'); ?></h6>
                <ul class="list-unstyled mt-3 small">
                    <li class="mb-2"><a href="trade.php?type=spot" class="text-muted text-decoration-none hover-white"><?php echo mt('Spot Trading'); ?></a></li>
                    <li class="mb-2"><a href="trade.php?type=contract" class="text-muted text-decoration-none hover-white"><?php echo mt('Futures Trading'); ?></a></li>
                    <li class="mb-2"><a href="exchange.php" class="text-muted text-decoration-none hover-white"><?php echo mt('Exchange'); ?></a></li>
                </ul>
            </div>
            <div class="col-md-2 mb-4">
                <h6 class="text-white fw-bold mb-3"><?php echo mt('Support'); ?></h6>
                <ul class="list-unstyled mt-3 small">
                    <li class="mb-2"><a href="page.php?slug=help-center" class="text-muted text-decoration-none hover-white"><?php echo mt('Help Center'); ?></a></li>
                    <li class="mb-2"><a href="page.php?slug=security-info" class="text-muted text-decoration-none hover-white"><?php echo mt('Security Center'); ?></a></li>
                    <li class="mb-2"><a href="javascript:void(0)" onclick="openChat()" class="text-muted text-decoration-none hover-white"><?php echo mt('Customer Service'); ?></a></li>
                </ul>
            </div>
            <div class="col-md-2 mb-4">
                <h6 class="text-white fw-bold mb-3"><?php echo mt('About Us'); ?></h6>
                <ul class="list-unstyled mt-3 small">
                    <li class="mb-2"><a href="page.php?slug=about" class="text-muted text-decoration-none hover-white"><?php echo mt('About Us'); ?></a></li>
                </ul>
            </div>
            <div class="col-md-2 mb-4">
                <h6 class="text-white fw-bold mb-3"><?php echo mt('Legal'); ?></h6>
                <ul class="list-unstyled mt-3 small">
                    <li class="mb-2"><a href="page.php?slug=privacy" class="text-muted text-decoration-none hover-white"><?php echo mt('Privacy Policy'); ?></a></li>
                    <li class="mb-2"><a href="page.php?slug=terms" class="text-muted text-decoration-none hover-white"><?php echo mt('Terms of Service'); ?></a></li>
                </ul>
            </div>
        </div>
        <hr class="my-4" style="border-color: #2b2f36 !important;">
        <div class="row align-items-center small">
            <div class="col-md-6 text-center text-md-start">
                <p class="text-muted mb-0">&copy; 2026 BITCrypto. All rights reserved.</p>
            </div>
            <div class="col-md-6 text-center text-md-end mt-3 mt-md-0">
                <span class="text-muted me-3"><i class="fas fa-server me-1"></i> <?php echo mt('System Status'); ?>: <span class="text-success"><?php echo mt('Normal'); ?></span></span>
            </div>
        </div>
    </div>
</footer>

<style>
    .hover-white:hover { color: white !important; }
</style>

<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
<script src="assets/js/main.js?v=<?php echo time(); ?>"></script>
</body>
</html>