<?php require __DIR__ . '/../../layouts/header.php'; ?>

<div class="container py-4">
    <h3 class="mb-4">🌍 Platform Owner Control Center</h3>

    <div class="row g-3">
        <?php foreach($stats as $key => $value): ?>
            <div class="col-md-3">
                <div class="card shadow-sm border-0">
                    <div class="card-body">
                        <div class="text-muted small"><?= ucfirst(str_replace('_',' ',$key)) ?></div>
                        <div class="fs-3 fw-bold"><?= (int)$value ?></div>
                    </div>
                </div>
            </div>
        <?php endforeach; ?>
    </div>
</div>

<?php require __DIR__ . '/../../layouts/footer.php'; ?>
