<?php
require_once __DIR__ . '/includes/lang.php';
require_once __DIR__ . '/includes/header.php';
?>
<main class="container py-5">
    <h1 class="mb-4 fw-bold"><?php echo __('fee_structure'); ?></h1>
    <div class="card bg-surface border-secondary p-4 mb-5 shadow-sm">
        <p class="text-white-50"><?php echo __('fees_content'); ?></p>
        
        <h3 class="mt-4 mb-4 text-white"><?= __('spot_fees') ?></h3>
        <div class="table-responsive">
            <table class="table table-dark table-hover border-secondary">
                <thead>
                    <tr class="text-white-50">
                        <th><?= __('tier') ?></th>
                        <th><?= __('trading_vol_30d') ?></th>
                        <th><?= __('maker_fee') ?></th>
                        <th><?= __('taker_fee') ?></th>
                    </tr>
                </thead>
                <tbody>
                    <tr class="text-white">
                        <td><?= __('level') ?> 0 (<?= __('regular') ?>)</td>
                        <td>< $10,000</td>
                        <td>0.100%</td>
                        <td>0.100%</td>
                    </tr>
                    <tr class="text-white">
                        <td><?= __('level') ?> 1</td>
                        <td>≥ $10,000</td>
                        <td>0.080%</td>
                        <td>0.090%</td>
                    </tr>
                    <tr class="text-white">
                        <td><?= __('level') ?> 2</td>
                        <td>≥ $100,000</td>
                        <td>0.060%</td>
                        <td>0.080%</td>
                    </tr>
                    <tr class="text-white">
                        <td><?= __('level') ?> 3</td>
                        <td>≥ $500,000</td>
                        <td>0.040%</td>
                        <td>0.070%</td>
                    </tr>
                </tbody>
            </table>
        </div>

        <h3 class="mt-5 mb-4 text-white"><?= __('contract_fees') ?></h3>
        <div class="table-responsive">
            <table class="table table-dark table-hover border-secondary">
                <thead>
                    <tr class="text-white-50">
                        <th><?= __('tier') ?></th>
                        <th><?= __('maker_fee') ?></th>
                        <th><?= __('taker_fee') ?></th>
                    </tr>
                </thead>
                <tbody>
                    <tr class="text-white">
                        <td><?= __('regular') ?></td>
                        <td>0.020%</td>
                        <td>0.050%</td>
                    </tr>
                    <tr class="text-white">
                        <td><?= __('level') ?> 1</td>
                        <td>0.015%</td>
                        <td>0.045%</td>
                    </tr>
                </tbody>
            </table>
        </div>
    </div>
</main>
<?php require_once __DIR__ . '/includes/footer.php'; ?>
