<?php
/**
 * AURA FARMING — Navbar inferior
 * Variável esperada: $activePage ('home'|'live'|'arena'|'ranking'|'perfil')
 */
$activePage = $activePage ?? '';
$usuario = usuarioAtual();
?>
<nav class="bottom-nav" role="navigation" aria-label="Navegação principal">

  <a href="<?= SITE_URL ?>/pages/home.php"
     class="nav-item <?= $activePage === 'home' ? 'active' : '' ?>"
     aria-label="Início">
    <span class="nav-icon">🏠</span>
    <span>Início</span>
  </a>

  <a href="<?= SITE_URL ?>/pages/ao_vivo.php"
     class="nav-item <?= $activePage === 'live' ? 'active' : '' ?>"
     aria-label="Ao vivo">
    <span class="nav-icon">📡</span>
    <span>Ao vivo</span>
    <span class="nav-live-dot"></span>
  </a>

  <a href="<?= SITE_URL ?>/pages/arena.php"
     class="nav-item <?= $activePage === 'arena' ? 'active' : '' ?>"
     aria-label="Arena">
    <span class="nav-icon">⚔️</span>
    <span>Arena</span>
  </a>

  <a href="<?= SITE_URL ?>/pages/ranking.php"
     class="nav-item <?= $activePage === 'ranking' ? 'active' : '' ?>"
     aria-label="Ranking">
    <span class="nav-icon">🏆</span>
    <span>Ranking</span>
  </a>

  <a href="<?= SITE_URL ?>/pages/perfil.php"
     class="nav-item <?= $activePage === 'perfil' ? 'active' : '' ?>"
     aria-label="Perfil">
    <span class="nav-icon">👤</span>
    <span>Perfil</span>
  </a>

</nav>
