/* ============================================
   BOTTOM NAVIGATION - ZELO v6.2
   CORRIGIDO: Centralização perfeita
   © 2026 LITE STUDIO
   ============================================ */

.st-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 480px;
    height: 70px;
    background: rgba(10,10,10,0.95);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    z-index: 99999;
    padding: 0;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.5);
    transition: transform 0.3s ease;
    box-sizing: border-box;
}
.st-bottom-nav.hidden {
    transform: translateX(-50%) translateY(100%);
    pointer-events: none;
}

/* Botões */
.st-bottom-nav-btn {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 8px 0;
    background: transparent;
    border: none;
    color: rgba(255,255,255,0.4);
    font-size: 0.62rem;
    font-weight: 600;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    -webkit-tap-highlight-color: transparent;
    letter-spacing: 0.04em;
}
.st-bottom-nav-btn:active { transform: scale(0.95); }
.st-bottom-nav-btn svg {
    width: 22px;
    height: 22px;
    transition: all 0.2s ease;
}
.st-bottom-nav-btn.active { color: #C9A961; }
.st-bottom-nav-btn.active svg { transform: scale(1.1); }
.st-bottom-nav-btn.active::after {
    content: '';
    position: absolute;
    top: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: #C9A961;
    border-radius: 50%;
    animation: navPulse 0.4s ease;
}
@keyframes navPulse {
    0% { transform: translateX(-50%) scale(0); opacity: 0; }
    50% { transform: translateX(-50%) scale(1.3); opacity: 1; }
    100% { transform: translateX(-50%) scale(1); opacity: 1; }
}

/* Ajuste do conteúdo para não ficar atrás do nav */
#app {
    padding-bottom: 80px;
    min-height: 100vh;
}

/* Páginas específicas (SEM .st-chat-container — o chat tem CSS próprio) */
.st-home-container,
.st-profile-container,
.st-achievements-container,
.st-blog-container {
    padding-bottom: 20px;
    min-height: calc(100vh - 80px);
}

/* Responsivo */
@media (max-width: 380px) {
    .st-bottom-nav { height: 64px; }
    .st-bottom-nav-btn { font-size: 0.58rem; gap: 2px; }
    .st-bottom-nav-btn svg { width: 20px; height: 20px; }
    #app { padding-bottom: 74px; }
}
@media (min-width: 768px) {
    .st-bottom-nav {
        max-width: 480px;
        border-radius: 20px 20px 0 0;
        border-left: 1px solid rgba(255,255,255,0.06);
        border-right: 1px solid rgba(255,255,255,0.06);
    }
}